Commit | Line | Data |
---|---|---|
1223c43c | 1 | .tabularList { |
e2368a74 | 2 | border-bottom: 1px solid $wcfContentBorder; |
1223c43c AE |
3 | display: flex; |
4 | flex-direction: column; | |
5 | } | |
6 | ||
7 | .tabularListRow { | |
8 | flex: 0 0 auto; | |
9 | padding: 5px 0; | |
2c623ed6 | 10 | transition: background-color .2s; |
1223c43c AE |
11 | |
12 | &.divider + li:not(.divider) { | |
e2368a74 | 13 | border-top-color: $wcfContentBorder; |
4eb2df9a MW |
14 | } |
15 | ||
16 | &:not(.tabularListRowHead):hover { | |
17 | background-color: $wcfTabularBoxBackgroundActive; | |
1223c43c AE |
18 | } |
19 | } | |
20 | ||
21 | .tabularListRowHead { | |
22 | border-bottom: 2px solid currentColor; | |
23 | color: $wcfTabularBoxHeadline; | |
24 | ||
25 | & + li { | |
26 | border-top-width: 0; | |
f2b50825 | 27 | } |
1223c43c AE |
28 | } |
29 | ||
30 | .tabularListRow:not(.tabularListRowHead) { | |
31 | border-top: 1px solid $wcfContentBorderInner; | |
32 | } | |
33 | ||
34 | .tabularListColumns { | |
35 | align-items: center; | |
36 | display: flex; | |
f2b50825 | 37 | |
1223c43c AE |
38 | > li { |
39 | flex: 0 0 auto; | |
40 | padding: 5px 10px; | |
41 | } | |
42 | } | |
43 | ||
44 | .tabularListRowHead > .tabularListColumns > li { | |
95961bdf MW |
45 | color: $wcfTabularBoxHeadline; |
46 | ||
47 | @extend .wcfFontHeadline; | |
48 | ||
1223c43c AE |
49 | > a { |
50 | color: $wcfTabularBoxHeadline; | |
51 | display: block; | |
1223c43c AE |
52 | } |
53 | ||
54 | &.ASC > a, | |
55 | &.DESC > a { | |
e5359fe5 | 56 | padding-right: 18px; |
1223c43c AE |
57 | position: relative; |
58 | ||
59 | &:after { | |
60 | display: inline-block; | |
61 | font-family: FontAwesome; | |
62 | margin-left: 7px; | |
63 | position: absolute; | |
f2b50825 AE |
64 | } |
65 | } | |
1223c43c AE |
66 | |
67 | &.ASC > a:after { | |
68 | content: $fa-var-caret-up; | |
69 | top: 1px; | |
70 | } | |
71 | ||
72 | &.DESC > a:after { | |
73 | content: $fa-var-caret-down; | |
74 | top: 2px; | |
75 | } | |
76 | ||
77 | &.active > a, | |
78 | > a:hover { | |
79 | color: $wcfTabularBoxHeadlineActive; | |
80 | } | |
f2b50825 AE |
81 | } |
82 | ||
83 | .tabularBoxTitle { | |
84 | > header { | |
85 | border-bottom: 1px solid currentColor; | |
86 | color: $wcfTabularBoxHeadline; | |
87 | padding: 10px 0; | |
88 | ||
89 | > h1, | |
90 | > h2, | |
91 | > h3 { | |
945f563e | 92 | @extend .wcfFontHeadline; |
eb5de306 MW |
93 | |
94 | + small { | |
95 | display: block; | |
96 | } | |
95961bdf MW |
97 | |
98 | .badge { | |
99 | top: -2px; | |
100 | } | |
f2b50825 AE |
101 | } |
102 | ||
103 | a, | |
104 | .icon { | |
105 | color: $wcfTabularBoxHeadline; | |
106 | ||
107 | &:hover { | |
108 | color: $wcfTabularBoxHeadlineActive; | |
109 | } | |
110 | } | |
111 | ||
112 | .collapsibleButton { | |
113 | cursor: pointer; | |
114 | transition: transform .2s linear; | |
115 | } | |
116 | } | |
117 | } | |
118 | ||
f2b50825 AE |
119 | /* table */ |
120 | .table { | |
ed0e809d | 121 | border-bottom: 1px solid $wcfContentBorder; |
f2b50825 AE |
122 | border-spacing: 0; |
123 | width: 100%; | |
124 | ||
125 | td, | |
126 | th { | |
127 | padding: 10px; | |
128 | text-align: left; | |
129 | vertical-align: middle; | |
130 | // non-standard webkit value | |
131 | word-break: break-word; | |
132 | ||
133 | > label { | |
134 | cursor: pointer; | |
135 | display: block; | |
136 | } | |
137 | } | |
138 | ||
139 | th { | |
140 | border-bottom: 2px solid currentColor; | |
95961bdf | 141 | color: $wcfTabularBoxHeadline; |
f2b50825 AE |
142 | text-align: left; |
143 | white-space: nowrap; | |
144 | ||
945f563e | 145 | @extend .wcfFontHeadline; |
f2b50825 AE |
146 | |
147 | > a { | |
148 | color: $wcfTabularBoxHeadline; | |
149 | display: block; | |
150 | } | |
151 | ||
152 | &.active > a, | |
153 | > a:hover { | |
154 | color: $wcfTabularBoxHeadlineActive; | |
155 | } | |
156 | ||
157 | &.ASC, | |
158 | &.DESC { | |
159 | > a::after { | |
160 | display: inline-block; | |
161 | font-family: FontAwesome; | |
162 | margin-left: 5px; | |
163 | } | |
164 | } | |
165 | ||
166 | &.ASC > a::after { | |
167 | content: $fa-var-caret-up; | |
168 | } | |
169 | ||
170 | &.DESC > a::after { | |
171 | content: $fa-var-caret-down; | |
172 | } | |
173 | ||
174 | /* alignment only */ | |
175 | &.columnMark, | |
176 | &.columnStatus { | |
177 | text-align: center; | |
178 | } | |
179 | ||
180 | &.columnDate, | |
181 | &.columnDigits, | |
182 | &.columnID { | |
183 | text-align: right; | |
184 | } | |
185 | } | |
186 | ||
187 | td { | |
188 | &.columnMark, | |
189 | &.columnStatus { | |
190 | text-align: center; | |
191 | width: 1px; | |
192 | white-space: nowrap; | |
193 | word-wrap: normal; | |
194 | } | |
195 | ||
196 | &.columnDigits, | |
197 | &.columnID { | |
198 | text-align: right; | |
199 | width: 1px; | |
200 | white-space: nowrap; | |
201 | word-wrap: normal; | |
202 | } | |
203 | ||
204 | &.columnIcon { | |
205 | text-align: left; | |
206 | width: 1px; | |
207 | white-space: nowrap; | |
208 | word-wrap: normal; | |
209 | } | |
210 | ||
211 | &.columnTitle { | |
212 | font-weight: bold; | |
213 | text-align: left; | |
214 | } | |
215 | ||
216 | &.columnText { | |
217 | font-weight: normal; | |
218 | text-align: left; | |
219 | max-width: 20%; | |
220 | } | |
221 | ||
222 | &.columnDate { | |
f2b50825 AE |
223 | text-align: right; |
224 | width: 1px; | |
225 | white-space: nowrap; | |
226 | word-wrap: normal; | |
945f563e AE |
227 | |
228 | @extend .wcfFontSmall; | |
f2b50825 AE |
229 | } |
230 | ||
231 | &.columnURL, &.columnSmallText { | |
f2b50825 | 232 | text-align: left; |
945f563e AE |
233 | |
234 | @extend .wcfFontSmall; | |
235 | ||
f2b50825 AE |
236 | } |
237 | } | |
238 | ||
239 | tr { | |
240 | &:hover > td { | |
241 | background-color: rgb(242, 242, 242); | |
242 | } | |
243 | ||
244 | &:not(:last-child) > td { | |
ed8c9052 | 245 | border-bottom: 1px solid $wcfContentBorderInner; |
f2b50825 AE |
246 | } |
247 | } | |
248 | ||
249 | .statusDisplay { | |
250 | float: right; | |
251 | ||
252 | .statusIcons { | |
253 | float: right; | |
254 | margin-left: 5px; | |
255 | ||
256 | li { | |
257 | display: inline-block; | |
258 | } | |
259 | } | |
260 | } | |
261 | } |