fomantic-ui 2.9.1-beta.8 → 2.9.1
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/.eslint/eqeqeq-rule.js +18 -0
- package/.eslint/index.js +29 -0
- package/.eslint/no-extra-parens-rule.js +17 -0
- package/.eslint/package.json +11 -0
- package/.eslintrc.js +123 -0
- package/.github/auto_assign.yml +0 -1
- package/.github/workflows/ci.yml +37 -4
- package/.github/workflows/nightly.yml +1 -1
- package/.github/workflows/release.yml +1 -1
- package/.prettierrc.js +12 -0
- package/.stylelintrc.js +48 -0
- package/CHANGELOG.md +112 -0
- package/README.md +1 -1
- package/dist/components/accordion.css +35 -53
- package/dist/components/accordion.js +568 -595
- package/dist/components/accordion.min.css +2 -2
- package/dist/components/accordion.min.js +3 -3
- package/dist/components/ad.css +34 -45
- package/dist/components/ad.min.css +2 -2
- package/dist/components/api.js +1157 -1179
- package/dist/components/api.min.js +3 -3
- package/dist/components/breadcrumb.css +5 -5
- package/dist/components/breadcrumb.min.css +2 -2
- package/dist/components/button.css +709 -1111
- package/dist/components/button.min.css +2 -2
- package/dist/components/calendar.css +24 -27
- package/dist/components/calendar.js +1934 -1809
- package/dist/components/calendar.min.css +2 -2
- package/dist/components/calendar.min.js +3 -3
- package/dist/components/card.css +219 -365
- package/dist/components/card.min.css +2 -2
- package/dist/components/checkbox.css +120 -191
- package/dist/components/checkbox.js +842 -841
- package/dist/components/checkbox.min.css +2 -2
- package/dist/components/checkbox.min.js +3 -3
- package/dist/components/comment.css +41 -59
- package/dist/components/comment.min.css +2 -2
- package/dist/components/container.css +7 -6
- package/dist/components/container.min.css +2 -2
- package/dist/components/dimmer.css +53 -172
- package/dist/components/dimmer.js +706 -737
- package/dist/components/dimmer.min.css +2 -2
- package/dist/components/dimmer.min.js +3 -3
- package/dist/components/divider.css +43 -61
- package/dist/components/divider.min.css +2 -2
- package/dist/components/dropdown.css +252 -386
- package/dist/components/dropdown.js +4195 -4236
- package/dist/components/dropdown.min.css +2 -2
- package/dist/components/dropdown.min.js +3 -3
- package/dist/components/embed.css +18 -29
- package/dist/components/embed.js +645 -675
- package/dist/components/embed.min.css +2 -2
- package/dist/components/embed.min.js +3 -3
- package/dist/components/emoji.css +3556 -3556
- package/dist/components/emoji.min.css +1 -1
- package/dist/components/feed.css +35 -57
- package/dist/components/feed.min.css +2 -2
- package/dist/components/flag.css +270 -268
- package/dist/components/flag.min.css +2 -2
- package/dist/components/flyout.css +95 -141
- package/dist/components/flyout.js +1514 -1465
- package/dist/components/flyout.min.css +2 -2
- package/dist/components/flyout.min.js +3 -3
- package/dist/components/form.css +244 -339
- package/dist/components/form.js +2022 -2004
- package/dist/components/form.min.css +2 -2
- package/dist/components/form.min.js +3 -3
- package/dist/components/grid.css +183 -329
- package/dist/components/grid.min.css +2 -2
- package/dist/components/header.css +118 -142
- package/dist/components/header.min.css +2 -2
- package/dist/components/icon.css +662 -745
- package/dist/components/icon.min.css +2 -2
- package/dist/components/image.css +39 -63
- package/dist/components/image.min.css +2 -2
- package/dist/components/input.css +356 -274
- package/dist/components/input.min.css +2 -2
- package/dist/components/item.css +84 -131
- package/dist/components/item.min.css +2 -2
- package/dist/components/label.css +359 -410
- package/dist/components/label.min.css +2 -2
- package/dist/components/list.css +49 -70
- package/dist/components/list.min.css +2 -2
- package/dist/components/loader.css +67 -155
- package/dist/components/loader.min.css +2 -2
- package/dist/components/menu.css +270 -431
- package/dist/components/menu.min.css +1 -1
- package/dist/components/message.css +125 -197
- package/dist/components/message.min.css +2 -2
- package/dist/components/modal.css +120 -154
- package/dist/components/modal.js +1544 -1486
- package/dist/components/modal.min.css +2 -2
- package/dist/components/modal.min.js +3 -3
- package/dist/components/nag.css +53 -63
- package/dist/components/nag.js +520 -526
- package/dist/components/nag.min.css +2 -2
- package/dist/components/nag.min.js +3 -3
- package/dist/components/placeholder.css +22 -42
- package/dist/components/placeholder.min.css +2 -2
- package/dist/components/popup.css +424 -202
- package/dist/components/popup.js +1456 -1456
- package/dist/components/popup.min.css +2 -2
- package/dist/components/popup.min.js +3 -3
- package/dist/components/progress.css +106 -211
- package/dist/components/progress.js +969 -997
- package/dist/components/progress.min.css +2 -2
- package/dist/components/progress.min.js +3 -3
- package/dist/components/rail.css +15 -20
- package/dist/components/rail.min.css +1 -1
- package/dist/components/rating.css +80 -121
- package/dist/components/rating.js +507 -523
- package/dist/components/rating.min.css +2 -2
- package/dist/components/rating.min.js +3 -3
- package/dist/components/reset.css +8 -13
- package/dist/components/reset.min.css +2 -2
- package/dist/components/reveal.css +44 -83
- package/dist/components/reveal.min.css +2 -2
- package/dist/components/search.css +69 -98
- package/dist/components/search.js +1520 -1534
- package/dist/components/search.min.css +2 -2
- package/dist/components/search.min.js +3 -3
- package/dist/components/segment.css +148 -224
- package/dist/components/segment.min.css +2 -2
- package/dist/components/shape.css +14 -30
- package/dist/components/shape.js +783 -810
- package/dist/components/shape.min.css +2 -2
- package/dist/components/shape.min.js +3 -3
- package/dist/components/sidebar.css +103 -206
- package/dist/components/sidebar.js +1061 -1099
- package/dist/components/sidebar.min.css +2 -2
- package/dist/components/sidebar.min.js +3 -3
- package/dist/components/site.css +28 -41
- package/dist/components/site.js +436 -476
- package/dist/components/site.min.css +2 -2
- package/dist/components/site.min.js +3 -3
- package/dist/components/slider.css +93 -121
- package/dist/components/slider.js +1310 -1311
- package/dist/components/slider.min.css +1 -1
- package/dist/components/slider.min.js +3 -3
- package/dist/components/state.js +638 -657
- package/dist/components/state.min.js +3 -3
- package/dist/components/statistic.css +75 -116
- package/dist/components/statistic.min.css +2 -2
- package/dist/components/step.css +77 -150
- package/dist/components/step.min.css +2 -2
- package/dist/components/sticky.css +1 -5
- package/dist/components/sticky.js +847 -901
- package/dist/components/sticky.min.css +2 -2
- package/dist/components/sticky.min.js +3 -3
- package/dist/components/tab.css +10 -14
- package/dist/components/tab.js +902 -966
- package/dist/components/tab.min.css +2 -2
- package/dist/components/tab.min.js +3 -3
- package/dist/components/table.css +547 -774
- package/dist/components/table.min.css +2 -2
- package/dist/components/text.css +32 -32
- package/dist/components/text.min.css +1 -1
- package/dist/components/toast.css +69 -147
- package/dist/components/toast.js +910 -884
- package/dist/components/toast.min.css +2 -2
- package/dist/components/toast.min.js +3 -3
- package/dist/components/transition.css +299 -1356
- package/dist/components/transition.js +1048 -1077
- package/dist/components/transition.min.css +2 -2
- package/dist/components/transition.min.js +3 -3
- package/dist/components/visibility.js +1213 -1245
- package/dist/components/visibility.min.js +3 -3
- package/dist/semantic.css +9344 -12298
- package/dist/semantic.js +29181 -29423
- package/dist/semantic.min.css +3 -3
- package/dist/semantic.min.js +3 -3
- package/dist/themes/basic/assets/fonts/icons.woff2 +0 -0
- package/dist/themes/github/assets/fonts/octicons.woff2 +0 -0
- package/examples/.eslintrc.js +6 -0
- package/examples/assets/library/jquery.min.js +2 -4
- package/examples/assets/show-examples.js +13 -13
- package/examples/attached.html +1 -1
- package/examples/bootstrap.html +1 -1
- package/examples/components/button.html +1 -1
- package/examples/components/card.html +6 -6
- package/examples/components/input.html +1 -1
- package/examples/components/menu.html +1 -1
- package/examples/components/site.html +1 -1
- package/examples/components/sticky-context.html +2 -2
- package/examples/components/table.html +1 -1
- package/examples/fixed.html +3 -3
- package/examples/grid.html +5 -5
- package/examples/homepage.html +1 -1
- package/examples/login.html +2 -2
- package/examples/responsive.html +2 -2
- package/examples/sticky.html +4 -4
- package/examples/theming.html +1 -1
- package/gulpfile.js +13 -11
- package/package.json +17 -8
- package/scripts/nightly-version.js +83 -75
- package/src/_site/collections/menu.overrides +1 -1
- package/src/_site/elements/flag.variables +2 -2
- package/src/_site/globals/site.variables +1 -1
- package/src/_site/modules/embed.variables +3 -0
- package/src/definitions/behaviors/api.js +1158 -1180
- package/src/definitions/behaviors/form.js +2021 -2003
- package/src/definitions/behaviors/state.js +644 -663
- package/src/definitions/behaviors/visibility.js +1212 -1244
- package/src/definitions/collections/breadcrumb.less +43 -47
- package/src/definitions/collections/form.less +866 -884
- package/src/definitions/collections/grid.less +1681 -1699
- package/src/definitions/collections/menu.less +1522 -1544
- package/src/definitions/collections/message.less +294 -298
- package/src/definitions/collections/table.less +1657 -1661
- package/src/definitions/elements/button.less +1716 -1750
- package/src/definitions/elements/container.less +211 -211
- package/src/definitions/elements/divider.less +198 -211
- package/src/definitions/elements/emoji.less +41 -48
- package/src/definitions/elements/flag.less +46 -48
- package/src/definitions/elements/header.less +351 -359
- package/src/definitions/elements/icon.less +541 -484
- package/src/definitions/elements/image.less +216 -227
- package/src/definitions/elements/input.less +692 -699
- package/src/definitions/elements/label.less +784 -806
- package/src/definitions/elements/list.less +810 -814
- package/src/definitions/elements/loader.less +273 -268
- package/src/definitions/elements/placeholder.less +173 -170
- package/src/definitions/elements/rail.less +93 -93
- package/src/definitions/elements/reveal.less +192 -198
- package/src/definitions/elements/segment.less +742 -749
- package/src/definitions/elements/step.less +423 -437
- package/src/definitions/elements/text.less +34 -36
- package/src/definitions/globals/reset.less +11 -8
- package/src/definitions/globals/site.js +435 -475
- package/src/definitions/globals/site.less +108 -110
- package/src/definitions/modules/accordion.js +567 -594
- package/src/definitions/modules/accordion.less +244 -248
- package/src/definitions/modules/calendar.js +1933 -1808
- package/src/definitions/modules/calendar.less +100 -97
- package/src/definitions/modules/checkbox.js +841 -840
- package/src/definitions/modules/checkbox.less +531 -552
- package/src/definitions/modules/dimmer.js +705 -736
- package/src/definitions/modules/dimmer.less +294 -305
- package/src/definitions/modules/dropdown.js +4194 -4235
- package/src/definitions/modules/dropdown.less +1568 -1598
- package/src/definitions/modules/embed.js +644 -674
- package/src/definitions/modules/embed.less +82 -84
- package/src/definitions/modules/flyout.js +1513 -1464
- package/src/definitions/modules/flyout.less +453 -455
- package/src/definitions/modules/modal.js +1543 -1485
- package/src/definitions/modules/modal.less +459 -467
- package/src/definitions/modules/nag.js +519 -525
- package/src/definitions/modules/nag.less +136 -149
- package/src/definitions/modules/popup.js +1455 -1455
- package/src/definitions/modules/popup.less +738 -693
- package/src/definitions/modules/progress.js +968 -996
- package/src/definitions/modules/progress.less +523 -499
- package/src/definitions/modules/rating.js +506 -522
- package/src/definitions/modules/rating.less +98 -103
- package/src/definitions/modules/search.js +1519 -1533
- package/src/definitions/modules/search.less +374 -394
- package/src/definitions/modules/shape.js +782 -809
- package/src/definitions/modules/shape.less +70 -79
- package/src/definitions/modules/sidebar.js +1060 -1098
- package/src/definitions/modules/sidebar.less +463 -476
- package/src/definitions/modules/slider.js +1309 -1310
- package/src/definitions/modules/slider.less +309 -310
- package/src/definitions/modules/sticky.js +863 -917
- package/src/definitions/modules/sticky.less +17 -25
- package/src/definitions/modules/tab.js +901 -965
- package/src/definitions/modules/tab.less +48 -54
- package/src/definitions/modules/toast.js +909 -883
- package/src/definitions/modules/toast.less +589 -589
- package/src/definitions/modules/transition.js +1047 -1076
- package/src/definitions/modules/transition.less +58 -59
- package/src/definitions/views/ad.less +207 -208
- package/src/definitions/views/card.less +955 -973
- package/src/definitions/views/comment.less +192 -200
- package/src/definitions/views/feed.less +222 -226
- package/src/definitions/views/item.less +437 -448
- package/src/definitions/views/statistic.less +273 -279
- package/src/semantic.less +8 -6
- package/src/theme.config.example +53 -53
- package/src/theme.less +44 -35
- package/src/themes/amazon/elements/button.overrides +23 -24
- package/src/themes/amazon/elements/button.variables +18 -23
- package/src/themes/amazon/globals/site.variables +16 -17
- package/src/themes/basic/assets/fonts/icons.woff2 +0 -0
- package/src/themes/basic/collections/table.overrides +0 -1
- package/src/themes/basic/collections/table.variables +3 -3
- package/src/themes/basic/elements/button.overrides +0 -1
- package/src/themes/basic/elements/button.variables +9 -9
- package/src/themes/basic/elements/icon.overrides +9 -169
- package/src/themes/basic/elements/icon.variables +161 -18
- package/src/themes/basic/elements/step.overrides +2 -2
- package/src/themes/basic/elements/step.variables +2 -2
- package/src/themes/basic/globals/reset.overrides +1 -1
- package/src/themes/basic/globals/reset.variables +1 -1
- package/src/themes/basic/modules/progress.variables +2 -2
- package/src/themes/basic/views/card.overrides +0 -1
- package/src/themes/basic/views/card.variables +6 -6
- package/src/themes/bookish/elements/header.overrides +4 -4
- package/src/themes/bookish/elements/header.variables +5 -5
- package/src/themes/bootstrap3/elements/button.overrides +3 -0
- package/src/themes/bootstrap3/elements/button.variables +20 -25
- package/src/themes/chubby/collections/form.overrides +9 -9
- package/src/themes/chubby/collections/form.variables +3 -3
- package/src/themes/chubby/collections/menu.overrides +3 -0
- package/src/themes/chubby/collections/menu.variables +3 -3
- package/src/themes/chubby/elements/button.overrides +8 -10
- package/src/themes/chubby/elements/button.variables +10 -10
- package/src/themes/chubby/elements/header.overrides +1 -1
- package/src/themes/chubby/elements/header.variables +4 -4
- package/src/themes/chubby/modules/accordion.overrides +2 -2
- package/src/themes/chubby/modules/accordion.variables +4 -4
- package/src/themes/chubby/views/comment.overrides +5 -5
- package/src/themes/chubby/views/comment.variables +11 -11
- package/src/themes/classic/collections/table.variables +3 -3
- package/src/themes/classic/elements/button.variables +36 -43
- package/src/themes/classic/elements/header.variables +4 -4
- package/src/themes/classic/modules/progress.variables +3 -3
- package/src/themes/classic/views/card.overrides +25 -27
- package/src/themes/classic/views/card.variables +7 -7
- package/src/themes/colored/modules/checkbox.overrides +3 -0
- package/src/themes/colored/modules/checkbox.variables +1 -3
- package/src/themes/default/collections/breadcrumb.variables +4 -4
- package/src/themes/default/collections/form.variables +15 -16
- package/src/themes/default/collections/grid.overrides +0 -1
- package/src/themes/default/collections/grid.variables +15 -16
- package/src/themes/default/collections/menu.variables +31 -45
- package/src/themes/default/collections/message.variables +84 -123
- package/src/themes/default/collections/table.overrides +3 -0
- package/src/themes/default/collections/table.variables +30 -34
- package/src/themes/default/elements/button.variables +44 -53
- package/src/themes/default/elements/container.variables +8 -16
- package/src/themes/default/elements/divider.overrides +8 -9
- package/src/themes/default/elements/divider.variables +5 -6
- package/src/themes/default/elements/emoji.overrides +0 -1
- package/src/themes/default/elements/emoji.variables +3556 -3556
- package/src/themes/default/elements/flag.variables +1595 -1595
- package/src/themes/default/elements/header.overrides +0 -1
- package/src/themes/default/elements/header.variables +21 -21
- package/src/themes/default/elements/icon.variables +2016 -2012
- package/src/themes/default/elements/image.variables +6 -7
- package/src/themes/default/elements/input.variables +11 -12
- package/src/themes/default/elements/label.variables +25 -26
- package/src/themes/default/elements/list.variables +17 -21
- package/src/themes/default/elements/loader.variables +16 -17
- package/src/themes/default/elements/placeholder.variables +12 -9
- package/src/themes/default/elements/rail.variables +4 -5
- package/src/themes/default/elements/reveal.variables +1 -1
- package/src/themes/default/elements/segment.variables +24 -36
- package/src/themes/default/elements/step.overrides +4 -4
- package/src/themes/default/elements/step.variables +19 -22
- package/src/themes/default/elements/text.variables +2 -3
- package/src/themes/default/globals/colors.less +588 -588
- package/src/themes/default/globals/reset.overrides +63 -59
- package/src/themes/default/globals/reset.variables +1 -1
- package/src/themes/default/globals/site.variables +1074 -1123
- package/src/themes/default/globals/variation.variables +6 -4
- package/src/themes/default/modules/accordion.overrides +11 -11
- package/src/themes/default/modules/accordion.variables +15 -20
- package/src/themes/default/modules/calendar.variables +2 -0
- package/src/themes/default/modules/chatroom.variables +1 -1
- package/src/themes/default/modules/checkbox.overrides +9 -13
- package/src/themes/default/modules/checkbox.variables +24 -33
- package/src/themes/default/modules/dimmer.variables +14 -17
- package/src/themes/default/modules/dropdown.overrides +17 -17
- package/src/themes/default/modules/dropdown.variables +29 -31
- package/src/themes/default/modules/embed.variables +9 -13
- package/src/themes/default/modules/flyout.variables +10 -8
- package/src/themes/default/modules/modal.variables +64 -67
- package/src/themes/default/modules/nag.variables +11 -14
- package/src/themes/default/modules/popup.variables +14 -13
- package/src/themes/default/modules/progress.variables +17 -19
- package/src/themes/default/modules/rating.variables +10 -12
- package/src/themes/default/modules/search.variables +12 -17
- package/src/themes/default/modules/shape.variables +7 -8
- package/src/themes/default/modules/sidebar.variables +4 -4
- package/src/themes/default/modules/slider.variables +55 -54
- package/src/themes/default/modules/sticky.variables +1 -1
- package/src/themes/default/modules/toast.variables +8 -8
- package/src/themes/default/modules/transition.overrides +936 -915
- package/src/themes/default/modules/transition.variables +1 -1
- package/src/themes/default/views/ad.variables +1 -1
- package/src/themes/default/views/card.variables +33 -45
- package/src/themes/default/views/comment.variables +7 -9
- package/src/themes/default/views/feed.variables +10 -10
- package/src/themes/default/views/item.variables +20 -23
- package/src/themes/default/views/statistic.variables +8 -8
- package/src/themes/duo/elements/loader.variables +1 -1
- package/src/themes/famfamfam/elements/flag.overrides +263 -268
- package/src/themes/famfamfam/elements/flag.variables +4 -4
- package/src/themes/fixed-width/collections/grid.variables +4 -4
- package/src/themes/fixed-width/modules/modal.variables +11 -13
- package/src/themes/flat/collections/form.overrides +9 -9
- package/src/themes/flat/collections/form.variables +16 -17
- package/src/themes/flat/globals/site.variables +69 -74
- package/src/themes/github/assets/fonts/octicons.woff2 +0 -0
- package/src/themes/github/collections/breadcrumb.variables +0 -1
- package/src/themes/github/collections/form.overrides +7 -8
- package/src/themes/github/collections/form.variables +16 -18
- package/src/themes/github/collections/grid.variables +1 -2
- package/src/themes/github/collections/menu.overrides +2 -2
- package/src/themes/github/collections/menu.variables +24 -26
- package/src/themes/github/collections/message.overrides +3 -3
- package/src/themes/github/collections/message.variables +12 -14
- package/src/themes/github/collections/table.variables +2 -2
- package/src/themes/github/elements/button.overrides +0 -1
- package/src/themes/github/elements/button.variables +26 -30
- package/src/themes/github/elements/header.variables +2 -2
- package/src/themes/github/elements/icon.overrides +3 -208
- package/src/themes/github/elements/icon.variables +234 -19
- package/src/themes/github/elements/image.variables +1 -1
- package/src/themes/github/elements/input.overrides +16 -16
- package/src/themes/github/elements/input.variables +4 -5
- package/src/themes/github/elements/label.overrides +3 -3
- package/src/themes/github/elements/label.variables +0 -1
- package/src/themes/github/elements/segment.variables +9 -10
- package/src/themes/github/elements/step.overrides +13 -13
- package/src/themes/github/elements/step.variables +6 -6
- package/src/themes/github/globals/site.variables +16 -16
- package/src/themes/github/modules/dropdown.overrides +18 -19
- package/src/themes/github/modules/dropdown.variables +8 -10
- package/src/themes/github/modules/popup.variables +0 -2
- package/src/themes/gmail/collections/message.overrides +3 -0
- package/src/themes/gmail/collections/message.variables +4 -4
- package/src/themes/instagram/views/card.overrides +4 -5
- package/src/themes/instagram/views/card.variables +7 -8
- package/src/themes/joypixels/elements/emoji.overrides +0 -2
- package/src/themes/joypixels/elements/emoji.variables +3554 -3554
- package/src/themes/material/collections/menu.overrides +1 -1
- package/src/themes/material/collections/menu.variables +4 -4
- package/src/themes/material/elements/button.overrides +7 -9
- package/src/themes/material/elements/button.variables +44 -46
- package/src/themes/material/elements/header.overrides +3 -3
- package/src/themes/material/elements/header.variables +8 -10
- package/src/themes/material/elements/icon.overrides +3 -934
- package/src/themes/material/elements/icon.variables +958 -18
- package/src/themes/material/globals/site.overrides +3 -0
- package/src/themes/material/globals/site.variables +83 -84
- package/src/themes/material/modules/dropdown.overrides +2 -2
- package/src/themes/material/modules/dropdown.variables +5 -5
- package/src/themes/material/modules/modal.overrides +3 -3
- package/src/themes/material/modules/modal.variables +4 -5
- package/src/themes/pulsar/elements/loader.overrides +23 -61
- package/src/themes/raised/elements/button.variables +8 -9
- package/src/themes/resetcss/globals/reset.overrides +115 -33
- package/src/themes/resetcss/globals/reset.variables +1 -1
- package/src/themes/round/elements/button.overrides +3 -0
- package/src/themes/round/elements/button.variables +33 -38
- package/src/themes/rtl/globals/site.overrides +1 -1
- package/src/themes/rtl/globals/site.variables +5 -6
- package/src/themes/striped/modules/progress.overrides +20 -16
- package/src/themes/systemfont/globals/reset.overrides +1 -1
- package/src/themes/systemfont/globals/site.variables +6 -6
- package/src/themes/timeline/views/feed.overrides +12 -12
- package/src/themes/timeline/views/feed.variables +8 -8
- package/src/themes/twitter/elements/button.overrides +4 -5
- package/src/themes/twitter/elements/button.variables +17 -18
- package/src/themes/twitter/elements/emoji.variables +3556 -3556
- package/tasks/.eslintrc.js +9 -0
- package/tasks/README.md +2 -4
- package/tasks/admin/components/create.js +268 -277
- package/tasks/admin/components/init.js +123 -129
- package/tasks/admin/components/update.js +151 -158
- package/tasks/admin/distributions/create.js +183 -189
- package/tasks/admin/distributions/init.js +125 -131
- package/tasks/admin/distributions/update.js +147 -153
- package/tasks/admin/publish.js +5 -9
- package/tasks/admin/register.js +37 -39
- package/tasks/admin/release.js +8 -12
- package/tasks/build/assets.js +43 -40
- package/tasks/build/css.js +230 -217
- package/tasks/build/javascript.js +120 -114
- package/tasks/build.js +11 -11
- package/tasks/check-install.js +15 -17
- package/tasks/clean.js +6 -6
- package/tasks/collections/README.md +3 -5
- package/tasks/collections/admin.js +34 -36
- package/tasks/collections/build.js +19 -21
- package/tasks/collections/docs.js +11 -13
- package/tasks/collections/install.js +11 -13
- package/tasks/collections/rtl.js +9 -12
- package/tasks/collections/various.js +10 -12
- package/tasks/config/admin/github.js +17 -19
- package/tasks/config/admin/oauth.example.js +4 -4
- package/tasks/config/admin/release.js +98 -98
- package/tasks/config/admin/templates/README.md +8 -8
- package/tasks/config/admin/templates/bower.json +3 -2
- package/tasks/config/admin/templates/component-package.js +9 -10
- package/tasks/config/admin/templates/css-package.js +19 -21
- package/tasks/config/admin/templates/less-package.js +12 -14
- package/tasks/config/admin/templates/package.json +6 -6
- package/tasks/config/defaults.js +116 -116
- package/tasks/config/docs.js +23 -23
- package/tasks/config/npm/gulpfile.js +15 -14
- package/tasks/config/project/config.js +124 -136
- package/tasks/config/project/install.js +722 -719
- package/tasks/config/project/release.js +34 -41
- package/tasks/config/tasks.js +168 -167
- package/tasks/config/user.js +28 -32
- package/tasks/docs/build.js +100 -96
- package/tasks/docs/metadata.js +91 -98
- package/tasks/docs/serve.js +84 -82
- package/tasks/install.js +373 -382
- package/tasks/rtl/build.js +4 -3
- package/tasks/rtl/watch.js +4 -3
- package/tasks/version.js +4 -6
- package/tasks/watch.js +29 -31
- package/test/.eslintrc.js +23 -0
- package/test/meteor/assets.js +11 -14
- package/test/meteor/fonts.js +12 -13
- package/test/modules/accordion.spec.js +6 -8
- package/test/modules/checkbox.spec.js +5 -7
- package/test/modules/dropdown.spec.js +5 -7
- package/test/modules/modal.spec.js +6 -8
- package/test/modules/module.spec.js +158 -178
- package/test/modules/popup.spec.js +5 -7
- package/test/modules/search.spec.js +5 -7
- package/test/modules/shape.spec.js +5 -7
- package/test/modules/sidebar.spec.js +5 -7
- package/test/modules/tab.spec.js +6 -8
- package/test/modules/transition.spec.js +5 -7
- package/test/modules/video.spec.js +5 -7
- package/.github/workflows/codeql.yml +0 -68
@@ -8,15 +8,14 @@
|
|
8
8
|
*
|
9
9
|
*/
|
10
10
|
|
11
|
-
|
12
11
|
/*******************************
|
13
12
|
Theme
|
14
13
|
*******************************/
|
15
14
|
|
16
|
-
@type
|
17
|
-
@element
|
15
|
+
@type: "collection";
|
16
|
+
@element: "table";
|
18
17
|
|
19
|
-
@import (multiple)
|
18
|
+
@import (multiple) "../../theme.config";
|
20
19
|
|
21
20
|
/*******************************
|
22
21
|
Table
|
@@ -24,29 +23,29 @@
|
|
24
23
|
|
25
24
|
/* Prototype */
|
26
25
|
.ui.table {
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
26
|
+
width: 100%;
|
27
|
+
background: @background;
|
28
|
+
margin: @margin;
|
29
|
+
border: @border;
|
30
|
+
box-shadow: @boxShadow;
|
31
|
+
border-radius: @borderRadius;
|
32
|
+
text-align: @textAlign;
|
33
|
+
vertical-align: @verticalAlign;
|
34
|
+
color: @color;
|
35
|
+
border-collapse: @borderCollapse;
|
36
|
+
border-spacing: @borderSpacing;
|
38
37
|
}
|
39
38
|
|
40
39
|
.ui.table:first-child {
|
41
|
-
|
40
|
+
margin-top: 0;
|
42
41
|
}
|
43
42
|
.ui.table:last-child {
|
44
|
-
|
43
|
+
margin-bottom: 0;
|
45
44
|
}
|
46
45
|
.ui.table > thead,
|
47
46
|
.ui.table > tbody {
|
48
|
-
|
49
|
-
|
47
|
+
text-align: inherit;
|
48
|
+
vertical-align: inherit;
|
50
49
|
}
|
51
50
|
|
52
51
|
/*******************************
|
@@ -56,527 +55,527 @@
|
|
56
55
|
/* Table Content */
|
57
56
|
.ui.table th,
|
58
57
|
.ui.table td {
|
59
|
-
|
58
|
+
transition: @transition;
|
60
59
|
}
|
61
60
|
|
62
61
|
/* Rowspan helper class */
|
63
62
|
.ui.table th.rowspanned,
|
64
63
|
.ui.table td.rowspanned {
|
65
|
-
|
64
|
+
display: none;
|
66
65
|
}
|
67
66
|
|
68
67
|
/* Headers */
|
69
68
|
.ui.table > thead {
|
70
|
-
|
69
|
+
box-shadow: @headerBoxShadow;
|
71
70
|
}
|
72
71
|
.ui.table > thead > tr > th {
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
72
|
+
cursor: auto;
|
73
|
+
background: @headerBackground;
|
74
|
+
text-align: @headerAlign;
|
75
|
+
color: @headerColor;
|
76
|
+
padding: @headerVerticalPadding @headerHorizontalPadding;
|
77
|
+
vertical-align: @headerVerticalAlign;
|
78
|
+
font-style: @headerFontStyle;
|
79
|
+
font-weight: @headerFontWeight;
|
80
|
+
text-transform: @headerTextTransform;
|
81
|
+
border-bottom: @headerBorder;
|
82
|
+
border-left: @headerDivider;
|
84
83
|
}
|
85
84
|
|
86
85
|
.ui.table > thead > tr > th:first-child {
|
87
|
-
|
86
|
+
border-left: none;
|
88
87
|
}
|
89
88
|
|
90
89
|
.ui.table > thead > tr:first-child > th:first-child {
|
91
|
-
|
90
|
+
border-radius: @borderRadius 0 0 0;
|
92
91
|
}
|
93
92
|
.ui.table > thead > tr:first-child > th:last-child {
|
94
|
-
|
93
|
+
border-radius: 0 @borderRadius 0 0;
|
95
94
|
}
|
96
95
|
.ui.table > thead > tr:first-child > th:only-child {
|
97
|
-
|
96
|
+
border-radius: @borderRadius @borderRadius 0 0;
|
98
97
|
}
|
99
98
|
|
100
99
|
/* Footer */
|
101
100
|
.ui.table > tfoot {
|
102
|
-
|
101
|
+
box-shadow: @footerBoxShadow;
|
103
102
|
}
|
104
103
|
.ui.table > tfoot > tr > th,
|
105
104
|
.ui.table > tfoot > tr > td {
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
105
|
+
cursor: auto;
|
106
|
+
border-top: @footerBorder;
|
107
|
+
background: @footerBackground;
|
108
|
+
text-align: @footerAlign;
|
109
|
+
color: @footerColor;
|
110
|
+
padding: @footerVerticalPadding @footerHorizontalPadding;
|
111
|
+
vertical-align: @footerVerticalAlign;
|
112
|
+
font-style: @footerFontStyle;
|
113
|
+
font-weight: @footerFontWeight;
|
114
|
+
text-transform: @footerTextTransform;
|
116
115
|
}
|
117
116
|
.ui.table > tfoot > tr > th:first-child,
|
118
117
|
.ui.table > tfoot > tr > td:first-child {
|
119
|
-
|
118
|
+
border-left: none;
|
120
119
|
}
|
121
120
|
.ui.table > tfoot > tr:first-child > th:first-child,
|
122
121
|
.ui.table > tfoot > tr:first-child > td:first-child {
|
123
|
-
|
122
|
+
border-radius: 0 0 0 @borderRadius;
|
124
123
|
}
|
125
124
|
.ui.table > tfoot > tr:first-child > th:last-child,
|
126
125
|
.ui.table > tfoot > tr:first-child > td:last-child {
|
127
|
-
|
126
|
+
border-radius: 0 0 @borderRadius 0;
|
128
127
|
}
|
129
128
|
.ui.table > tfoot > tr:first-child > th:only-child,
|
130
129
|
.ui.table > tfoot > tr:first-child > td:only-child {
|
131
|
-
|
130
|
+
border-radius: 0 0 @borderRadius @borderRadius;
|
132
131
|
}
|
133
132
|
|
134
133
|
/* Table Row */
|
135
134
|
.ui.table > tr > td,
|
136
135
|
.ui.table > tbody > tr > td {
|
137
|
-
|
136
|
+
border-top: @rowBorder;
|
138
137
|
}
|
139
138
|
.ui.table > tr:first-child > td,
|
140
139
|
.ui.table > tbody > tr:first-child > td {
|
141
|
-
|
140
|
+
border-top: none;
|
142
141
|
}
|
143
142
|
|
144
143
|
/* Repeated tbody */
|
145
144
|
.ui.table > tbody + tbody tr:first-child > td {
|
146
|
-
|
145
|
+
border-top: @rowBorder;
|
147
146
|
}
|
148
147
|
|
149
148
|
/* Table Cells */
|
150
149
|
.ui.table > tbody > tr > td,
|
151
150
|
.ui.table > tr > td {
|
152
|
-
|
153
|
-
|
151
|
+
padding: @cellVerticalPadding @cellHorizontalPadding;
|
152
|
+
text-align: @cellTextAlign;
|
154
153
|
}
|
155
154
|
|
156
155
|
/* Icons */
|
157
156
|
.ui.table > i.icon {
|
158
|
-
|
157
|
+
vertical-align: @iconVerticalAlign;
|
159
158
|
}
|
160
159
|
.ui.table > i.icon:only-child {
|
161
|
-
|
160
|
+
margin: 0;
|
162
161
|
}
|
163
162
|
|
164
163
|
/* Table Segment */
|
165
164
|
.ui.table.segment {
|
166
|
-
|
165
|
+
padding: 0;
|
167
166
|
}
|
168
167
|
.ui.table.segment::after {
|
169
|
-
|
168
|
+
display: none;
|
170
169
|
}
|
171
170
|
.ui.table.segment.stacked::after {
|
172
|
-
|
171
|
+
display: block;
|
173
172
|
}
|
174
173
|
|
175
|
-
|
176
174
|
/* Responsive */
|
177
|
-
@media only screen and (max-width
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
}
|
241
|
-
& when (@variationTableMarked) and not (@variationTableColors = false) {
|
242
|
-
each(@variationTableColors, {
|
243
|
-
@color: @value;
|
244
|
-
@c: @colors[@@color][color];
|
245
|
-
@l: @colors[@@color][light];
|
246
|
-
.ui.ui.ui.ui.table:not(.unstackable) tr[class*="@{color} marked"] {
|
247
|
-
&.left {
|
248
|
-
box-shadow: @responsiveRowBoxShadow, @coloredBorderSize 0 0 0 @c inset;
|
249
|
-
}
|
250
|
-
&.right {
|
251
|
-
box-shadow: @responsiveRowBoxShadow, -@coloredBorderSize 0 0 0 @c inset;
|
252
|
-
}
|
253
|
-
}
|
254
|
-
& when (@variationTableInverted) {
|
255
|
-
.ui.ui.ui.ui.inverted.table:not(.unstackable) tr[class*="@{color} marked"] {
|
256
|
-
&.left {
|
257
|
-
box-shadow: @responsiveRowBoxShadow, @coloredBorderSize 0 0 0 @l inset;
|
258
|
-
}
|
259
|
-
&.right {
|
260
|
-
box-shadow: @responsiveRowBoxShadow, -@coloredBorderSize 0 0 0 @l inset;
|
261
|
-
}
|
262
|
-
}
|
263
|
-
}
|
264
|
-
})
|
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
|
-
}
|
175
|
+
@media only screen and (max-width: @largestMobileScreen) {
|
176
|
+
.ui.table:not(.unstackable) {
|
177
|
+
width: 100%;
|
178
|
+
padding: 0;
|
179
|
+
}
|
180
|
+
.ui.table:not(.unstackable) > thead,
|
181
|
+
.ui.table:not(.unstackable) > thead > tr,
|
182
|
+
.ui.table:not(.unstackable) > tfoot,
|
183
|
+
.ui.table:not(.unstackable) > tfoot > tr,
|
184
|
+
.ui.table:not(.unstackable) > tbody,
|
185
|
+
.ui.table:not(.unstackable) > tr,
|
186
|
+
.ui.table:not(.unstackable) > tbody > tr,
|
187
|
+
.ui.table:not(.unstackable) > tr > th:not(.rowspanned),
|
188
|
+
.ui.table:not(.unstackable) > thead > tr > th:not(.rowspanned),
|
189
|
+
.ui.table:not(.unstackable) > tbody > tr > th:not(.rowspanned),
|
190
|
+
.ui.table:not(.unstackable) > tfoot > tr > th:not(.rowspanned),
|
191
|
+
.ui.table:not(.unstackable) > tr > td:not(.rowspanned),
|
192
|
+
.ui.table:not(.unstackable) > tbody > tr > td:not(.rowspanned),
|
193
|
+
.ui.table:not(.unstackable) > tfoot > tr > td:not(.rowspanned) {
|
194
|
+
display: block !important;
|
195
|
+
width: auto !important;
|
196
|
+
}
|
197
|
+
|
198
|
+
.ui.table:not(.unstackable) > thead {
|
199
|
+
display: @responsiveHeaderDisplay;
|
200
|
+
}
|
201
|
+
.ui.table:not(.unstackable) > tfoot {
|
202
|
+
display: @responsiveFooterDisplay;
|
203
|
+
}
|
204
|
+
.ui.ui.ui.ui.table:not(.unstackable) > tr,
|
205
|
+
.ui.ui.ui.ui.table:not(.unstackable) > thead > tr,
|
206
|
+
.ui.ui.ui.ui.table:not(.unstackable) > tbody > tr,
|
207
|
+
.ui.ui.ui.ui.table:not(.unstackable) > tfoot > tr {
|
208
|
+
padding-top: @responsiveRowVerticalPadding;
|
209
|
+
padding-bottom: @responsiveRowVerticalPadding;
|
210
|
+
box-shadow: @responsiveRowBoxShadow;
|
211
|
+
}
|
212
|
+
|
213
|
+
.ui.ui.ui.ui.table:not(.unstackable) > tr > th,
|
214
|
+
.ui.ui.ui.ui.table:not(.unstackable) > thead > tr > th,
|
215
|
+
.ui.ui.ui.ui.table:not(.unstackable) > tbody > tr > th,
|
216
|
+
.ui.ui.ui.ui.table:not(.unstackable) > tfoot > tr > th,
|
217
|
+
.ui.ui.ui.ui.table:not(.unstackable) > tr > td,
|
218
|
+
.ui.ui.ui.ui.table:not(.unstackable) > tbody > tr > td,
|
219
|
+
.ui.ui.ui.ui.table:not(.unstackable) > tfoot > tr > td {
|
220
|
+
background: none;
|
221
|
+
border: none;
|
222
|
+
padding: @responsiveCellVerticalPadding @responsiveCellHorizontalPadding;
|
223
|
+
box-shadow: @responsiveCellBoxShadow;
|
224
|
+
}
|
225
|
+
.ui.table:not(.unstackable) > tr > th:first-child,
|
226
|
+
.ui.table:not(.unstackable) > thead > tr > th:first-child,
|
227
|
+
.ui.table:not(.unstackable) > tbody > tr > th:first-child,
|
228
|
+
.ui.table:not(.unstackable) > tfoot > tr > th:first-child,
|
229
|
+
.ui.table:not(.unstackable) > tr > td:first-child,
|
230
|
+
.ui.table:not(.unstackable) > tbody > tr > td:first-child,
|
231
|
+
.ui.table:not(.unstackable) > tfoot > tr > td:first-child {
|
232
|
+
font-weight: @responsiveCellHeaderFontWeight;
|
233
|
+
}
|
234
|
+
|
235
|
+
/* Definition Table */
|
236
|
+
.ui.definition.table:not(.unstackable) > thead > tr > th:first-child {
|
237
|
+
box-shadow: none !important;
|
301
238
|
}
|
302
|
-
|
303
|
-
|
239
|
+
& when (@variationTableMarked) and not (@variationTableColors = false) {
|
240
|
+
each(@variationTableColors, {
|
241
|
+
@color: @value;
|
242
|
+
@c: @colors[@@color][color];
|
243
|
+
@l: @colors[@@color][light];
|
244
|
+
.ui.ui.ui.ui.table:not(.unstackable) tr[class*="@{color} marked"] {
|
245
|
+
&.left {
|
246
|
+
box-shadow: @responsiveRowBoxShadow, @coloredBorderSize 0 0 0 @c inset;
|
247
|
+
}
|
248
|
+
&.right {
|
249
|
+
box-shadow: @responsiveRowBoxShadow, -@coloredBorderSize 0 0 0 @c inset;
|
250
|
+
}
|
251
|
+
}
|
252
|
+
& when (@variationTableInverted) {
|
253
|
+
.ui.ui.ui.ui.inverted.table:not(.unstackable) tr[class*="@{color} marked"] {
|
254
|
+
&.left {
|
255
|
+
box-shadow: @responsiveRowBoxShadow, @coloredBorderSize 0 0 0 @l inset;
|
256
|
+
}
|
257
|
+
&.right {
|
258
|
+
box-shadow: @responsiveRowBoxShadow, -@coloredBorderSize 0 0 0 @l inset;
|
259
|
+
}
|
260
|
+
}
|
261
|
+
}
|
262
|
+
});
|
304
263
|
}
|
305
|
-
& when (@
|
306
|
-
|
307
|
-
|
308
|
-
|
264
|
+
& when (@variationTableScrolling) {
|
265
|
+
& when (@variationTableScrollingShort) {
|
266
|
+
.ui.scrolling.table.short > tbody {
|
267
|
+
max-height: @scrollingMobileMaxBodyHeight * 0.75;
|
268
|
+
}
|
269
|
+
}
|
270
|
+
& when (@variationTableScrollingVeryShort) {
|
271
|
+
.ui.scrolling.table[class*="very short"] > tbody {
|
272
|
+
max-height: @scrollingMobileMaxBodyHeight * 0.5;
|
273
|
+
}
|
274
|
+
}
|
275
|
+
.ui.scrolling.table > tbody {
|
276
|
+
max-height: @scrollingMobileMaxBodyHeight;
|
277
|
+
}
|
278
|
+
& when (@variationTableScrollingLong) {
|
279
|
+
.ui.scrolling.table.long > tbody {
|
280
|
+
max-height: @scrollingMobileMaxBodyHeight * 2;
|
281
|
+
}
|
282
|
+
}
|
283
|
+
& when (@variationTableScrollingVeryLong) {
|
284
|
+
.ui.scrolling.table[class*="very long"] > tbody {
|
285
|
+
max-height: @scrollingMobileMaxBodyHeight * 3;
|
286
|
+
}
|
287
|
+
}
|
309
288
|
}
|
310
|
-
& when (@
|
311
|
-
|
312
|
-
|
313
|
-
|
289
|
+
& when (@variationTableOverflowing) {
|
290
|
+
& when (@variationTableOverflowingShort) {
|
291
|
+
.ui.overflowing.table.short {
|
292
|
+
max-height: @overflowingMobileMaxHeight * 0.75;
|
293
|
+
}
|
294
|
+
}
|
295
|
+
& when (@variationTableOverflowingVeryShort) {
|
296
|
+
.ui.overflowing.table[class*="very short"] {
|
297
|
+
max-height: @overflowingMobileMaxHeight * 0.5;
|
298
|
+
}
|
299
|
+
}
|
300
|
+
.ui.overflowing.table {
|
301
|
+
max-height: @overflowingMobileMaxHeight;
|
302
|
+
}
|
303
|
+
& when (@variationTableOverflowingLong) {
|
304
|
+
.ui.overflowing.table.long {
|
305
|
+
max-height: @overflowingMobileMaxHeight * 2;
|
306
|
+
}
|
307
|
+
}
|
308
|
+
& when (@variationTableOverflowingVeryLong) {
|
309
|
+
.ui.overflowing.table[class*="very long"] {
|
310
|
+
max-height: @overflowingMobileMaxHeight * 3;
|
311
|
+
}
|
312
|
+
}
|
314
313
|
}
|
315
|
-
}
|
316
314
|
}
|
317
315
|
& when (@variationTableScrolling) {
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
316
|
+
/* --------------
|
317
|
+
Scrolling
|
318
|
+
--------------- */
|
319
|
+
@media only screen and (min-width: @tabletBreakpoint) {
|
320
|
+
& when (@variationTableScrollingShort) {
|
321
|
+
.ui.scrolling.table.short > tbody {
|
322
|
+
max-height: @scrollingTabletMaxBodyHeight * 0.75;
|
323
|
+
}
|
324
|
+
}
|
325
|
+
& when (@variationTableScrollingVeryShort) {
|
326
|
+
.ui.scrolling.table[class*="very short"] > tbody {
|
327
|
+
max-height: @scrollingTabletMaxBodyHeight * 0.5;
|
328
|
+
}
|
329
|
+
}
|
330
|
+
.ui.scrolling.table > tbody {
|
331
|
+
max-height: @scrollingTabletMaxBodyHeight;
|
332
|
+
}
|
333
|
+
& when (@variationTableScrollingLong) {
|
334
|
+
.ui.scrolling.table.long > tbody {
|
335
|
+
max-height: @scrollingTabletMaxBodyHeight * 2;
|
336
|
+
}
|
337
|
+
}
|
338
|
+
& when (@variationTableScrollingVeryLong) {
|
339
|
+
.ui.scrolling.table[class*="very long"] > tbody {
|
340
|
+
max-height: @scrollingTabletMaxBodyHeight * 3;
|
341
|
+
}
|
342
|
+
}
|
331
343
|
}
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
344
|
+
@media only screen and (min-width: @computerBreakpoint) {
|
345
|
+
& when (@variationTableScrollingShort) {
|
346
|
+
.ui.scrolling.table.short > tbody {
|
347
|
+
max-height: @scrollingComputerMaxBodyHeight * 0.75;
|
348
|
+
}
|
349
|
+
}
|
350
|
+
& when (@variationTableScrollingVeryShort) {
|
351
|
+
.ui.scrolling.table[class*="very short"] > tbody {
|
352
|
+
max-height: @scrollingComputerMaxBodyHeight * 0.5;
|
353
|
+
}
|
354
|
+
}
|
355
|
+
.ui.scrolling.table > tbody {
|
356
|
+
max-height: @scrollingComputerMaxBodyHeight;
|
357
|
+
}
|
358
|
+
& when (@variationTableScrollingLong) {
|
359
|
+
.ui.scrolling.table.long > tbody {
|
360
|
+
max-height: @scrollingComputerMaxBodyHeight * 2;
|
361
|
+
}
|
362
|
+
}
|
363
|
+
& when (@variationTableScrollingVeryLong) {
|
364
|
+
.ui.scrolling.table[class*="very long"] > tbody {
|
365
|
+
max-height: @scrollingComputerMaxBodyHeight * 3;
|
366
|
+
}
|
367
|
+
}
|
356
368
|
}
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
369
|
+
@media only screen and (min-width: @widescreenMonitorBreakpoint) {
|
370
|
+
& when (@variationTableScrollingShort) {
|
371
|
+
.ui.scrolling.table.short > tbody {
|
372
|
+
max-height: @scrollingWidescreenMaxBodyHeight * 0.75;
|
373
|
+
}
|
374
|
+
}
|
375
|
+
& when (@variationTableScrollingVeryShort) {
|
376
|
+
.ui.scrolling.table[class*="very short"] > tbody {
|
377
|
+
max-height: @scrollingWidescreenMaxBodyHeight * 0.5;
|
378
|
+
}
|
379
|
+
}
|
380
|
+
.ui.scrolling.table > tbody {
|
381
|
+
max-height: @scrollingWidescreenMaxBodyHeight;
|
382
|
+
}
|
383
|
+
& when (@variationTableScrollingLong) {
|
384
|
+
.ui.scrolling.table.long > tbody {
|
385
|
+
max-height: @scrollingWidescreenMaxBodyHeight * 2;
|
386
|
+
}
|
387
|
+
}
|
388
|
+
& when (@variationTableScrollingVeryLong) {
|
389
|
+
.ui.scrolling.table[class*="very long"] > tbody {
|
390
|
+
max-height: @scrollingWidescreenMaxBodyHeight * 3;
|
391
|
+
}
|
392
|
+
}
|
381
393
|
}
|
394
|
+
|
395
|
+
.ui.scrolling.table > thead,
|
396
|
+
.ui.scrolling.table > tfoot,
|
382
397
|
.ui.scrolling.table > tbody {
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
max-height: @scrollingWidescreenMaxBodyHeight * 3;
|
393
|
-
}
|
398
|
+
display: block;
|
399
|
+
overflow-y: scroll;
|
400
|
+
overscroll-behavior: @overscrollBehavior;
|
401
|
+
scrollbar-width: thin; /* Firefox */
|
402
|
+
& > tr {
|
403
|
+
display: table;
|
404
|
+
table-layout: fixed;
|
405
|
+
width: 100%;
|
406
|
+
}
|
394
407
|
}
|
395
|
-
}
|
396
408
|
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
scrollbar-width: thin; /* Firefox */
|
403
|
-
& > tr {
|
404
|
-
display: table;
|
405
|
-
table-layout: fixed;
|
406
|
-
width: 100%;
|
409
|
+
/* Camouflage scrollbars, we need them only to gain the same width as tbody */
|
410
|
+
.ui.scrolling.table > thead {
|
411
|
+
background: @headerBackground;
|
412
|
+
color: @headerBackground;
|
413
|
+
border-radius: @borderRadius @borderRadius 0 0;
|
407
414
|
}
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
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
|
-
& when (@supportIE) {
|
442
|
-
scrollbar-face-color: currentColor;
|
443
|
-
scrollbar-shadow-color: currentColor;
|
444
|
-
scrollbar-track-color: currentColor;
|
445
|
-
scrollbar-arrow-color: currentColor;
|
446
|
-
}
|
447
|
-
}
|
448
|
-
& when (@supportIE) {
|
449
|
-
/* IE scrollbar color needs hex values */
|
450
|
-
@media all and (-ms-high-contrast: none) {
|
451
|
-
.ui.scrolling.table > thead {
|
452
|
-
color: @headerBackgroundHex;
|
453
|
-
}
|
454
|
-
.ui.scrolling.table > tfoot {
|
455
|
-
color: @footerBackgroundHex;
|
456
|
-
}
|
457
|
-
& when (@variationTableInverted) {
|
415
|
+
.ui.scrolling.table > tfoot {
|
416
|
+
background: @footerBackground;
|
417
|
+
color: @footerBackground;
|
418
|
+
border-radius: 0 0 @borderRadius @borderRadius;
|
419
|
+
}
|
420
|
+
& when (@variationTableInverted) {
|
458
421
|
.ui.inverted.scrolling.table > thead {
|
459
|
-
|
422
|
+
background: @invertedHeaderBackground;
|
423
|
+
color: @invertedHeaderBackground;
|
460
424
|
}
|
461
425
|
.ui.inverted.scrolling.table > tfoot {
|
462
|
-
|
426
|
+
background: @invertedFooterBackground;
|
427
|
+
color: @invertedFooterBackground;
|
463
428
|
}
|
464
|
-
}
|
465
429
|
}
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
}
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
.ui.
|
475
|
-
|
430
|
+
.ui.scrolling.table > thead::-webkit-scrollbar-track,
|
431
|
+
.ui.scrolling.table > tfoot::-webkit-scrollbar-track {
|
432
|
+
background: inherit;
|
433
|
+
border-radius: @borderRadius;
|
434
|
+
}
|
435
|
+
|
436
|
+
/* Firefox & IE */
|
437
|
+
.ui.scrolling.table > thead,
|
438
|
+
.ui.scrolling.table > tfoot {
|
439
|
+
scrollbar-color: currentColor currentColor;
|
440
|
+
& when (@supportIE) {
|
441
|
+
scrollbar-face-color: currentColor;
|
442
|
+
scrollbar-shadow-color: currentColor;
|
443
|
+
scrollbar-track-color: currentColor;
|
444
|
+
scrollbar-arrow-color: currentColor;
|
445
|
+
}
|
476
446
|
}
|
477
|
-
|
478
|
-
|
447
|
+
& when (@supportIE) {
|
448
|
+
/* IE scrollbar color needs hex values */
|
449
|
+
@media all and (-ms-high-contrast: none) {
|
450
|
+
.ui.scrolling.table > thead {
|
451
|
+
color: @headerBackgroundHex;
|
452
|
+
}
|
453
|
+
.ui.scrolling.table > tfoot {
|
454
|
+
color: @footerBackgroundHex;
|
455
|
+
}
|
456
|
+
& when (@variationTableInverted) {
|
457
|
+
.ui.inverted.scrolling.table > thead {
|
458
|
+
color: @invertedHeaderBackgroundHex;
|
459
|
+
}
|
460
|
+
.ui.inverted.scrolling.table > tfoot {
|
461
|
+
color: @invertedFooterBackgroundHex;
|
462
|
+
}
|
463
|
+
}
|
464
|
+
}
|
479
465
|
}
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
scrollbar-
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
466
|
+
& when (@variationTableInverted) {
|
467
|
+
.ui.inverted.scrolling.table > tbody::-webkit-scrollbar-track {
|
468
|
+
background: @trackInvertedBackground;
|
469
|
+
}
|
470
|
+
.ui.inverted.scrolling.table > tbody::-webkit-scrollbar-thumb {
|
471
|
+
background: @thumbInvertedBackground;
|
472
|
+
}
|
473
|
+
.ui.inverted.scrolling.table > tbody::-webkit-scrollbar-thumb:window-inactive {
|
474
|
+
background: @thumbInvertedInactiveBackground;
|
475
|
+
}
|
476
|
+
.ui.inverted.scrolling.table > tbody::-webkit-scrollbar-thumb:hover {
|
477
|
+
background: @thumbInvertedHoverBackground;
|
478
|
+
}
|
479
|
+
.ui.inverted.scrolling.table > tbody {
|
480
|
+
& when (@supportIE) {
|
481
|
+
/* IE11 */
|
482
|
+
scrollbar-face-color: @thumbInvertedBackgroundHex;
|
483
|
+
scrollbar-shadow-color: @thumbInvertedBackgroundHex;
|
484
|
+
scrollbar-track-color: @trackInvertedBackgroundHex;
|
485
|
+
scrollbar-arrow-color: @trackInvertedBackgroundHex;
|
486
|
+
}
|
487
|
+
|
488
|
+
/* firefox: first color thumb, second track */
|
489
|
+
scrollbar-color: @thumbInvertedBackground @trackInvertedBackground;
|
490
|
+
}
|
490
491
|
}
|
491
|
-
}
|
492
|
-
|
493
492
|
}
|
494
493
|
& when (@variationTableOverflowing) {
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
.ui.overflowing.table {
|
499
|
-
display: block;
|
500
|
-
overflow: auto;
|
501
|
-
}
|
502
|
-
@media only screen and (min-width: @tabletBreakpoint) {
|
503
|
-
& when (@variationTableOverflowingShort) {
|
504
|
-
.ui.overflowing.table.short {
|
505
|
-
max-height: @overflowingTabletMaxHeight * 0.75;
|
506
|
-
}
|
507
|
-
}
|
508
|
-
& when (@variationTableOverflowingVeryShort) {
|
509
|
-
.ui.overflowing.table[class*="very short"] {
|
510
|
-
max-height: @overflowingTabletMaxHeight * 0.5;
|
511
|
-
}
|
512
|
-
}
|
513
|
-
.ui.overflowing.table {
|
514
|
-
max-height: @overflowingTabletMaxHeight;
|
515
|
-
}
|
516
|
-
& when (@variationTableOverflowingLong) {
|
517
|
-
.ui.overflowing.table.long {
|
518
|
-
max-height: @overflowingTabletMaxHeight * 2;
|
519
|
-
}
|
520
|
-
}
|
521
|
-
& when (@variationTableOverflowingVeryLong) {
|
522
|
-
.ui.overflowing.table[class*="very long"] {
|
523
|
-
max-height: @overflowingTabletMaxHeight * 3;
|
524
|
-
}
|
525
|
-
}
|
526
|
-
}
|
527
|
-
@media only screen and (min-width: @computerBreakpoint) {
|
528
|
-
& when (@variationTableOverflowingShort) {
|
529
|
-
.ui.overflowing.table.short {
|
530
|
-
max-height: @overflowingComputerMaxHeight * 0.75;
|
531
|
-
}
|
532
|
-
}
|
533
|
-
& when (@variationTableOverflowingVeryShort) {
|
534
|
-
.ui.overflowing.table[class*="very short"] {
|
535
|
-
max-height: @overflowingComputerMaxHeight * 0.5;
|
536
|
-
}
|
537
|
-
}
|
538
|
-
.ui.overflowing.table {
|
539
|
-
max-height: @overflowingComputerMaxHeight;
|
540
|
-
}
|
541
|
-
& when (@variationTableOverflowingLong) {
|
542
|
-
.ui.overflowing.table.long {
|
543
|
-
max-height: @overflowingComputerMaxHeight * 2;
|
544
|
-
}
|
545
|
-
}
|
546
|
-
& when (@variationTableOverflowingVeryLong) {
|
547
|
-
.ui.overflowing.table[class*="very long"]{
|
548
|
-
max-height: @overflowingComputerMaxHeight * 3;
|
549
|
-
}
|
550
|
-
}
|
551
|
-
}
|
552
|
-
@media only screen and (min-width: @widescreenMonitorBreakpoint) {
|
553
|
-
& when (@variationTableOverflowingShort) {
|
554
|
-
.ui.overflowing.table.short {
|
555
|
-
max-height: @overflowingWidescreenMaxHeight * 0.75;
|
556
|
-
}
|
557
|
-
}
|
558
|
-
& when (@variationTableOverflowingVeryShort) {
|
559
|
-
.ui.overflowing.table[class*="very short"] {
|
560
|
-
max-height: @overflowingWidescreenMaxHeight * 0.5;
|
561
|
-
}
|
562
|
-
}
|
494
|
+
/* --------------
|
495
|
+
Overflowing
|
496
|
+
--------------- */
|
563
497
|
.ui.overflowing.table {
|
564
|
-
|
498
|
+
display: block;
|
499
|
+
overflow: auto;
|
500
|
+
overscroll-behavior: @overscrollBehavior;
|
501
|
+
}
|
502
|
+
@media only screen and (min-width: @tabletBreakpoint) {
|
503
|
+
& when (@variationTableOverflowingShort) {
|
504
|
+
.ui.overflowing.table.short {
|
505
|
+
max-height: @overflowingTabletMaxHeight * 0.75;
|
506
|
+
}
|
507
|
+
}
|
508
|
+
& when (@variationTableOverflowingVeryShort) {
|
509
|
+
.ui.overflowing.table[class*="very short"] {
|
510
|
+
max-height: @overflowingTabletMaxHeight * 0.5;
|
511
|
+
}
|
512
|
+
}
|
513
|
+
.ui.overflowing.table {
|
514
|
+
max-height: @overflowingTabletMaxHeight;
|
515
|
+
}
|
516
|
+
& when (@variationTableOverflowingLong) {
|
517
|
+
.ui.overflowing.table.long {
|
518
|
+
max-height: @overflowingTabletMaxHeight * 2;
|
519
|
+
}
|
520
|
+
}
|
521
|
+
& when (@variationTableOverflowingVeryLong) {
|
522
|
+
.ui.overflowing.table[class*="very long"] {
|
523
|
+
max-height: @overflowingTabletMaxHeight * 3;
|
524
|
+
}
|
525
|
+
}
|
565
526
|
}
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
|
527
|
+
@media only screen and (min-width: @computerBreakpoint) {
|
528
|
+
& when (@variationTableOverflowingShort) {
|
529
|
+
.ui.overflowing.table.short {
|
530
|
+
max-height: @overflowingComputerMaxHeight * 0.75;
|
531
|
+
}
|
532
|
+
}
|
533
|
+
& when (@variationTableOverflowingVeryShort) {
|
534
|
+
.ui.overflowing.table[class*="very short"] {
|
535
|
+
max-height: @overflowingComputerMaxHeight * 0.5;
|
536
|
+
}
|
537
|
+
}
|
538
|
+
.ui.overflowing.table {
|
539
|
+
max-height: @overflowingComputerMaxHeight;
|
540
|
+
}
|
541
|
+
& when (@variationTableOverflowingLong) {
|
542
|
+
.ui.overflowing.table.long {
|
543
|
+
max-height: @overflowingComputerMaxHeight * 2;
|
544
|
+
}
|
545
|
+
}
|
546
|
+
& when (@variationTableOverflowingVeryLong) {
|
547
|
+
.ui.overflowing.table[class*="very long"] {
|
548
|
+
max-height: @overflowingComputerMaxHeight * 3;
|
549
|
+
}
|
550
|
+
}
|
570
551
|
}
|
571
|
-
|
572
|
-
|
573
|
-
|
574
|
-
|
552
|
+
@media only screen and (min-width: @widescreenMonitorBreakpoint) {
|
553
|
+
& when (@variationTableOverflowingShort) {
|
554
|
+
.ui.overflowing.table.short {
|
555
|
+
max-height: @overflowingWidescreenMaxHeight * 0.75;
|
556
|
+
}
|
557
|
+
}
|
558
|
+
& when (@variationTableOverflowingVeryShort) {
|
559
|
+
.ui.overflowing.table[class*="very short"] {
|
560
|
+
max-height: @overflowingWidescreenMaxHeight * 0.5;
|
561
|
+
}
|
562
|
+
}
|
563
|
+
.ui.overflowing.table {
|
564
|
+
max-height: @overflowingWidescreenMaxHeight;
|
565
|
+
}
|
566
|
+
& when (@variationTableOverflowingLong) {
|
567
|
+
.ui.overflowing.table.long {
|
568
|
+
max-height: @overflowingWidescreenMaxHeight * 2;
|
569
|
+
}
|
570
|
+
}
|
571
|
+
& when (@variationTableOverflowingVeryLong) {
|
572
|
+
.ui.overflowing.table[class*="very long"] {
|
573
|
+
max-height: @overflowingWidescreenMaxHeight * 3;
|
574
|
+
}
|
575
|
+
}
|
575
576
|
}
|
576
|
-
}
|
577
577
|
}
|
578
578
|
|
579
|
-
|
580
579
|
/*******************************
|
581
580
|
Coupling
|
582
581
|
*******************************/
|
@@ -584,108 +583,112 @@
|
|
584
583
|
/* UI Image */
|
585
584
|
.ui.table .collapsing .image,
|
586
585
|
.ui.table .collapsing .image img {
|
587
|
-
|
586
|
+
max-width: none;
|
588
587
|
}
|
589
588
|
|
590
|
-
|
591
589
|
/*******************************
|
592
590
|
Types
|
593
591
|
*******************************/
|
594
592
|
|
595
|
-
|
593
|
+
/* --------------
|
596
594
|
Complex
|
597
|
-
|
595
|
+
--------------- */
|
598
596
|
& when (@variationTableStructured) {
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
|
620
|
-
|
621
|
-
|
622
|
-
|
623
|
-
|
624
|
-
|
625
|
-
|
626
|
-
|
627
|
-
|
628
|
-
|
629
|
-
|
630
|
-
|
631
|
-
|
597
|
+
.ui.structured.table {
|
598
|
+
border-collapse: collapse;
|
599
|
+
}
|
600
|
+
.ui.structured.table > thead > tr > th {
|
601
|
+
border-left: @headerDivider;
|
602
|
+
border-right: @headerDivider;
|
603
|
+
}
|
604
|
+
& when (@variationTableSortable) {
|
605
|
+
.ui.structured.sortable.table > thead > tr > th {
|
606
|
+
border-left: @sortableBorder;
|
607
|
+
border-right: @sortableBorder;
|
608
|
+
}
|
609
|
+
}
|
610
|
+
& when (@variationTableBasic) {
|
611
|
+
.ui.structured.basic.table > tr > th,
|
612
|
+
.ui.structured.basic.table > thead > tr > th,
|
613
|
+
.ui.structured.basic.table > tbody > tr > th,
|
614
|
+
.ui.structured.basic.table > tfoot > tr > th {
|
615
|
+
border-left: @basicTableHeaderDivider;
|
616
|
+
border-right: @basicTableHeaderDivider;
|
617
|
+
}
|
618
|
+
}
|
619
|
+
& when (@variationTableCelled) {
|
620
|
+
.ui.structured.celled.table > tr > th,
|
621
|
+
.ui.structured.celled.table > thead > tr > th,
|
622
|
+
.ui.structured.celled.table > tbody > tr > th,
|
623
|
+
.ui.structured.celled.table > tfoot > tr > th,
|
624
|
+
.ui.structured.celled.table > tr > td,
|
625
|
+
.ui.structured.celled.table > tbody > tr > td,
|
626
|
+
.ui.structured.celled.table > tfoot > tr > td {
|
627
|
+
border-left: @cellBorder;
|
628
|
+
border-right: @cellBorder;
|
629
|
+
}
|
630
|
+
}
|
632
631
|
}
|
633
632
|
|
634
633
|
& when (@variationTableDefinition) {
|
635
|
-
|
636
|
-
|
637
|
-
|
638
|
-
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
|
643
|
-
|
644
|
-
|
645
|
-
|
646
|
-
|
647
|
-
|
648
|
-
|
649
|
-
|
650
|
-
|
651
|
-
|
652
|
-
|
653
|
-
|
654
|
-
|
655
|
-
|
656
|
-
|
657
|
-
|
658
|
-
|
659
|
-
|
660
|
-
|
661
|
-
|
662
|
-
|
663
|
-
|
664
|
-
|
665
|
-
|
666
|
-
|
667
|
-
|
668
|
-
|
669
|
-
|
670
|
-
|
671
|
-
|
672
|
-
|
673
|
-
|
674
|
-
|
675
|
-
|
676
|
-
|
677
|
-
|
678
|
-
|
679
|
-
|
680
|
-
|
681
|
-
|
682
|
-
|
683
|
-
|
684
|
-
|
685
|
-
|
686
|
-
|
687
|
-
|
688
|
-
|
634
|
+
/* --------------
|
635
|
+
Definition
|
636
|
+
--------------- */
|
637
|
+
|
638
|
+
.ui.definition.table > thead:not(.full-width) > tr > th:first-child {
|
639
|
+
pointer-events: none;
|
640
|
+
background: @definitionHeaderBackground;
|
641
|
+
font-weight: @definitionHeaderFontWeight;
|
642
|
+
color: @definitionHeaderColor;
|
643
|
+
box-shadow: -@coloredBorderSizeCover -@coloredBorderSize 0 @coloredBorderSizeCover @definitionPageBackground;
|
644
|
+
// https://github.com/fomantic/Fomantic-UI/pull/884
|
645
|
+
// stylelint-disable-next-line property-no-vendor-prefix
|
646
|
+
-moz-transform: scale(1);
|
647
|
+
}
|
648
|
+
|
649
|
+
.ui.definition.table > thead:not(.full-width) > tr > th:first-child:not(:empty) {
|
650
|
+
pointer-events: auto;
|
651
|
+
}
|
652
|
+
|
653
|
+
.ui.definition.table > tfoot:not(.full-width) > tr > th:first-child {
|
654
|
+
pointer-events: none;
|
655
|
+
background: @definitionFooterBackground;
|
656
|
+
font-weight: @definitionFooterFontWeight;
|
657
|
+
color: @definitionFooterColor;
|
658
|
+
box-shadow: -@coloredBorderSizeCover @coloredBorderSize 0 @coloredBorderSizeCover @definitionPageBackground;
|
659
|
+
// https://github.com/fomantic/Fomantic-UI/pull/884
|
660
|
+
// stylelint-disable-next-line property-no-vendor-prefix
|
661
|
+
-moz-transform: scale(1);
|
662
|
+
}
|
663
|
+
|
664
|
+
/* Highlight Defining Column */
|
665
|
+
.ui.definition.table > tr > td:first-child:not(.ignored),
|
666
|
+
.ui.definition.table > tbody > tr > td:first-child:not(.ignored),
|
667
|
+
.ui.definition.table > tfoot > tr > td:first-child:not(.ignored),
|
668
|
+
.ui.definition.table tr td.definition {
|
669
|
+
background: @definitionColumnBackground;
|
670
|
+
font-weight: @definitionColumnFontWeight;
|
671
|
+
color: @definitionColumnColor;
|
672
|
+
text-transform: @definitionColumnTextTransform;
|
673
|
+
box-shadow: @definitionColumnBoxShadow;
|
674
|
+
text-align: @definitionColumnTextAlign;
|
675
|
+
font-size: @definitionColumnFontSize;
|
676
|
+
padding-left: @definitionColumnHorizontalPadding;
|
677
|
+
padding-right: @definitionColumnHorizontalPadding;
|
678
|
+
}
|
679
|
+
|
680
|
+
/* Fix 2nd Column */
|
681
|
+
.ui.definition.table > thead:not(.full-width) > tr > th:nth-child(2) {
|
682
|
+
border-left: @borderWidth solid @borderColor;
|
683
|
+
}
|
684
|
+
.ui.definition.table > tfoot:not(.full-width) > tr > th:nth-child(2),
|
685
|
+
.ui.definition.table > tfoot:not(.full-width) > tr > td:nth-child(2) {
|
686
|
+
border-left: @borderWidth solid @borderColor;
|
687
|
+
}
|
688
|
+
.ui.definition.table > tr > td:nth-child(2),
|
689
|
+
.ui.definition.table > tbody > tr > td:nth-child(2) {
|
690
|
+
border-left: @borderWidth solid @borderColor;
|
691
|
+
}
|
689
692
|
}
|
690
693
|
|
691
694
|
/*******************************
|
@@ -693,1244 +696,1237 @@
|
|
693
696
|
*******************************/
|
694
697
|
|
695
698
|
& when (@variationTablePositive) {
|
696
|
-
|
697
|
-
|
698
|
-
|
699
|
-
|
700
|
-
|
701
|
-
|
702
|
-
|
703
|
-
|
704
|
-
|
705
|
-
|
706
|
-
|
707
|
-
|
708
|
-
|
709
|
-
|
710
|
-
|
711
|
-
|
712
|
-
|
699
|
+
/* --------------
|
700
|
+
Positive
|
701
|
+
--------------- */
|
702
|
+
|
703
|
+
.ui.ui.ui.ui.table tr.positive,
|
704
|
+
.ui.ui.table td.positive {
|
705
|
+
box-shadow: @positiveBoxShadow;
|
706
|
+
background: @positiveBackgroundColor;
|
707
|
+
color: @positiveColor;
|
708
|
+
}
|
709
|
+
& when (@variationTableInverted) {
|
710
|
+
.ui.ui.ui.ui.inverted.table tr.positive,
|
711
|
+
.ui.ui.inverted.table td.positive {
|
712
|
+
background: @invertedPositiveBackgroundColor;
|
713
|
+
color: @invertedPositiveColor;
|
714
|
+
}
|
715
|
+
}
|
713
716
|
}
|
714
717
|
|
715
718
|
& when (@variationTableNegative) {
|
716
|
-
|
717
|
-
|
718
|
-
|
719
|
-
|
720
|
-
|
721
|
-
|
722
|
-
|
723
|
-
|
724
|
-
|
725
|
-
|
726
|
-
|
727
|
-
|
728
|
-
|
729
|
-
|
730
|
-
|
731
|
-
|
732
|
-
|
719
|
+
/* --------------
|
720
|
+
Negative
|
721
|
+
--------------- */
|
722
|
+
|
723
|
+
.ui.ui.ui.ui.table tr.negative,
|
724
|
+
.ui.ui.table td.negative {
|
725
|
+
box-shadow: @negativeBoxShadow;
|
726
|
+
background: @negativeBackgroundColor;
|
727
|
+
color: @negativeColor;
|
728
|
+
}
|
729
|
+
& when (@variationTableInverted) {
|
730
|
+
.ui.ui.ui.ui.inverted.table tr.negative,
|
731
|
+
.ui.ui.inverted.table td.negative {
|
732
|
+
background: @invertedNegativeBackgroundColor;
|
733
|
+
color: @invertedNegativeColor;
|
734
|
+
}
|
735
|
+
}
|
733
736
|
}
|
734
737
|
|
735
738
|
& when (@variationTableError) {
|
736
|
-
|
737
|
-
|
738
|
-
|
739
|
-
|
740
|
-
|
741
|
-
|
742
|
-
|
743
|
-
|
744
|
-
|
745
|
-
|
746
|
-
|
747
|
-
|
748
|
-
|
749
|
-
|
750
|
-
|
751
|
-
|
752
|
-
|
739
|
+
/* --------------
|
740
|
+
Error
|
741
|
+
--------------- */
|
742
|
+
|
743
|
+
.ui.ui.ui.ui.table tr.error,
|
744
|
+
.ui.ui.table td.error {
|
745
|
+
box-shadow: @errorBoxShadow;
|
746
|
+
background: @errorBackgroundColor;
|
747
|
+
color: @errorColor;
|
748
|
+
}
|
749
|
+
& when (@variationTableInverted) {
|
750
|
+
.ui.ui.ui.ui.inverted.table tr.error,
|
751
|
+
.ui.ui.inverted.table td.error {
|
752
|
+
background: @invertedErrorBackgroundColor;
|
753
|
+
color: @invertedErrorColor;
|
754
|
+
}
|
755
|
+
}
|
753
756
|
}
|
754
757
|
|
755
758
|
& when (@variationTableWarning) {
|
756
|
-
|
757
|
-
|
758
|
-
|
759
|
-
|
760
|
-
|
761
|
-
|
762
|
-
|
763
|
-
|
764
|
-
|
765
|
-
|
766
|
-
|
767
|
-
|
768
|
-
|
769
|
-
|
770
|
-
|
771
|
-
|
772
|
-
|
759
|
+
/* --------------
|
760
|
+
Warning
|
761
|
+
--------------- */
|
762
|
+
|
763
|
+
.ui.ui.ui.ui.table tr.warning,
|
764
|
+
.ui.ui.table td.warning {
|
765
|
+
box-shadow: @warningBoxShadow;
|
766
|
+
background: @warningBackgroundColor;
|
767
|
+
color: @warningColor;
|
768
|
+
}
|
769
|
+
& when (@variationTableInverted) {
|
770
|
+
.ui.ui.ui.ui.inverted.table tr.warning,
|
771
|
+
.ui.ui.inverted.table td.warning {
|
772
|
+
background: @invertedWarningBackgroundColor;
|
773
|
+
color: @invertedWarningColor;
|
774
|
+
}
|
775
|
+
}
|
773
776
|
}
|
774
777
|
|
775
778
|
& when (@variationTableActive) {
|
776
|
-
|
777
|
-
|
778
|
-
|
779
|
-
|
780
|
-
.ui.ui.ui.ui.table tr.active,
|
781
|
-
.ui.ui.table td.active {
|
782
|
-
box-shadow: @activeBoxShadow;
|
783
|
-
background: @activeBackgroundColor;
|
784
|
-
color: @activeColor;
|
785
|
-
}
|
786
|
-
& when (@variationTableInverted) {
|
787
|
-
.ui.ui.ui.ui.inverted.table tr.active,
|
788
|
-
.ui.ui.inverted.table td.active {
|
789
|
-
background: @invertedActiveBackgroundColor;
|
790
|
-
color: @invertedActiveColor;
|
791
|
-
}
|
792
|
-
}
|
793
|
-
}
|
779
|
+
/* --------------
|
780
|
+
Active
|
781
|
+
--------------- */
|
794
782
|
|
783
|
+
.ui.ui.ui.ui.table tr.active,
|
784
|
+
.ui.ui.table td.active {
|
785
|
+
box-shadow: @activeBoxShadow;
|
786
|
+
background: @activeBackgroundColor;
|
787
|
+
color: @activeColor;
|
788
|
+
}
|
789
|
+
& when (@variationTableInverted) {
|
790
|
+
.ui.ui.ui.ui.inverted.table tr.active,
|
791
|
+
.ui.ui.inverted.table td.active {
|
792
|
+
background: @invertedActiveBackgroundColor;
|
793
|
+
color: @invertedActiveColor;
|
794
|
+
}
|
795
|
+
}
|
796
|
+
}
|
795
797
|
|
796
798
|
& when (@variationTableDisabled) {
|
797
|
-
|
798
|
-
|
799
|
-
|
800
|
-
|
801
|
-
|
802
|
-
|
803
|
-
|
804
|
-
|
805
|
-
|
806
|
-
|
807
|
-
|
799
|
+
/* --------------
|
800
|
+
Disabled
|
801
|
+
--------------- */
|
802
|
+
|
803
|
+
.ui.ui.ui.table tr.disabled td,
|
804
|
+
.ui.ui.ui.table tr td.disabled,
|
805
|
+
.ui.table tr.disabled:hover,
|
806
|
+
.ui.table tr:hover td.disabled {
|
807
|
+
pointer-events: none;
|
808
|
+
color: @disabledTextColor;
|
809
|
+
}
|
808
810
|
}
|
809
811
|
|
810
812
|
/*******************************
|
811
813
|
Variations
|
812
814
|
*******************************/
|
813
815
|
& when (@variationTableStackable) {
|
814
|
-
|
815
|
-
|
816
|
-
|
817
|
-
|
818
|
-
|
819
|
-
|
820
|
-
|
821
|
-
|
822
|
-
|
823
|
-
|
824
|
-
|
825
|
-
|
826
|
-
|
827
|
-
|
828
|
-
|
829
|
-
|
830
|
-
|
831
|
-
|
832
|
-
|
833
|
-
|
834
|
-
|
835
|
-
|
836
|
-
|
837
|
-
|
838
|
-
|
839
|
-
|
840
|
-
|
841
|
-
|
842
|
-
|
843
|
-
|
844
|
-
|
845
|
-
|
846
|
-
|
847
|
-
|
848
|
-
|
849
|
-
|
850
|
-
|
851
|
-
|
852
|
-
|
853
|
-
|
854
|
-
|
855
|
-
|
856
|
-
|
857
|
-
|
858
|
-
|
859
|
-
|
860
|
-
|
861
|
-
|
862
|
-
|
863
|
-
|
864
|
-
|
865
|
-
|
866
|
-
|
816
|
+
/* --------------
|
817
|
+
Stackable
|
818
|
+
--------------- */
|
819
|
+
|
820
|
+
@media only screen and (max-width: @largestTabletScreen) {
|
821
|
+
.ui[class*="tablet stackable"].table,
|
822
|
+
.ui[class*="tablet stackable"].table > thead,
|
823
|
+
.ui[class*="tablet stackable"].table > thead > tr,
|
824
|
+
.ui[class*="tablet stackable"].table > tfoot,
|
825
|
+
.ui[class*="tablet stackable"].table > tfoot > tr,
|
826
|
+
.ui[class*="tablet stackable"].table > tbody,
|
827
|
+
.ui[class*="tablet stackable"].table > tbody > tr,
|
828
|
+
.ui[class*="tablet stackable"].table > tr,
|
829
|
+
.ui[class*="tablet stackable"].table > thead > tr > th:not(.rowspanned),
|
830
|
+
.ui[class*="tablet stackable"].table > tbody > tr > th:not(.rowspanned),
|
831
|
+
.ui[class*="tablet stackable"].table > tfoot > tr > th:not(.rowspanned),
|
832
|
+
.ui[class*="tablet stackable"].table > tr > th:not(.rowspanned),
|
833
|
+
.ui[class*="tablet stackable"].table > tbody > tr > td:not(.rowspanned),
|
834
|
+
.ui[class*="tablet stackable"].table > tfoot > tr > td:not(.rowspanned),
|
835
|
+
.ui[class*="tablet stackable"].table > tr > td:not(.rowspanned) {
|
836
|
+
display: block !important;
|
837
|
+
width: 100% !important;
|
838
|
+
}
|
839
|
+
|
840
|
+
.ui[class*="tablet stackable"].table {
|
841
|
+
padding: 0;
|
842
|
+
}
|
843
|
+
.ui[class*="tablet stackable"].table > thead {
|
844
|
+
display: @responsiveHeaderDisplay;
|
845
|
+
}
|
846
|
+
.ui[class*="tablet stackable"].table > tfoot {
|
847
|
+
display: @responsiveFooterDisplay;
|
848
|
+
}
|
849
|
+
.ui.ui.ui.ui[class*="tablet stackable"].table > thead > tr,
|
850
|
+
.ui.ui.ui.ui[class*="tablet stackable"].table > tbody > tr,
|
851
|
+
.ui.ui.ui.ui[class*="tablet stackable"].table > tfoot > tr,
|
852
|
+
.ui.ui.ui.ui[class*="tablet stackable"].table > tr {
|
853
|
+
padding-top: @responsiveRowVerticalPadding;
|
854
|
+
padding-bottom: @responsiveRowVerticalPadding;
|
855
|
+
box-shadow: @responsiveRowBoxShadow;
|
856
|
+
}
|
857
|
+
.ui[class*="tablet stackable"].table > thead > tr > th,
|
858
|
+
.ui[class*="tablet stackable"].table > tbody > tr > th,
|
859
|
+
.ui[class*="tablet stackable"].table > tfoot > tr > th,
|
860
|
+
.ui[class*="tablet stackable"].table > tr > th,
|
861
|
+
.ui[class*="tablet stackable"].table > tbody > tr > td,
|
862
|
+
.ui[class*="tablet stackable"].table > tfoot > tr > td,
|
863
|
+
.ui[class*="tablet stackable"].table > tr > td {
|
864
|
+
background: none;
|
865
|
+
border: none !important;
|
866
|
+
padding: @responsiveCellVerticalPadding @responsiveCellHorizontalPadding;
|
867
|
+
box-shadow: @responsiveCellBoxShadow;
|
868
|
+
}
|
869
|
+
& when (@variationTableDefinition) {
|
870
|
+
/* Definition Table */
|
871
|
+
.ui.definition[class*="tablet stackable"].table > thead > tr > th:first-child {
|
872
|
+
box-shadow: none !important;
|
873
|
+
}
|
874
|
+
}
|
867
875
|
}
|
868
|
-
& when (@
|
869
|
-
|
870
|
-
|
871
|
-
|
872
|
-
|
876
|
+
& when (@variationTableMarked) and not (@variationTableColors = false) {
|
877
|
+
each(@variationTableColors, {
|
878
|
+
@color: @value;
|
879
|
+
@c: @colors[@@color][color];
|
880
|
+
@l: @colors[@@color][light];
|
881
|
+
.ui.ui.ui.ui[class*="tablet stackable"].table tr[class*="@{color} marked"] {
|
882
|
+
&.left {
|
883
|
+
box-shadow: @responsiveRowBoxShadow, @coloredBorderSize 0 0 0 @c inset;
|
884
|
+
}
|
885
|
+
&.right {
|
886
|
+
box-shadow: @responsiveRowBoxShadow, -@coloredBorderSize 0 0 0 @c inset;
|
887
|
+
}
|
888
|
+
}
|
889
|
+
& when (@variationTableInverted) {
|
890
|
+
.ui.ui.ui.ui[class*="tablet stackable"].inverted.table tr[class*="@{color} marked"] {
|
891
|
+
&.left {
|
892
|
+
box-shadow: @responsiveRowBoxShadow, @coloredBorderSize 0 0 0 @l inset;
|
893
|
+
}
|
894
|
+
&.right {
|
895
|
+
box-shadow: @responsiveRowBoxShadow, -@coloredBorderSize 0 0 0 @l inset;
|
896
|
+
}
|
897
|
+
}
|
898
|
+
}
|
899
|
+
});
|
873
900
|
}
|
874
|
-
}
|
875
|
-
& when (@variationTableMarked) and not (@variationTableColors = false) {
|
876
|
-
each(@variationTableColors, {
|
877
|
-
@color: @value;
|
878
|
-
@c: @colors[@@color][color];
|
879
|
-
@l: @colors[@@color][light];
|
880
|
-
.ui.ui.ui.ui[class*="tablet stackable"].table tr[class*="@{color} marked"] {
|
881
|
-
&.left {
|
882
|
-
box-shadow: @responsiveRowBoxShadow, @coloredBorderSize 0 0 0 @c inset;
|
883
|
-
}
|
884
|
-
&.right {
|
885
|
-
box-shadow: @responsiveRowBoxShadow, -@coloredBorderSize 0 0 0 @c inset;
|
886
|
-
}
|
887
|
-
}
|
888
|
-
& when (@variationTableInverted) {
|
889
|
-
.ui.ui.ui.ui[class*="tablet stackable"].inverted.table tr[class*="@{color} marked"] {
|
890
|
-
&.left {
|
891
|
-
box-shadow: @responsiveRowBoxShadow, @coloredBorderSize 0 0 0 @l inset;
|
892
|
-
}
|
893
|
-
&.right {
|
894
|
-
box-shadow: @responsiveRowBoxShadow, -@coloredBorderSize 0 0 0 @l inset;
|
895
|
-
}
|
896
|
-
}
|
897
|
-
}
|
898
|
-
})
|
899
|
-
}
|
900
901
|
}
|
901
902
|
|
902
903
|
& when (@variationTableAligned) {
|
903
|
-
|
904
|
-
|
905
|
-
|
906
|
-
|
907
|
-
|
908
|
-
|
909
|
-
|
910
|
-
|
911
|
-
|
912
|
-
|
913
|
-
|
914
|
-
|
915
|
-
|
916
|
-
|
917
|
-
|
918
|
-
|
919
|
-
|
920
|
-
|
921
|
-
|
922
|
-
|
923
|
-
|
924
|
-
|
925
|
-
|
926
|
-
|
927
|
-
|
928
|
-
|
929
|
-
|
930
|
-
|
931
|
-
|
932
|
-
|
933
|
-
|
934
|
-
|
935
|
-
|
904
|
+
/* --------------
|
905
|
+
Text Alignment
|
906
|
+
--------------- */
|
907
|
+
|
908
|
+
.ui.table[class*="left aligned"],
|
909
|
+
.ui.table [class*="left aligned"] {
|
910
|
+
text-align: left;
|
911
|
+
}
|
912
|
+
.ui.table[class*="center aligned"],
|
913
|
+
.ui.table [class*="center aligned"] {
|
914
|
+
text-align: center;
|
915
|
+
}
|
916
|
+
.ui.table[class*="right aligned"],
|
917
|
+
.ui.table [class*="right aligned"] {
|
918
|
+
text-align: right;
|
919
|
+
}
|
920
|
+
|
921
|
+
/* ------------------
|
922
|
+
Vertical Alignment
|
923
|
+
------------------ */
|
924
|
+
|
925
|
+
.ui.table[class*="top aligned"],
|
926
|
+
.ui.table [class*="top aligned"] {
|
927
|
+
vertical-align: top;
|
928
|
+
}
|
929
|
+
.ui.table[class*="middle aligned"],
|
930
|
+
.ui.table [class*="middle aligned"] {
|
931
|
+
vertical-align: middle;
|
932
|
+
}
|
933
|
+
.ui.table[class*="bottom aligned"],
|
934
|
+
.ui.table [class*="bottom aligned"] {
|
935
|
+
vertical-align: bottom;
|
936
|
+
}
|
936
937
|
}
|
937
938
|
|
938
939
|
& when (@variationTableCollapsing) {
|
939
|
-
|
940
|
-
|
941
|
-
|
940
|
+
/* --------------
|
941
|
+
Collapsing
|
942
|
+
--------------- */
|
942
943
|
|
943
|
-
|
944
|
-
|
945
|
-
|
946
|
-
|
947
|
-
|
944
|
+
.ui.table th.collapsing,
|
945
|
+
.ui.table td.collapsing {
|
946
|
+
width: 1px;
|
947
|
+
white-space: nowrap;
|
948
|
+
}
|
948
949
|
}
|
949
950
|
|
950
951
|
& when (@variationTableFixed) {
|
951
|
-
|
952
|
-
|
953
|
-
|
954
|
-
|
955
|
-
.ui.fixed.table {
|
956
|
-
table-layout: fixed;
|
957
|
-
}
|
958
|
-
|
959
|
-
.ui.fixed.table th,
|
960
|
-
.ui.fixed.table td {
|
961
|
-
overflow: hidden;
|
962
|
-
text-overflow: ellipsis;
|
963
|
-
}
|
964
|
-
}
|
952
|
+
/* --------------
|
953
|
+
Fixed
|
954
|
+
--------------- */
|
965
955
|
|
956
|
+
.ui.fixed.table {
|
957
|
+
table-layout: fixed;
|
958
|
+
}
|
966
959
|
|
967
|
-
|
968
|
-
|
969
|
-
|
970
|
-
|
971
|
-
|
972
|
-
.ui.ui.selectable.table > tbody > tr:hover,
|
973
|
-
.ui.table tbody tr td.selectable:hover {
|
974
|
-
background: @selectableBackground;
|
975
|
-
color: @selectableTextColor;
|
976
|
-
}
|
977
|
-
& when (@variationTableInverted) {
|
978
|
-
.ui.ui.selectable.inverted.table > tbody > tr:hover,
|
979
|
-
.ui.inverted.table tbody tr td.selectable:hover {
|
980
|
-
background: @selectableInvertedBackground;
|
981
|
-
color: @selectableInvertedTextColor;
|
982
|
-
}
|
983
|
-
}
|
984
|
-
/* Selectable Cell Link */
|
985
|
-
.ui.table tbody tr td.selectable {
|
986
|
-
padding: 0;
|
987
|
-
}
|
988
|
-
.ui.table tbody tr td.selectable > a:not(.ui) {
|
989
|
-
display: block;
|
990
|
-
color: inherit;
|
991
|
-
}
|
992
|
-
.ui.table:not(.compact) tbody tr td.selectable > a:not(.ui) {
|
993
|
-
padding: @cellVerticalPadding @cellHorizontalPadding;
|
994
|
-
}
|
995
|
-
.ui.table > tr > td.selectable,
|
996
|
-
.ui.table > tbody > tr > td.selectable,
|
997
|
-
.ui.selectable.table > tbody > tr,
|
998
|
-
.ui.selectable.table > tr {
|
999
|
-
cursor:pointer;
|
1000
|
-
}
|
1001
|
-
& when (@variationTableError) {
|
1002
|
-
/* Other States */
|
1003
|
-
.ui.ui.selectable.table tr.error:hover,
|
1004
|
-
.ui.table tr td.selectable.error:hover,
|
1005
|
-
.ui.selectable.table tr:hover td.error {
|
1006
|
-
background: @errorBackgroundHover;
|
1007
|
-
color: @errorColorHover;
|
1008
|
-
}
|
1009
|
-
}
|
1010
|
-
& when (@variationTableWarning) {
|
1011
|
-
.ui.ui.selectable.table tr.warning:hover,
|
1012
|
-
.ui.table tr td.selectable.warning:hover,
|
1013
|
-
.ui.selectable.table tr:hover td.warning {
|
1014
|
-
background: @warningBackgroundHover;
|
1015
|
-
color: @warningColorHover;
|
1016
|
-
}
|
1017
|
-
}
|
1018
|
-
& when (@variationTableActive) {
|
1019
|
-
.ui.ui.selectable.table tr.active:hover,
|
1020
|
-
.ui.table tr td.selectable.active:hover,
|
1021
|
-
.ui.selectable.table tr:hover td.active {
|
1022
|
-
background: @activeBackgroundColor;
|
1023
|
-
color: @activeColor;
|
1024
|
-
}
|
1025
|
-
}
|
1026
|
-
& when (@variationTablePositive) {
|
1027
|
-
.ui.ui.selectable.table tr.positive:hover,
|
1028
|
-
.ui.table tr td.selectable.positive:hover,
|
1029
|
-
.ui.selectable.table tr:hover td.positive {
|
1030
|
-
background: @positiveBackgroundHover;
|
1031
|
-
color: @positiveColorHover;
|
1032
|
-
}
|
1033
|
-
}
|
1034
|
-
& when (@variationTableNegative) {
|
1035
|
-
.ui.ui.selectable.table tr.negative:hover,
|
1036
|
-
.ui.table tr td.selectable.negative:hover,
|
1037
|
-
.ui.selectable.table tr:hover td.negative {
|
1038
|
-
background: @negativeBackgroundHover;
|
1039
|
-
color: @negativeColorHover;
|
1040
|
-
}
|
1041
|
-
}
|
960
|
+
.ui.fixed.table th,
|
961
|
+
.ui.fixed.table td {
|
962
|
+
overflow: hidden;
|
963
|
+
text-overflow: ellipsis;
|
964
|
+
}
|
1042
965
|
}
|
1043
966
|
|
967
|
+
& when (@variationTableSelectable) {
|
968
|
+
/* --------------
|
969
|
+
Selectable
|
970
|
+
--------------- */
|
1044
971
|
|
1045
|
-
|
1046
|
-
|
1047
|
-
|
1048
|
-
|
1049
|
-
|
1050
|
-
|
1051
|
-
|
1052
|
-
|
1053
|
-
|
1054
|
-
|
1055
|
-
|
1056
|
-
|
1057
|
-
max-width: @attachedWidth;
|
1058
|
-
box-shadow: @attachedBoxShadow;
|
1059
|
-
border: @attachedBorder;
|
1060
|
-
}
|
1061
|
-
.ui.attached + .ui.attached.table:not(.top) {
|
1062
|
-
border-top: none;
|
1063
|
-
}
|
972
|
+
.ui.ui.selectable.table > tbody > tr:hover,
|
973
|
+
.ui.table tbody tr td.selectable:hover {
|
974
|
+
background: @selectableBackground;
|
975
|
+
color: @selectableTextColor;
|
976
|
+
}
|
977
|
+
& when (@variationTableInverted) {
|
978
|
+
.ui.ui.selectable.inverted.table > tbody > tr:hover,
|
979
|
+
.ui.inverted.table tbody tr td.selectable:hover {
|
980
|
+
background: @selectableInvertedBackground;
|
981
|
+
color: @selectableInvertedTextColor;
|
982
|
+
}
|
983
|
+
}
|
1064
984
|
|
1065
|
-
|
1066
|
-
|
1067
|
-
|
1068
|
-
|
1069
|
-
|
1070
|
-
|
1071
|
-
|
1072
|
-
|
1073
|
-
|
1074
|
-
|
1075
|
-
|
985
|
+
/* Selectable Cell Link */
|
986
|
+
.ui.table tbody tr td.selectable {
|
987
|
+
padding: 0;
|
988
|
+
}
|
989
|
+
.ui.table tbody tr td.selectable > a:not(.ui) {
|
990
|
+
display: block;
|
991
|
+
color: inherit;
|
992
|
+
}
|
993
|
+
.ui.table:not(.compact) tbody tr td.selectable > a:not(.ui) {
|
994
|
+
padding: @cellVerticalPadding @cellHorizontalPadding;
|
995
|
+
}
|
996
|
+
.ui.table > tr > td.selectable,
|
997
|
+
.ui.table > tbody > tr > td.selectable,
|
998
|
+
.ui.selectable.table > tbody > tr,
|
999
|
+
.ui.selectable.table > tr {
|
1000
|
+
cursor: pointer;
|
1001
|
+
}
|
1002
|
+
& when (@variationTableError) {
|
1003
|
+
/* Other States */
|
1004
|
+
.ui.ui.selectable.table tr.error:hover,
|
1005
|
+
.ui.table tr td.selectable.error:hover,
|
1006
|
+
.ui.selectable.table tr:hover td.error {
|
1007
|
+
background: @errorBackgroundHover;
|
1008
|
+
color: @errorColorHover;
|
1009
|
+
}
|
1010
|
+
}
|
1011
|
+
& when (@variationTableWarning) {
|
1012
|
+
.ui.ui.selectable.table tr.warning:hover,
|
1013
|
+
.ui.table tr td.selectable.warning:hover,
|
1014
|
+
.ui.selectable.table tr:hover td.warning {
|
1015
|
+
background: @warningBackgroundHover;
|
1016
|
+
color: @warningColorHover;
|
1017
|
+
}
|
1018
|
+
}
|
1019
|
+
& when (@variationTableActive) {
|
1020
|
+
.ui.ui.selectable.table tr.active:hover,
|
1021
|
+
.ui.table tr td.selectable.active:hover,
|
1022
|
+
.ui.selectable.table tr:hover td.active {
|
1023
|
+
background: @activeBackgroundColor;
|
1024
|
+
color: @activeColor;
|
1025
|
+
}
|
1026
|
+
}
|
1027
|
+
& when (@variationTablePositive) {
|
1028
|
+
.ui.ui.selectable.table tr.positive:hover,
|
1029
|
+
.ui.table tr td.selectable.positive:hover,
|
1030
|
+
.ui.selectable.table tr:hover td.positive {
|
1031
|
+
background: @positiveBackgroundHover;
|
1032
|
+
color: @positiveColorHover;
|
1033
|
+
}
|
1034
|
+
}
|
1035
|
+
& when (@variationTableNegative) {
|
1036
|
+
.ui.ui.selectable.table tr.negative:hover,
|
1037
|
+
.ui.table tr td.selectable.negative:hover,
|
1038
|
+
.ui.selectable.table tr:hover td.negative {
|
1039
|
+
background: @negativeBackgroundHover;
|
1040
|
+
color: @negativeColorHover;
|
1041
|
+
}
|
1042
|
+
}
|
1043
|
+
}
|
1076
1044
|
|
1077
|
-
|
1078
|
-
|
1079
|
-
|
1080
|
-
|
1081
|
-
|
1082
|
-
|
1083
|
-
|
1084
|
-
|
1085
|
-
|
1086
|
-
|
1087
|
-
|
1088
|
-
|
1045
|
+
& when (@variationTableAttached) {
|
1046
|
+
/* -------------------
|
1047
|
+
Attached
|
1048
|
+
-------------------- */
|
1049
|
+
|
1050
|
+
/* Middle */
|
1051
|
+
.ui.attached.table {
|
1052
|
+
top: 0;
|
1053
|
+
bottom: 0;
|
1054
|
+
border-radius: 0;
|
1055
|
+
margin: 0 @attachedHorizontalOffset;
|
1056
|
+
width: @attachedWidth;
|
1057
|
+
max-width: @attachedWidth;
|
1058
|
+
box-shadow: @attachedBoxShadow;
|
1059
|
+
border: @attachedBorder;
|
1060
|
+
}
|
1061
|
+
.ui.attached + .ui.attached.table:not(.top) {
|
1062
|
+
border-top: none;
|
1063
|
+
}
|
1064
|
+
|
1065
|
+
/* Top */
|
1066
|
+
.ui[class*="top attached"].table {
|
1067
|
+
bottom: 0;
|
1068
|
+
margin-bottom: 0;
|
1069
|
+
top: @attachedTopOffset;
|
1070
|
+
margin-top: @verticalMargin;
|
1071
|
+
border-radius: @borderRadius @borderRadius 0 0;
|
1072
|
+
}
|
1073
|
+
.ui.table[class*="top attached"]:first-child {
|
1074
|
+
margin-top: 0;
|
1075
|
+
}
|
1076
|
+
|
1077
|
+
/* Bottom */
|
1078
|
+
.ui[class*="bottom attached"].table {
|
1079
|
+
bottom: 0;
|
1080
|
+
margin-top: 0;
|
1081
|
+
top: @attachedBottomOffset;
|
1082
|
+
margin-bottom: @verticalMargin;
|
1083
|
+
box-shadow: @attachedBottomBoxShadow;
|
1084
|
+
border-radius: 0 0 @borderRadius @borderRadius;
|
1085
|
+
}
|
1086
|
+
.ui[class*="bottom attached"].table:last-child {
|
1087
|
+
margin-bottom: 0;
|
1088
|
+
}
|
1089
1089
|
}
|
1090
1090
|
|
1091
1091
|
& when (@variationTableStriped) {
|
1092
|
-
|
1093
|
-
|
1094
|
-
|
1095
|
-
|
1096
|
-
|
1097
|
-
|
1098
|
-
|
1099
|
-
|
1100
|
-
|
1101
|
-
|
1102
|
-
|
1103
|
-
|
1104
|
-
|
1105
|
-
|
1106
|
-
|
1107
|
-
|
1108
|
-
|
1109
|
-
|
1110
|
-
|
1111
|
-
|
1112
|
-
|
1113
|
-
|
1114
|
-
|
1092
|
+
/* --------------
|
1093
|
+
Striped
|
1094
|
+
--------------- */
|
1095
|
+
|
1096
|
+
/* Table Striping */
|
1097
|
+
.ui.striped.table > tr:nth-child(2n),
|
1098
|
+
.ui.striped.table > tbody > tr:nth-child(2n) {
|
1099
|
+
background-color: @stripedBackground;
|
1100
|
+
}
|
1101
|
+
& when (@variationTableInverted) {
|
1102
|
+
/* Stripes */
|
1103
|
+
.ui.inverted.striped.table > tr:nth-child(2n),
|
1104
|
+
.ui.inverted.striped.table > tbody > tr:nth-child(2n) {
|
1105
|
+
background-color: @invertedStripedBackground;
|
1106
|
+
}
|
1107
|
+
}
|
1108
|
+
& when (@variationTableSelectable) {
|
1109
|
+
/* Allow striped active hover */
|
1110
|
+
.ui.striped.selectable.selectable.selectable.table tbody tr.active:hover {
|
1111
|
+
background: @activeBackgroundHover;
|
1112
|
+
color: @activeColorHover;
|
1113
|
+
}
|
1114
|
+
}
|
1115
1115
|
}
|
1116
1116
|
|
1117
|
-
|
1117
|
+
/* --------------
|
1118
1118
|
Single Line
|
1119
|
-
|
1119
|
+
--------------- */
|
1120
1120
|
|
1121
1121
|
.ui.table[class*="single line"],
|
1122
1122
|
.ui.table [class*="single line"] {
|
1123
|
-
|
1123
|
+
white-space: nowrap;
|
1124
1124
|
}
|
1125
1125
|
|
1126
|
-
|
1126
|
+
/* -------------------
|
1127
1127
|
Colors
|
1128
|
-
|
1128
|
+
-------------------- */
|
1129
1129
|
& when not (@variationTableColors = false) {
|
1130
|
-
|
1131
|
-
|
1132
|
-
|
1133
|
-
|
1134
|
-
|
1135
|
-
|
1136
|
-
|
1137
|
-
|
1138
|
-
|
1139
|
-
|
1140
|
-
|
1141
|
-
|
1142
|
-
|
1143
|
-
|
1144
|
-
|
1145
|
-
|
1146
|
-
|
1147
|
-
|
1148
|
-
|
1149
|
-
|
1150
|
-
|
1151
|
-
|
1152
|
-
|
1153
|
-
|
1154
|
-
|
1155
|
-
|
1156
|
-
|
1157
|
-
|
1158
|
-
|
1159
|
-
|
1160
|
-
|
1161
|
-
|
1162
|
-
|
1163
|
-
|
1164
|
-
|
1165
|
-
|
1166
|
-
|
1167
|
-
|
1168
|
-
|
1169
|
-
|
1170
|
-
|
1171
|
-
|
1172
|
-
|
1173
|
-
|
1174
|
-
|
1175
|
-
|
1176
|
-
|
1177
|
-
|
1178
|
-
|
1179
|
-
|
1180
|
-
|
1181
|
-
|
1130
|
+
each(@variationTableColors, {
|
1131
|
+
@color: @value;
|
1132
|
+
@c: @colors[@@color][color];
|
1133
|
+
@t: @colors[@@color][text];
|
1134
|
+
@ht: @colors[@@color][hoverText];
|
1135
|
+
@l: @colors[@@color][light];
|
1136
|
+
@lh: @colors[@@color][lightHover];
|
1137
|
+
@r: @colors[@@color][ribbon];
|
1138
|
+
@b: @colors[@@color][bright];
|
1139
|
+
@bh: @colors[@@color][brightHover];
|
1140
|
+
@isDark: @colors[@@color][isDark];
|
1141
|
+
@isVeryDark: @colors[@@color][isVeryDark];
|
1142
|
+
|
1143
|
+
.ui.@{color}.table {
|
1144
|
+
border-top: @coloredBorderSize solid @c;
|
1145
|
+
}
|
1146
|
+
& when (@variationTableInverted) {
|
1147
|
+
.ui.inverted.@{color}.table {
|
1148
|
+
background: @c;
|
1149
|
+
color: @white;
|
1150
|
+
}
|
1151
|
+
}
|
1152
|
+
/* Same color for background and color to camouflage the scrollbar */
|
1153
|
+
& when (@variationTableScrolling) {
|
1154
|
+
.ui.scrolling.table > thead.@{color},
|
1155
|
+
.ui.scrolling.table > tfoot.@{color} {
|
1156
|
+
& when (@isDark) {
|
1157
|
+
background: @l;
|
1158
|
+
color: @l;
|
1159
|
+
}
|
1160
|
+
& when not (@isDark) {
|
1161
|
+
background: @b;
|
1162
|
+
color: @b;
|
1163
|
+
}
|
1164
|
+
& > tr > th,
|
1165
|
+
> tr > td {
|
1166
|
+
background: inherit;
|
1167
|
+
& when (@isVeryDark) {
|
1168
|
+
color: @white;
|
1169
|
+
}
|
1170
|
+
& when not (@isVeryDark) {
|
1171
|
+
color: @t;
|
1172
|
+
}
|
1173
|
+
}
|
1174
|
+
}
|
1175
|
+
& when (@variationTableInverted) {
|
1176
|
+
.ui.inverted.scrolling.table > thead.@{color},
|
1177
|
+
.ui.inverted.scrolling.table > tfoot.@{color} {
|
1178
|
+
background: @c;
|
1179
|
+
color: @c;
|
1180
|
+
& > tr > th,
|
1181
|
+
> tr > td {
|
1182
|
+
background: inherit;
|
1183
|
+
color: @white;
|
1184
|
+
}
|
1185
|
+
}
|
1186
|
+
}
|
1187
|
+
}
|
1188
|
+
.ui.ui.ui.ui.table tr[class*="@{color} colored"],
|
1189
|
+
.ui.ui.table th[class*="@{color} colored"],
|
1190
|
+
.ui.ui.table td[class*="@{color} colored"],
|
1191
|
+
.ui.ui.ui.ui.table tr.@{color}:not(.marked),
|
1192
|
+
.ui.ui.table th.@{color}:not(.marked),
|
1193
|
+
.ui.ui.table td.@{color}:not(.marked) {
|
1194
|
+
& when (@stateMarkerWidth > 0) {
|
1195
|
+
box-shadow: @stateMarkerWidth 0 0 @r inset;
|
1196
|
+
}
|
1197
|
+
& when (@isDark) {
|
1198
|
+
background: @l;
|
1199
|
+
}
|
1200
|
+
& when not (@isDark) {
|
1201
|
+
background: @b;
|
1202
|
+
}
|
1203
|
+
& when (@isVeryDark) {
|
1204
|
+
color: @white;
|
1205
|
+
}
|
1206
|
+
& when not (@isVeryDark) {
|
1207
|
+
color: @t;
|
1208
|
+
}
|
1209
|
+
}
|
1210
|
+
.ui.table > thead > tr[class*="@{color} colored"] > th,
|
1211
|
+
.ui.table > tfoot > tr[class*="@{color} colored"] > th,
|
1212
|
+
.ui.table > tfoot > tr[class*="@{color} colored"] > td,
|
1213
|
+
.ui.table > thead > tr.@{color}:not(.marked) > th,
|
1214
|
+
.ui.table > tfoot > tr.@{color}:not(.marked) > th,
|
1215
|
+
.ui.table > tfoot > tr.@{color}:not(.marked) > td {
|
1182
1216
|
background: inherit;
|
1183
|
-
|
1184
|
-
|
1185
|
-
|
1186
|
-
|
1187
|
-
|
1188
|
-
|
1189
|
-
|
1190
|
-
.ui.ui.table td[class*="@{color} colored"],
|
1191
|
-
.ui.ui.ui.ui.table tr.@{color}:not(.marked),
|
1192
|
-
.ui.ui.table th.@{color}:not(.marked),
|
1193
|
-
.ui.ui.table td.@{color}:not(.marked) {
|
1194
|
-
& when (@stateMarkerWidth > 0) {
|
1195
|
-
box-shadow: @stateMarkerWidth 0 0 @r inset;
|
1196
|
-
}
|
1197
|
-
& when (@isDark) {
|
1198
|
-
background: @l;
|
1199
|
-
}
|
1200
|
-
& when not (@isDark) {
|
1201
|
-
background: @b;
|
1202
|
-
}
|
1203
|
-
& when (@isVeryDark) {
|
1204
|
-
color: @white;
|
1205
|
-
}
|
1206
|
-
& when not (@isVeryDark) {
|
1207
|
-
color: @t;
|
1208
|
-
}
|
1209
|
-
}
|
1210
|
-
.ui.table > thead > tr[class*="@{color} colored"] > th,
|
1211
|
-
.ui.table > tfoot > tr[class*="@{color} colored"] > th,
|
1212
|
-
.ui.table > tfoot > tr[class*="@{color} colored"] > td,
|
1213
|
-
.ui.table > thead > tr.@{color}:not(.marked) > th,
|
1214
|
-
.ui.table > tfoot > tr.@{color}:not(.marked) > th,
|
1215
|
-
.ui.table > tfoot > tr.@{color}:not(.marked) > td {
|
1216
|
-
background: inherit;
|
1217
|
-
& when (@isVeryDark) {
|
1218
|
-
color: @white;
|
1219
|
-
}
|
1220
|
-
& when not (@isVeryDark) {
|
1221
|
-
color: @t;
|
1222
|
-
}
|
1223
|
-
}
|
1217
|
+
& when (@isVeryDark) {
|
1218
|
+
color: @white;
|
1219
|
+
}
|
1220
|
+
& when not (@isVeryDark) {
|
1221
|
+
color: @t;
|
1222
|
+
}
|
1223
|
+
}
|
1224
1224
|
|
1225
|
-
|
1226
|
-
|
1227
|
-
|
1228
|
-
|
1229
|
-
|
1230
|
-
|
1231
|
-
|
1232
|
-
|
1233
|
-
|
1234
|
-
|
1235
|
-
|
1236
|
-
|
1237
|
-
|
1238
|
-
|
1239
|
-
|
1240
|
-
|
1241
|
-
|
1242
|
-
|
1243
|
-
|
1244
|
-
|
1245
|
-
|
1246
|
-
|
1247
|
-
|
1248
|
-
|
1249
|
-
|
1250
|
-
|
1251
|
-
|
1252
|
-
|
1253
|
-
|
1254
|
-
|
1255
|
-
|
1256
|
-
|
1257
|
-
|
1258
|
-
|
1259
|
-
|
1260
|
-
|
1261
|
-
|
1262
|
-
|
1263
|
-
|
1264
|
-
|
1265
|
-
|
1266
|
-
|
1267
|
-
|
1268
|
-
|
1269
|
-
|
1270
|
-
|
1271
|
-
|
1272
|
-
|
1273
|
-
|
1274
|
-
|
1275
|
-
|
1276
|
-
|
1277
|
-
|
1278
|
-
|
1279
|
-
|
1280
|
-
|
1281
|
-
|
1282
|
-
|
1283
|
-
|
1284
|
-
|
1285
|
-
|
1286
|
-
|
1287
|
-
|
1288
|
-
|
1289
|
-
|
1290
|
-
|
1291
|
-
|
1292
|
-
|
1293
|
-
|
1294
|
-
|
1295
|
-
|
1296
|
-
|
1297
|
-
|
1298
|
-
|
1299
|
-
|
1300
|
-
|
1301
|
-
|
1302
|
-
|
1303
|
-
|
1304
|
-
|
1305
|
-
|
1306
|
-
|
1307
|
-
|
1308
|
-
|
1309
|
-
|
1310
|
-
|
1225
|
+
& when (@variationTableInverted) {
|
1226
|
+
.ui.ui.ui.ui.inverted.table tr[class*="@{color} colored"],
|
1227
|
+
.ui.ui.inverted.table th[class*="@{color} colored"],
|
1228
|
+
.ui.ui.inverted.table td[class*="@{color} colored"],
|
1229
|
+
.ui.ui.ui.ui.inverted.table tr.@{color}:not(.marked),
|
1230
|
+
.ui.ui.inverted.table th.@{color}:not(.marked),
|
1231
|
+
.ui.ui.inverted.table td.@{color}:not(.marked) {
|
1232
|
+
background: @c;
|
1233
|
+
color: @white;
|
1234
|
+
}
|
1235
|
+
.ui.inverted.table > thead > tr[class*="@{color} colored"] > th,
|
1236
|
+
.ui.inverted.table > tfoot > tr[class*="@{color} colored"] > th,
|
1237
|
+
.ui.inverted.table > tfoot > tr[class*="@{color} colored"] > td,
|
1238
|
+
.ui.inverted.table > thead > tr.@{color}:not(.marked) > th,
|
1239
|
+
.ui.inverted.table > tfoot > tr.@{color}:not(.marked) > th,
|
1240
|
+
.ui.inverted.table > tfoot > tr.@{color}:not(.marked) > td {
|
1241
|
+
background: inherit;
|
1242
|
+
color: @white;
|
1243
|
+
}
|
1244
|
+
}
|
1245
|
+
& when (@variationTableSelectable) {
|
1246
|
+
.ui.ui.selectable.table tr[class*="@{color} colored"]:hover,
|
1247
|
+
.ui.table tr td.selectable[class*="@{color} colored"]:hover,
|
1248
|
+
.ui.selectable.table tr:hover td[class*="@{color} colored"],
|
1249
|
+
.ui.ui.selectable.table tr.@{color}:not(.marked):hover,
|
1250
|
+
.ui.table tr td.selectable.@{color}:not(.marked):hover,
|
1251
|
+
.ui.selectable.table tr:hover td.@{color}:not(.marked) {
|
1252
|
+
& when (@isDark) {
|
1253
|
+
background: @lh;
|
1254
|
+
}
|
1255
|
+
& when not (@isDark) {
|
1256
|
+
background: @bh;
|
1257
|
+
}
|
1258
|
+
& when (@isVeryDark) {
|
1259
|
+
color: @white;
|
1260
|
+
}
|
1261
|
+
& when not (@isVeryDark) {
|
1262
|
+
color: @ht;
|
1263
|
+
}
|
1264
|
+
}
|
1265
|
+
& when (@variationTableInverted) {
|
1266
|
+
.ui.ui.inverted.selectable.table tr[class*="@{color} colored"]:hover,
|
1267
|
+
.ui.inverted.table tr td.selectable[class*="@{color} colored"]:hover,
|
1268
|
+
.ui.inverted.selectable.table tr:hover td[class*="@{color} colored"],
|
1269
|
+
.ui.ui.inverted.selectable.table tr.@{color}:not(.marked):hover,
|
1270
|
+
.ui.inverted.table tr td.selectable.@{color}:not(.marked):hover,
|
1271
|
+
.ui.inverted.selectable.table tr:hover td.@{color}:not(.marked) {
|
1272
|
+
& when (@isDark) {
|
1273
|
+
background: @bh;
|
1274
|
+
}
|
1275
|
+
& when not (@isDark) {
|
1276
|
+
background: @lh;
|
1277
|
+
}
|
1278
|
+
& when (@isVeryDark) {
|
1279
|
+
color: @ht;
|
1280
|
+
}
|
1281
|
+
& when not (@isVeryDark) {
|
1282
|
+
color: @white;
|
1283
|
+
}
|
1284
|
+
}
|
1285
|
+
}
|
1286
|
+
}
|
1287
|
+
& when (@variationTableMarked) {
|
1288
|
+
.ui.table td[class*="@{color} marked"],
|
1289
|
+
.ui.table tr[class*="@{color} marked"] {
|
1290
|
+
&.left {
|
1291
|
+
box-shadow: @coloredBorderSize 0 0 0 @c inset;
|
1292
|
+
}
|
1293
|
+
&.right {
|
1294
|
+
box-shadow: -@coloredBorderSize 0 0 0 @c inset;
|
1295
|
+
}
|
1296
|
+
}
|
1297
|
+
& when (@variationTableInverted) {
|
1298
|
+
.ui.inverted.table td[class*="@{color} marked"],
|
1299
|
+
.ui.inverted.table tr[class*="@{color} marked"] {
|
1300
|
+
&.left {
|
1301
|
+
box-shadow: @coloredBorderSize 0 0 0 @l inset;
|
1302
|
+
}
|
1303
|
+
&.right {
|
1304
|
+
box-shadow: -@coloredBorderSize 0 0 0 @l inset;
|
1305
|
+
}
|
1306
|
+
}
|
1307
|
+
}
|
1308
|
+
}
|
1309
|
+
|
1310
|
+
});
|
1311
1311
|
}
|
1312
1312
|
|
1313
1313
|
& when (@variationTableEqualWidth) {
|
1314
|
-
|
1315
|
-
|
1316
|
-
|
1317
|
-
|
1318
|
-
|
1319
|
-
|
1320
|
-
|
1321
|
-
|
1322
|
-
|
1323
|
-
|
1324
|
-
|
1325
|
-
|
1326
|
-
|
1327
|
-
|
1328
|
-
|
1329
|
-
|
1330
|
-
|
1331
|
-
|
1332
|
-
|
1333
|
-
|
1334
|
-
|
1335
|
-
|
1336
|
-
|
1337
|
-
|
1338
|
-
|
1339
|
-
|
1340
|
-
|
1341
|
-
|
1342
|
-
|
1343
|
-
|
1344
|
-
|
1345
|
-
|
1346
|
-
|
1347
|
-
|
1348
|
-
|
1349
|
-
|
1350
|
-
|
1351
|
-
|
1352
|
-
|
1353
|
-
|
1354
|
-
|
1355
|
-
|
1356
|
-
|
1357
|
-
|
1358
|
-
|
1359
|
-
|
1360
|
-
|
1361
|
-
|
1362
|
-
|
1363
|
-
|
1364
|
-
|
1365
|
-
|
1366
|
-
|
1314
|
+
/* --------------
|
1315
|
+
Column Count
|
1316
|
+
--------------- */
|
1317
|
+
|
1318
|
+
/* Grid Based */
|
1319
|
+
.ui.one.column.table td {
|
1320
|
+
width: @oneColumn;
|
1321
|
+
}
|
1322
|
+
.ui.two.column.table td {
|
1323
|
+
width: @twoColumn;
|
1324
|
+
}
|
1325
|
+
.ui.three.column.table td {
|
1326
|
+
width: @threeColumn;
|
1327
|
+
}
|
1328
|
+
.ui.four.column.table td {
|
1329
|
+
width: @fourColumn;
|
1330
|
+
}
|
1331
|
+
.ui.five.column.table td {
|
1332
|
+
width: @fiveColumn;
|
1333
|
+
}
|
1334
|
+
.ui.six.column.table td {
|
1335
|
+
width: @sixColumn;
|
1336
|
+
}
|
1337
|
+
.ui.seven.column.table td {
|
1338
|
+
width: @sevenColumn;
|
1339
|
+
}
|
1340
|
+
.ui.eight.column.table td {
|
1341
|
+
width: @eightColumn;
|
1342
|
+
}
|
1343
|
+
.ui.nine.column.table td {
|
1344
|
+
width: @nineColumn;
|
1345
|
+
}
|
1346
|
+
.ui.ten.column.table td {
|
1347
|
+
width: @tenColumn;
|
1348
|
+
}
|
1349
|
+
.ui.eleven.column.table td {
|
1350
|
+
width: @elevenColumn;
|
1351
|
+
}
|
1352
|
+
.ui.twelve.column.table td {
|
1353
|
+
width: @twelveColumn;
|
1354
|
+
}
|
1355
|
+
.ui.thirteen.column.table td {
|
1356
|
+
width: @thirteenColumn;
|
1357
|
+
}
|
1358
|
+
.ui.fourteen.column.table td {
|
1359
|
+
width: @fourteenColumn;
|
1360
|
+
}
|
1361
|
+
.ui.fifteen.column.table td {
|
1362
|
+
width: @fifteenColumn;
|
1363
|
+
}
|
1364
|
+
.ui.sixteen.column.table td {
|
1365
|
+
width: @sixteenColumn;
|
1366
|
+
}
|
1367
1367
|
}
|
1368
1368
|
|
1369
1369
|
& when (@variationTableWide) {
|
1370
|
-
|
1371
|
-
|
1372
|
-
|
1373
|
-
|
1374
|
-
|
1375
|
-
|
1376
|
-
|
1377
|
-
|
1378
|
-
|
1379
|
-
|
1380
|
-
|
1381
|
-
|
1382
|
-
|
1383
|
-
|
1384
|
-
|
1385
|
-
|
1386
|
-
|
1387
|
-
|
1388
|
-
|
1389
|
-
|
1390
|
-
|
1391
|
-
|
1392
|
-
|
1393
|
-
|
1394
|
-
|
1395
|
-
|
1396
|
-
|
1397
|
-
|
1398
|
-
|
1399
|
-
|
1400
|
-
|
1401
|
-
|
1402
|
-
|
1403
|
-
|
1404
|
-
|
1405
|
-
|
1406
|
-
|
1407
|
-
|
1408
|
-
|
1409
|
-
|
1410
|
-
|
1411
|
-
|
1412
|
-
|
1413
|
-
|
1414
|
-
|
1415
|
-
|
1416
|
-
|
1417
|
-
|
1418
|
-
|
1419
|
-
|
1420
|
-
|
1421
|
-
|
1422
|
-
|
1423
|
-
|
1424
|
-
|
1425
|
-
|
1426
|
-
|
1427
|
-
|
1428
|
-
|
1429
|
-
|
1430
|
-
|
1431
|
-
|
1432
|
-
|
1433
|
-
|
1434
|
-
|
1370
|
+
/* Column Width */
|
1371
|
+
.ui.table th.one.wide,
|
1372
|
+
.ui.table td.one.wide {
|
1373
|
+
width: @oneWide;
|
1374
|
+
}
|
1375
|
+
.ui.table th.two.wide,
|
1376
|
+
.ui.table td.two.wide {
|
1377
|
+
width: @twoWide;
|
1378
|
+
}
|
1379
|
+
.ui.table th.three.wide,
|
1380
|
+
.ui.table td.three.wide {
|
1381
|
+
width: @threeWide;
|
1382
|
+
}
|
1383
|
+
.ui.table th.four.wide,
|
1384
|
+
.ui.table td.four.wide {
|
1385
|
+
width: @fourWide;
|
1386
|
+
}
|
1387
|
+
.ui.table th.five.wide,
|
1388
|
+
.ui.table td.five.wide {
|
1389
|
+
width: @fiveWide;
|
1390
|
+
}
|
1391
|
+
.ui.table th.six.wide,
|
1392
|
+
.ui.table td.six.wide {
|
1393
|
+
width: @sixWide;
|
1394
|
+
}
|
1395
|
+
.ui.table th.seven.wide,
|
1396
|
+
.ui.table td.seven.wide {
|
1397
|
+
width: @sevenWide;
|
1398
|
+
}
|
1399
|
+
.ui.table th.eight.wide,
|
1400
|
+
.ui.table td.eight.wide {
|
1401
|
+
width: @eightWide;
|
1402
|
+
}
|
1403
|
+
.ui.table th.nine.wide,
|
1404
|
+
.ui.table td.nine.wide {
|
1405
|
+
width: @nineWide;
|
1406
|
+
}
|
1407
|
+
.ui.table th.ten.wide,
|
1408
|
+
.ui.table td.ten.wide {
|
1409
|
+
width: @tenWide;
|
1410
|
+
}
|
1411
|
+
.ui.table th.eleven.wide,
|
1412
|
+
.ui.table td.eleven.wide {
|
1413
|
+
width: @elevenWide;
|
1414
|
+
}
|
1415
|
+
.ui.table th.twelve.wide,
|
1416
|
+
.ui.table td.twelve.wide {
|
1417
|
+
width: @twelveWide;
|
1418
|
+
}
|
1419
|
+
.ui.table th.thirteen.wide,
|
1420
|
+
.ui.table td.thirteen.wide {
|
1421
|
+
width: @thirteenWide;
|
1422
|
+
}
|
1423
|
+
.ui.table th.fourteen.wide,
|
1424
|
+
.ui.table td.fourteen.wide {
|
1425
|
+
width: @fourteenWide;
|
1426
|
+
}
|
1427
|
+
.ui.table th.fifteen.wide,
|
1428
|
+
.ui.table td.fifteen.wide {
|
1429
|
+
width: @fifteenWide;
|
1430
|
+
}
|
1431
|
+
.ui.table th.sixteen.wide,
|
1432
|
+
.ui.table td.sixteen.wide {
|
1433
|
+
width: @sixteenWide;
|
1434
|
+
}
|
1435
1435
|
}
|
1436
1436
|
|
1437
1437
|
& when (@variationTableSortable) {
|
1438
|
-
|
1439
|
-
|
1440
|
-
|
1438
|
+
/* --------------
|
1439
|
+
Sortable
|
1440
|
+
--------------- */
|
1441
|
+
|
1442
|
+
.ui.sortable.table > thead > tr > th {
|
1443
|
+
cursor: pointer;
|
1444
|
+
white-space: nowrap;
|
1445
|
+
color: @sortableColor;
|
1446
|
+
}
|
1447
|
+
& when (@variationTableCelled) {
|
1448
|
+
.ui.celled.sortable.table > thead > tr > th:not(:first-child) {
|
1449
|
+
border-left: @sortableBorder;
|
1450
|
+
}
|
1451
|
+
}
|
1452
|
+
.ui.sortable.table thead th.sorted,
|
1453
|
+
.ui.sortable.table thead th.sorted:hover {
|
1454
|
+
user-select: none;
|
1455
|
+
}
|
1441
1456
|
|
1442
|
-
|
1443
|
-
|
1444
|
-
|
1445
|
-
|
1446
|
-
|
1447
|
-
|
1448
|
-
|
1449
|
-
|
1450
|
-
|
1451
|
-
|
1452
|
-
|
1453
|
-
|
1454
|
-
|
1455
|
-
|
1456
|
-
|
1457
|
-
|
1458
|
-
|
1459
|
-
|
1460
|
-
|
1461
|
-
|
1462
|
-
|
1463
|
-
|
1464
|
-
|
1465
|
-
|
1466
|
-
|
1467
|
-
|
1468
|
-
|
1469
|
-
|
1470
|
-
|
1471
|
-
|
1472
|
-
|
1473
|
-
|
1474
|
-
|
1475
|
-
|
1476
|
-
|
1477
|
-
|
1478
|
-
|
1479
|
-
|
1480
|
-
|
1481
|
-
}
|
1482
|
-
|
1483
|
-
|
1484
|
-
|
1485
|
-
|
1486
|
-
|
1487
|
-
|
1488
|
-
|
1489
|
-
|
1490
|
-
|
1491
|
-
|
1492
|
-
|
1493
|
-
|
1494
|
-
|
1495
|
-
|
1496
|
-
|
1497
|
-
|
1498
|
-
|
1499
|
-
|
1500
|
-
|
1501
|
-
|
1502
|
-
|
1503
|
-
|
1504
|
-
|
1505
|
-
|
1506
|
-
|
1507
|
-
|
1508
|
-
|
1509
|
-
|
1510
|
-
|
1511
|
-
|
1512
|
-
}
|
1513
|
-
.ui.inverted.sortable.table:not(.basic) thead th.sorted {
|
1514
|
-
background: @sortableInvertedActiveBackground;
|
1515
|
-
}
|
1516
|
-
.ui.inverted.sortable.table > thead > tr > th:hover {
|
1517
|
-
color: @sortableInvertedHoverColor;
|
1518
|
-
}
|
1519
|
-
.ui.inverted.sortable.table:not(.basic) > thead > tr > th:hover {
|
1520
|
-
background: @sortableInvertedHoverBackground;
|
1521
|
-
}
|
1522
|
-
.ui.inverted.sortable.table:not(.basic) > thead > tr > th {
|
1523
|
-
border-left-color: @sortableInvertedBorderColor;
|
1524
|
-
border-right-color: @sortableInvertedBorderColor;
|
1525
|
-
}
|
1526
|
-
}
|
1457
|
+
.ui.sortable.table > thead > tr > th::after {
|
1458
|
+
display: none;
|
1459
|
+
font-style: normal;
|
1460
|
+
font-weight: @normal;
|
1461
|
+
text-decoration: inherit;
|
1462
|
+
content: "";
|
1463
|
+
height: 1em;
|
1464
|
+
width: @sortableIconWidth;
|
1465
|
+
opacity: @sortableIconOpacity;
|
1466
|
+
margin: 0 0 0 @sortableIconDistance;
|
1467
|
+
font-family: @sortableIconFont;
|
1468
|
+
}
|
1469
|
+
.ui.sortable.table thead th.ascending::after {
|
1470
|
+
content: @sortableIconAscending;
|
1471
|
+
}
|
1472
|
+
.ui.sortable.table thead th.descending::after {
|
1473
|
+
content: @sortableIconDescending;
|
1474
|
+
}
|
1475
|
+
|
1476
|
+
& when (@variationTableDisabled) {
|
1477
|
+
/* Hover */
|
1478
|
+
.ui.sortable.table th.disabled:hover {
|
1479
|
+
cursor: auto;
|
1480
|
+
color: @sortableDisabledColor;
|
1481
|
+
}
|
1482
|
+
}
|
1483
|
+
.ui.sortable.table > thead > tr > th:hover {
|
1484
|
+
color: @sortableHoverColor;
|
1485
|
+
}
|
1486
|
+
.ui.sortable.table:not(.basic) > thead > tr > th:hover {
|
1487
|
+
background: @sortableHoverBackground;
|
1488
|
+
}
|
1489
|
+
|
1490
|
+
/* Sorted */
|
1491
|
+
.ui.sortable.table thead th.sorted {
|
1492
|
+
color: @sortableActiveColor;
|
1493
|
+
}
|
1494
|
+
.ui.sortable.table:not(.basic) thead th.sorted {
|
1495
|
+
background: @sortableActiveBackground;
|
1496
|
+
}
|
1497
|
+
.ui.sortable.table thead th.sorted::after {
|
1498
|
+
display: inline-block;
|
1499
|
+
}
|
1500
|
+
|
1501
|
+
/* Sorted Hover */
|
1502
|
+
.ui.sortable.table thead th.sorted:hover {
|
1503
|
+
color: @sortableActiveHoverColor;
|
1504
|
+
}
|
1505
|
+
.ui.sortable.table:not(.basic) thead th.sorted:hover {
|
1506
|
+
background: @sortableActiveHoverBackground;
|
1507
|
+
}
|
1508
|
+
& when (@variationTableInverted) {
|
1509
|
+
/* Inverted */
|
1510
|
+
.ui.inverted.sortable.table thead th.sorted {
|
1511
|
+
color: @sortableInvertedActiveColor;
|
1512
|
+
}
|
1513
|
+
.ui.inverted.sortable.table:not(.basic) thead th.sorted {
|
1514
|
+
background: @sortableInvertedActiveBackground;
|
1515
|
+
}
|
1516
|
+
.ui.inverted.sortable.table > thead > tr > th:hover {
|
1517
|
+
color: @sortableInvertedHoverColor;
|
1518
|
+
}
|
1519
|
+
.ui.inverted.sortable.table:not(.basic) > thead > tr > th:hover {
|
1520
|
+
background: @sortableInvertedHoverBackground;
|
1521
|
+
}
|
1522
|
+
.ui.inverted.sortable.table:not(.basic) > thead > tr > th {
|
1523
|
+
border-left-color: @sortableInvertedBorderColor;
|
1524
|
+
border-right-color: @sortableInvertedBorderColor;
|
1525
|
+
}
|
1526
|
+
}
|
1527
1527
|
}
|
1528
1528
|
|
1529
1529
|
& when (@variationTableInverted) {
|
1530
|
-
|
1531
|
-
|
1532
|
-
|
1533
|
-
|
1534
|
-
|
1535
|
-
|
1536
|
-
|
1537
|
-
|
1538
|
-
|
1539
|
-
|
1540
|
-
|
1541
|
-
|
1542
|
-
|
1543
|
-
|
1544
|
-
|
1545
|
-
|
1546
|
-
|
1547
|
-
|
1548
|
-
|
1549
|
-
|
1550
|
-
|
1551
|
-
|
1552
|
-
|
1553
|
-
|
1554
|
-
|
1555
|
-
|
1556
|
-
|
1557
|
-
|
1558
|
-
|
1559
|
-
|
1560
|
-
|
1561
|
-
|
1562
|
-
|
1563
|
-
|
1564
|
-
|
1565
|
-
|
1566
|
-
|
1567
|
-
|
1568
|
-
|
1569
|
-
|
1570
|
-
|
1571
|
-
|
1572
|
-
|
1573
|
-
|
1574
|
-
|
1575
|
-
|
1576
|
-
|
1577
|
-
|
1578
|
-
|
1579
|
-
|
1580
|
-
|
1581
|
-
|
1582
|
-
|
1583
|
-
|
1584
|
-
|
1585
|
-
|
1530
|
+
/* --------------
|
1531
|
+
Inverted
|
1532
|
+
--------------- */
|
1533
|
+
|
1534
|
+
/* Text Color */
|
1535
|
+
.ui.inverted.table {
|
1536
|
+
background: @invertedBackground;
|
1537
|
+
color: @invertedCellColor;
|
1538
|
+
border: @invertedBorder;
|
1539
|
+
}
|
1540
|
+
.ui.ui.inverted.table > thead > tr > th,
|
1541
|
+
.ui.ui.inverted.table > tbody > tr > th,
|
1542
|
+
.ui.ui.inverted.table > tr > th {
|
1543
|
+
background-color: @invertedHeaderBackground;
|
1544
|
+
border-color: @invertedHeaderBorderColor;
|
1545
|
+
color: @invertedHeaderColor;
|
1546
|
+
}
|
1547
|
+
.ui.ui.inverted.table > tfoot > tr > th,
|
1548
|
+
.ui.ui.inverted.table > tfoot > tr > td {
|
1549
|
+
background-color: @invertedFooterBackground;
|
1550
|
+
border-color: @invertedFooterBorderColor;
|
1551
|
+
color: @invertedFooterColor;
|
1552
|
+
}
|
1553
|
+
.ui.inverted.table > tbody > tr > td,
|
1554
|
+
.ui.inverted.table > tfoot > tr > td,
|
1555
|
+
.ui.inverted.table > tr > td {
|
1556
|
+
border-color: @invertedCellBorderColor;
|
1557
|
+
}
|
1558
|
+
& when (@variationTableDisabled) {
|
1559
|
+
.ui.ui.ui.inverted.table tr.disabled td,
|
1560
|
+
.ui.ui.ui.inverted.table tr td.disabled,
|
1561
|
+
.ui.inverted.table tr.disabled:hover td,
|
1562
|
+
.ui.inverted.table tr:hover td.disabled {
|
1563
|
+
pointer-events: none;
|
1564
|
+
color: @invertedDisabledTextColor;
|
1565
|
+
}
|
1566
|
+
.ui.ui.ui.inverted.table tr td.disabled:not([class="disabled"]),
|
1567
|
+
.ui.inverted.table tr.disabled:not([class="disabled"]) td,
|
1568
|
+
.ui.inverted.table tr.disabled td[class]:not(.disabled),
|
1569
|
+
.ui.inverted.table tr:hover td.disabled:not([class="disabled"]) {
|
1570
|
+
color: @disabledTextColor;
|
1571
|
+
}
|
1572
|
+
}
|
1573
|
+
& when (@variationTableDefinition) {
|
1574
|
+
/* Definition */
|
1575
|
+
.ui.inverted.definition.table > tfoot:not(.full-width) > tr > th:first-child,
|
1576
|
+
.ui.inverted.definition.table > thead:not(.full-width) > tr > th:first-child {
|
1577
|
+
background: @definitionPageBackground;
|
1578
|
+
}
|
1579
|
+
.ui.inverted.definition.table > tbody > tr > td:first-child,
|
1580
|
+
.ui.inverted.definition.table > tfoot > tr > td:first-child,
|
1581
|
+
.ui.inverted.definition.table > tr > td:first-child {
|
1582
|
+
background: @invertedDefinitionColumnBackground;
|
1583
|
+
color: @invertedDefinitionColumnColor;
|
1584
|
+
}
|
1585
|
+
}
|
1586
1586
|
}
|
1587
1587
|
|
1588
1588
|
& when (@variationTableCollapsing) {
|
1589
|
-
|
1590
|
-
|
1591
|
-
|
1589
|
+
/* --------------
|
1590
|
+
Collapsing
|
1591
|
+
--------------- */
|
1592
1592
|
|
1593
|
-
|
1594
|
-
|
1595
|
-
|
1593
|
+
.ui.collapsing.table {
|
1594
|
+
width: auto;
|
1595
|
+
}
|
1596
1596
|
}
|
1597
1597
|
|
1598
|
-
& when (@variationTableBasic) or (@variationTableVeryBasic){
|
1599
|
-
|
1600
|
-
|
1601
|
-
|
1602
|
-
|
1603
|
-
|
1604
|
-
|
1605
|
-
|
1606
|
-
|
1607
|
-
|
1608
|
-
|
1609
|
-
|
1610
|
-
|
1611
|
-
|
1612
|
-
|
1613
|
-
|
1614
|
-
|
1615
|
-
|
1616
|
-
|
1617
|
-
|
1618
|
-
|
1619
|
-
|
1620
|
-
|
1621
|
-
|
1622
|
-
|
1623
|
-
|
1624
|
-
|
1625
|
-
|
1626
|
-
|
1627
|
-
|
1628
|
-
|
1629
|
-
|
1630
|
-
|
1631
|
-
|
1632
|
-
|
1633
|
-
|
1634
|
-
|
1635
|
-
|
1636
|
-
|
1637
|
-
|
1638
|
-
|
1639
|
-
|
1640
|
-
|
1641
|
-
|
1642
|
-
|
1643
|
-
|
1644
|
-
|
1645
|
-
|
1646
|
-
|
1647
|
-
|
1648
|
-
|
1649
|
-
|
1650
|
-
|
1651
|
-
|
1652
|
-
|
1653
|
-
|
1654
|
-
|
1655
|
-
|
1656
|
-
|
1657
|
-
|
1658
|
-
|
1659
|
-
|
1660
|
-
|
1661
|
-
|
1662
|
-
|
1663
|
-
|
1664
|
-
|
1665
|
-
|
1666
|
-
|
1598
|
+
& when (@variationTableBasic) or (@variationTableVeryBasic) {
|
1599
|
+
/* --------------
|
1600
|
+
Basic
|
1601
|
+
--------------- */
|
1602
|
+
|
1603
|
+
.ui.basic.table {
|
1604
|
+
background: @basicTableBackground;
|
1605
|
+
border: @basicTableBorder;
|
1606
|
+
box-shadow: @basicBoxShadow;
|
1607
|
+
}
|
1608
|
+
.ui.basic.table > thead,
|
1609
|
+
.ui.basic.table > tfoot {
|
1610
|
+
box-shadow: none;
|
1611
|
+
}
|
1612
|
+
.ui.basic.table > thead > tr > th,
|
1613
|
+
.ui.basic.table > tbody > tr > th,
|
1614
|
+
.ui.basic.table > tfoot > tr > th,
|
1615
|
+
.ui.basic.table > tr > th {
|
1616
|
+
background: @basicTableHeaderBackground;
|
1617
|
+
border-left: @basicTableHeaderDivider;
|
1618
|
+
}
|
1619
|
+
.ui.basic.table > tbody > tr {
|
1620
|
+
border-bottom: @basicTableCellBorder;
|
1621
|
+
}
|
1622
|
+
.ui.basic.table > tbody > tr > td,
|
1623
|
+
.ui.basic.table > tfoot > tr > td,
|
1624
|
+
.ui.basic.table > tr > td {
|
1625
|
+
background: @basicTableCellBackground;
|
1626
|
+
}
|
1627
|
+
& when (@variationTableStriped) {
|
1628
|
+
.ui.basic.striped.table > tbody > tr:nth-child(2n) {
|
1629
|
+
background-color: @basicTableStripedBackground;
|
1630
|
+
}
|
1631
|
+
}
|
1632
|
+
& when (@variationTableVeryBasic) {
|
1633
|
+
/* Very Basic */
|
1634
|
+
.ui[class*="very basic"].table {
|
1635
|
+
border: none;
|
1636
|
+
}
|
1637
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) > tr > th,
|
1638
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) > thead > tr > th,
|
1639
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) > tbody > tr > th,
|
1640
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) > tfoot > tr > th,
|
1641
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) > tr > td,
|
1642
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) > tbody > tr > td {
|
1643
|
+
padding: @basicTableCellPadding;
|
1644
|
+
}
|
1645
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) > tr > th:first-child,
|
1646
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) > thead > tr > th:first-child,
|
1647
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) > tbody > tr > th:first-child,
|
1648
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) > tfoot > tr > th:first-child,
|
1649
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) > tr > td:first-child,
|
1650
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) > tbody > tr > td:first-child,
|
1651
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) > tfoot > tr > td:first-child {
|
1652
|
+
padding-left: 0;
|
1653
|
+
}
|
1654
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) > tr > th:last-child,
|
1655
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) > thead > tr > th:last-child,
|
1656
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) > tbody > tr > th:last-child,
|
1657
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) > tfoot > tr > th:last-child,
|
1658
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) > tr > td:last-child,
|
1659
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) > tbody > tr > td:last-child,
|
1660
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) > tfoot > tr > td:last-child {
|
1661
|
+
padding-right: 0;
|
1662
|
+
}
|
1663
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) > thead > tr:first-child > th {
|
1664
|
+
padding-top: 0;
|
1665
|
+
}
|
1666
|
+
}
|
1667
1667
|
}
|
1668
1668
|
|
1669
1669
|
& when (@variationTableCelled) {
|
1670
|
-
|
1671
|
-
|
1672
|
-
|
1673
|
-
|
1674
|
-
|
1675
|
-
|
1676
|
-
|
1677
|
-
|
1678
|
-
|
1679
|
-
|
1680
|
-
|
1681
|
-
|
1682
|
-
|
1683
|
-
|
1684
|
-
|
1685
|
-
|
1686
|
-
|
1687
|
-
|
1688
|
-
|
1689
|
-
|
1690
|
-
|
1691
|
-
|
1692
|
-
|
1693
|
-
|
1694
|
-
|
1695
|
-
|
1696
|
-
|
1697
|
-
|
1670
|
+
/* --------------
|
1671
|
+
Celled
|
1672
|
+
--------------- */
|
1673
|
+
|
1674
|
+
.ui.celled.table > tr > th,
|
1675
|
+
.ui.celled.table > thead > tr > th,
|
1676
|
+
.ui.celled.table > tbody > tr > th,
|
1677
|
+
.ui.celled.table > tfoot > tr > th,
|
1678
|
+
.ui.celled.table > tr > td,
|
1679
|
+
.ui.celled.table > tbody > tr > td,
|
1680
|
+
.ui.celled.table > tfoot > tr > td {
|
1681
|
+
border-left: @cellBorder;
|
1682
|
+
}
|
1683
|
+
& when (@variationTableInverted) {
|
1684
|
+
.ui.inverted.celled.table > tbody > tr > td,
|
1685
|
+
.ui.inverted.celled.table > tr > td {
|
1686
|
+
border-left: @invertedCellBorder;
|
1687
|
+
}
|
1688
|
+
}
|
1689
|
+
.ui.celled.table > tr > th:first-child,
|
1690
|
+
.ui.celled.table > thead > tr > th:first-child,
|
1691
|
+
.ui.celled.table > tbody > tr > th:first-child,
|
1692
|
+
.ui.celled.table > tfoot > tr > th:first-child,
|
1693
|
+
.ui.celled.table > tr > td:first-child,
|
1694
|
+
.ui.celled.table > tbody > tr > td:first-child,
|
1695
|
+
.ui.celled.table > tfoot > tr > td:first-child {
|
1696
|
+
border-left: none;
|
1697
|
+
}
|
1698
1698
|
}
|
1699
1699
|
|
1700
1700
|
& when (@variationTablePadded) or (@variationTableVeryPadded) {
|
1701
|
-
|
1702
|
-
|
1703
|
-
|
1704
|
-
|
1705
|
-
|
1706
|
-
|
1707
|
-
|
1708
|
-
|
1709
|
-
|
1710
|
-
|
1711
|
-
|
1712
|
-
|
1713
|
-
|
1714
|
-
|
1715
|
-
|
1716
|
-
|
1717
|
-
|
1718
|
-
|
1719
|
-
|
1720
|
-
|
1721
|
-
|
1722
|
-
|
1723
|
-
|
1724
|
-
|
1725
|
-
|
1726
|
-
|
1727
|
-
|
1728
|
-
|
1729
|
-
|
1730
|
-
|
1731
|
-
|
1732
|
-
|
1733
|
-
|
1734
|
-
|
1735
|
-
|
1736
|
-
|
1701
|
+
/* --------------
|
1702
|
+
Padded
|
1703
|
+
--------------- */
|
1704
|
+
|
1705
|
+
.ui.padded.table > tr > th,
|
1706
|
+
.ui.padded.table > thead > tr > th,
|
1707
|
+
.ui.padded.table > tbody > tr > th,
|
1708
|
+
.ui.padded.table > tfoot > tr > th {
|
1709
|
+
padding-left: @paddedHorizontalPadding;
|
1710
|
+
padding-right: @paddedHorizontalPadding;
|
1711
|
+
}
|
1712
|
+
.ui.padded.table > tr > th,
|
1713
|
+
.ui.padded.table > thead > tr > th,
|
1714
|
+
.ui.padded.table > tbody > tr > th,
|
1715
|
+
.ui.padded.table > tfoot > tr > th,
|
1716
|
+
.ui.padded.table > tr > td,
|
1717
|
+
.ui.padded.table > tbody > tr > td,
|
1718
|
+
.ui.padded.table > tfoot > tr > td {
|
1719
|
+
padding: @paddedVerticalPadding @paddedHorizontalPadding;
|
1720
|
+
}
|
1721
|
+
|
1722
|
+
& when (@variationTableVeryPadded) {
|
1723
|
+
/* Very */
|
1724
|
+
.ui[class*="very padded"].table > tr > th,
|
1725
|
+
.ui[class*="very padded"].table > thead > tr > th,
|
1726
|
+
.ui[class*="very padded"].table > tbody > tr > th,
|
1727
|
+
.ui[class*="very padded"].table > tfoot > tr > th {
|
1728
|
+
padding-left: @veryPaddedHorizontalPadding;
|
1729
|
+
padding-right: @veryPaddedHorizontalPadding;
|
1730
|
+
}
|
1731
|
+
.ui[class*="very padded"].table > tr > td,
|
1732
|
+
.ui[class*="very padded"].table > tbody > tr > td,
|
1733
|
+
.ui[class*="very padded"].table > tfoot > tr > td {
|
1734
|
+
padding: @veryPaddedVerticalPadding @veryPaddedHorizontalPadding;
|
1735
|
+
}
|
1736
|
+
}
|
1737
1737
|
}
|
1738
1738
|
|
1739
1739
|
& when (@variationTableCompact) or (@variationTableVeryCompact) {
|
1740
|
-
|
1741
|
-
|
1742
|
-
|
1743
|
-
|
1744
|
-
|
1745
|
-
|
1746
|
-
|
1747
|
-
|
1748
|
-
|
1749
|
-
|
1750
|
-
|
1751
|
-
|
1752
|
-
|
1753
|
-
|
1754
|
-
|
1755
|
-
|
1756
|
-
|
1757
|
-
|
1758
|
-
|
1759
|
-
|
1760
|
-
|
1761
|
-
|
1762
|
-
|
1763
|
-
|
1764
|
-
|
1765
|
-
|
1766
|
-
|
1767
|
-
|
1768
|
-
|
1769
|
-
|
1770
|
-
|
1771
|
-
|
1740
|
+
/* --------------
|
1741
|
+
Compact
|
1742
|
+
--------------- */
|
1743
|
+
|
1744
|
+
.ui.compact.table > tr > th,
|
1745
|
+
.ui.compact.table > thead > tr > th,
|
1746
|
+
.ui.compact.table > tbody > tr > th,
|
1747
|
+
.ui.compact.table > tfoot > tr > th {
|
1748
|
+
padding-left: @compactHorizontalPadding;
|
1749
|
+
padding-right: @compactHorizontalPadding;
|
1750
|
+
}
|
1751
|
+
.ui.compact.table > tr > td,
|
1752
|
+
.ui.compact.table > tbody > tr > td,
|
1753
|
+
.ui.compact.table > tfoot > tr > td {
|
1754
|
+
padding: @compactVerticalPadding @compactHorizontalPadding;
|
1755
|
+
}
|
1756
|
+
|
1757
|
+
& when (@variationTableVeryCompact) {
|
1758
|
+
/* Very */
|
1759
|
+
.ui[class*="very compact"].table > tr > th,
|
1760
|
+
.ui[class*="very compact"].table > thead > tr > th,
|
1761
|
+
.ui[class*="very compact"].table > tbody > tr > th,
|
1762
|
+
.ui[class*="very compact"].table > tfoot > tr > th {
|
1763
|
+
padding-left: @veryCompactHorizontalPadding;
|
1764
|
+
padding-right: @veryCompactHorizontalPadding;
|
1765
|
+
}
|
1766
|
+
.ui[class*="very compact"].table > tr > td,
|
1767
|
+
.ui[class*="very compact"].table > tbody > tr > td,
|
1768
|
+
.ui[class*="very compact"].table > tfoot > tr > td {
|
1769
|
+
padding: @veryCompactVerticalPadding @veryCompactHorizontalPadding;
|
1770
|
+
}
|
1771
|
+
}
|
1772
1772
|
}
|
1773
1773
|
|
1774
1774
|
& when (@variationTableStuck) {
|
1775
|
-
|
1776
|
-
|
1777
|
-
|
1775
|
+
/* --------------
|
1776
|
+
Stuck
|
1777
|
+
--------------- */
|
1778
1778
|
|
1779
|
-
|
1780
|
-
|
1781
|
-
|
1782
|
-
|
1779
|
+
.ui.stuck.table:not(.inverted) {
|
1780
|
+
background: @stuckBackground;
|
1781
|
+
& > thead > tr {
|
1782
|
+
background: @stuckHeaderBackground;
|
1783
|
+
}
|
1784
|
+
& > tbody > tr {
|
1785
|
+
background: @stuckBackground;
|
1786
|
+
}
|
1787
|
+
& > tfoot > tr {
|
1788
|
+
background: @stuckFooterBackground;
|
1789
|
+
}
|
1790
|
+
&.basic when (@variationTableBasic) {
|
1791
|
+
& > thead > tr,
|
1792
|
+
> tfoot > tr {
|
1793
|
+
background: @stuckBackground;
|
1794
|
+
}
|
1795
|
+
}
|
1783
1796
|
}
|
1784
|
-
|
1785
|
-
|
1797
|
+
.ui.inverted.stuck.table when (@variationTableInverted) {
|
1798
|
+
& > thead > tr {
|
1799
|
+
background: @invertedStuckHeaderBackground;
|
1800
|
+
}
|
1801
|
+
& > tbody > tr {
|
1802
|
+
background: @invertedStuckBackground;
|
1803
|
+
}
|
1804
|
+
& > tfoot > tr {
|
1805
|
+
background: @invertedStuckFooterBackground;
|
1806
|
+
}
|
1807
|
+
&.basic when (@variationTableBasic) {
|
1808
|
+
& > thead > tr,
|
1809
|
+
> tfoot > tr {
|
1810
|
+
background: @invertedStuckBackground;
|
1811
|
+
}
|
1812
|
+
}
|
1786
1813
|
}
|
1787
|
-
&
|
1788
|
-
|
1814
|
+
& when (@variationTableStuckHead) or (@variationTableStuckFoot) {
|
1815
|
+
.ui.head.stuck.table > thead,
|
1816
|
+
.ui.foot.stuck.table > tfoot {
|
1817
|
+
position: sticky;
|
1818
|
+
z-index: @stuckZIndex;
|
1819
|
+
}
|
1789
1820
|
}
|
1790
|
-
|
1791
|
-
|
1792
|
-
|
1793
|
-
|
1794
|
-
|
1795
|
-
|
1796
|
-
|
1797
|
-
|
1798
|
-
|
1799
|
-
|
1800
|
-
|
1801
|
-
|
1802
|
-
background: @invertedStuckBackground;
|
1803
|
-
}
|
1804
|
-
& > tfoot > tr {
|
1805
|
-
background: @invertedStuckFooterBackground;
|
1806
|
-
}
|
1807
|
-
&.basic when (@variationTableBasic){
|
1808
|
-
& > thead > tr,
|
1809
|
-
> tfoot > tr {
|
1810
|
-
background: @invertedStuckBackground;
|
1811
|
-
}
|
1812
|
-
}
|
1813
|
-
}
|
1814
|
-
& when (@variationTableStuckHead) or (@variationTableStuckFoot) {
|
1815
|
-
.ui.head.stuck.table > thead,
|
1816
|
-
.ui.foot.stuck.table > tfoot {
|
1817
|
-
position: -webkit-sticky;
|
1818
|
-
position: sticky;
|
1819
|
-
z-index: @stuckZIndex;
|
1820
|
-
}
|
1821
|
-
}
|
1822
|
-
.ui.head.stuck.table when (@variationTableStuckHead) {
|
1823
|
-
border-top: 0;
|
1824
|
-
& > thead {
|
1825
|
-
top: 0;
|
1826
|
-
bottom: auto;
|
1827
|
-
& > tr:first-child > th {
|
1828
|
-
border-top: @cellBorder;
|
1829
|
-
}
|
1830
|
-
}
|
1831
|
-
&.inverted > thead > tr:first-child > th when (@variationTableInverted) {
|
1832
|
-
border-top: @invertedCellBorder;
|
1833
|
-
}
|
1834
|
-
}
|
1835
|
-
.ui.foot.stuck.table when (@variationTableStuckFoot) {
|
1836
|
-
border-bottom: 0;
|
1837
|
-
& > tfoot {
|
1838
|
-
top: auto;
|
1839
|
-
bottom: 0;
|
1840
|
-
& > tr:last-child > td,
|
1841
|
-
> tr:last-child > th {
|
1842
|
-
border-bottom: @cellBorder;
|
1843
|
-
}
|
1821
|
+
.ui.head.stuck.table when (@variationTableStuckHead) {
|
1822
|
+
border-top: 0;
|
1823
|
+
& > thead {
|
1824
|
+
top: 0;
|
1825
|
+
bottom: auto;
|
1826
|
+
& > tr:first-child > th {
|
1827
|
+
border-top: @cellBorder;
|
1828
|
+
}
|
1829
|
+
}
|
1830
|
+
&.inverted > thead > tr:first-child > th when (@variationTableInverted) {
|
1831
|
+
border-top: @invertedCellBorder;
|
1832
|
+
}
|
1844
1833
|
}
|
1845
|
-
|
1846
|
-
|
1847
|
-
|
1848
|
-
|
1849
|
-
|
1850
|
-
|
1851
|
-
|
1852
|
-
|
1853
|
-
|
1854
|
-
|
1855
|
-
|
1856
|
-
|
1857
|
-
|
1858
|
-
|
1859
|
-
|
1860
|
-
|
1861
|
-
background: inherit;
|
1834
|
+
.ui.foot.stuck.table when (@variationTableStuckFoot) {
|
1835
|
+
border-bottom: 0;
|
1836
|
+
& > tfoot {
|
1837
|
+
top: auto;
|
1838
|
+
bottom: 0;
|
1839
|
+
& > tr:last-child > td,
|
1840
|
+
> tr:last-child > th {
|
1841
|
+
border-bottom: @cellBorder;
|
1842
|
+
}
|
1843
|
+
}
|
1844
|
+
& when (@variationTableInverted) {
|
1845
|
+
&.inverted > tfoot > tr:first-child > td,
|
1846
|
+
&.inverted > tfoot > tr:first-child > th {
|
1847
|
+
border-top: @invertedCellBorder;
|
1848
|
+
}
|
1849
|
+
}
|
1862
1850
|
}
|
1863
|
-
|
1864
|
-
|
1865
|
-
|
1866
|
-
|
1867
|
-
|
1868
|
-
|
1869
|
-
|
1870
|
-
|
1871
|
-
|
1872
|
-
|
1873
|
-
|
1874
|
-
|
1875
|
-
|
1876
|
-
|
1877
|
-
|
1878
|
-
|
1879
|
-
background: inherit;
|
1851
|
+
|
1852
|
+
.ui.first.stuck.table when (@variationTableStuckFirst) {
|
1853
|
+
border-left: 0;
|
1854
|
+
& th:first-child,
|
1855
|
+
td:first-child {
|
1856
|
+
position: sticky;
|
1857
|
+
left: 0;
|
1858
|
+
border-left: @cellBorder;
|
1859
|
+
background: inherit;
|
1860
|
+
}
|
1861
|
+
& when (@variationTableInverted) {
|
1862
|
+
&.inverted th:first-child,
|
1863
|
+
&.inverted td:first-child {
|
1864
|
+
border-left: @invertedCellBorder;
|
1865
|
+
}
|
1866
|
+
}
|
1880
1867
|
}
|
1881
|
-
|
1882
|
-
|
1883
|
-
|
1884
|
-
|
1885
|
-
|
1886
|
-
|
1887
|
-
|
1888
|
-
|
1889
|
-
|
1890
|
-
|
1891
|
-
|
1892
|
-
|
1893
|
-
|
1894
|
-
|
1895
|
-
|
1896
|
-
|
1897
|
-
.ui.celled.last.stuck.table td:last-child {
|
1898
|
-
border-left: @cellBorder;
|
1899
|
-
}
|
1868
|
+
|
1869
|
+
.ui.last.stuck.table when (@variationTableStuckLast) {
|
1870
|
+
border-right: 0;
|
1871
|
+
& th:last-child,
|
1872
|
+
td:last-child {
|
1873
|
+
position: sticky;
|
1874
|
+
right: 0;
|
1875
|
+
border-right: @cellBorder;
|
1876
|
+
background: inherit;
|
1877
|
+
}
|
1878
|
+
& when (@variationTableInverted) {
|
1879
|
+
&.inverted th:last-child,
|
1880
|
+
&.inverted td:last-child {
|
1881
|
+
border-right: @invertedCellBorder;
|
1882
|
+
}
|
1883
|
+
}
|
1900
1884
|
}
|
1901
|
-
& when (@
|
1902
|
-
|
1903
|
-
|
1904
|
-
|
1905
|
-
|
1885
|
+
& when (@variationTableCelled) {
|
1886
|
+
& when (@variationTableStuckFirst) {
|
1887
|
+
.ui.celled.first.stuck.table th:first-child,
|
1888
|
+
.ui.celled.first.stuck.table td:first-child {
|
1889
|
+
border-right: @cellBorder;
|
1890
|
+
}
|
1891
|
+
}
|
1892
|
+
& when (@variationTableStuckLast) {
|
1893
|
+
.ui.celled.last.stuck.table th:last-child,
|
1894
|
+
.ui.celled.last.stuck.table td:last-child {
|
1895
|
+
border-left: @cellBorder;
|
1896
|
+
}
|
1906
1897
|
}
|
1907
|
-
|
1908
|
-
|
1909
|
-
|
1910
|
-
|
1911
|
-
|
1898
|
+
& when (@variationTableInverted) {
|
1899
|
+
& when (@variationTableStuckFirst) {
|
1900
|
+
.ui.inverted.celled.first.stuck.table th:first-child,
|
1901
|
+
.ui.inverted.celled.first.stuck.table td:first-child {
|
1902
|
+
border-right: @invertedCellBorder;
|
1903
|
+
}
|
1904
|
+
}
|
1905
|
+
& when (@variationTableStuckLast) {
|
1906
|
+
.ui.inverted.celled.last.stuck.table th:last-child,
|
1907
|
+
.ui.inverted.celled.last.stuck.table td:last-child {
|
1908
|
+
border-left: @invertedCellBorder;
|
1909
|
+
}
|
1910
|
+
}
|
1912
1911
|
}
|
1913
|
-
}
|
1914
1912
|
}
|
1915
|
-
}
|
1916
1913
|
}
|
1917
1914
|
|
1918
|
-
|
1915
|
+
/* --------------
|
1919
1916
|
Sizes
|
1920
|
-
|
1917
|
+
--------------- */
|
1921
1918
|
|
1922
1919
|
/* Standard */
|
1923
1920
|
.ui.table {
|
1924
|
-
|
1921
|
+
font-size: @medium;
|
1925
1922
|
}
|
1926
1923
|
& when not (@variationTableSizes = false) {
|
1927
|
-
|
1928
|
-
|
1929
|
-
|
1930
|
-
|
1931
|
-
|
1932
|
-
|
1924
|
+
each(@variationTableSizes, {
|
1925
|
+
@s: @@value;
|
1926
|
+
.ui.@{value}.table {
|
1927
|
+
font-size: @s;
|
1928
|
+
}
|
1929
|
+
});
|
1933
1930
|
}
|
1934
1931
|
|
1935
|
-
|
1936
1932
|
.loadUIOverrides();
|