|
1 | | -.list-event-container { |
2 | | - display: -webkit-box; |
3 | | - display: -ms-flexbox; |
4 | | - display: flex; |
5 | | - -webkit-box-orient: vertical; |
6 | | - -webkit-box-direction: normal; |
7 | | - -ms-flex-direction: column; |
8 | | - flex-direction: column; |
9 | | - -webkit-box-pack: justify; |
10 | | - -ms-flex-pack: justify; |
11 | | - justify-content: space-between; |
12 | | -} |
13 | | - |
14 | | -.list-event-headers { |
15 | | - display: -webkit-box; |
16 | | - display: -ms-flexbox; |
17 | | - display: flex; |
18 | | - -webkit-box-orient: vertical; |
19 | | - -webkit-box-direction: normal; |
20 | | - -ms-flex-direction: column; |
21 | | - flex-direction: column; |
22 | | -} |
23 | | - |
24 | 1 | .event-name { |
25 | | - font-size: 15px; |
26 | | - margin: 2px 0px; |
27 | | - border: 2px black solid; |
28 | | - border-radius: 5px; |
29 | | - padding: 0.3em; |
30 | | - &:hover { |
31 | | - background-color:lightgrey; |
| 2 | + font-size: 15px; |
| 3 | + margin: 2px 0px; |
| 4 | + border: 2px black solid; |
| 5 | + border-radius: 5px; |
| 6 | + padding: 0.3em; |
| 7 | + &:hover { |
| 8 | + background-color: lightgrey; |
| 9 | + cursor: pointer; |
32 | 10 | } |
33 | 11 | } |
34 | 12 |
|
35 | | -.event-info { |
36 | | - |
37 | | -} |
38 | | - |
39 | | -.event-info-container { |
40 | | - |
41 | | -} |
42 | | - |
43 | 13 | .event-info-wrapper { |
44 | | - display: -webkit-inline-box; |
45 | | - display: -ms-inline-flexbox; |
46 | | - display: inline-flex; |
47 | | - -webkit-box-align: center; |
48 | | - -ms-flex-align: center; |
49 | | - align-items: center; |
50 | | - margin: 6px 0px; |
51 | | -} |
52 | | - |
53 | | -.event-details-container { |
54 | | - |
55 | | -} |
56 | | - |
57 | | -.event-info-text { |
58 | | - margin: 0px 12px 0px; |
| 14 | + display: -webkit-inline-box; |
| 15 | + display: -ms-inline-flexbox; |
| 16 | + display: inline-flex; |
| 17 | + -webkit-box-align: center; |
| 18 | + -ms-flex-align: center; |
| 19 | + align-items: center; |
| 20 | + margin: 6px 0px; |
59 | 21 | } |
60 | 22 |
|
61 | | -.events-list{ |
62 | | - height: 100%; |
63 | | - position: relative; |
64 | | - overflow: auto; |
65 | | - |
66 | | - .add-event-btn { |
67 | | - position: sticky; |
68 | | - bottom: 0; |
69 | | - display: flex; |
70 | | - justify-content: flex-end; |
71 | | - .add-event-link{ |
72 | | - background: white; |
73 | | - border-radius: 10px; |
74 | | - display: flex; |
75 | | - align-items: center; |
| 23 | +.events-list { |
| 24 | + height: 100%; |
| 25 | + position: relative; |
| 26 | + overflow: auto; |
| 27 | + .add-event-btn { |
| 28 | + position: sticky; |
| 29 | + bottom: 0; |
| 30 | + display: flex; |
| 31 | + justify-content: flex-end; |
| 32 | + .add-event-link { |
| 33 | + background: white; |
| 34 | + border-radius: 10px; |
| 35 | + display: flex; |
| 36 | + align-items: center; |
76 | 37 |
|
77 | | - /*animation taken from stackoverflow */ |
78 | | - overflow: hidden; |
79 | | - width: 40px; |
80 | | - -webkit-transition: width .3s; |
81 | | - transition: width .3s; |
82 | | - transition-timing-function: ease-in-out; |
83 | | - white-space: nowrap; |
84 | | - svg { |
85 | | - width: 2em; |
86 | | - height: 2em; |
87 | | - } |
88 | | - .add-event-link-text{ |
89 | | - display: none; |
90 | | - color: rgb(250, 17, 79); |
91 | | - margin-left: 10px; |
92 | | - } |
93 | | - } |
94 | | - .add-event-link:hover { |
95 | | - width: 126px; |
96 | | - -webkit-transition: width .3s; |
97 | | - transition: width .3s; |
98 | | - transition-timing-function: ease-in-out; |
99 | | - } |
100 | | - .add-event-link:hover .add-event-link-text{ |
101 | | - display: inline-block; |
102 | | - } |
| 38 | + /*animation taken from stackoverflow */ |
| 39 | + overflow: hidden; |
| 40 | + width: 40px; |
| 41 | + -webkit-transition: width 0.3s; |
| 42 | + transition: width 0.3s; |
| 43 | + transition-timing-function: ease-in-out; |
| 44 | + white-space: nowrap; |
| 45 | + svg { |
| 46 | + width: 2em; |
| 47 | + height: 2em; |
| 48 | + } |
| 49 | + .add-event-link-text { |
| 50 | + display: none; |
| 51 | + color: rgb(250, 17, 79); |
| 52 | + margin-left: 10px; |
| 53 | + } |
| 54 | + } |
| 55 | + .add-event-link:hover { |
| 56 | + width: 126px; |
| 57 | + -webkit-transition: width 0.3s; |
| 58 | + transition: width 0.3s; |
| 59 | + transition-timing-function: ease-in-out; |
103 | 60 | } |
| 61 | + .add-event-link:hover .add-event-link-text { |
| 62 | + display: inline-block; |
| 63 | + } |
| 64 | + } |
104 | 65 | } |
0 commit comments