|
8 | 8 | @import '../../../node_modules/office-ui-fabric-core/dist/sass/References'; |
9 | 9 | @import '../../styles/shared-styles.scss'; |
10 | 10 |
|
11 | | -.header { |
| 11 | +:host .header, |
| 12 | +mgt-agenda .header { |
12 | 13 | margin: var(--agenda-header-margin, 40px 10px 14px 10px); |
13 | 14 | font-family: var(--default-font-family); |
14 | 15 | font-size: var(--agenda-header-font-size, 24px); |
15 | 16 | color: var(--agenda-header-color, #333333); |
16 | 17 | } |
17 | 18 |
|
18 | | -.agenda > .group:first-child > .header { |
| 19 | +:host .agenda > .group:first-child > .header, |
| 20 | +mgt-agenda .agenda > .group:first-child > .header { |
19 | 21 | margin-top: 0; |
20 | 22 | } |
21 | 23 |
|
22 | | -.agenda-list { |
| 24 | +:host .agenda-list, |
| 25 | +mgt-agenda .agenda-list { |
23 | 26 | list-style-type: none; |
24 | 27 | padding: 0; |
25 | 28 | margin: 0; |
|
28 | 31 | font-weight: normal; |
29 | 32 | } |
30 | 33 |
|
31 | | -.event { |
| 34 | +:host .event, |
| 35 | +mgt-agenda .event { |
32 | 36 | background: var(--event-background, #ffffff); |
33 | 37 | border: var(--event-border, solid 2px rgba(0, 0, 0, 0)); |
34 | 38 | box-shadow: var(--event-box-shadow, 0px 2px 8px rgba(0, 0, 0, 0.092)); |
|
37 | 41 | display: flex; |
38 | 42 | } |
39 | 43 |
|
40 | | -.narrow .event { |
| 44 | +:host .narrow .event, |
| 45 | +mgt-agenda .narrow .event { |
41 | 46 | flex-direction: column; |
42 | 47 | } |
43 | 48 |
|
44 | | -.event-time-container { |
| 49 | +:host .event-time-container, |
| 50 | +mgt-agenda .event-time-container { |
45 | 51 | display: flex; |
46 | 52 | flex-direction: column; |
47 | 53 | margin: 18px 38px 18px 18px; |
48 | 54 | width: 120px; |
49 | 55 | } |
50 | 56 |
|
51 | | -.narrow .event-time-container { |
| 57 | +:host .narrow .event-time-container, |
| 58 | +mgt-agenda .narrow .event-time-container { |
52 | 59 | margin: 14px 18px 8px 18px; |
53 | 60 | } |
54 | 61 |
|
55 | | -.event-time { |
| 62 | +:host .event-time, |
| 63 | +mgt-agenda .event-time { |
56 | 64 | font-size: var(--event-time-font-size, 12px); |
57 | 65 | color: var(--event-time-color, #000000); |
58 | 66 | font-weight: 600; |
59 | 67 | } |
60 | 68 |
|
61 | | -.event-duration { |
| 69 | +:host .event-duration, |
| 70 | +mgt-agenda .event-duration { |
62 | 71 | color: rgba(16, 16, 16, 0.3); |
63 | 72 | } |
64 | 73 |
|
65 | | -.event-details-container { |
| 74 | +:host .event-details-container, |
| 75 | +mgt-agenda .event-details-container { |
66 | 76 | margin: 14px 18px 14px 0px; |
67 | 77 | } |
68 | 78 |
|
69 | | -.narrow .event-details-container { |
| 79 | +:host .narrow .event-details-container, |
| 80 | +mgt-agenda .narrow .event-details-container { |
70 | 81 | margin: 0px 18px 14px 18px; |
71 | 82 | } |
72 | 83 |
|
73 | | -.event-subject { |
| 84 | +:host .event-subject, |
| 85 | +mgt-agenda .event-subject { |
74 | 86 | margin: 0px 18px 0px 0px; |
75 | 87 | font-size: var(--event-subject-font-size, 19px); |
76 | 88 | color: var(--event-subject-color, #333333); |
77 | 89 | } |
78 | 90 |
|
79 | | -.event-location-container { |
| 91 | +:host .event-location-container, |
| 92 | +mgt-agenda .event-location-container { |
80 | 93 | display: flex; |
81 | 94 | margin: 8px 18px 0px 0px; |
82 | 95 | } |
83 | 96 |
|
84 | | -.event-location { |
| 97 | +:host .event-location, |
| 98 | +mgt-agenda .event-location { |
85 | 99 | font-size: var(--event-location-font-size, 12px); |
86 | 100 | color: var(--event-location-color, #000000); |
87 | 101 | margin: 0px 0px 0px 4px; |
88 | 102 | } |
89 | 103 |
|
90 | | -.event-attendees { |
| 104 | +:host .event-attendees, |
| 105 | +mgt-agenda .event-attendees { |
91 | 106 | --list-margin: 8px 0 0 0; |
92 | 107 | --avatar-size-s: 20px; |
93 | 108 | } |
94 | 109 |
|
95 | | -.event-other-container { |
| 110 | +:host .event-other-container, |
| 111 | +mgt-agenda .event-other-container { |
96 | 112 | margin: 2px 16px 4px 16px; |
97 | 113 | margin-left: auto; |
98 | 114 | } |
99 | 115 |
|
100 | 116 | // loading style |
101 | 117 |
|
102 | | -.loading-element { |
| 118 | +:host .loading-element, |
| 119 | +mgt-agenda .loading-element { |
103 | 120 | background: #f2f2f2; |
104 | 121 | border-radius: 1px; |
105 | 122 | } |
106 | 123 |
|
107 | | -.event-time-loading { |
| 124 | +:host .event-time-loading, |
| 125 | +mgt-agenda .event-time-loading { |
108 | 126 | width: 100px; |
109 | 127 | height: 10px; |
110 | 128 | } |
111 | 129 |
|
112 | | -.event-subject-loading { |
| 130 | +:host .event-subject-loading, |
| 131 | +mgt-agenda .event-subject-loading { |
113 | 132 | width: 263px; |
114 | 133 | height: 16px; |
115 | 134 | } |
116 | 135 |
|
117 | | -.event-location-icon-loading { |
| 136 | +:host .event-location-icon-loading, |
| 137 | +mgt-agenda .event-location-icon-loading { |
118 | 138 | width: 14px; |
119 | 139 | height: 14px; |
120 | 140 | } |
121 | 141 |
|
122 | | -.event-location-loading { |
| 142 | +:host .event-location-loading, |
| 143 | +mgt-agenda .event-location-loading { |
123 | 144 | width: 90px; |
124 | 145 | height: 10px; |
125 | 146 | margin: 2px 0px 0px 4px; |
126 | 147 | } |
127 | 148 |
|
128 | | -.event-attendee-loading { |
| 149 | +:host .event-attendee-loading, |
| 150 | +mgt-agenda .event-attendee-loading { |
129 | 151 | width: 20px; |
130 | 152 | height: 20px; |
131 | 153 | border-radius: 10px; |
|
0 commit comments