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