Commit | Line | Data |
---|---|---|
b8eab696 | 1 | .containerList > li { |
929f7e47 | 2 | position: relative; |
2c623ed6 | 3 | transition: background-color .2s; |
b8eab696 | 4 | |
f216765b AE |
5 | @include screen-md-down { |
6 | padding: 10px 0; | |
63e2f52f AE |
7 | } |
8 | ||
f216765b AE |
9 | @include screen-lg { |
10 | padding: 20px; | |
63e2f52f AE |
11 | } |
12 | ||
b8eab696 | 13 | &:not(:last-child) { |
e2368a74 MW |
14 | border-bottom: 1px solid $wcfContentBorderInner; |
15 | } | |
16 | ||
17 | &:first-child { | |
18 | border-top: 1px solid $wcfContentBorder; | |
19 | } | |
20 | ||
21 | &:last-child { | |
22 | border-bottom: 1px solid $wcfContentBorder; | |
b8eab696 AE |
23 | } |
24 | ||
929f7e47 MW |
25 | &:hover { |
26 | background-color: $wcfTabularBoxBackgroundActive; | |
27 | } | |
28 | ||
b8eab696 AE |
29 | &.showMore { |
30 | text-align: center; | |
929f7e47 MW |
31 | |
32 | &:hover { | |
33 | background-color: transparent; | |
34 | } | |
b8eab696 AE |
35 | } |
36 | ||
37 | .containerHeadline { | |
38 | position: relative; | |
39 | ||
40 | > .containerContentType { | |
e2368a74 | 41 | color: $wcfContentDimmedText; |
b8eab696 | 42 | position: absolute; |
e2368a74 | 43 | top: 5px; |
b8eab696 | 44 | right: 0; |
c68fa164 MW |
45 | |
46 | @include screen-xs { | |
47 | display: none; | |
48 | } | |
b8eab696 AE |
49 | } |
50 | } | |
929f7e47 | 51 | |
7dfd5afb MW |
52 | &.containerListButtonGroup { |
53 | text-align: right; | |
54 | ||
55 | &:hover { | |
56 | background-color: transparent; | |
57 | } | |
58 | ||
59 | > .buttonGroup { | |
60 | display: inline-flex; | |
61 | ||
62 | &:not(:first-child) { | |
63 | margin-left: 5px; | |
64 | } | |
65 | } | |
66 | } | |
67 | ||
f5ba6d2c AE |
68 | @include screen-md-down { |
69 | .hasMobileNavigation > .containerHeadline > h3 { | |
70 | padding-right: 30px; | |
71 | } | |
929f7e47 | 72 | |
f5ba6d2c AE |
73 | .buttonGroupNavigation { |
74 | position: absolute; | |
75 | right: 0; | |
76 | top: 14px; | |
929f7e47 | 77 | |
f5ba6d2c AE |
78 | &.open { |
79 | left: 0; | |
929f7e47 | 80 | |
0e18a1e4 AE |
81 | // dropdown is contained within this element, required to have it stand |
82 | // above any succeeding siblings | |
83 | z-index: 10; | |
84 | ||
f5ba6d2c AE |
85 | > .buttonList { |
86 | display: block; | |
87 | visibility: visible; | |
929f7e47 | 88 | } |
f5ba6d2c AE |
89 | } |
90 | ||
91 | > .dropdownLabel { | |
92 | left: calc(100% - 24px); | |
93 | position: relative; | |
94 | } | |
95 | ||
96 | > .buttonList { | |
9ae45102 | 97 | @include dropdownMenu; |
929f7e47 | 98 | |
f5ba6d2c AE |
99 | position: static !important; |
100 | top: 0; | |
101 | ||
102 | > li { | |
103 | .invisible { | |
104 | display: inline; | |
105 | padding-left: 5px; | |
929f7e47 MW |
106 | } |
107 | } | |
f5ba6d2c AE |
108 | } |
109 | } | |
110 | } | |
111 | ||
112 | @include screen-lg { | |
113 | .buttonGroupNavigation { | |
114 | opacity: 0; | |
115 | position: absolute; | |
116 | right: 20px; | |
063c5fc0 | 117 | top: 15px; |
f5ba6d2c AE |
118 | transition: opacity .12s; |
119 | ||
3f1e37b5 AE |
120 | > .dropdownLabel { |
121 | display: none; | |
122 | } | |
123 | ||
f5ba6d2c AE |
124 | > ul { |
125 | background-color: $wcfContentBackground; | |
126 | border: 1px solid rgba(0, 0, 0, .15); | |
127 | border-radius: 6px; | |
929f7e47 | 128 | |
f5ba6d2c AE |
129 | > li { |
130 | margin-right: 0; | |
131 | ||
132 | &:not(:last-child) { | |
133 | border-right: 1px solid rgba(0, 0, 0, .15); | |
134 | } | |
135 | ||
929f7e47 | 136 | > a { |
f5ba6d2c AE |
137 | display: inline-block; |
138 | padding: 3px 5px; | |
139 | ||
d8684224 AE |
140 | > .icon, |
141 | > .invisible { | |
f5ba6d2c AE |
142 | color: rgba(0, 0, 0, .5); |
143 | } | |
144 | } | |
145 | ||
146 | &.active, | |
147 | &:hover { | |
148 | > a { | |
d8684224 AE |
149 | > .icon, |
150 | > .invisible { | |
f5ba6d2c AE |
151 | color: $wcfContentText; |
152 | } | |
929f7e47 MW |
153 | } |
154 | } | |
155 | } | |
156 | } | |
157 | } | |
f5ba6d2c AE |
158 | |
159 | &:hover .buttonGroupNavigation { | |
160 | opacity: 1; | |
161 | } | |
929f7e47 | 162 | } |
b8eab696 AE |
163 | } |
164 | ||
165 | .containerBoxList { | |
f216765b AE |
166 | @include screen-sm-down { |
167 | &.doubleColumned, | |
168 | &.tripleColumned { | |
169 | > li + li { | |
170 | margin-top: 10px; | |
171 | } | |
172 | } | |
173 | } | |
174 | ||
175 | @include screen-md-up { | |
63e2f52f AE |
176 | &.doubleColumned, |
177 | &.tripleColumned { | |
178 | display: flex; | |
179 | flex-wrap: wrap; | |
180 | margin-bottom: -15px; | |
95961bdf | 181 | |
63e2f52f | 182 | > li { |
95961bdf | 183 | overflow: hidden; |
63e2f52f AE |
184 | padding-right: 15px; |
185 | margin-bottom: 15px; | |
95961bdf | 186 | |
63e2f52f | 187 | .containerBoxContent { |
95961bdf | 188 | overflow: hidden; |
63e2f52f AE |
189 | |
190 | h3 { | |
191 | overflow: hidden; | |
192 | text-overflow: ellipsis; | |
193 | white-space: nowrap; | |
194 | } | |
95961bdf MW |
195 | } |
196 | } | |
b8eab696 | 197 | } |
63e2f52f AE |
198 | |
199 | &.doubleColumned > li { | |
200 | flex: 0 0 50%; | |
ce280017 | 201 | max-width: 50%; |
63e2f52f AE |
202 | } |
203 | ||
204 | &.tripleColumned > li { | |
205 | flex: 0 0 calc(100% / 3); | |
206 | /* work-around for IE10 */ | |
207 | width: calc(100% / 3); | |
208 | } | |
b8eab696 | 209 | } |
b8eab696 | 210 | } |
5d8f8836 MW |
211 | |
212 | .recentActivityList { | |
213 | .box48 { | |
214 | max-height: 500px; | |
215 | overflow: hidden; | |
216 | } | |
217 | } | |
f32b3ddd G |
218 | |
219 | .flexibleCategoryList { | |
220 | position: relative; | |
221 | ||
222 | > li { | |
223 | margin-bottom: 14px; | |
224 | ||
225 | > ol { | |
226 | margin-left: 21px; | |
227 | } | |
228 | ||
229 | > ol > li > ol { | |
230 | margin-bottom: 7px; | |
231 | margin-left: 21px; | |
232 | ||
233 | > li { | |
234 | font-size: $wcfFontSizeSmall; | |
235 | } | |
236 | } | |
237 | } | |
238 | } | |
239 | ||
240 | @include screen-md-up { | |
241 | .flexibleCategoryList:not(.flexibleCategoryListDisabled) { | |
242 | /* WebKit */ | |
243 | -webkit-column-count: 2; | |
244 | ||
245 | /* Firefox */ | |
246 | -moz-column-count: 2; | |
247 | ||
248 | /* CSS 3 / Internet Explorer */ | |
249 | column-count: 2; | |
250 | ||
251 | > li { | |
252 | /* WebKit */ | |
253 | -webkit-column-break-inside: avoid; | |
254 | ||
255 | /* CSS 3 / Internet Explorer */ | |
256 | break-inside: avoid; | |
257 | ||
258 | > ol > li > ol { | |
259 | font-size: 0; | |
260 | ||
261 | > li { | |
262 | display: inline-block; | |
263 | } | |
264 | } | |
265 | } | |
266 | } | |
267 | ||
268 | /* Firefox */ | |
269 | @-moz-document url-prefix() { | |
270 | .flexibleCategoryList:not(.flexibleCategoryListDisabled) > li { | |
271 | display: block; | |
272 | overflow: hidden; | |
273 | } | |
274 | } | |
275 | } | |
b03aa025 MW |
276 | |
277 | @include screen-md-down { | |
278 | .styleList > li { | |
279 | padding: 10px; | |
280 | } | |
281 | } |