fomantic-ui 2.9.0-beta.26 → 2.9.0-beta.262
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.all-contributorsrc +206 -3
- package/.github/workflows/ci.yml +4 -4
- package/.github/workflows/nightly.yml +4 -4
- package/.github/workflows/release.yml +30 -0
- package/CONTRIBUTORS.md +75 -37
- package/README.md +8 -8
- package/dist/components/accordion.css +162 -26
- package/dist/components/accordion.js +1 -1
- package/dist/components/accordion.min.css +2 -2
- package/dist/components/accordion.min.js +2 -2
- package/dist/components/ad.css +1 -1
- package/dist/components/ad.min.css +1 -1
- package/dist/components/api.js +34 -30
- package/dist/components/api.min.js +3 -3
- package/dist/components/breadcrumb.css +1 -1
- package/dist/components/breadcrumb.min.css +1 -1
- package/dist/components/button.css +176 -134
- package/dist/components/button.min.css +2 -2
- package/dist/components/calendar.css +18 -1
- package/dist/components/calendar.js +10 -9
- package/dist/components/calendar.min.css +2 -2
- package/dist/components/calendar.min.js +3 -3
- package/dist/components/card.css +26 -19
- package/dist/components/card.min.css +2 -2
- package/dist/components/checkbox.css +2 -1
- package/dist/components/checkbox.js +17 -11
- package/dist/components/checkbox.min.css +2 -2
- package/dist/components/checkbox.min.js +3 -3
- package/dist/components/comment.css +11 -11
- package/dist/components/comment.min.css +1 -1
- package/dist/components/container.css +94 -1
- package/dist/components/container.min.css +2 -2
- package/dist/components/dimmer.css +28 -14
- package/dist/components/dimmer.js +11 -5
- package/dist/components/dimmer.min.css +2 -2
- package/dist/components/dimmer.min.js +3 -3
- package/dist/components/divider.css +1 -1
- package/dist/components/divider.min.css +1 -1
- package/dist/components/dropdown.css +49 -13
- package/dist/components/dropdown.js +66 -39
- package/dist/components/dropdown.min.css +2 -2
- package/dist/components/dropdown.min.js +3 -3
- package/dist/components/embed.css +1 -1
- package/dist/components/embed.js +1 -1
- package/dist/components/embed.min.css +1 -1
- package/dist/components/embed.min.js +2 -2
- package/dist/components/emoji.css +10147 -8139
- package/dist/components/emoji.min.css +1 -1
- package/dist/components/feed.css +28 -28
- package/dist/components/feed.min.css +2 -2
- package/dist/components/flag.css +734 -625
- package/dist/components/flag.min.css +2 -2
- package/dist/components/form.css +118 -55
- package/dist/components/form.js +38 -29
- package/dist/components/form.min.css +2 -2
- package/dist/components/form.min.js +3 -3
- package/dist/components/grid.css +11 -8
- package/dist/components/grid.min.css +2 -2
- package/dist/components/header.css +3 -1
- package/dist/components/header.min.css +2 -2
- package/dist/components/icon.css +126 -47
- package/dist/components/icon.min.css +2 -2
- package/dist/components/image.css +1 -1
- package/dist/components/image.min.css +1 -1
- package/dist/components/input.css +742 -17
- package/dist/components/input.min.css +2 -2
- package/dist/components/item.css +13 -13
- package/dist/components/item.min.css +1 -1
- package/dist/components/label.css +1 -1
- package/dist/components/label.min.css +1 -1
- package/dist/components/list.css +1 -1
- package/dist/components/list.min.css +1 -1
- package/dist/components/loader.css +1 -1
- package/dist/components/loader.min.css +1 -1
- package/dist/components/menu.css +29 -5
- package/dist/components/menu.min.css +1 -1
- package/dist/components/message.css +41 -41
- package/dist/components/message.min.css +2 -2
- package/dist/components/modal.css +13 -1
- package/dist/components/modal.js +127 -49
- package/dist/components/modal.min.css +2 -2
- package/dist/components/modal.min.js +3 -3
- package/dist/components/nag.css +1 -1
- package/dist/components/nag.js +1 -1
- package/dist/components/nag.min.css +1 -1
- package/dist/components/nag.min.js +2 -2
- package/dist/components/placeholder.css +1 -1
- package/dist/components/placeholder.min.css +1 -1
- package/dist/components/popup.css +1 -1
- package/dist/components/popup.js +2 -2
- package/dist/components/popup.min.css +1 -1
- package/dist/components/popup.min.js +3 -3
- package/dist/components/progress.css +1 -1
- package/dist/components/progress.js +4 -1
- package/dist/components/progress.min.css +1 -1
- package/dist/components/progress.min.js +3 -3
- package/dist/components/rail.css +1 -1
- package/dist/components/rail.min.css +1 -1
- package/dist/components/rating.css +1 -1
- package/dist/components/rating.js +1 -1
- package/dist/components/rating.min.css +1 -1
- package/dist/components/rating.min.js +2 -2
- package/dist/components/reset.css +1 -1
- package/dist/components/reset.min.css +1 -1
- package/dist/components/reveal.css +1 -1
- package/dist/components/reveal.min.css +1 -1
- package/dist/components/search.css +1 -1
- package/dist/components/search.js +2 -2
- package/dist/components/search.min.css +1 -1
- package/dist/components/search.min.js +3 -3
- package/dist/components/segment.css +91 -7
- package/dist/components/segment.min.css +2 -2
- package/dist/components/shape.css +1 -1
- package/dist/components/shape.js +3 -3
- package/dist/components/shape.min.css +1 -1
- package/dist/components/shape.min.js +3 -3
- package/dist/components/sidebar.css +4 -2
- package/dist/components/sidebar.js +8 -6
- package/dist/components/sidebar.min.css +2 -2
- package/dist/components/sidebar.min.js +3 -3
- package/dist/components/site.css +61 -39
- package/dist/components/site.js +1 -1
- package/dist/components/site.min.css +2 -2
- package/dist/components/site.min.js +2 -2
- package/dist/components/slider.js +1 -1
- package/dist/components/slider.min.js +2 -2
- package/dist/components/state.js +1 -1
- package/dist/components/state.min.js +2 -2
- package/dist/components/statistic.css +1 -1
- package/dist/components/statistic.min.css +1 -1
- package/dist/components/step.css +4 -4
- package/dist/components/step.min.css +2 -2
- package/dist/components/sticky.css +1 -1
- package/dist/components/sticky.js +1 -1
- package/dist/components/sticky.min.css +1 -1
- package/dist/components/sticky.min.js +2 -2
- package/dist/components/tab.css +1 -1
- package/dist/components/tab.js +23 -5
- package/dist/components/tab.min.css +1 -1
- package/dist/components/tab.min.js +3 -3
- package/dist/components/table.css +1168 -26
- package/dist/components/table.min.css +2 -2
- package/dist/components/text.css +1 -1
- package/dist/components/text.min.css +1 -1
- package/dist/components/toast.css +39 -1
- package/dist/components/toast.js +56 -28
- package/dist/components/toast.min.css +2 -2
- package/dist/components/toast.min.js +3 -3
- package/dist/components/transition.css +1 -1
- package/dist/components/transition.js +21 -16
- package/dist/components/transition.min.css +1 -1
- package/dist/components/transition.min.js +3 -3
- package/dist/components/visibility.js +1 -1
- package/dist/components/visibility.min.js +2 -2
- package/dist/semantic.css +21916 -16238
- package/dist/semantic.js +433 -246
- package/dist/semantic.min.css +3 -3
- package/dist/semantic.min.js +3 -3
- package/dist/themes/default/assets/fonts/brand-icons.eot +0 -0
- package/dist/themes/default/assets/fonts/brand-icons.svg +801 -654
- package/dist/themes/default/assets/fonts/brand-icons.ttf +0 -0
- package/dist/themes/default/assets/fonts/brand-icons.woff +0 -0
- package/dist/themes/default/assets/fonts/brand-icons.woff2 +0 -0
- package/dist/themes/default/assets/fonts/icons.eot +0 -0
- package/dist/themes/default/assets/fonts/icons.svg +1175 -1079
- package/dist/themes/default/assets/fonts/icons.ttf +0 -0
- package/dist/themes/default/assets/fonts/icons.woff +0 -0
- package/dist/themes/default/assets/fonts/icons.woff2 +0 -0
- package/dist/themes/default/assets/fonts/outline-icons.eot +0 -0
- package/dist/themes/default/assets/fonts/outline-icons.svg +93 -95
- package/dist/themes/default/assets/fonts/outline-icons.ttf +0 -0
- package/dist/themes/default/assets/fonts/outline-icons.woff +0 -0
- package/dist/themes/default/assets/fonts/outline-icons.woff2 +0 -0
- package/examples/assets/library/iframe-content.js +8 -8
- package/examples/assets/library/iframe.js +3 -3
- package/package.json +10 -9
- package/src/definitions/behaviors/api.js +33 -29
- package/src/definitions/behaviors/form.js +37 -28
- package/src/definitions/collections/form.less +204 -140
- package/src/definitions/collections/grid.less +716 -680
- package/src/definitions/collections/menu.less +173 -126
- package/src/definitions/collections/message.less +48 -46
- package/src/definitions/collections/table.less +849 -262
- package/src/definitions/elements/button.less +586 -449
- package/src/definitions/elements/container.less +145 -8
- package/src/definitions/elements/emoji.less +15 -9
- package/src/definitions/elements/flag.less +7 -17
- package/src/definitions/elements/header.less +44 -35
- package/src/definitions/elements/icon.less +38 -31
- package/src/definitions/elements/input.less +264 -22
- package/src/definitions/elements/label.less +92 -91
- package/src/definitions/elements/list.less +55 -45
- package/src/definitions/elements/loader.less +30 -29
- package/src/definitions/elements/segment.less +147 -28
- package/src/definitions/elements/step.less +52 -48
- package/src/definitions/elements/text.less +17 -15
- package/src/definitions/globals/site.less +23 -2
- package/src/definitions/modules/accordion.less +175 -24
- package/src/definitions/modules/calendar.js +9 -8
- package/src/definitions/modules/calendar.less +20 -0
- package/src/definitions/modules/checkbox.js +16 -10
- package/src/definitions/modules/checkbox.less +34 -178
- package/src/definitions/modules/dimmer.js +10 -4
- package/src/definitions/modules/dimmer.less +21 -8
- package/src/definitions/modules/dropdown.js +65 -38
- package/src/definitions/modules/dropdown.less +145 -94
- package/src/definitions/modules/modal.js +126 -48
- package/src/definitions/modules/modal.less +12 -0
- package/src/definitions/modules/nag.less +20 -19
- package/src/definitions/modules/popup.js +1 -1
- package/src/definitions/modules/progress.js +3 -0
- package/src/definitions/modules/progress.less +19 -18
- package/src/definitions/modules/rating.less +35 -34
- package/src/definitions/modules/search.js +1 -1
- package/src/definitions/modules/search.less +32 -16
- package/src/definitions/modules/shape.js +2 -2
- package/src/definitions/modules/sidebar.js +7 -5
- package/src/definitions/modules/sidebar.less +33 -19
- package/src/definitions/modules/slider.less +39 -38
- package/src/definitions/modules/tab.js +22 -4
- package/src/definitions/modules/toast.js +55 -27
- package/src/definitions/modules/toast.less +48 -16
- package/src/definitions/modules/transition.js +20 -15
- package/src/definitions/views/card.less +402 -361
- package/src/definitions/views/comment.less +92 -81
- package/src/definitions/views/feed.less +164 -144
- package/src/definitions/views/item.less +249 -196
- package/src/definitions/views/statistic.less +90 -88
- package/src/themes/bookish/elements/header.overrides +1 -1
- package/src/themes/chubby/elements/button.overrides +1 -1
- package/src/themes/chubby/elements/header.overrides +1 -1
- package/src/themes/default/assets/fonts/brand-icons.eot +0 -0
- package/src/themes/default/assets/fonts/brand-icons.svg +801 -654
- package/src/themes/default/assets/fonts/brand-icons.ttf +0 -0
- package/src/themes/default/assets/fonts/brand-icons.woff +0 -0
- package/src/themes/default/assets/fonts/brand-icons.woff2 +0 -0
- package/src/themes/default/assets/fonts/icons.eot +0 -0
- package/src/themes/default/assets/fonts/icons.svg +1175 -1079
- package/src/themes/default/assets/fonts/icons.ttf +0 -0
- package/src/themes/default/assets/fonts/icons.woff +0 -0
- package/src/themes/default/assets/fonts/icons.woff2 +0 -0
- package/src/themes/default/assets/fonts/outline-icons.eot +0 -0
- package/src/themes/default/assets/fonts/outline-icons.svg +93 -95
- package/src/themes/default/assets/fonts/outline-icons.ttf +0 -0
- package/src/themes/default/assets/fonts/outline-icons.woff +0 -0
- package/src/themes/default/assets/fonts/outline-icons.woff2 +0 -0
- package/src/themes/default/collections/form.variables +4 -0
- package/src/themes/default/collections/menu.variables +6 -0
- package/src/themes/default/collections/table.variables +52 -0
- package/src/themes/default/elements/button.variables +7 -1
- package/src/themes/default/elements/container.variables +12 -0
- package/src/themes/default/elements/emoji.overrides +1734 -1232
- package/src/themes/default/elements/flag.overrides +1641 -986
- package/src/themes/default/elements/flag.variables +7 -5
- package/src/themes/default/elements/icon.overrides +75 -48
- package/src/themes/default/elements/icon.variables +1 -0
- package/src/themes/default/elements/input.variables +15 -0
- package/src/themes/default/elements/segment.variables +8 -0
- package/src/themes/default/elements/step.overrides +1 -1
- package/src/themes/default/globals/site.variables +6 -0
- package/src/themes/default/globals/variation.variables +139 -6
- package/src/themes/default/modules/accordion.variables +49 -2
- package/src/themes/default/modules/calendar.variables +3 -0
- package/src/themes/default/modules/checkbox.variables +5 -5
- package/src/themes/default/modules/dimmer.variables +1 -1
- package/src/themes/default/modules/dropdown.variables +4 -10
- package/src/themes/default/modules/modal.variables +13 -0
- package/src/themes/default/modules/toast.variables +3 -0
- package/src/themes/famfamfam/elements/flag.overrides +1026 -0
- package/src/themes/famfamfam/elements/flag.variables +13 -0
- package/src/themes/instagram/views/card.overrides +1 -1
- package/src/themes/joypixels/elements/emoji.overrides +1759 -1257
- package/src/themes/joypixels/elements/emoji.variables +1 -1
- package/src/themes/material/collections/menu.overrides +1 -1
- package/src/themes/material/elements/button.overrides +1 -1
- package/src/themes/material/elements/header.overrides +1 -1
- package/src/themes/material/globals/site.variables +0 -1
- package/src/themes/material/modules/dropdown.overrides +1 -1
- package/src/themes/material/modules/modal.overrides +1 -1
- package/src/themes/rtl/globals/site.overrides +1 -1
- package/src/themes/twitter/elements/emoji.overrides +1734 -1232
- package/tasks/build/css.js +6 -1
- package/tasks/config/project/install.js +11 -5
- package/tasks/install.js +1 -0
- package/test/helpers/sinon.js +2 -2
@@ -238,9 +238,9 @@
|
|
238
238
|
.ui.definition.table:not(.unstackable) > thead > tr > th:first-child {
|
239
239
|
box-shadow: none !important;
|
240
240
|
}
|
241
|
-
& when (@variationTableMarked) {
|
242
|
-
each(@
|
243
|
-
@color:
|
241
|
+
& when (@variationTableMarked) and not (@variationTableColors = false) {
|
242
|
+
each(@variationTableColors, {
|
243
|
+
@color: @value;
|
244
244
|
@c: @colors[@@color][color];
|
245
245
|
@l: @colors[@@color][light];
|
246
246
|
.ui.ui.ui.ui.table:not(.unstackable) tr.marked.@{color} {
|
@@ -263,6 +263,312 @@
|
|
263
263
|
}
|
264
264
|
})
|
265
265
|
}
|
266
|
+
& when (@variationTableScrolling) {
|
267
|
+
& when (@variationTableScrollingShort) {
|
268
|
+
.ui.scrolling.table.short > tbody {
|
269
|
+
max-height: @scrollingMobileMaxBodyHeight * 0.75;
|
270
|
+
}
|
271
|
+
}
|
272
|
+
& when (@variationTableScrollingVeryShort) {
|
273
|
+
.ui.scrolling.table[class*="very short"] > tbody {
|
274
|
+
max-height: @scrollingMobileMaxBodyHeight * 0.5;
|
275
|
+
}
|
276
|
+
}
|
277
|
+
.ui.scrolling.table > tbody {
|
278
|
+
max-height: @scrollingMobileMaxBodyHeight;
|
279
|
+
}
|
280
|
+
& when (@variationTableScrollingLong) {
|
281
|
+
.ui.scrolling.table.long > tbody {
|
282
|
+
max-height: @scrollingMobileMaxBodyHeight * 2;
|
283
|
+
}
|
284
|
+
}
|
285
|
+
& when (@variationTableScrollingVeryLong) {
|
286
|
+
.ui.scrolling.table[class*="very long"] > tbody {
|
287
|
+
max-height: @scrollingMobileMaxBodyHeight * 3;
|
288
|
+
}
|
289
|
+
}
|
290
|
+
}
|
291
|
+
& when (@variationTableOverflowing) {
|
292
|
+
& when (@variationTableOverflowingShort) {
|
293
|
+
.ui.overflowing.table.short {
|
294
|
+
max-height: @overflowingMobileMaxHeight * 0.75;
|
295
|
+
}
|
296
|
+
}
|
297
|
+
& when (@variationTableOverflowingVeryShort) {
|
298
|
+
.ui.overflowing.table[class*="very short"] {
|
299
|
+
max-height: @overflowingMobileMaxHeight * 0.5;
|
300
|
+
}
|
301
|
+
}
|
302
|
+
.ui.overflowing.table {
|
303
|
+
max-height: @overflowingMobileMaxHeight;
|
304
|
+
}
|
305
|
+
& when (@variationTableOverflowingLong) {
|
306
|
+
.ui.overflowing.table.long {
|
307
|
+
max-height: @overflowingMobileMaxHeight * 2;
|
308
|
+
}
|
309
|
+
}
|
310
|
+
& when (@variationTableOverflowingVeryLong) {
|
311
|
+
.ui.overflowing.table[class*="very long"] {
|
312
|
+
max-height: @overflowingMobileMaxHeight * 3;
|
313
|
+
}
|
314
|
+
}
|
315
|
+
}
|
316
|
+
}
|
317
|
+
& when (@variationTableScrolling) {
|
318
|
+
/*--------------
|
319
|
+
Scrolling
|
320
|
+
---------------*/
|
321
|
+
@media only screen and (min-width: @tabletBreakpoint) {
|
322
|
+
& when (@variationTableScrollingShort) {
|
323
|
+
.ui.scrolling.table.short > tbody {
|
324
|
+
max-height: @scrollingTabletMaxBodyHeight * 0.75;
|
325
|
+
}
|
326
|
+
}
|
327
|
+
& when (@variationTableScrollingVeryShort) {
|
328
|
+
.ui.scrolling.table[class*="very short"] > tbody {
|
329
|
+
max-height: @scrollingTabletMaxBodyHeight * 0.5;
|
330
|
+
}
|
331
|
+
}
|
332
|
+
.ui.scrolling.table > tbody {
|
333
|
+
max-height: @scrollingTabletMaxBodyHeight;
|
334
|
+
}
|
335
|
+
& when (@variationTableScrollingLong) {
|
336
|
+
.ui.scrolling.table.long > tbody {
|
337
|
+
max-height: @scrollingTabletMaxBodyHeight * 2;
|
338
|
+
}
|
339
|
+
}
|
340
|
+
& when (@variationTableScrollingVeryLong) {
|
341
|
+
.ui.scrolling.table[class*="very long"] > tbody {
|
342
|
+
max-height: @scrollingTabletMaxBodyHeight * 3;
|
343
|
+
}
|
344
|
+
}
|
345
|
+
}
|
346
|
+
@media only screen and (min-width: @computerBreakpoint) {
|
347
|
+
& when (@variationTableScrollingShort) {
|
348
|
+
.ui.scrolling.table.short > tbody {
|
349
|
+
max-height: @scrollingComputerMaxBodyHeight * 0.75;
|
350
|
+
}
|
351
|
+
}
|
352
|
+
& when (@variationTableScrollingVeryShort) {
|
353
|
+
.ui.scrolling.table[class*="very short"] > tbody {
|
354
|
+
max-height: @scrollingComputerMaxBodyHeight * 0.5;
|
355
|
+
}
|
356
|
+
}
|
357
|
+
.ui.scrolling.table > tbody {
|
358
|
+
max-height: @scrollingComputerMaxBodyHeight;
|
359
|
+
}
|
360
|
+
& when (@variationTableScrollingLong) {
|
361
|
+
.ui.scrolling.table.long > tbody {
|
362
|
+
max-height: @scrollingComputerMaxBodyHeight * 2;
|
363
|
+
}
|
364
|
+
}
|
365
|
+
& when (@variationTableScrollingVeryLong) {
|
366
|
+
.ui.scrolling.table[class*="very long"] > tbody {
|
367
|
+
max-height: @scrollingComputerMaxBodyHeight * 3;
|
368
|
+
}
|
369
|
+
}
|
370
|
+
}
|
371
|
+
@media only screen and (min-width: @widescreenMonitorBreakpoint) {
|
372
|
+
& when (@variationTableScrollingShort) {
|
373
|
+
.ui.scrolling.table.short > tbody {
|
374
|
+
max-height: @scrollingWidescreenMaxBodyHeight * 0.75;
|
375
|
+
}
|
376
|
+
}
|
377
|
+
& when (@variationTableScrollingVeryShort) {
|
378
|
+
.ui.scrolling.table[class*="very short"] > tbody {
|
379
|
+
max-height: @scrollingWidescreenMaxBodyHeight * 0.5;
|
380
|
+
}
|
381
|
+
}
|
382
|
+
.ui.scrolling.table > tbody {
|
383
|
+
max-height: @scrollingWidescreenMaxBodyHeight;
|
384
|
+
}
|
385
|
+
& when (@variationTableScrollingLong) {
|
386
|
+
.ui.scrolling.table.long > tbody {
|
387
|
+
max-height: @scrollingWidescreenMaxBodyHeight * 2;
|
388
|
+
}
|
389
|
+
}
|
390
|
+
& when (@variationTableScrollingVeryLong) {
|
391
|
+
.ui.scrolling.table[class*="very long"] > tbody {
|
392
|
+
max-height: @scrollingWidescreenMaxBodyHeight * 3;
|
393
|
+
}
|
394
|
+
}
|
395
|
+
}
|
396
|
+
|
397
|
+
.ui.scrolling.table > thead,
|
398
|
+
.ui.scrolling.table > tfoot,
|
399
|
+
.ui.scrolling.table > tbody {
|
400
|
+
display: block;
|
401
|
+
overflow-y: scroll;
|
402
|
+
scrollbar-width: thin; /* Firefox */
|
403
|
+
& > tr {
|
404
|
+
display: table;
|
405
|
+
table-layout: fixed;
|
406
|
+
width: 100%;
|
407
|
+
}
|
408
|
+
}
|
409
|
+
|
410
|
+
/* Camouflage scrollbars, we need them only to gain the same width as tbody */
|
411
|
+
.ui.scrolling.table > thead {
|
412
|
+
background: @headerBackground;
|
413
|
+
color: @headerBackground;
|
414
|
+
border-radius: @borderRadius @borderRadius 0 0;
|
415
|
+
}
|
416
|
+
.ui.scrolling.table > tfoot {
|
417
|
+
background: @footerBackground;
|
418
|
+
color: @footerBackground;
|
419
|
+
border-radius: 0 0 @borderRadius @borderRadius;
|
420
|
+
}
|
421
|
+
& when (@variationTableInverted) {
|
422
|
+
.ui.inverted.scrolling.table > thead {
|
423
|
+
background: @invertedHeaderBackground;
|
424
|
+
color: @invertedHeaderBackground;
|
425
|
+
}
|
426
|
+
.ui.inverted.scrolling.table > tfoot {
|
427
|
+
background: @invertedFooterBackground;
|
428
|
+
color: @invertedFooterBackground;
|
429
|
+
}
|
430
|
+
}
|
431
|
+
.ui.scrolling.table > thead::-webkit-scrollbar-track,
|
432
|
+
.ui.scrolling.table > tfoot::-webkit-scrollbar-track {
|
433
|
+
background: inherit;
|
434
|
+
border-radius: @borderRadius;
|
435
|
+
}
|
436
|
+
|
437
|
+
/* Firefox & IE */
|
438
|
+
.ui.scrolling.table > thead,
|
439
|
+
.ui.scrolling.table > tfoot {
|
440
|
+
scrollbar-color: currentColor currentColor;
|
441
|
+
scrollbar-face-color: currentColor;
|
442
|
+
scrollbar-shadow-color: currentColor;
|
443
|
+
scrollbar-track-color: currentColor;
|
444
|
+
scrollbar-arrow-color: currentColor;
|
445
|
+
}
|
446
|
+
/* IE scrollbar color needs hex values */
|
447
|
+
@media all and (-ms-high-contrast:none) {
|
448
|
+
.ui.scrolling.table > thead {
|
449
|
+
color: @headerBackgroundHex;
|
450
|
+
}
|
451
|
+
.ui.scrolling.table > tfoot {
|
452
|
+
color: @footerBackgroundHex;
|
453
|
+
}
|
454
|
+
& when (@variationTableInverted) {
|
455
|
+
.ui.inverted.scrolling.table > thead {
|
456
|
+
color: @invertedHeaderBackgroundHex;
|
457
|
+
}
|
458
|
+
.ui.inverted.scrolling.table > tfoot {
|
459
|
+
color: @invertedFooterBackgroundHex;
|
460
|
+
}
|
461
|
+
}
|
462
|
+
}
|
463
|
+
& when (@variationTableInverted) {
|
464
|
+
.ui.inverted.scrolling.table > tbody::-webkit-scrollbar-track {
|
465
|
+
background: @trackInvertedBackground;
|
466
|
+
}
|
467
|
+
.ui.inverted.scrolling.table > tbody::-webkit-scrollbar-thumb {
|
468
|
+
background: @thumbInvertedBackground;
|
469
|
+
}
|
470
|
+
.ui.inverted.scrolling.table > tbody::-webkit-scrollbar-thumb:window-inactive {
|
471
|
+
background: @thumbInvertedInactiveBackground;
|
472
|
+
}
|
473
|
+
.ui.inverted.scrolling.table > tbody::-webkit-scrollbar-thumb:hover {
|
474
|
+
background: @thumbInvertedHoverBackground;
|
475
|
+
}
|
476
|
+
.ui.inverted.scrolling.table > tbody {
|
477
|
+
/* IE11 */
|
478
|
+
scrollbar-face-color: @thumbInvertedBackgroundHex;
|
479
|
+
scrollbar-shadow-color: @thumbInvertedBackgroundHex;
|
480
|
+
scrollbar-track-color: @trackInvertedBackgroundHex;
|
481
|
+
scrollbar-arrow-color: @trackInvertedBackgroundHex;
|
482
|
+
|
483
|
+
/* firefox : first color thumb, second track */
|
484
|
+
scrollbar-color: @thumbInvertedBackground @trackInvertedBackground;
|
485
|
+
}
|
486
|
+
}
|
487
|
+
|
488
|
+
}
|
489
|
+
& when (@variationTableOverflowing) {
|
490
|
+
/*--------------
|
491
|
+
Overflowing
|
492
|
+
---------------*/
|
493
|
+
.ui.overflowing.table {
|
494
|
+
display: block;
|
495
|
+
overflow: auto;
|
496
|
+
}
|
497
|
+
@media only screen and (min-width: @tabletBreakpoint) {
|
498
|
+
& when (@variationTableOverflowingShort) {
|
499
|
+
.ui.overflowing.table.short {
|
500
|
+
max-height: @overflowingTabletMaxHeight * 0.75;
|
501
|
+
}
|
502
|
+
}
|
503
|
+
& when (@variationTableOverflowingVeryShort) {
|
504
|
+
.ui.overflowing.table[class*="very short"] {
|
505
|
+
max-height: @overflowingTabletMaxHeight * 0.5;
|
506
|
+
}
|
507
|
+
}
|
508
|
+
.ui.overflowing.table {
|
509
|
+
max-height: @overflowingTabletMaxHeight;
|
510
|
+
}
|
511
|
+
& when (@variationTableOverflowingLong) {
|
512
|
+
.ui.overflowing.table.long {
|
513
|
+
max-height: @overflowingTabletMaxHeight * 2;
|
514
|
+
}
|
515
|
+
}
|
516
|
+
& when (@variationTableOverflowingVeryLong) {
|
517
|
+
.ui.overflowing.table[class*="very long"] {
|
518
|
+
max-height: @overflowingTabletMaxHeight * 3;
|
519
|
+
}
|
520
|
+
}
|
521
|
+
}
|
522
|
+
@media only screen and (min-width: @computerBreakpoint) {
|
523
|
+
& when (@variationTableOverflowingShort) {
|
524
|
+
.ui.overflowing.table.short {
|
525
|
+
max-height: @overflowingComputerMaxHeight * 0.75;
|
526
|
+
}
|
527
|
+
}
|
528
|
+
& when (@variationTableOverflowingVeryShort) {
|
529
|
+
.ui.overflowing.table[class*="very short"] {
|
530
|
+
max-height: @overflowingComputerMaxHeight * 0.5;
|
531
|
+
}
|
532
|
+
}
|
533
|
+
.ui.overflowing.table {
|
534
|
+
max-height: @overflowingComputerMaxHeight;
|
535
|
+
}
|
536
|
+
& when (@variationTableOverflowingLong) {
|
537
|
+
.ui.overflowing.table.long {
|
538
|
+
max-height: @overflowingComputerMaxHeight * 2;
|
539
|
+
}
|
540
|
+
}
|
541
|
+
& when (@variationTableOverflowingVeryLong) {
|
542
|
+
.ui.overflowing.table[class*="very long"]{
|
543
|
+
max-height: @overflowingComputerMaxHeight * 3;
|
544
|
+
}
|
545
|
+
}
|
546
|
+
}
|
547
|
+
@media only screen and (min-width: @widescreenMonitorBreakpoint) {
|
548
|
+
& when (@variationTableOverflowingShort) {
|
549
|
+
.ui.overflowing.table.short {
|
550
|
+
max-height: @overflowingWidescreenMaxHeight * 0.75;
|
551
|
+
}
|
552
|
+
}
|
553
|
+
& when (@variationTableOverflowingVeryShort) {
|
554
|
+
.ui.overflowing.table[class*="very short"] {
|
555
|
+
max-height: @overflowingWidescreenMaxHeight * 0.5;
|
556
|
+
}
|
557
|
+
}
|
558
|
+
.ui.overflowing.table {
|
559
|
+
max-height: @overflowingWidescreenMaxHeight;
|
560
|
+
}
|
561
|
+
& when (@variationTableOverflowingLong) {
|
562
|
+
.ui.overflowing.table.long {
|
563
|
+
max-height: @overflowingWidescreenMaxHeight * 2;
|
564
|
+
}
|
565
|
+
}
|
566
|
+
& when (@variationTableOverflowingVeryLong) {
|
567
|
+
.ui.overflowing.table[class*="very long"] {
|
568
|
+
max-height: @overflowingWidescreenMaxHeight * 3;
|
569
|
+
}
|
570
|
+
}
|
571
|
+
}
|
266
572
|
}
|
267
573
|
|
268
574
|
|
@@ -392,6 +698,13 @@
|
|
392
698
|
background: @positiveBackgroundColor;
|
393
699
|
color: @positiveColor;
|
394
700
|
}
|
701
|
+
& when (@variationTableInverted) {
|
702
|
+
.ui.ui.ui.ui.inverted.table tr.positive,
|
703
|
+
.ui.ui.inverted.table td.positive {
|
704
|
+
background: @invertedPositiveBackgroundColor;
|
705
|
+
color: @invertedPositiveColor;
|
706
|
+
}
|
707
|
+
}
|
395
708
|
}
|
396
709
|
|
397
710
|
& when (@variationTableNegative) {
|
@@ -405,6 +718,13 @@
|
|
405
718
|
background: @negativeBackgroundColor;
|
406
719
|
color: @negativeColor;
|
407
720
|
}
|
721
|
+
& when (@variationTableInverted) {
|
722
|
+
.ui.ui.ui.ui.inverted.table tr.negative,
|
723
|
+
.ui.ui.inverted.table td.negative {
|
724
|
+
background: @invertedNegativeBackgroundColor;
|
725
|
+
color: @invertedNegativeColor;
|
726
|
+
}
|
727
|
+
}
|
408
728
|
}
|
409
729
|
|
410
730
|
& when (@variationTableError) {
|
@@ -418,6 +738,13 @@
|
|
418
738
|
background: @errorBackgroundColor;
|
419
739
|
color: @errorColor;
|
420
740
|
}
|
741
|
+
& when (@variationTableInverted) {
|
742
|
+
.ui.ui.ui.ui.inverted.table tr.error,
|
743
|
+
.ui.ui.inverted.table td.error {
|
744
|
+
background: @invertedErrorBackgroundColor;
|
745
|
+
color: @invertedErrorColor;
|
746
|
+
}
|
747
|
+
}
|
421
748
|
}
|
422
749
|
|
423
750
|
& when (@variationTableWarning) {
|
@@ -431,6 +758,13 @@
|
|
431
758
|
background: @warningBackgroundColor;
|
432
759
|
color: @warningColor;
|
433
760
|
}
|
761
|
+
& when (@variationTableInverted) {
|
762
|
+
.ui.ui.ui.ui.inverted.table tr.warning,
|
763
|
+
.ui.ui.inverted.table td.warning {
|
764
|
+
background: @invertedWarningBackgroundColor;
|
765
|
+
color: @invertedWarningColor;
|
766
|
+
}
|
767
|
+
}
|
434
768
|
}
|
435
769
|
|
436
770
|
& when (@variationTableActive) {
|
@@ -444,6 +778,13 @@
|
|
444
778
|
background: @activeBackgroundColor;
|
445
779
|
color: @activeColor;
|
446
780
|
}
|
781
|
+
& when (@variationTableInverted) {
|
782
|
+
.ui.ui.ui.ui.inverted.table tr.active,
|
783
|
+
.ui.ui.inverted.table td.active {
|
784
|
+
background: @invertedActiveBackgroundColor;
|
785
|
+
color: @invertedActiveColor;
|
786
|
+
}
|
787
|
+
}
|
447
788
|
}
|
448
789
|
|
449
790
|
|
@@ -452,8 +793,8 @@
|
|
452
793
|
Disabled
|
453
794
|
---------------*/
|
454
795
|
|
455
|
-
.ui.table tr.disabled td,
|
456
|
-
.ui.table tr td.disabled,
|
796
|
+
.ui.ui.ui.table tr.disabled td,
|
797
|
+
.ui.ui.ui.table tr td.disabled,
|
457
798
|
.ui.table tr.disabled:hover,
|
458
799
|
.ui.table tr:hover td.disabled {
|
459
800
|
pointer-events: none;
|
@@ -526,9 +867,9 @@
|
|
526
867
|
}
|
527
868
|
}
|
528
869
|
}
|
529
|
-
& when (@variationTableMarked) {
|
530
|
-
each(@
|
531
|
-
@color:
|
870
|
+
& when (@variationTableMarked) and not (@variationTableColors = false) {
|
871
|
+
each(@variationTableColors, {
|
872
|
+
@color: @value;
|
532
873
|
@c: @colors[@@color][color];
|
533
874
|
@l: @colors[@@color][light];
|
534
875
|
.ui.ui.ui.ui[class*="tablet stackable"].table tr.marked.@{color} {
|
@@ -642,6 +983,8 @@
|
|
642
983
|
.ui.table tbody tr td.selectable > a:not(.ui) {
|
643
984
|
display: block;
|
644
985
|
color: inherit;
|
986
|
+
}
|
987
|
+
.ui.table:not(.compact) tbody tr td.selectable > a:not(.ui) {
|
645
988
|
padding: @cellVerticalPadding @cellHorizontalPadding;
|
646
989
|
}
|
647
990
|
.ui.table > tr > td.selectable,
|
@@ -778,208 +1121,294 @@
|
|
778
1121
|
/*-------------------
|
779
1122
|
Colors
|
780
1123
|
--------------------*/
|
781
|
-
|
782
|
-
each(@
|
783
|
-
|
784
|
-
|
785
|
-
|
786
|
-
|
787
|
-
|
788
|
-
|
789
|
-
|
790
|
-
|
791
|
-
|
792
|
-
|
793
|
-
|
794
|
-
|
795
|
-
|
796
|
-
|
797
|
-
}
|
798
|
-
& when (@variationTableInverted) {
|
799
|
-
.ui.inverted.@{color}.table {
|
800
|
-
background-color: @c;
|
801
|
-
color: @white;
|
802
|
-
}
|
803
|
-
}
|
804
|
-
.ui.ui.ui.ui.table tr.@{color}:not(.marked),
|
805
|
-
.ui.ui.table td.@{color}:not(.marked) {
|
806
|
-
& when (@stateMarkerWidth > 0) {
|
807
|
-
box-shadow: @stateMarkerWidth 0 0 @r inset;
|
1124
|
+
& when not (@variationTableColors = false) {
|
1125
|
+
each(@variationTableColors, {
|
1126
|
+
@color: @value;
|
1127
|
+
@c: @colors[@@color][color];
|
1128
|
+
@t: @colors[@@color][text];
|
1129
|
+
@ht: @colors[@@color][hoverText];
|
1130
|
+
@l: @colors[@@color][light];
|
1131
|
+
@lh: @colors[@@color][lightHover];
|
1132
|
+
@r: @colors[@@color][ribbon];
|
1133
|
+
@b: @colors[@@color][bright];
|
1134
|
+
@bh: @colors[@@color][brightHover];
|
1135
|
+
@isDark: @colors[@@color][isDark];
|
1136
|
+
@isVeryDark: @colors[@@color][isVeryDark];
|
1137
|
+
|
1138
|
+
.ui.@{color}.table {
|
1139
|
+
border-top: @coloredBorderSize solid @c;
|
808
1140
|
}
|
809
|
-
& when (@
|
810
|
-
|
811
|
-
|
812
|
-
|
813
|
-
|
814
|
-
}
|
815
|
-
& when (@isVeryDark) {
|
816
|
-
color: @white;
|
1141
|
+
& when (@variationTableInverted) {
|
1142
|
+
.ui.inverted.@{color}.table {
|
1143
|
+
background: @c;
|
1144
|
+
color: @white;
|
1145
|
+
}
|
817
1146
|
}
|
818
|
-
|
819
|
-
|
1147
|
+
/* Same color for background and color to camouflage the scrollbar */
|
1148
|
+
& when (@variationTableScrolling) {
|
1149
|
+
.ui.scrolling.table > thead.@{color},
|
1150
|
+
.ui.scrolling.table > tfoot.@{color} {
|
1151
|
+
& when (@isDark) {
|
1152
|
+
background: @l;
|
1153
|
+
color: @l;
|
1154
|
+
}
|
1155
|
+
& when not (@isDark) {
|
1156
|
+
background: @b;
|
1157
|
+
color: @b;
|
1158
|
+
}
|
1159
|
+
& > tr > th,
|
1160
|
+
> tr > td {
|
1161
|
+
background: inherit;
|
1162
|
+
& when (@isVeryDark) {
|
1163
|
+
color: @white;
|
1164
|
+
}
|
1165
|
+
& when not (@isVeryDark) {
|
1166
|
+
color: @t;
|
1167
|
+
}
|
1168
|
+
}
|
1169
|
+
}
|
1170
|
+
& when (@variationTableInverted) {
|
1171
|
+
.ui.inverted.scrolling.table > thead.@{color},
|
1172
|
+
.ui.inverted.scrolling.table > tfoot.@{color} {
|
1173
|
+
background: @c;
|
1174
|
+
color: @c;
|
1175
|
+
& > tr > th,
|
1176
|
+
> tr > td {
|
1177
|
+
background: inherit;
|
1178
|
+
color: @white;
|
1179
|
+
}
|
1180
|
+
}
|
1181
|
+
}
|
820
1182
|
}
|
821
|
-
|
822
|
-
|
823
|
-
.ui.ui.
|
824
|
-
|
825
|
-
|
1183
|
+
.ui.ui.ui.ui.table tr.@{color}:not(.marked),
|
1184
|
+
.ui.ui.table th.@{color}:not(.marked),
|
1185
|
+
.ui.ui.table td.@{color}:not(.marked) {
|
1186
|
+
& when (@stateMarkerWidth > 0) {
|
1187
|
+
box-shadow: @stateMarkerWidth 0 0 @r inset;
|
1188
|
+
}
|
826
1189
|
& when (@isDark) {
|
827
|
-
background: @
|
1190
|
+
background: @l;
|
828
1191
|
}
|
829
1192
|
& when not (@isDark) {
|
830
|
-
background: @
|
1193
|
+
background: @b;
|
831
1194
|
}
|
832
1195
|
& when (@isVeryDark) {
|
833
1196
|
color: @white;
|
834
1197
|
}
|
835
1198
|
& when not (@isVeryDark) {
|
836
|
-
color: @
|
1199
|
+
color: @t;
|
837
1200
|
}
|
838
1201
|
}
|
839
|
-
|
840
|
-
|
841
|
-
.ui.table
|
842
|
-
|
843
|
-
|
844
|
-
|
1202
|
+
.ui.table > thead > tr.@{color}:not(.marked) > th,
|
1203
|
+
.ui.table > tfoot > tr.@{color}:not(.marked) > th,
|
1204
|
+
.ui.table > tfoot > tr.@{color}:not(.marked) > td {
|
1205
|
+
background: inherit;
|
1206
|
+
& when (@isVeryDark) {
|
1207
|
+
color: @white;
|
845
1208
|
}
|
846
|
-
|
847
|
-
|
1209
|
+
& when not (@isVeryDark) {
|
1210
|
+
color: @t;
|
848
1211
|
}
|
849
1212
|
}
|
1213
|
+
|
850
1214
|
& when (@variationTableInverted) {
|
851
|
-
.ui.inverted.table
|
852
|
-
.ui.inverted.table
|
1215
|
+
.ui.ui.ui.ui.inverted.table tr.@{color}:not(.marked),
|
1216
|
+
.ui.ui.inverted.table th.@{color}:not(.marked),
|
1217
|
+
.ui.ui.inverted.table td.@{color}:not(.marked) {
|
1218
|
+
background: @c;
|
1219
|
+
color: @white;
|
1220
|
+
}
|
1221
|
+
.ui.inverted.table > thead > tr.@{color}:not(.marked) > th,
|
1222
|
+
.ui.inverted.table > tfoot > tr.@{color}:not(.marked) > th,
|
1223
|
+
.ui.inverted.table > tfoot > tr.@{color}:not(.marked) > td {
|
1224
|
+
background: inherit;
|
1225
|
+
color: @white;
|
1226
|
+
}
|
1227
|
+
}
|
1228
|
+
& when (@variationTableSelectable) {
|
1229
|
+
.ui.ui.selectable.table tr.@{color}:not(.marked):hover,
|
1230
|
+
.ui.table tr td.selectable.@{color}:not(.marked):hover,
|
1231
|
+
.ui.selectable.table tr:hover td.@{color}:not(.marked) {
|
1232
|
+
& when (@isDark) {
|
1233
|
+
background: @lh;
|
1234
|
+
}
|
1235
|
+
& when not (@isDark) {
|
1236
|
+
background: @bh;
|
1237
|
+
}
|
1238
|
+
& when (@isVeryDark) {
|
1239
|
+
color: @white;
|
1240
|
+
}
|
1241
|
+
& when not (@isVeryDark) {
|
1242
|
+
color: @ht;
|
1243
|
+
}
|
1244
|
+
}
|
1245
|
+
& when (@variationTableInverted) {
|
1246
|
+
.ui.ui.inverted.selectable.table tr.@{color}:not(.marked):hover,
|
1247
|
+
.ui.inverted.table tr td.selectable.@{color}:not(.marked):hover,
|
1248
|
+
.ui.inverted.selectable.table tr:hover td.@{color}:not(.marked) {
|
1249
|
+
& when (@isDark) {
|
1250
|
+
background: @bh;
|
1251
|
+
}
|
1252
|
+
& when not (@isDark) {
|
1253
|
+
background: @lh;
|
1254
|
+
}
|
1255
|
+
& when (@isVeryDark) {
|
1256
|
+
color: @ht;
|
1257
|
+
}
|
1258
|
+
& when not (@isVeryDark) {
|
1259
|
+
color: @white;
|
1260
|
+
}
|
1261
|
+
}
|
1262
|
+
}
|
1263
|
+
}
|
1264
|
+
& when (@variationTableMarked) {
|
1265
|
+
.ui.table td.marked.@{color},
|
1266
|
+
.ui.table tr.marked.@{color} {
|
853
1267
|
&.left {
|
854
|
-
box-shadow: @coloredBorderSize 0 0 0 @
|
1268
|
+
box-shadow: @coloredBorderSize 0 0 0 @c inset;
|
855
1269
|
}
|
856
1270
|
&.right {
|
857
|
-
box-shadow: -@coloredBorderSize 0 0 0 @
|
1271
|
+
box-shadow: -@coloredBorderSize 0 0 0 @c inset;
|
1272
|
+
}
|
1273
|
+
}
|
1274
|
+
& when (@variationTableInverted) {
|
1275
|
+
.ui.inverted.table td.marked.@{color},
|
1276
|
+
.ui.inverted.table tr.marked.@{color} {
|
1277
|
+
&.left {
|
1278
|
+
box-shadow: @coloredBorderSize 0 0 0 @l inset;
|
1279
|
+
}
|
1280
|
+
&.right {
|
1281
|
+
box-shadow: -@coloredBorderSize 0 0 0 @l inset;
|
1282
|
+
}
|
858
1283
|
}
|
859
1284
|
}
|
860
1285
|
}
|
861
|
-
}
|
862
1286
|
|
863
|
-
})
|
1287
|
+
})
|
1288
|
+
}
|
864
1289
|
|
865
|
-
|
866
|
-
|
867
|
-
|
1290
|
+
& when (@variationTableEqualWidth) {
|
1291
|
+
/*--------------
|
1292
|
+
Column Count
|
1293
|
+
---------------*/
|
868
1294
|
|
869
|
-
/* Grid Based */
|
870
|
-
.ui.one.column.table td {
|
871
|
-
|
872
|
-
}
|
873
|
-
.ui.two.column.table td {
|
874
|
-
|
875
|
-
}
|
876
|
-
.ui.three.column.table td {
|
877
|
-
|
878
|
-
}
|
879
|
-
.ui.four.column.table td {
|
880
|
-
|
881
|
-
}
|
882
|
-
.ui.five.column.table td {
|
883
|
-
|
884
|
-
}
|
885
|
-
.ui.six.column.table td {
|
886
|
-
|
887
|
-
}
|
888
|
-
.ui.seven.column.table td {
|
889
|
-
|
890
|
-
}
|
891
|
-
.ui.eight.column.table td {
|
892
|
-
|
893
|
-
}
|
894
|
-
.ui.nine.column.table td {
|
895
|
-
|
896
|
-
}
|
897
|
-
.ui.ten.column.table td {
|
898
|
-
|
899
|
-
}
|
900
|
-
.ui.eleven.column.table td {
|
901
|
-
|
902
|
-
}
|
903
|
-
.ui.twelve.column.table td {
|
904
|
-
|
905
|
-
}
|
906
|
-
.ui.thirteen.column.table td {
|
907
|
-
|
908
|
-
}
|
909
|
-
.ui.fourteen.column.table td {
|
910
|
-
|
911
|
-
}
|
912
|
-
.ui.fifteen.column.table td {
|
913
|
-
|
914
|
-
}
|
915
|
-
.ui.sixteen.column.table td {
|
916
|
-
|
1295
|
+
/* Grid Based */
|
1296
|
+
.ui.one.column.table td {
|
1297
|
+
width: @oneColumn;
|
1298
|
+
}
|
1299
|
+
.ui.two.column.table td {
|
1300
|
+
width: @twoColumn;
|
1301
|
+
}
|
1302
|
+
.ui.three.column.table td {
|
1303
|
+
width: @threeColumn;
|
1304
|
+
}
|
1305
|
+
.ui.four.column.table td {
|
1306
|
+
width: @fourColumn;
|
1307
|
+
}
|
1308
|
+
.ui.five.column.table td {
|
1309
|
+
width: @fiveColumn;
|
1310
|
+
}
|
1311
|
+
.ui.six.column.table td {
|
1312
|
+
width: @sixColumn;
|
1313
|
+
}
|
1314
|
+
.ui.seven.column.table td {
|
1315
|
+
width: @sevenColumn;
|
1316
|
+
}
|
1317
|
+
.ui.eight.column.table td {
|
1318
|
+
width: @eightColumn;
|
1319
|
+
}
|
1320
|
+
.ui.nine.column.table td {
|
1321
|
+
width: @nineColumn;
|
1322
|
+
}
|
1323
|
+
.ui.ten.column.table td {
|
1324
|
+
width: @tenColumn;
|
1325
|
+
}
|
1326
|
+
.ui.eleven.column.table td {
|
1327
|
+
width: @elevenColumn;
|
1328
|
+
}
|
1329
|
+
.ui.twelve.column.table td {
|
1330
|
+
width: @twelveColumn;
|
1331
|
+
}
|
1332
|
+
.ui.thirteen.column.table td {
|
1333
|
+
width: @thirteenColumn;
|
1334
|
+
}
|
1335
|
+
.ui.fourteen.column.table td {
|
1336
|
+
width: @fourteenColumn;
|
1337
|
+
}
|
1338
|
+
.ui.fifteen.column.table td {
|
1339
|
+
width: @fifteenColumn;
|
1340
|
+
}
|
1341
|
+
.ui.sixteen.column.table td {
|
1342
|
+
width: @sixteenColumn;
|
1343
|
+
}
|
917
1344
|
}
|
918
1345
|
|
919
|
-
|
920
|
-
|
921
|
-
.ui.table
|
922
|
-
|
923
|
-
|
924
|
-
|
925
|
-
.ui.table
|
926
|
-
|
927
|
-
|
928
|
-
|
929
|
-
.ui.table
|
930
|
-
|
931
|
-
|
932
|
-
|
933
|
-
.ui.table
|
934
|
-
|
935
|
-
|
936
|
-
|
937
|
-
.ui.table
|
938
|
-
|
939
|
-
|
940
|
-
|
941
|
-
.ui.table
|
942
|
-
|
943
|
-
|
944
|
-
|
945
|
-
.ui.table
|
946
|
-
|
947
|
-
|
948
|
-
|
949
|
-
.ui.table
|
950
|
-
|
951
|
-
|
952
|
-
|
953
|
-
.ui.table
|
954
|
-
|
955
|
-
|
956
|
-
|
957
|
-
.ui.table
|
958
|
-
|
959
|
-
|
960
|
-
|
961
|
-
.ui.table
|
962
|
-
|
963
|
-
|
964
|
-
|
965
|
-
.ui.table
|
966
|
-
|
967
|
-
|
968
|
-
|
969
|
-
.ui.table
|
970
|
-
|
971
|
-
|
972
|
-
|
973
|
-
.ui.table
|
974
|
-
|
975
|
-
|
976
|
-
|
977
|
-
.ui.table
|
978
|
-
|
979
|
-
|
980
|
-
|
981
|
-
.ui.table
|
982
|
-
|
1346
|
+
& when (@variationTableWide) {
|
1347
|
+
/* Column Width */
|
1348
|
+
.ui.table th.one.wide,
|
1349
|
+
.ui.table td.one.wide {
|
1350
|
+
width: @oneWide;
|
1351
|
+
}
|
1352
|
+
.ui.table th.two.wide,
|
1353
|
+
.ui.table td.two.wide {
|
1354
|
+
width: @twoWide;
|
1355
|
+
}
|
1356
|
+
.ui.table th.three.wide,
|
1357
|
+
.ui.table td.three.wide {
|
1358
|
+
width: @threeWide;
|
1359
|
+
}
|
1360
|
+
.ui.table th.four.wide,
|
1361
|
+
.ui.table td.four.wide {
|
1362
|
+
width: @fourWide;
|
1363
|
+
}
|
1364
|
+
.ui.table th.five.wide,
|
1365
|
+
.ui.table td.five.wide {
|
1366
|
+
width: @fiveWide;
|
1367
|
+
}
|
1368
|
+
.ui.table th.six.wide,
|
1369
|
+
.ui.table td.six.wide {
|
1370
|
+
width: @sixWide;
|
1371
|
+
}
|
1372
|
+
.ui.table th.seven.wide,
|
1373
|
+
.ui.table td.seven.wide {
|
1374
|
+
width: @sevenWide;
|
1375
|
+
}
|
1376
|
+
.ui.table th.eight.wide,
|
1377
|
+
.ui.table td.eight.wide {
|
1378
|
+
width: @eightWide;
|
1379
|
+
}
|
1380
|
+
.ui.table th.nine.wide,
|
1381
|
+
.ui.table td.nine.wide {
|
1382
|
+
width: @nineWide;
|
1383
|
+
}
|
1384
|
+
.ui.table th.ten.wide,
|
1385
|
+
.ui.table td.ten.wide {
|
1386
|
+
width: @tenWide;
|
1387
|
+
}
|
1388
|
+
.ui.table th.eleven.wide,
|
1389
|
+
.ui.table td.eleven.wide {
|
1390
|
+
width: @elevenWide;
|
1391
|
+
}
|
1392
|
+
.ui.table th.twelve.wide,
|
1393
|
+
.ui.table td.twelve.wide {
|
1394
|
+
width: @twelveWide;
|
1395
|
+
}
|
1396
|
+
.ui.table th.thirteen.wide,
|
1397
|
+
.ui.table td.thirteen.wide {
|
1398
|
+
width: @thirteenWide;
|
1399
|
+
}
|
1400
|
+
.ui.table th.fourteen.wide,
|
1401
|
+
.ui.table td.fourteen.wide {
|
1402
|
+
width: @fourteenWide;
|
1403
|
+
}
|
1404
|
+
.ui.table th.fifteen.wide,
|
1405
|
+
.ui.table td.fifteen.wide {
|
1406
|
+
width: @fifteenWide;
|
1407
|
+
}
|
1408
|
+
.ui.table th.sixteen.wide,
|
1409
|
+
.ui.table td.sixteen.wide {
|
1410
|
+
width: @sixteenWide;
|
1411
|
+
}
|
983
1412
|
}
|
984
1413
|
|
985
1414
|
& when (@variationTableSortable) {
|
@@ -990,11 +1419,12 @@ each(@colors, {
|
|
990
1419
|
.ui.sortable.table > thead > tr > th {
|
991
1420
|
cursor: pointer;
|
992
1421
|
white-space: nowrap;
|
993
|
-
border-left: @sortableBorder;
|
994
1422
|
color: @sortableColor;
|
995
1423
|
}
|
996
|
-
|
997
|
-
|
1424
|
+
& when (@variationTableCelled) {
|
1425
|
+
.ui.celled.sortable.table > thead > tr > th:not(:first-child) {
|
1426
|
+
border-left: @sortableBorder;
|
1427
|
+
}
|
998
1428
|
}
|
999
1429
|
.ui.sortable.table thead th.sorted,
|
1000
1430
|
.ui.sortable.table thead th.sorted:hover {
|
@@ -1020,10 +1450,12 @@ each(@colors, {
|
|
1020
1450
|
content: @sortableIconDescending;
|
1021
1451
|
}
|
1022
1452
|
|
1023
|
-
|
1024
|
-
|
1025
|
-
|
1026
|
-
|
1453
|
+
& when (@variationTableDisabled) {
|
1454
|
+
/* Hover */
|
1455
|
+
.ui.sortable.table th.disabled:hover {
|
1456
|
+
cursor: auto;
|
1457
|
+
color: @sortableDisabledColor;
|
1458
|
+
}
|
1027
1459
|
}
|
1028
1460
|
.ui.sortable.table > thead > tr > th:hover {
|
1029
1461
|
color: @sortableHoverColor;
|
@@ -1084,31 +1516,36 @@ each(@colors, {
|
|
1084
1516
|
}
|
1085
1517
|
.ui.ui.inverted.table > thead > tr > th,
|
1086
1518
|
.ui.ui.inverted.table > tbody > tr > th,
|
1087
|
-
.ui.ui.inverted.table > tfoot > tr > th,
|
1088
|
-
.ui.ui.inverted.table > tfoot > tr > td,
|
1089
1519
|
.ui.ui.inverted.table > tr > th {
|
1090
1520
|
background-color: @invertedHeaderBackground;
|
1091
1521
|
border-color: @invertedHeaderBorderColor;
|
1092
1522
|
color: @invertedHeaderColor;
|
1093
1523
|
}
|
1524
|
+
.ui.ui.inverted.table > tfoot > tr > th,
|
1525
|
+
.ui.ui.inverted.table > tfoot > tr > td {
|
1526
|
+
background-color: @invertedFooterBackground;
|
1527
|
+
border-color: @invertedFooterBorderColor;
|
1528
|
+
color: @invertedFooterColor;
|
1529
|
+
}
|
1094
1530
|
.ui.inverted.table > tbody > tr > td,
|
1095
1531
|
.ui.inverted.table > tfoot > tr > td,
|
1096
1532
|
.ui.inverted.table > tr > td {
|
1097
1533
|
border-color: @invertedCellBorderColor;
|
1098
1534
|
}
|
1099
|
-
|
1100
|
-
|
1101
|
-
|
1102
|
-
|
1103
|
-
|
1104
|
-
|
1105
|
-
|
1106
|
-
|
1107
|
-
|
1108
|
-
|
1109
|
-
|
1110
|
-
|
1111
|
-
|
1535
|
+
& when (@variationTableDisabled) {
|
1536
|
+
.ui.inverted.table tr.disabled td,
|
1537
|
+
.ui.inverted.table tr td.disabled,
|
1538
|
+
.ui.inverted.table tr.disabled:hover td,
|
1539
|
+
.ui.inverted.table tr:hover td.disabled {
|
1540
|
+
pointer-events: none;
|
1541
|
+
color: @invertedDisabledTextColor;
|
1542
|
+
}
|
1543
|
+
.ui.ui.ui.inverted.table tr td.disabled:not([class="disabled"]),
|
1544
|
+
.ui.inverted.table tr.disabled:not([class="disabled"]) td,
|
1545
|
+
.ui.inverted.table tr.disabled td[class]:not(.disabled),
|
1546
|
+
.ui.inverted.table tr:hover td.disabled:not([class="disabled"]) {
|
1547
|
+
color: @disabledTextColor;
|
1548
|
+
}
|
1112
1549
|
}
|
1113
1550
|
& when (@variationTableDefinition) {
|
1114
1551
|
/* Definition */
|
@@ -1135,7 +1572,7 @@ each(@colors, {
|
|
1135
1572
|
}
|
1136
1573
|
}
|
1137
1574
|
|
1138
|
-
& when (@variationTableBasic) {
|
1575
|
+
& when (@variationTableBasic) or (@variationTableVeryBasic){
|
1139
1576
|
/*--------------
|
1140
1577
|
Basic
|
1141
1578
|
---------------*/
|
@@ -1169,38 +1606,40 @@ each(@colors, {
|
|
1169
1606
|
background-color: @basicTableStripedBackground;
|
1170
1607
|
}
|
1171
1608
|
}
|
1172
|
-
|
1173
|
-
|
1174
|
-
|
1175
|
-
|
1176
|
-
|
1177
|
-
|
1178
|
-
|
1179
|
-
|
1180
|
-
|
1181
|
-
|
1182
|
-
|
1183
|
-
|
1184
|
-
|
1185
|
-
|
1186
|
-
|
1187
|
-
|
1188
|
-
|
1189
|
-
|
1190
|
-
|
1191
|
-
|
1192
|
-
|
1193
|
-
|
1194
|
-
|
1195
|
-
|
1196
|
-
|
1197
|
-
|
1198
|
-
|
1199
|
-
|
1200
|
-
|
1201
|
-
|
1202
|
-
|
1203
|
-
|
1609
|
+
& when (@variationTableVeryBasic) {
|
1610
|
+
/* Very Basic */
|
1611
|
+
.ui[class*="very basic"].table {
|
1612
|
+
border: none;
|
1613
|
+
}
|
1614
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) > tr > th,
|
1615
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) > thead > tr > th,
|
1616
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) > tbody > tr > th,
|
1617
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) > tfoot > tr > th,
|
1618
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) > tr > td,
|
1619
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) > tbody > tr > td {
|
1620
|
+
padding: @basicTableCellPadding;
|
1621
|
+
}
|
1622
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) > tr > th:first-child,
|
1623
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) > thead > tr > th:first-child,
|
1624
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) > tbody > tr > th:first-child,
|
1625
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) > tfoot > tr > th:first-child,
|
1626
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) > tr > td:first-child,
|
1627
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) > tbody > tr > td:first-child,
|
1628
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) > tfoot > tr > td:first-child {
|
1629
|
+
padding-left: 0;
|
1630
|
+
}
|
1631
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) > tr > th:last-child,
|
1632
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) > thead > tr > th:last-child,
|
1633
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) > tbody > tr > th:last-child,
|
1634
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) > tfoot > tr > th:last-child,
|
1635
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) > tr > td:last-child,
|
1636
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) > tbody > tr > td:last-child,
|
1637
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) > tfoot > tr > td:last-child {
|
1638
|
+
padding-right: 0;
|
1639
|
+
}
|
1640
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) > thead > tr:first-child > th {
|
1641
|
+
padding-top: 0;
|
1642
|
+
}
|
1204
1643
|
}
|
1205
1644
|
}
|
1206
1645
|
|
@@ -1235,7 +1674,7 @@ each(@colors, {
|
|
1235
1674
|
}
|
1236
1675
|
}
|
1237
1676
|
|
1238
|
-
& when (@variationTablePadded) {
|
1677
|
+
& when (@variationTablePadded) or (@variationTableVeryPadded) {
|
1239
1678
|
/*--------------
|
1240
1679
|
Padded
|
1241
1680
|
---------------*/
|
@@ -1257,22 +1696,24 @@ each(@colors, {
|
|
1257
1696
|
padding: @paddedVerticalPadding @paddedHorizontalPadding;
|
1258
1697
|
}
|
1259
1698
|
|
1260
|
-
|
1261
|
-
|
1262
|
-
|
1263
|
-
|
1264
|
-
|
1265
|
-
|
1266
|
-
|
1267
|
-
|
1268
|
-
|
1269
|
-
|
1270
|
-
|
1271
|
-
|
1699
|
+
& when (@variationTableVeryPadded) {
|
1700
|
+
/* Very */
|
1701
|
+
.ui[class*="very padded"].table > tr > th,
|
1702
|
+
.ui[class*="very padded"].table > thead > tr > th,
|
1703
|
+
.ui[class*="very padded"].table > tbody > tr > th,
|
1704
|
+
.ui[class*="very padded"].table > tfoot > tr > th {
|
1705
|
+
padding-left: @veryPaddedHorizontalPadding;
|
1706
|
+
padding-right: @veryPaddedHorizontalPadding;
|
1707
|
+
}
|
1708
|
+
.ui[class*="very padded"].table > tr > td,
|
1709
|
+
.ui[class*="very padded"].table > tbody > tr > td,
|
1710
|
+
.ui[class*="very padded"].table > tfoot > tr > td {
|
1711
|
+
padding: @veryPaddedVerticalPadding @veryPaddedHorizontalPadding;
|
1712
|
+
}
|
1272
1713
|
}
|
1273
1714
|
}
|
1274
1715
|
|
1275
|
-
& when (@variationTableCompact) {
|
1716
|
+
& when (@variationTableCompact) or (@variationTableVeryCompact) {
|
1276
1717
|
/*--------------
|
1277
1718
|
Compact
|
1278
1719
|
---------------*/
|
@@ -1290,18 +1731,164 @@ each(@colors, {
|
|
1290
1731
|
padding: @compactVerticalPadding @compactHorizontalPadding;
|
1291
1732
|
}
|
1292
1733
|
|
1293
|
-
|
1294
|
-
|
1295
|
-
|
1296
|
-
|
1297
|
-
|
1298
|
-
|
1299
|
-
|
1734
|
+
& when (@variationTableVeryCompact) {
|
1735
|
+
/* Very */
|
1736
|
+
.ui[class*="very compact"].table > tr > th,
|
1737
|
+
.ui[class*="very compact"].table > thead > tr > th,
|
1738
|
+
.ui[class*="very compact"].table > tbody > tr > th,
|
1739
|
+
.ui[class*="very compact"].table > tfoot > tr > th {
|
1740
|
+
padding-left: @veryCompactHorizontalPadding;
|
1741
|
+
padding-right: @veryCompactHorizontalPadding;
|
1742
|
+
}
|
1743
|
+
.ui[class*="very compact"].table > tr > td,
|
1744
|
+
.ui[class*="very compact"].table > tbody > tr > td,
|
1745
|
+
.ui[class*="very compact"].table > tfoot > tr > td {
|
1746
|
+
padding: @veryCompactVerticalPadding @veryCompactHorizontalPadding;
|
1747
|
+
}
|
1300
1748
|
}
|
1301
|
-
|
1302
|
-
|
1303
|
-
|
1304
|
-
|
1749
|
+
}
|
1750
|
+
|
1751
|
+
& when (@variationTableStuck) {
|
1752
|
+
/*--------------
|
1753
|
+
Stuck
|
1754
|
+
---------------*/
|
1755
|
+
|
1756
|
+
.ui.stuck.table:not(.inverted) {
|
1757
|
+
background: @stuckBackground;
|
1758
|
+
& > thead > tr {
|
1759
|
+
background: @stuckHeaderBackground;
|
1760
|
+
}
|
1761
|
+
& > tbody > tr {
|
1762
|
+
background: @stuckBackground;
|
1763
|
+
}
|
1764
|
+
& > tfoot > tr {
|
1765
|
+
background: @stuckFooterBackground;
|
1766
|
+
}
|
1767
|
+
&.basic when (@variationTableBasic) {
|
1768
|
+
& > thead > tr,
|
1769
|
+
> tfoot > tr {
|
1770
|
+
background: @stuckBackground;
|
1771
|
+
}
|
1772
|
+
}
|
1773
|
+
}
|
1774
|
+
.ui.inverted.stuck.table when (@variationTableInverted) {
|
1775
|
+
& > thead > tr {
|
1776
|
+
background: @invertedStuckHeaderBackground;
|
1777
|
+
}
|
1778
|
+
& > tbody > tr {
|
1779
|
+
background: @invertedStuckBackground;
|
1780
|
+
}
|
1781
|
+
& > tfoot > tr {
|
1782
|
+
background: @invertedStuckFooterBackground;
|
1783
|
+
}
|
1784
|
+
&.basic when (@variationTableBasic){
|
1785
|
+
& > thead > tr,
|
1786
|
+
> tfoot > tr {
|
1787
|
+
background: @invertedStuckBackground;
|
1788
|
+
}
|
1789
|
+
}
|
1790
|
+
}
|
1791
|
+
& when (@variationTableStuckHead) or (@variationTableStuckFoot) {
|
1792
|
+
.ui.head.stuck.table > thead,
|
1793
|
+
.ui.foot.stuck.table > tfoot {
|
1794
|
+
position: -webkit-sticky;
|
1795
|
+
position: sticky;
|
1796
|
+
z-index: @stuckZIndex;
|
1797
|
+
}
|
1798
|
+
}
|
1799
|
+
.ui.head.stuck.table when (@variationTableStuckHead) {
|
1800
|
+
border-top: 0;
|
1801
|
+
& > thead {
|
1802
|
+
top: 0;
|
1803
|
+
bottom: auto;
|
1804
|
+
& > tr:first-child > th {
|
1805
|
+
border-top: @cellBorder;
|
1806
|
+
}
|
1807
|
+
}
|
1808
|
+
&.inverted > thead > tr:first-child > th when (@variationTableInverted) {
|
1809
|
+
border-top: @invertedCellBorder;
|
1810
|
+
}
|
1811
|
+
}
|
1812
|
+
.ui.foot.stuck.table when (@variationTableStuckFoot) {
|
1813
|
+
border-bottom: 0;
|
1814
|
+
& > tfoot {
|
1815
|
+
top: auto;
|
1816
|
+
bottom: 0;
|
1817
|
+
& > tr:last-child > td,
|
1818
|
+
> tr:last-child > th {
|
1819
|
+
border-bottom: @cellBorder;
|
1820
|
+
}
|
1821
|
+
}
|
1822
|
+
& when (@variationTableInverted) {
|
1823
|
+
&.inverted > tfoot > tr:first-child > td,
|
1824
|
+
&.inverted > tfoot > tr:first-child > th {
|
1825
|
+
border-top: @invertedCellBorder;
|
1826
|
+
}
|
1827
|
+
}
|
1828
|
+
}
|
1829
|
+
|
1830
|
+
.ui.first.stuck.table when (@variationTableStuckFirst) {
|
1831
|
+
border-left: 0;
|
1832
|
+
& th:first-child,
|
1833
|
+
td:first-child {
|
1834
|
+
position: -webkit-sticky;
|
1835
|
+
position: sticky;
|
1836
|
+
left: 0;
|
1837
|
+
border-left: @cellBorder;
|
1838
|
+
background: inherit;
|
1839
|
+
}
|
1840
|
+
& when (@variationTableInverted) {
|
1841
|
+
&.inverted th:first-child,
|
1842
|
+
&.inverted td:first-child {
|
1843
|
+
border-left: @invertedCellBorder;
|
1844
|
+
}
|
1845
|
+
}
|
1846
|
+
}
|
1847
|
+
|
1848
|
+
.ui.last.stuck.table when (@variationTableStuckLast) {
|
1849
|
+
border-right: 0;
|
1850
|
+
& th:last-child,
|
1851
|
+
td:last-child {
|
1852
|
+
position: -webkit-sticky;
|
1853
|
+
position: sticky;
|
1854
|
+
right: 0;
|
1855
|
+
border-right: @cellBorder;
|
1856
|
+
background: inherit;
|
1857
|
+
}
|
1858
|
+
& when (@variationTableInverted) {
|
1859
|
+
&.inverted th:last-child,
|
1860
|
+
&.inverted td:last-child {
|
1861
|
+
border-right: @invertedCellBorder;
|
1862
|
+
}
|
1863
|
+
}
|
1864
|
+
}
|
1865
|
+
& when (@variationTableCelled) {
|
1866
|
+
& when (@variationTableStuckFirst) {
|
1867
|
+
.ui.celled.first.stuck.table th:first-child,
|
1868
|
+
.ui.celled.first.stuck.table td:first-child {
|
1869
|
+
border-right: @cellBorder;
|
1870
|
+
}
|
1871
|
+
}
|
1872
|
+
& when (@variationTableStuckLast) {
|
1873
|
+
.ui.celled.last.stuck.table th:last-child,
|
1874
|
+
.ui.celled.last.stuck.table td:last-child {
|
1875
|
+
border-left: @cellBorder;
|
1876
|
+
}
|
1877
|
+
}
|
1878
|
+
& when (@variationTableInverted) {
|
1879
|
+
& when (@variationTableStuckFirst) {
|
1880
|
+
.ui.inverted.celled.first.stuck.table th:first-child,
|
1881
|
+
.ui.inverted.celled.first.stuck.table td:first-child {
|
1882
|
+
border-right: @invertedCellBorder;
|
1883
|
+
}
|
1884
|
+
}
|
1885
|
+
& when (@variationTableStuckLast) {
|
1886
|
+
.ui.inverted.celled.last.stuck.table th:last-child,
|
1887
|
+
.ui.inverted.celled.last.stuck.table td:last-child {
|
1888
|
+
border-left: @invertedCellBorder;
|
1889
|
+
}
|
1890
|
+
}
|
1891
|
+
}
|
1305
1892
|
}
|
1306
1893
|
}
|
1307
1894
|
|