Commit | Line | Data |
---|---|---|
3321b9c6 MW |
1 | .messageGroupList { |
2 | .tabularList { | |
e5359fe5 AE |
3 | .columnSubject { |
4 | flex: 1 1 auto; | |
5 | } | |
8a52619a | 6 | |
e5359fe5 | 7 | .columnStats { |
79ed1a23 | 8 | flex: 0 0 150px; |
e5359fe5 AE |
9 | text-align: center; |
10 | } | |
8a52619a | 11 | |
e5359fe5 AE |
12 | .columnLastPost { |
13 | flex: 0 0 200px; | |
3321b9c6 | 14 | } |
8a52619a | 15 | |
3321b9c6 MW |
16 | .tabularListRow:not(.tabularListRowHead) { |
17 | .columnStats { | |
18 | position: relative; | |
8a52619a | 19 | |
3321b9c6 MW |
20 | > dl { |
21 | visibility: hidden; | |
22 | } | |
23 | } | |
8a52619a | 24 | |
d0f167f3 MW |
25 | @include screen-lg { |
26 | &:hover .columnStats { | |
27 | > dl { | |
28 | visibility: visible; | |
29 | } | |
8a52619a | 30 | |
d0f167f3 MW |
31 | .messageGroupListStatsSimple { |
32 | display: none; | |
33 | } | |
3321b9c6 MW |
34 | } |
35 | } | |
36 | } | |
37 | } | |
8a52619a | 38 | |
3321b9c6 MW |
39 | .columnMark > label { |
40 | cursor: pointer; | |
41 | display: block; | |
42 | height: 24px; | |
43 | width: 24px; | |
8a52619a | 44 | |
3321b9c6 | 45 | @extend .messageCheckboxLabel; |
8a52619a | 46 | |
3321b9c6 MW |
47 | &::before { |
48 | font-size: 24px; | |
49 | top: -6px; | |
50 | } | |
51 | } | |
8a52619a | 52 | |
3321b9c6 MW |
53 | .jsMarked .columnMark > label::after { |
54 | display: block; | |
55 | font-size: 13px; | |
56 | left: 3px; | |
57 | top: 1px; | |
58 | } | |
8a52619a | 59 | |
b4fb1837 MW |
60 | .tabularListRowHead { |
61 | .columnMark > label::before { | |
62 | top: -3px; | |
63 | } | |
8a52619a | 64 | |
b4fb1837 | 65 | .jsMarked .columnMark > label::after { |
31792913 | 66 | top: 4px; |
b4fb1837 | 67 | } |
3321b9c6 | 68 | } |
8a52619a | 69 | |
3321b9c6 MW |
70 | .messageDeleted .columnAvatar, |
71 | .messageDisabled .columnAvatar { | |
72 | position: relative; | |
8a52619a | 73 | |
3321b9c6 MW |
74 | &::before { |
75 | display: block; | |
76 | font-family: FontAwesome; | |
3321b9c6 | 77 | position: absolute; |
8a52619a | 78 | |
9fe907fe MW |
79 | @include screen-md-up { |
80 | font-size: 42px; | |
81 | } | |
8a52619a | 82 | |
9fe907fe MW |
83 | @include screen-sm-down { |
84 | font-size: 28px; | |
85 | } | |
3321b9c6 | 86 | } |
8a52619a | 87 | |
0713299d TD |
88 | > div img, |
89 | > div .icon:first-child { | |
3321b9c6 MW |
90 | visibility: hidden; |
91 | } | |
92 | } | |
8a52619a | 93 | |
4397454e MS |
94 | .messageDisabled .columnAvatar::before { |
95 | color: rgb(0, 140, 0); | |
96 | content: $fa-var-eye-slash; | |
8a52619a | 97 | |
9fe907fe | 98 | @include screen-md-up { |
4397454e | 99 | left: 13px; |
9fe907fe MW |
100 | top: -2px; |
101 | } | |
8a52619a | 102 | |
9fe907fe | 103 | @include screen-sm-down { |
4397454e | 104 | left: 3px; |
9fe907fe MW |
105 | top: -4px; |
106 | } | |
3321b9c6 | 107 | } |
8a52619a | 108 | |
4397454e MS |
109 | .messageDeleted .columnAvatar::before { |
110 | color: rgb(180, 0, 0); | |
111 | content: $fa-var-trash-o; | |
112 | left: 17px; | |
113 | top: -2px; | |
8a52619a | 114 | |
9fe907fe | 115 | @include screen-md-up { |
4397454e | 116 | left: 17px; |
9fe907fe MW |
117 | top: -2px; |
118 | } | |
8a52619a | 119 | |
9fe907fe | 120 | @include screen-sm-down { |
4397454e | 121 | left: 7px; |
9fe907fe MW |
122 | top: -4px; |
123 | } | |
3321b9c6 | 124 | } |
8a52619a | 125 | |
3321b9c6 MW |
126 | .columnAvatar { |
127 | div { | |
128 | position: relative; | |
129 | width: 48px; | |
130 | height: 48px; | |
3321b9c6 | 131 | } |
8a52619a | 132 | |
3321b9c6 MW |
133 | .myAvatar { |
134 | position: absolute; | |
135 | width: 24px; | |
136 | height: 24px; | |
137 | bottom: -2px; | |
138 | right: -6px; | |
8a52619a | 139 | |
3321b9c6 MW |
140 | > img { |
141 | border: 1px solid $wcfContentBackground; | |
142 | box-sizing: content-box; | |
143 | } | |
144 | } | |
145 | } | |
8a52619a | 146 | |
3321b9c6 MW |
147 | .columnSubject { |
148 | overflow: hidden; | |
8a52619a | 149 | |
3321b9c6 | 150 | > h3 { |
3321b9c6 | 151 | > .messageGroupLink { |
5908f54f | 152 | @include wcfFontHeadline; |
3321b9c6 | 153 | } |
8a52619a | 154 | |
3321b9c6 MW |
155 | > .badge.label { |
156 | top: -2px; | |
157 | } | |
158 | } | |
8a52619a | 159 | |
3321b9c6 MW |
160 | > small { |
161 | display: block; | |
162 | } | |
8a52619a | 163 | |
3321b9c6 MW |
164 | > .statusDisplay { |
165 | display: flex; | |
166 | float: right; | |
8a52619a TD |
167 | opacity: 0.75; |
168 | transition: opacity 0.12s; | |
169 | ||
3321b9c6 MW |
170 | > .statusIcons { |
171 | align-items: center; | |
172 | flex: 0 0 auto; | |
8a52619a | 173 | |
3321b9c6 MW |
174 | > li { |
175 | align-items: center; | |
176 | display: flex; | |
177 | } | |
178 | } | |
179 | } | |
8a52619a | 180 | |
3321b9c6 MW |
181 | > .labelList { |
182 | float: right; | |
183 | padding-left: 7px; | |
184 | } | |
185 | } | |
8a52619a | 186 | |
3321b9c6 MW |
187 | .columnLastPost { |
188 | > .box32 { | |
189 | align-items: center; | |
190 | } | |
8a52619a | 191 | |
3321b9c6 MW |
192 | time { |
193 | color: $wcfContentDimmedText; | |
194 | } | |
8a52619a | 195 | |
3321b9c6 MW |
196 | a { |
197 | display: block; | |
198 | overflow: hidden; | |
199 | text-overflow: ellipsis; | |
200 | white-space: nowrap; | |
201 | } | |
202 | } | |
8a52619a | 203 | |
3321b9c6 MW |
204 | // hover |
205 | .tabularListRow:hover, | |
8a52619a TD |
206 | tr:hover { |
207 | // deprecated | |
3321b9c6 MW |
208 | .columnSubject > .statusDisplay { |
209 | opacity: 1; | |
8a52619a | 210 | |
3321b9c6 MW |
211 | > .pagination { |
212 | opacity: 1; | |
213 | } | |
214 | } | |
3321b9c6 | 215 | } |
8a52619a | 216 | |
3321b9c6 | 217 | // new status |
1b87c0bd | 218 | .tabularListColumns.new, |
8a52619a TD |
219 | tr.new { |
220 | // deprecated | |
3321b9c6 | 221 | .columnSubject > h3 > .messageGroupLink { |
c5222ca4 | 222 | font-weight: 600; |
3321b9c6 | 223 | } |
3321b9c6 | 224 | } |
8a52619a | 225 | |
3321b9c6 MW |
226 | .pagination { |
227 | flex: 0 0 auto; | |
228 | opacity: 0; | |
8a52619a TD |
229 | transition: opacity 0.12s; |
230 | ||
5908f54f | 231 | @include wcfFontSmall; |
8a52619a | 232 | |
3321b9c6 MW |
233 | &:not(:last-child) { |
234 | margin-right: 5px; | |
235 | } | |
236 | } | |
8a52619a | 237 | |
06cf7304 MW |
238 | @include screen-md-up { |
239 | .messageGroupCounterMobile, | |
240 | .messageGroupInfoMobile { | |
241 | display: none; | |
242 | } | |
243 | } | |
8a52619a | 244 | |
06cf7304 MW |
245 | @include screen-sm-down { |
246 | .tabularListColumns > .columnMark { | |
247 | display: none; | |
248 | } | |
8a52619a | 249 | |
06cf7304 MW |
250 | .tabularListRowHead { |
251 | .columnMark, | |
252 | .columnStats { | |
253 | display: none; | |
254 | } | |
8a52619a | 255 | |
06cf7304 MW |
256 | .columnSubject { |
257 | padding: 0; | |
258 | } | |
8a52619a | 259 | |
06cf7304 MW |
260 | .columnLastPost { |
261 | flex-basis: auto; | |
262 | padding: 0; | |
263 | } | |
264 | } | |
8a52619a | 265 | |
06cf7304 MW |
266 | .tabularListRow:not(.tabularListRowHead) > .tabularListColumns { |
267 | flex-wrap: wrap; | |
268 | justify-content: flex-end; | |
269 | padding: 5px 0; | |
8a52619a | 270 | |
06cf7304 MW |
271 | > li { |
272 | padding: 0; | |
273 | } | |
8a52619a | 274 | |
06cf7304 MW |
275 | .columnAvatar { |
276 | margin-right: 10px; | |
277 | padding: 0; | |
8a52619a | 278 | |
06cf7304 MW |
279 | div { |
280 | height: 32px; | |
281 | width: 32px; | |
282 | } | |
8a52619a | 283 | |
06cf7304 MW |
284 | img { |
285 | max-height: 32px; | |
286 | max-width: 32px; | |
287 | } | |
8a52619a | 288 | |
06cf7304 MW |
289 | .myAvatar { |
290 | display: none; | |
291 | } | |
292 | } | |
8a52619a | 293 | |
06cf7304 MW |
294 | .columnSubject { |
295 | /* 37px = avatar width + margin-right */ | |
296 | flex-basis: calc(100% - 42px); | |
297 | max-width: calc(100% - 42px); | |
8a52619a | 298 | |
06cf7304 MW |
299 | > h3 { |
300 | align-items: flex-start; | |
301 | display: flex; | |
8a52619a | 302 | |
ab460889 | 303 | > .messageGroupLink { |
06cf7304 | 304 | flex: 1 1 auto; |
5b2a97e1 | 305 | line-height: 1.48; |
06cf7304 MW |
306 | overflow: hidden; |
307 | text-overflow: ellipsis; | |
8a52619a | 308 | |
06cf7304 MW |
309 | @include wcfFontDefault; |
310 | } | |
8a52619a | 311 | |
06cf7304 MW |
312 | > .messageGroupCounterMobile { |
313 | flex: 0 0 auto; | |
314 | margin-left: 10px; | |
315 | } | |
316 | } | |
8a52619a | 317 | |
06cf7304 MW |
318 | .messageGroupInfoMobile { |
319 | color: $wcfContentDimmedText; | |
320 | display: flex; | |
8a52619a | 321 | |
06cf7304 | 322 | @include wcfFontSmall; |
8a52619a | 323 | |
06cf7304 MW |
324 | > .messageGroupAuthorMobile { |
325 | flex: 1 1 auto; | |
326 | } | |
8a52619a | 327 | |
06cf7304 MW |
328 | > .messageGroupLastPostTimeMobile { |
329 | flex: 0 0 auto; | |
330 | margin-left: 10px; | |
331 | } | |
332 | } | |
8a52619a | 333 | |
06cf7304 MW |
334 | .statusDisplay, |
335 | .messageGroupInfo, | |
336 | .messageGroupTime, | |
337 | .messageGroupEditLink { | |
338 | display: none; | |
339 | } | |
8a52619a | 340 | |
06cf7304 MW |
341 | .labelList { |
342 | float: none; | |
343 | padding-bottom: 2px; | |
344 | padding-left: 0; | |
345 | } | |
346 | } | |
8a52619a | 347 | |
06cf7304 MW |
348 | .columnStats, |
349 | .columnLastPost { | |
350 | display: none; | |
351 | } | |
352 | } | |
353 | } | |
8a52619a | 354 | |
15f0fffa AE |
355 | .tabularListRowHead { |
356 | .columnSort { | |
357 | flex: 1; | |
8a52619a | 358 | |
15f0fffa AE |
359 | @include wcfFontDefault; |
360 | } | |
8a52619a | 361 | |
15f0fffa AE |
362 | .columnFilter { |
363 | flex: 0 1 auto; | |
364 | padding-left: 40px; | |
8a52619a | 365 | |
15f0fffa | 366 | @include wcfFontDefault; |
8a52619a | 367 | |
15f0fffa AE |
368 | @include screen-xs { |
369 | display: none; | |
370 | } | |
371 | } | |
8a52619a | 372 | |
15f0fffa AE |
373 | .columnSort, |
374 | .columnFilter { | |
375 | .inlineList > li:not(:last-child) { | |
376 | margin-right: 10px; | |
377 | } | |
378 | } | |
8a52619a | 379 | |
15f0fffa AE |
380 | .columnApplyFilter { |
381 | flex: 0 1 auto; | |
382 | padding-right: 0; | |
383 | } | |
384 | } | |
3321b9c6 MW |
385 | } |
386 | ||
387 | .messageGroupListStatsSimple { | |
388 | color: $wcfContentDimmedText; | |
389 | font-size: 1rem; | |
390 | left: 50%; | |
391 | position: absolute; | |
392 | top: 50%; | |
393 | transform: translateX(-50%) translateY(-50%); | |
8a52619a | 394 | |
15f0fffa AE |
395 | > .icon { |
396 | color: inherit; | |
397 | } | |
3321b9c6 | 398 | } |
06cf7304 MW |
399 | |
400 | @include screen-md-down { | |
401 | .mobileLinkShadowContainer { | |
402 | position: relative; | |
8a52619a | 403 | |
06cf7304 MW |
404 | > .mobileLinkShadow { |
405 | bottom: 0; | |
406 | left: 0; | |
407 | position: absolute; | |
408 | right: 0; | |
409 | top: 0; | |
410 | } | |
411 | } | |
30f4c4d3 MW |
412 | } |
413 | ||
414 | .contentHeader.messageGroupContentHeader { | |
415 | > .contentHeaderIcon { | |
416 | @include screen-lg { | |
417 | position: relative; | |
418 | } | |
419 | } | |
8a52619a | 420 | |
30f4c4d3 MW |
421 | &.messageDeleted > .contentHeaderIcon, |
422 | &.messageDisabled > .contentHeaderIcon { | |
423 | &::before { | |
424 | display: block; | |
425 | font-family: FontAwesome; | |
426 | font-size: 56px; | |
427 | position: absolute; | |
428 | } | |
8a52619a | 429 | |
d84f21b3 MW |
430 | > img, |
431 | > .icon:first-child { | |
30f4c4d3 MW |
432 | visibility: hidden; |
433 | } | |
434 | } | |
8a52619a | 435 | |
30f4c4d3 MW |
436 | &.messageDisabled > .contentHeaderIcon::before { |
437 | color: rgb(0, 140, 0); | |
438 | content: $fa-var-eye-slash; | |
439 | left: 4px; | |
440 | top: -12px; | |
441 | } | |
8a52619a | 442 | |
4397454e MS |
443 | &.messageDeleted > .contentHeaderIcon::before { |
444 | color: rgb(180, 0, 0); | |
445 | content: $fa-var-trash-o; | |
446 | left: 11px; | |
447 | top: -12px; | |
448 | } | |
30f4c4d3 | 449 | } |