Commit | Line | Data |
---|---|---|
4db4751b JR |
1 | .containerList { |
2 | > li { | |
3 | position: relative; | |
4 | transition: background-color .2s; | |
929f7e47 | 5 | |
4db4751b JR |
6 | @include screen-md-down { |
7 | padding: 10px 0; | |
8 | } | |
929f7e47 | 9 | |
4db4751b JR |
10 | @include screen-lg { |
11 | padding: 20px; | |
929f7e47 | 12 | } |
b8eab696 | 13 | |
4db4751b JR |
14 | &:not(:last-child) { |
15 | border-bottom: 1px solid $wcfContentBorderInner; | |
b8eab696 | 16 | } |
7dfd5afb | 17 | |
4db4751b JR |
18 | &:first-child { |
19 | border-top: 1px solid $wcfContentBorder; | |
7dfd5afb MW |
20 | } |
21 | ||
4db4751b JR |
22 | &:last-child { |
23 | border-bottom: 1px solid $wcfContentBorder; | |
7dfd5afb | 24 | } |
fde578c4 | 25 | |
4db4751b JR |
26 | &:hover { |
27 | background-color: $wcfTabularBoxBackgroundActive; | |
fde578c4 | 28 | } |
4db4751b JR |
29 | |
30 | &.showMore { | |
31 | text-align: center; | |
32 | ||
33 | &:hover { | |
34 | background-color: transparent; | |
35 | } | |
f5ba6d2c | 36 | } |
929f7e47 | 37 | |
4db4751b JR |
38 | .containerHeadline { |
39 | position: relative; | |
929f7e47 | 40 | |
4db4751b JR |
41 | > .containerContentType { |
42 | color: $wcfContentDimmedText; | |
43 | position: absolute; | |
44 | top: 5px; | |
45 | right: 0; | |
0e18a1e4 | 46 | |
4db4751b JR |
47 | @include screen-xs { |
48 | display: none; | |
929f7e47 | 49 | } |
f5ba6d2c | 50 | } |
4db4751b JR |
51 | } |
52 | ||
53 | &.containerListButtonGroup { | |
54 | text-align: right; | |
f5ba6d2c | 55 | |
4db4751b JR |
56 | &:hover { |
57 | background-color: transparent; | |
f5ba6d2c AE |
58 | } |
59 | ||
4db4751b JR |
60 | > .buttonGroup { |
61 | display: inline-flex; | |
f5ba6d2c | 62 | |
4db4751b JR |
63 | &:not(:first-child) { |
64 | margin-left: 5px; | |
929f7e47 | 65 | } |
f5ba6d2c | 66 | } |
f5ba6d2c | 67 | |
4db4751b JR |
68 | > .recentActivityFollowedNoResults { |
69 | text-align: left; | |
70 | } | |
71 | } | |
72 | ||
73 | @include screen-md-down { | |
74 | .hasMobileNavigation > .containerHeadline > h3 { | |
75 | padding-right: 30px; | |
3f1e37b5 AE |
76 | } |
77 | ||
4db4751b JR |
78 | .buttonGroupNavigation { |
79 | position: absolute; | |
80 | right: 0; | |
81 | top: 14px; | |
929f7e47 | 82 | |
4db4751b JR |
83 | &.open { |
84 | left: 0; | |
f5ba6d2c | 85 | |
4db4751b JR |
86 | // dropdown is contained within this element, required to have it stand |
87 | // above any succeeding siblings | |
88 | z-index: 10; | |
89 | ||
90 | > .buttonList { | |
91 | display: block; | |
92 | visibility: visible; | |
f5ba6d2c | 93 | } |
4db4751b JR |
94 | } |
95 | ||
96 | > .dropdownLabel { | |
97 | left: calc(100% - 24px); | |
98 | position: relative; | |
99 | } | |
100 | ||
101 | > .buttonList { | |
102 | @include dropdownMenu; | |
f5ba6d2c | 103 | |
4db4751b JR |
104 | position: static !important; |
105 | top: 0; | |
106 | ||
107 | > li { | |
108 | .invisible { | |
109 | display: inline; | |
110 | padding-left: 5px; | |
f5ba6d2c AE |
111 | } |
112 | } | |
4db4751b JR |
113 | } |
114 | } | |
115 | } | |
116 | ||
117 | @include screen-lg { | |
118 | .buttonGroupNavigation { | |
119 | opacity: 0; | |
120 | position: absolute; | |
121 | right: 20px; | |
122 | top: 15px; | |
123 | transition: opacity .12s; | |
124 | ||
125 | > .dropdownLabel { | |
126 | display: none; | |
127 | } | |
128 | ||
129 | > ul { | |
130 | background-color: $wcfContentBackground; | |
131 | border: 1px solid rgba(0, 0, 0, .15); | |
132 | border-radius: 6px; | |
f5ba6d2c | 133 | |
4db4751b JR |
134 | > li { |
135 | margin-right: 0; | |
136 | ||
137 | &:not(:last-child) { | |
138 | border-right: 1px solid rgba(0, 0, 0, .15); | |
139 | } | |
140 | ||
f5ba6d2c | 141 | > a { |
4db4751b JR |
142 | display: inline-block; |
143 | padding: 3px 5px; | |
144 | ||
d8684224 AE |
145 | > .icon, |
146 | > .invisible { | |
4db4751b | 147 | color: rgba(0, 0, 0, .5); |
f5ba6d2c | 148 | } |
929f7e47 | 149 | } |
4db4751b JR |
150 | |
151 | &.active, | |
152 | &:hover { | |
153 | > a { | |
154 | > .icon, | |
155 | > .invisible { | |
156 | color: $wcfContentText; | |
157 | } | |
158 | } | |
159 | } | |
160 | } | |
161 | } | |
162 | } | |
163 | ||
164 | &:hover .buttonGroupNavigation { | |
165 | opacity: 1; | |
166 | } | |
167 | } | |
168 | } | |
169 | ||
170 | @include screen-sm-down { | |
171 | &.doubleColumned, | |
172 | &.tripleColumned { | |
173 | > li + li { | |
174 | margin-top: 10px; | |
175 | } | |
176 | } | |
177 | } | |
178 | ||
179 | @include screen-md-up { | |
180 | &.doubleColumned, | |
181 | &.tripleColumned { | |
182 | display: flex; | |
183 | flex-wrap: wrap; | |
184 | ||
185 | > li { | |
9133f318 AE |
186 | // this will cause the mobile drop-down menu to be cut-off |
187 | // overflow: hidden; | |
4db4751b JR |
188 | padding-right: 15px; |
189 | ||
190 | .containerBoxContent { | |
191 | overflow: hidden; | |
192 | ||
193 | h3 { | |
194 | overflow: hidden; | |
195 | text-overflow: ellipsis; | |
196 | white-space: nowrap; | |
929f7e47 MW |
197 | } |
198 | } | |
4db4751b JR |
199 | |
200 | &:first-child { | |
201 | border-top: none; | |
202 | } | |
203 | ||
204 | &:last-child { | |
205 | border-bottom: none; | |
206 | } | |
929f7e47 | 207 | } |
4db4751b JR |
208 | |
209 | border-top: 1px solid $wcfContentBorder; | |
210 | border-bottom: 1px solid $wcfContentBorder; | |
211 | } | |
212 | ||
213 | &.doubleColumned > li { | |
214 | flex: 0 0 50%; | |
215 | max-width: 50%; | |
816336cc MW |
216 | |
217 | &:nth-child(2n+1):nth-last-child(-n+2) { | |
218 | border-bottom: none; | |
219 | } | |
929f7e47 | 220 | } |
f5ba6d2c | 221 | |
4db4751b JR |
222 | &.tripleColumned > li { |
223 | flex: 0 0 calc(100% / 3); | |
224 | /* work-around for IE10 */ | |
225 | width: calc(100% / 3); | |
816336cc MW |
226 | |
227 | &:nth-child(3n+1):nth-last-child(-n+3), | |
228 | &:nth-child(3n+1):nth-last-child(-n+3) ~ li { | |
229 | border-bottom: none; | |
230 | } | |
f5ba6d2c | 231 | } |
929f7e47 | 232 | } |
b8eab696 AE |
233 | } |
234 | ||
235 | .containerBoxList { | |
f216765b AE |
236 | @include screen-sm-down { |
237 | &.doubleColumned, | |
238 | &.tripleColumned { | |
239 | > li + li { | |
240 | margin-top: 10px; | |
241 | } | |
242 | } | |
243 | } | |
244 | ||
245 | @include screen-md-up { | |
63e2f52f AE |
246 | &.doubleColumned, |
247 | &.tripleColumned { | |
248 | display: flex; | |
249 | flex-wrap: wrap; | |
250 | margin-bottom: -15px; | |
95961bdf | 251 | |
63e2f52f | 252 | > li { |
95961bdf | 253 | overflow: hidden; |
63e2f52f AE |
254 | padding-right: 15px; |
255 | margin-bottom: 15px; | |
95961bdf | 256 | |
63e2f52f | 257 | .containerBoxContent { |
95961bdf | 258 | overflow: hidden; |
63e2f52f AE |
259 | |
260 | h3 { | |
261 | overflow: hidden; | |
262 | text-overflow: ellipsis; | |
263 | white-space: nowrap; | |
264 | } | |
95961bdf MW |
265 | } |
266 | } | |
b8eab696 | 267 | } |
63e2f52f AE |
268 | |
269 | &.doubleColumned > li { | |
270 | flex: 0 0 50%; | |
ce280017 | 271 | max-width: 50%; |
63e2f52f AE |
272 | } |
273 | ||
274 | &.tripleColumned > li { | |
275 | flex: 0 0 calc(100% / 3); | |
276 | /* work-around for IE10 */ | |
277 | width: calc(100% / 3); | |
278 | } | |
b8eab696 | 279 | } |
b8eab696 | 280 | } |
5d8f8836 MW |
281 | |
282 | .recentActivityList { | |
283 | .box48 { | |
284 | max-height: 500px; | |
285 | overflow: hidden; | |
286 | } | |
287 | } | |
f32b3ddd G |
288 | |
289 | .flexibleCategoryList { | |
290 | position: relative; | |
291 | ||
292 | > li { | |
293 | margin-bottom: 14px; | |
294 | ||
295 | > ol { | |
296 | margin-left: 21px; | |
297 | } | |
298 | ||
299 | > ol > li > ol { | |
300 | margin-bottom: 7px; | |
301 | margin-left: 21px; | |
302 | ||
303 | > li { | |
304 | font-size: $wcfFontSizeSmall; | |
305 | } | |
306 | } | |
307 | } | |
308 | } | |
309 | ||
326db33c AE |
310 | .containerListDisplayOptions { |
311 | align-items: center; | |
312 | border-bottom: 2px solid currentColor; | |
313 | color: $wcfTabularBoxHeadline; | |
314 | display: flex; | |
315 | } | |
316 | ||
317 | .containerListSortOptions, | |
318 | .containerListActiveFilters, | |
319 | .containerListFilterOptions { | |
320 | padding: 5px 10px; | |
321 | } | |
322 | ||
323 | @include screen-sm-down { | |
324 | .containerListActiveFilters { | |
325 | display: none; | |
326 | } | |
327 | } | |
328 | ||
329 | .containerListSortOptions { | |
330 | flex: 1 auto; | |
331 | ||
332 | > .dropdown { | |
333 | margin-left: 10px; | |
334 | } | |
335 | } | |
336 | ||
337 | .containerListActiveFilters, | |
338 | .containerListFilterOptions { | |
339 | flex: 0 auto; | |
340 | } | |
341 | ||
f32b3ddd G |
342 | @include screen-md-up { |
343 | .flexibleCategoryList:not(.flexibleCategoryListDisabled) { | |
344 | /* WebKit */ | |
345 | -webkit-column-count: 2; | |
346 | ||
347 | /* Firefox */ | |
348 | -moz-column-count: 2; | |
349 | ||
350 | /* CSS 3 / Internet Explorer */ | |
351 | column-count: 2; | |
352 | ||
353 | > li { | |
354 | /* WebKit */ | |
355 | -webkit-column-break-inside: avoid; | |
356 | ||
357 | /* CSS 3 / Internet Explorer */ | |
358 | break-inside: avoid; | |
359 | ||
360 | > ol > li > ol { | |
361 | font-size: 0; | |
362 | ||
363 | > li { | |
364 | display: inline-block; | |
365 | } | |
366 | } | |
367 | } | |
368 | } | |
369 | ||
370 | /* Firefox */ | |
371 | @-moz-document url-prefix() { | |
372 | .flexibleCategoryList:not(.flexibleCategoryListDisabled) > li { | |
373 | display: block; | |
374 | overflow: hidden; | |
375 | } | |
376 | } | |
377 | } | |
b03aa025 MW |
378 | |
379 | @include screen-md-down { | |
380 | .styleList > li { | |
381 | padding: 10px; | |
382 | } | |
383 | } |