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