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,264 +8,254 @@
|
|
8
8
|
*
|
9
9
|
*/
|
10
10
|
|
11
|
-
|
12
11
|
/*******************************
|
13
12
|
Theme
|
14
13
|
*******************************/
|
15
14
|
|
16
|
-
@type
|
17
|
-
@element
|
15
|
+
@type: "module";
|
16
|
+
@element: "dropdown";
|
18
17
|
|
19
|
-
@import (multiple)
|
18
|
+
@import (multiple) "../../theme.config";
|
20
19
|
|
21
20
|
/*******************************
|
22
21
|
Dropdown
|
23
22
|
*******************************/
|
24
23
|
|
25
24
|
.ui.dropdown {
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
25
|
+
cursor: pointer;
|
26
|
+
position: relative;
|
27
|
+
display: inline-block;
|
28
|
+
outline: none;
|
29
|
+
text-align: left;
|
30
|
+
transition: @transition;
|
31
|
+
user-select: none;
|
32
|
+
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
35
33
|
}
|
36
34
|
|
37
35
|
/*******************************
|
38
36
|
Content
|
39
37
|
*******************************/
|
40
38
|
|
41
|
-
|
39
|
+
/* --------------
|
42
40
|
Menu
|
43
|
-
|
41
|
+
--------------- */
|
44
42
|
|
45
43
|
.ui.dropdown .menu {
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
transition: @menuTransition;
|
65
|
-
z-index: @menuZIndex;
|
66
|
-
will-change: transform, opacity;
|
44
|
+
cursor: auto;
|
45
|
+
position: absolute;
|
46
|
+
display: none;
|
47
|
+
outline: none;
|
48
|
+
top: 100%;
|
49
|
+
min-width: max-content;
|
50
|
+
margin: @menuMargin;
|
51
|
+
padding: @menuPadding;
|
52
|
+
background: @menuBackground;
|
53
|
+
font-size: @relativeMedium;
|
54
|
+
text-shadow: none;
|
55
|
+
text-align: @menuTextAlign;
|
56
|
+
box-shadow: @menuBoxShadow;
|
57
|
+
border: @menuBorder;
|
58
|
+
border-radius: @menuBorderRadius;
|
59
|
+
transition: @menuTransition;
|
60
|
+
z-index: @menuZIndex;
|
61
|
+
will-change: transform, opacity;
|
67
62
|
}
|
68
63
|
|
69
64
|
.ui.dropdown .menu > * {
|
70
|
-
|
65
|
+
white-space: nowrap;
|
71
66
|
}
|
72
67
|
|
73
|
-
|
74
|
-
/*--------------
|
68
|
+
/* --------------
|
75
69
|
Hidden Input
|
76
|
-
|
70
|
+
--------------- */
|
77
71
|
|
78
72
|
.ui.dropdown > input:not(.search):first-child,
|
79
73
|
.ui.dropdown > select {
|
80
|
-
|
74
|
+
display: none !important;
|
81
75
|
}
|
82
76
|
|
83
|
-
|
77
|
+
/* --------------
|
84
78
|
Dropdown Icon
|
85
|
-
|
79
|
+
--------------- */
|
86
80
|
|
87
81
|
.ui.dropdown:not(.labeled) > .dropdown.icon {
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
82
|
+
position: relative;
|
83
|
+
width: auto;
|
84
|
+
min-width: @dropdownIconMinWidth;
|
85
|
+
font-size: @dropdownIconSize;
|
86
|
+
margin: @dropdownIconMargin;
|
93
87
|
}
|
94
88
|
.ui.dropdown .menu > .item .dropdown.icon {
|
95
|
-
|
96
|
-
|
97
|
-
|
89
|
+
width: auto;
|
90
|
+
float: @itemDropdownIconFloat;
|
91
|
+
margin: @itemDropdownIconMargin;
|
98
92
|
}
|
99
93
|
.ui.dropdown .menu > .item .dropdown.icon + .text {
|
100
|
-
|
94
|
+
margin-right: @itemDropdownIconDistance;
|
101
95
|
}
|
102
96
|
|
103
|
-
|
104
|
-
/*--------------
|
97
|
+
/* --------------
|
105
98
|
Text
|
106
|
-
|
99
|
+
--------------- */
|
107
100
|
|
108
101
|
.ui.dropdown > .text {
|
109
|
-
|
110
|
-
|
102
|
+
display: inline-block;
|
103
|
+
transition: @textTransition;
|
111
104
|
}
|
112
105
|
|
113
|
-
|
106
|
+
/* --------------
|
114
107
|
Menu Item
|
115
|
-
|
108
|
+
--------------- */
|
116
109
|
|
117
110
|
.ui.dropdown .menu > .item {
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
box-shadow: @itemBoxShadow;
|
135
|
-
-webkit-touch-callout: none;
|
111
|
+
position: relative;
|
112
|
+
cursor: pointer;
|
113
|
+
display: block;
|
114
|
+
border: @itemBorder;
|
115
|
+
height: @itemHeight;
|
116
|
+
min-height: @itemMinHeight;
|
117
|
+
text-align: @itemTextAlign;
|
118
|
+
border-top: @itemDivider;
|
119
|
+
line-height: @itemLineHeight;
|
120
|
+
font-size: @itemFontSize;
|
121
|
+
color: @itemColor;
|
122
|
+
padding: @itemPadding;
|
123
|
+
text-transform: @itemTextTransform;
|
124
|
+
font-weight: @itemFontWeight;
|
125
|
+
box-shadow: @itemBoxShadow;
|
126
|
+
-webkit-touch-callout: none;
|
136
127
|
}
|
137
128
|
.ui.dropdown .menu > .item:first-child {
|
138
|
-
|
129
|
+
border-top-width: 0;
|
139
130
|
}
|
140
131
|
|
141
132
|
.ui.dropdown .menu > .item.vertical {
|
142
|
-
|
143
|
-
|
133
|
+
display: flex;
|
134
|
+
flex-direction: column-reverse;
|
144
135
|
}
|
145
136
|
|
146
|
-
|
137
|
+
/* --------------
|
147
138
|
Floated Content
|
148
|
-
|
139
|
+
--------------- */
|
149
140
|
|
150
141
|
.ui.dropdown > .text > [class*="right floated"],
|
151
142
|
.ui.dropdown .menu .item > [class*="right floated"] {
|
152
|
-
|
153
|
-
|
154
|
-
|
143
|
+
float: right !important;
|
144
|
+
margin-right: 0 !important;
|
145
|
+
margin-left: @floatedDistance !important;
|
155
146
|
}
|
156
147
|
.ui.dropdown > .text > [class*="left floated"],
|
157
148
|
.ui.dropdown .menu .item > [class*="left floated"] {
|
158
|
-
|
159
|
-
|
160
|
-
|
149
|
+
float: left !important;
|
150
|
+
margin-left: 0 !important;
|
151
|
+
margin-right: @floatedDistance !important;
|
161
152
|
}
|
162
153
|
|
163
154
|
.ui.dropdown .menu .item > i.icon.floated,
|
164
155
|
.ui.dropdown .menu .item > .flag.floated,
|
165
156
|
.ui.dropdown .menu .item > .image.floated,
|
166
157
|
.ui.dropdown .menu .item > img.floated {
|
167
|
-
|
158
|
+
margin-top: @itemLineHeightOffset;
|
168
159
|
}
|
169
160
|
|
170
|
-
|
171
|
-
/*--------------
|
161
|
+
/* --------------
|
172
162
|
Menu Divider
|
173
|
-
|
163
|
+
--------------- */
|
174
164
|
|
175
165
|
.ui.dropdown .menu > .header {
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
166
|
+
margin: @menuHeaderMargin;
|
167
|
+
padding: @menuHeaderPadding;
|
168
|
+
font-weight: @menuHeaderFontWeight;
|
169
|
+
text-transform: @menuHeaderTextTransform;
|
180
170
|
}
|
181
171
|
.ui.dropdown .menu > .header:not(.ui) {
|
182
|
-
|
183
|
-
|
172
|
+
color: @menuHeaderColor;
|
173
|
+
font-size: @menuHeaderFontSize;
|
184
174
|
}
|
185
175
|
.ui.dropdown .menu > .divider {
|
186
|
-
|
187
|
-
|
188
|
-
|
176
|
+
border-top: @menuDividerBorder;
|
177
|
+
height: 0;
|
178
|
+
margin: @menuDividerMargin;
|
189
179
|
}
|
190
180
|
.ui.dropdown .menu > .horizontal.divider {
|
191
|
-
|
181
|
+
border-top: none;
|
192
182
|
}
|
193
183
|
|
194
184
|
.ui.ui.ui.dropdown .menu > .input {
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
185
|
+
width: auto;
|
186
|
+
display: flex;
|
187
|
+
margin: @menuInputMargin;
|
188
|
+
min-width: @menuInputMinWidth;
|
199
189
|
}
|
200
190
|
.ui.dropdown .menu > .header + .input {
|
201
|
-
|
191
|
+
margin-top: 0;
|
202
192
|
}
|
203
193
|
.ui.dropdown .menu > .input:not(.transparent) input {
|
204
|
-
|
194
|
+
padding: @menuInputPadding;
|
205
195
|
}
|
206
196
|
.ui.dropdown .menu > .input:not(.transparent) .button,
|
207
197
|
.ui.dropdown .menu > .input:not(.transparent) i.icon,
|
208
198
|
.ui.dropdown .menu > .input:not(.transparent) .label {
|
209
|
-
|
210
|
-
|
199
|
+
padding-top: @menuInputVerticalPadding;
|
200
|
+
padding-bottom: @menuInputVerticalPadding;
|
211
201
|
}
|
212
202
|
|
213
|
-
|
203
|
+
/* -----------------
|
214
204
|
Item Description
|
215
|
-
|
205
|
+
------------------- */
|
216
206
|
|
217
207
|
.ui.dropdown > .text > .description,
|
218
208
|
.ui.dropdown .menu > .item > .description {
|
219
|
-
|
220
|
-
|
221
|
-
|
209
|
+
float: @itemDescriptionFloat;
|
210
|
+
margin: @itemDescriptionMargin;
|
211
|
+
color: @itemDescriptionColor;
|
222
212
|
}
|
223
213
|
|
224
214
|
.ui.dropdown .menu > .item.vertical > .description {
|
225
|
-
|
215
|
+
margin: 0;
|
226
216
|
}
|
227
217
|
|
228
|
-
|
218
|
+
/* -----------------
|
229
219
|
Item Text
|
230
|
-
|
220
|
+
------------------- */
|
231
221
|
|
232
222
|
.ui.dropdown .menu > .item.vertical > .text {
|
233
|
-
|
223
|
+
margin-bottom: @verticalItemMargin;
|
234
224
|
}
|
235
225
|
|
236
|
-
|
226
|
+
/* -----------------
|
237
227
|
Message
|
238
|
-
|
228
|
+
------------------- */
|
239
229
|
|
240
230
|
.ui.dropdown .menu > .message {
|
241
|
-
|
242
|
-
|
231
|
+
padding: @messagePadding;
|
232
|
+
font-weight: @messageFontWeight;
|
243
233
|
}
|
244
234
|
.ui.dropdown .menu > .message:not(.ui) {
|
245
|
-
|
235
|
+
color: @messageColor;
|
246
236
|
}
|
247
237
|
|
248
|
-
|
238
|
+
/* --------------
|
249
239
|
Sub Menu
|
250
|
-
|
240
|
+
--------------- */
|
251
241
|
|
252
242
|
.ui.dropdown .menu .menu {
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
243
|
+
top: @subMenuTop;
|
244
|
+
left: @subMenuLeft;
|
245
|
+
right: @subMenuRight;
|
246
|
+
margin: @subMenuMargin !important;
|
247
|
+
border-radius: @subMenuBorderRadius !important;
|
248
|
+
z-index: @subMenuZIndex !important;
|
259
249
|
}
|
260
250
|
|
261
251
|
/* Hide Arrow */
|
262
252
|
.ui.dropdown .menu .menu::after {
|
263
|
-
|
253
|
+
display: none;
|
264
254
|
}
|
265
255
|
|
266
|
-
|
256
|
+
/* --------------
|
267
257
|
Sub Elements
|
268
|
-
|
258
|
+
--------------- */
|
269
259
|
|
270
260
|
/* Icons / Flags / Labels / Image */
|
271
261
|
.ui.dropdown > .text > i.icons,
|
@@ -274,15 +264,15 @@
|
|
274
264
|
.ui.dropdown > .text > .flag,
|
275
265
|
.ui.dropdown > .text > img,
|
276
266
|
.ui.dropdown > .text > .image {
|
277
|
-
|
267
|
+
margin-top: @textLineHeightOffset;
|
278
268
|
}
|
279
269
|
.ui.dropdown .menu > .item > i.icons,
|
280
270
|
.ui.dropdown .menu > .item > i.icon,
|
281
271
|
.ui.dropdown .menu > .item > .label,
|
282
272
|
.ui.dropdown .menu > .item > .flag,
|
283
273
|
.ui.dropdown .menu > .item > .image,
|
284
|
-
.ui.dropdown .menu > .item > img
|
285
|
-
|
274
|
+
.ui.dropdown .menu > .item > img {
|
275
|
+
margin-top: @itemLineHeightOffset;
|
286
276
|
}
|
287
277
|
|
288
278
|
.ui.dropdown > .text > i.icons,
|
@@ -296,1693 +286,1673 @@
|
|
296
286
|
.ui.dropdown .menu > .item > .label,
|
297
287
|
.ui.dropdown .menu > .item > .flag,
|
298
288
|
.ui.dropdown .menu > .item > .image,
|
299
|
-
.ui.dropdown .menu > .item > img
|
300
|
-
|
301
|
-
|
302
|
-
|
289
|
+
.ui.dropdown .menu > .item > img {
|
290
|
+
margin-left: 0;
|
291
|
+
float: @itemElementFloat;
|
292
|
+
margin-right: @itemElementDistance;
|
303
293
|
}
|
304
294
|
|
305
|
-
|
295
|
+
/* --------------
|
306
296
|
Image
|
307
|
-
|
297
|
+
--------------- */
|
308
298
|
|
309
299
|
.ui.dropdown > .text > img,
|
310
300
|
.ui.dropdown > .text > .image:not(.icon),
|
311
301
|
.ui.dropdown .menu > .item > .image:not(.icon),
|
312
302
|
.ui.dropdown .menu > .item > img {
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
303
|
+
display: inline-block;
|
304
|
+
vertical-align: top;
|
305
|
+
width: auto;
|
306
|
+
margin-top: @menuImageVerticalMargin;
|
307
|
+
margin-bottom: @menuImageVerticalMargin;
|
308
|
+
max-height: @menuImageMaxHeight;
|
319
309
|
}
|
320
310
|
|
321
|
-
|
322
311
|
/*******************************
|
323
312
|
Coupling
|
324
313
|
*******************************/
|
325
314
|
|
326
|
-
|
327
|
-
/*--------------
|
315
|
+
/* --------------
|
328
316
|
Menu
|
329
|
-
|
317
|
+
--------------- */
|
330
318
|
|
331
319
|
/* Remove Menu Item Divider */
|
332
320
|
.ui.dropdown .ui.menu > .item::before,
|
333
321
|
.ui.menu .ui.dropdown .menu > .item::before {
|
334
|
-
|
322
|
+
display: none;
|
335
323
|
}
|
336
324
|
|
337
325
|
/* Prevent Menu Item Border */
|
338
326
|
.ui.menu .ui.dropdown .menu .active.item {
|
339
|
-
|
327
|
+
border-left: none;
|
340
328
|
}
|
341
329
|
|
342
330
|
/* Automatically float dropdown menu right on last menu item */
|
343
331
|
.ui.menu .right.menu .dropdown:last-child > .menu:not(.left),
|
344
332
|
.ui.menu .right.dropdown.item > .menu:not(.left),
|
345
333
|
.ui.buttons > .ui.dropdown:last-child > .menu:not(.left) {
|
346
|
-
|
347
|
-
|
334
|
+
left: auto;
|
335
|
+
right: 0;
|
348
336
|
}
|
349
337
|
|
350
338
|
& when (@variationDropdownLabel) {
|
351
|
-
|
352
|
-
|
353
|
-
|
339
|
+
/* --------------
|
340
|
+
Label
|
341
|
+
--------------- */
|
354
342
|
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
343
|
+
/* Dropdown Menu */
|
344
|
+
.ui.label.dropdown .menu {
|
345
|
+
min-width: 100%;
|
346
|
+
}
|
359
347
|
}
|
360
348
|
|
361
349
|
& when (@variationDropdownButton) {
|
362
|
-
|
363
|
-
|
364
|
-
|
350
|
+
/* --------------
|
351
|
+
Button
|
352
|
+
--------------- */
|
365
353
|
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
354
|
+
/* No Margin On Icon Button */
|
355
|
+
.ui.dropdown.icon.button > .dropdown.icon {
|
356
|
+
margin: 0;
|
357
|
+
}
|
358
|
+
.ui.dropdown.button .menu {
|
359
|
+
min-width: 100%;
|
360
|
+
}
|
361
|
+
.ui.dropdown.button:not(.pointing):not(.floating).active {
|
362
|
+
border-radius: @borderRadius @borderRadius 0 0;
|
363
|
+
}
|
364
|
+
.ui.dropdown.button:not(.pointing):not(.floating) > .menu {
|
365
|
+
border-radius: 0 0 @borderRadius @borderRadius;
|
366
|
+
}
|
379
367
|
}
|
380
368
|
|
381
|
-
|
382
|
-
|
383
369
|
/*******************************
|
384
370
|
Types
|
385
371
|
*******************************/
|
386
372
|
select.ui.dropdown {
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
373
|
+
height: @selectHeight;
|
374
|
+
padding: @selectPadding;
|
375
|
+
border: @selectBorder;
|
376
|
+
visibility: @selectVisibility;
|
391
377
|
}
|
392
378
|
|
393
379
|
& when (@variationDropdownSelection) {
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
min-width: 0;
|
444
|
-
}
|
445
|
-
}
|
446
|
-
|
447
|
-
/* Selection Menu */
|
448
|
-
.ui.selection.dropdown .menu {
|
449
|
-
overflow-x: hidden;
|
450
|
-
overflow-y: auto;
|
451
|
-
backface-visibility: hidden;
|
452
|
-
-webkit-overflow-scrolling: touch;
|
453
|
-
border-top-width: 0 !important;
|
454
|
-
width: auto;
|
455
|
-
outline: none;
|
456
|
-
margin: 0 -@menuBorderWidth;
|
457
|
-
min-width: @menuMinWidth;
|
458
|
-
width: @menuMinWidth;
|
459
|
-
|
460
|
-
border-radius: @selectionMenuBorderRadius;
|
461
|
-
box-shadow: @selectionMenuBoxShadow;
|
462
|
-
transition: @selectionMenuTransition;
|
463
|
-
}
|
464
|
-
.ui.selection.dropdown .menu::after,
|
465
|
-
.ui.selection.dropdown .menu::before {
|
466
|
-
display: none;
|
467
|
-
}
|
468
|
-
|
469
|
-
/*--------------
|
470
|
-
Message
|
471
|
-
---------------*/
|
472
|
-
|
473
|
-
.ui.selection.dropdown .menu > .message {
|
474
|
-
padding: @selectionMessagePadding;
|
475
|
-
}
|
476
|
-
|
477
|
-
@media only screen and (max-width : @largestMobileScreen) {
|
478
|
-
& when (@variationDropdownShort) {
|
479
|
-
.ui.selection.dropdown.short .menu {
|
480
|
-
max-height: @selectionMobileMaxMenuHeight * 0.75;
|
481
|
-
}
|
482
|
-
.ui.selection.dropdown[class*="very short"] .menu {
|
483
|
-
max-height: @selectionMobileMaxMenuHeight * 0.5;
|
484
|
-
}
|
380
|
+
/* --------------
|
381
|
+
Selection
|
382
|
+
--------------- */
|
383
|
+
|
384
|
+
/* Displays like a select box */
|
385
|
+
.ui.selection.dropdown {
|
386
|
+
cursor: pointer;
|
387
|
+
word-wrap: break-word;
|
388
|
+
line-height: 1em;
|
389
|
+
white-space: normal;
|
390
|
+
outline: 0;
|
391
|
+
transform: rotateZ(0);
|
392
|
+
min-width: @selectionMinWidth;
|
393
|
+
min-height: @selectionMinHeight;
|
394
|
+
background: @selectionBackground;
|
395
|
+
display: @selectionDisplay;
|
396
|
+
padding: @selectionPadding;
|
397
|
+
color: @selectionTextColor;
|
398
|
+
box-shadow: @selectionBoxShadow;
|
399
|
+
border: @selectionBorder;
|
400
|
+
border-radius: @selectionBorderRadius;
|
401
|
+
transition: @selectionTransition;
|
402
|
+
}
|
403
|
+
.ui.selection.dropdown.visible,
|
404
|
+
.ui.selection.dropdown.active {
|
405
|
+
z-index: @selectionZIndex;
|
406
|
+
}
|
407
|
+
|
408
|
+
.ui.selection.dropdown > .search.icon,
|
409
|
+
.ui.selection.dropdown > .delete.icon,
|
410
|
+
.ui.selection.dropdown > .dropdown.icon {
|
411
|
+
cursor: pointer;
|
412
|
+
position: absolute;
|
413
|
+
width: auto;
|
414
|
+
height: auto;
|
415
|
+
line-height: @searchSelectionLineHeight;
|
416
|
+
top: @selectionVerticalPadding;
|
417
|
+
right: @selectionHorizontalPadding;
|
418
|
+
z-index: @selectionIconZIndex;
|
419
|
+
margin: @selectionIconMargin;
|
420
|
+
padding: @selectionIconPadding;
|
421
|
+
opacity: @selectionIconOpacity;
|
422
|
+
transition: @selectionIconTransition;
|
423
|
+
}
|
424
|
+
& when (@variationDropdownCompact) {
|
425
|
+
/* Compact */
|
426
|
+
.ui.compact.selection.dropdown {
|
427
|
+
min-width: 0;
|
428
|
+
}
|
485
429
|
}
|
430
|
+
|
431
|
+
/* Selection Menu */
|
486
432
|
.ui.selection.dropdown .menu {
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
433
|
+
overflow-x: hidden;
|
434
|
+
overflow-y: auto;
|
435
|
+
overscroll-behavior: @overscrollBehavior;
|
436
|
+
backface-visibility: hidden;
|
437
|
+
border-top-width: 0 !important;
|
438
|
+
outline: none;
|
439
|
+
margin: 0 -@menuBorderWidth;
|
440
|
+
min-width: @menuMinWidth;
|
441
|
+
width: @menuMinWidth;
|
442
|
+
border-radius: @selectionMenuBorderRadius;
|
443
|
+
box-shadow: @selectionMenuBoxShadow;
|
444
|
+
transition: @selectionMenuTransition;
|
445
|
+
}
|
446
|
+
.ui.selection.dropdown .menu::after,
|
447
|
+
.ui.selection.dropdown .menu::before {
|
448
|
+
display: none;
|
449
|
+
}
|
450
|
+
|
451
|
+
/* --------------
|
452
|
+
Message
|
453
|
+
--------------- */
|
454
|
+
|
455
|
+
.ui.selection.dropdown .menu > .message {
|
456
|
+
padding: @selectionMessagePadding;
|
457
|
+
}
|
458
|
+
|
459
|
+
@media only screen and (max-width: @largestMobileScreen) {
|
460
|
+
& when (@variationDropdownShort) {
|
461
|
+
.ui.selection.dropdown.short .menu {
|
462
|
+
max-height: @selectionMobileMaxMenuHeight * 0.75;
|
463
|
+
}
|
464
|
+
.ui.selection.dropdown[class*="very short"] .menu {
|
465
|
+
max-height: @selectionMobileMaxMenuHeight * 0.5;
|
466
|
+
}
|
467
|
+
}
|
468
|
+
.ui.selection.dropdown .menu {
|
469
|
+
max-height: @selectionMobileMaxMenuHeight;
|
470
|
+
}
|
471
|
+
& when (@variationDropdownLong) {
|
472
|
+
.ui.selection.dropdown.long .menu {
|
473
|
+
max-height: @selectionMobileMaxMenuHeight * 2;
|
474
|
+
}
|
475
|
+
.ui.selection.dropdown[class*="very long"] .menu {
|
476
|
+
max-height: @selectionMobileMaxMenuHeight * 3;
|
477
|
+
}
|
478
|
+
}
|
506
479
|
}
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
480
|
+
@media only screen and (min-width: @tabletBreakpoint) {
|
481
|
+
& when (@variationDropdownShort) {
|
482
|
+
.ui.selection.dropdown.short .menu {
|
483
|
+
max-height: @selectionTabletMaxMenuHeight * 0.75;
|
484
|
+
}
|
485
|
+
.ui.selection.dropdown[class*="very short"] .menu {
|
486
|
+
max-height: @selectionTabletMaxMenuHeight * 0.5;
|
487
|
+
}
|
488
|
+
}
|
489
|
+
.ui.selection.dropdown .menu {
|
490
|
+
max-height: @selectionTabletMaxMenuHeight;
|
491
|
+
}
|
492
|
+
& when (@variationDropdownLong) {
|
493
|
+
.ui.selection.dropdown.long .menu {
|
494
|
+
max-height: @selectionTabletMaxMenuHeight * 2;
|
495
|
+
}
|
496
|
+
.ui.selection.dropdown[class*="very long"] .menu {
|
497
|
+
max-height: @selectionTabletMaxMenuHeight * 3;
|
498
|
+
}
|
499
|
+
}
|
527
500
|
}
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
501
|
+
@media only screen and (min-width: @computerBreakpoint) {
|
502
|
+
& when (@variationDropdownShort) {
|
503
|
+
.ui.selection.dropdown.short .menu {
|
504
|
+
max-height: @selectionComputerMaxMenuHeight * 0.75;
|
505
|
+
}
|
506
|
+
.ui.selection.dropdown[class*="very short"] .menu {
|
507
|
+
max-height: @selectionComputerMaxMenuHeight * 0.5;
|
508
|
+
}
|
509
|
+
}
|
510
|
+
.ui.selection.dropdown .menu {
|
511
|
+
max-height: @selectionComputerMaxMenuHeight;
|
512
|
+
}
|
513
|
+
& when (@variationDropdownLong) {
|
514
|
+
.ui.selection.dropdown.long .menu {
|
515
|
+
max-height: @selectionComputerMaxMenuHeight * 2;
|
516
|
+
}
|
517
|
+
.ui.selection.dropdown[class*="very long"] .menu {
|
518
|
+
max-height: @selectionComputerMaxMenuHeight * 3;
|
519
|
+
}
|
520
|
+
}
|
548
521
|
}
|
549
|
-
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
|
555
|
-
|
556
|
-
|
557
|
-
|
558
|
-
|
559
|
-
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
|
571
|
-
|
572
|
-
|
573
|
-
|
574
|
-
|
575
|
-
|
576
|
-
|
577
|
-
|
578
|
-
|
579
|
-
|
580
|
-
|
581
|
-
|
582
|
-
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
-
|
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
|
-
|
632
|
-
|
633
|
-
|
634
|
-
|
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
|
-
|
522
|
+
@media only screen and (min-width: @widescreenMonitorBreakpoint) {
|
523
|
+
& when (@variationDropdownShort) {
|
524
|
+
.ui.selection.dropdown.short .menu {
|
525
|
+
max-height: @selectionWidescreenMaxMenuHeight * 0.75;
|
526
|
+
}
|
527
|
+
.ui.selection.dropdown[class*="very short"] .menu {
|
528
|
+
max-height: @selectionWidescreenMaxMenuHeight * 0.5;
|
529
|
+
}
|
530
|
+
}
|
531
|
+
.ui.selection.dropdown .menu {
|
532
|
+
max-height: @selectionWidescreenMaxMenuHeight;
|
533
|
+
}
|
534
|
+
& when (@variationDropdownLong) {
|
535
|
+
.ui.selection.dropdown.long .menu {
|
536
|
+
max-height: @selectionWidescreenMaxMenuHeight * 2;
|
537
|
+
}
|
538
|
+
.ui.selection.dropdown[class*="very long"] .menu {
|
539
|
+
max-height: @selectionWidescreenMaxMenuHeight * 3;
|
540
|
+
}
|
541
|
+
}
|
542
|
+
}
|
543
|
+
|
544
|
+
/* Menu Item */
|
545
|
+
.ui.selection.dropdown .menu > .item {
|
546
|
+
border-top: @selectionItemDivider;
|
547
|
+
padding: @selectionItemPadding;
|
548
|
+
white-space: normal;
|
549
|
+
word-wrap: normal;
|
550
|
+
}
|
551
|
+
|
552
|
+
/* User Item */
|
553
|
+
.ui.selection.dropdown .menu > .hidden.addition.item {
|
554
|
+
display: none;
|
555
|
+
}
|
556
|
+
|
557
|
+
/* User addition item */
|
558
|
+
.ui.dropdown > .menu > .stuck.addition.item:first-child {
|
559
|
+
position: sticky;
|
560
|
+
top: 0;
|
561
|
+
box-shadow: @selectionVisibleBoxShadow;
|
562
|
+
background: @menuBackground;
|
563
|
+
z-index: @additionZIndex;
|
564
|
+
}
|
565
|
+
|
566
|
+
/* Hover */
|
567
|
+
.ui.selection.dropdown:hover {
|
568
|
+
border-color: @selectionHoverBorderColor;
|
569
|
+
box-shadow: @selectionHoverBoxShadow;
|
570
|
+
}
|
571
|
+
|
572
|
+
/* Active */
|
573
|
+
.ui.selection.simple.dropdown:hover,
|
574
|
+
.ui.selection.active.dropdown {
|
575
|
+
border-color: @selectionVisibleBorderColor;
|
576
|
+
box-shadow: @selectionVisibleBoxShadow;
|
577
|
+
}
|
578
|
+
.ui.selection.simple.dropdown:hover .menu,
|
579
|
+
.ui.selection.active.dropdown .menu {
|
580
|
+
border-color: @selectionVisibleBorderColor;
|
581
|
+
box-shadow: @selectionVisibleMenuBoxShadow;
|
582
|
+
}
|
583
|
+
|
584
|
+
/* Focus */
|
585
|
+
.ui.selection.dropdown:focus {
|
586
|
+
border-color: @selectionFocusBorderColor;
|
587
|
+
box-shadow: @selectionFocusBoxShadow;
|
588
|
+
}
|
589
|
+
.ui.selection.dropdown:focus .menu {
|
590
|
+
border-color: @selectionFocusBorderColor;
|
591
|
+
box-shadow: @selectionFocusMenuBoxShadow;
|
592
|
+
}
|
593
|
+
|
594
|
+
/* Visible */
|
595
|
+
.ui.selection.visible.dropdown > .text:not(.default) {
|
596
|
+
font-weight: @selectionVisibleTextFontWeight;
|
597
|
+
color: @selectionVisibleTextColor;
|
598
|
+
}
|
599
|
+
|
600
|
+
/* Visible Hover */
|
601
|
+
.ui.selection.active.dropdown:hover {
|
602
|
+
border-color: @selectionActiveHoverBorderColor;
|
603
|
+
box-shadow: @selectionActiveHoverBoxShadow;
|
604
|
+
}
|
605
|
+
.ui.selection.active.dropdown:hover .menu {
|
606
|
+
border-color: @selectionActiveHoverBorderColor;
|
607
|
+
box-shadow: @selectionActiveHoverMenuBoxShadow;
|
608
|
+
}
|
609
|
+
|
610
|
+
/* Dropdown Icon */
|
611
|
+
.ui.active.selection.dropdown > .dropdown.icon,
|
612
|
+
.ui.visible.selection.dropdown > .dropdown.icon {
|
613
|
+
opacity: @selectionVisibleIconOpacity;
|
614
|
+
z-index: 3;
|
615
|
+
}
|
616
|
+
|
617
|
+
/* Connecting Border */
|
618
|
+
.ui.active.selection.dropdown {
|
619
|
+
border-bottom-left-radius: @selectionVisibleConnectingBorder !important;
|
620
|
+
border-bottom-right-radius: @selectionVisibleConnectingBorder !important;
|
621
|
+
}
|
622
|
+
|
623
|
+
/* Empty Connecting Border */
|
624
|
+
.ui.active.empty.selection.dropdown {
|
625
|
+
border-radius: @selectionBorderRadius !important;
|
626
|
+
box-shadow: @selectionBoxShadow !important;
|
627
|
+
}
|
628
|
+
.ui.active.empty.selection.dropdown .menu {
|
629
|
+
border: none !important;
|
630
|
+
box-shadow: none !important;
|
631
|
+
}
|
632
|
+
& when (@variationDropdownScrollhint) {
|
633
|
+
/* CSS specific to iOS devices or firefox mobile only */
|
634
|
+
@supports (-webkit-touch-callout: none) or (-moz-appearance: none) {
|
635
|
+
@media (-moz-touch-enabled), (pointer: coarse) {
|
636
|
+
.ui.dropdown .scrollhint.menu:not(.hidden)::before {
|
637
|
+
animation: scrollhint @scrollhintDuration @scrollhintEasing @scrollhintIteration;
|
638
|
+
content: "";
|
639
|
+
z-index: @scrollhintZIndex;
|
640
|
+
display: block;
|
641
|
+
position: absolute;
|
642
|
+
opacity: 0;
|
643
|
+
right: @scrollhintOffsetRight;
|
644
|
+
top: 0;
|
645
|
+
height: 100%;
|
646
|
+
border-right: @scrollhintRightBorder;
|
647
|
+
border-left: @scrollhintLeftBorder;
|
648
|
+
border-image: linear-gradient(to bottom, @scrollhintStartColor, @scrollhintEndColor) 1 100%;
|
649
|
+
}
|
650
|
+
|
651
|
+
.ui.inverted.dropdown .scrollhint.menu:not(.hidden)::before {
|
652
|
+
border-image: linear-gradient(to bottom, @invertedScrollhintStartColor, @invertedScrollhintEndColor) 1 100%;
|
653
|
+
}
|
654
|
+
|
655
|
+
@keyframes scrollhint {
|
656
|
+
0% {
|
657
|
+
opacity: 1;
|
658
|
+
top: 100%;
|
659
|
+
}
|
660
|
+
100% {
|
661
|
+
opacity: 0;
|
662
|
+
top: 0;
|
663
|
+
}
|
664
|
+
}
|
665
|
+
}
|
683
666
|
}
|
684
|
-
}
|
685
667
|
}
|
686
|
-
}
|
687
668
|
}
|
688
669
|
|
689
670
|
& when (@variationDropdownSearch) {
|
690
|
-
|
691
|
-
|
692
|
-
|
693
|
-
|
694
|
-
/* Search Selection */
|
695
|
-
.ui.search.dropdown {
|
696
|
-
min-width: @searchMinWidth;
|
697
|
-
}
|
698
|
-
|
699
|
-
/* Search Dropdown */
|
700
|
-
.ui.search.dropdown > input.search {
|
701
|
-
background: none transparent !important;
|
702
|
-
border: none !important;
|
703
|
-
box-shadow: none !important;
|
704
|
-
cursor: text;
|
705
|
-
top: 0;
|
706
|
-
left: @textCursorSpacing;
|
707
|
-
width: 100%;
|
708
|
-
outline: none;
|
709
|
-
-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
|
710
|
-
padding: inherit;
|
711
|
-
}
|
712
|
-
|
713
|
-
/* Text Layering */
|
714
|
-
.ui.search.dropdown > input.search {
|
715
|
-
position: absolute;
|
716
|
-
z-index: 2;
|
717
|
-
}
|
718
|
-
.ui.search.dropdown > .text {
|
719
|
-
cursor: text;
|
720
|
-
position: relative;
|
721
|
-
left: @textCursorSpacing;
|
722
|
-
z-index: auto;
|
723
|
-
}
|
671
|
+
/* --------------
|
672
|
+
Searchable
|
673
|
+
--------------- */
|
724
674
|
|
725
|
-
& when (@variationDropdownSelection) {
|
726
675
|
/* Search Selection */
|
727
|
-
.ui.search.
|
728
|
-
|
729
|
-
padding: @searchSelectionInputPadding;
|
676
|
+
.ui.search.dropdown {
|
677
|
+
min-width: @searchMinWidth;
|
730
678
|
}
|
731
679
|
|
732
|
-
/*
|
733
|
-
.ui.search.
|
734
|
-
|
735
|
-
|
736
|
-
|
737
|
-
|
680
|
+
/* Search Dropdown */
|
681
|
+
.ui.search.dropdown > input.search {
|
682
|
+
background: none transparent !important;
|
683
|
+
border: none !important;
|
684
|
+
box-shadow: none !important;
|
685
|
+
cursor: text;
|
686
|
+
top: 0;
|
687
|
+
left: @textCursorSpacing;
|
688
|
+
width: 100%;
|
689
|
+
outline: none;
|
690
|
+
-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
|
691
|
+
padding: inherit;
|
738
692
|
}
|
739
|
-
}
|
740
693
|
|
741
|
-
|
742
|
-
|
743
|
-
|
744
|
-
|
745
|
-
}
|
746
|
-
.ui.search.dropdown.active > .text,
|
747
|
-
.ui.search.dropdown.visible > .text {
|
748
|
-
pointer-events: none;
|
749
|
-
}
|
750
|
-
|
751
|
-
/* Filtered Text */
|
752
|
-
.ui.active.search.dropdown input.search:focus + .text i.icon,
|
753
|
-
.ui.active.search.dropdown input.search:focus + .text .flag {
|
754
|
-
opacity: @selectionTextUnderlayIconOpacity;
|
755
|
-
}
|
756
|
-
.ui.active.search.dropdown input.search:focus + .text {
|
757
|
-
color: @selectionTextUnderlayColor !important;
|
758
|
-
}
|
759
|
-
|
760
|
-
.ui.search.dropdown.button > span.sizer {
|
761
|
-
display: none;
|
762
|
-
}
|
763
|
-
|
764
|
-
/* Search Menu */
|
765
|
-
.ui.search.dropdown .menu {
|
766
|
-
overflow-x: hidden;
|
767
|
-
overflow-y: auto;
|
768
|
-
backface-visibility: hidden;
|
769
|
-
-webkit-overflow-scrolling: touch;
|
770
|
-
}
|
771
|
-
@media only screen and (max-width : @largestMobileScreen) {
|
772
|
-
.ui.search.dropdown .menu {
|
773
|
-
max-height: @searchMobileMaxMenuHeight;
|
694
|
+
/* Text Layering */
|
695
|
+
.ui.search.dropdown > input.search {
|
696
|
+
position: absolute;
|
697
|
+
z-index: 2;
|
774
698
|
}
|
775
|
-
|
776
|
-
|
777
|
-
|
778
|
-
|
699
|
+
.ui.search.dropdown > .text {
|
700
|
+
cursor: text;
|
701
|
+
position: relative;
|
702
|
+
left: @textCursorSpacing;
|
703
|
+
z-index: auto;
|
779
704
|
}
|
780
|
-
|
781
|
-
|
782
|
-
|
783
|
-
|
705
|
+
|
706
|
+
& when (@variationDropdownSelection) {
|
707
|
+
/* Search Selection */
|
708
|
+
.ui.search.selection.dropdown > input.search {
|
709
|
+
line-height: @searchSelectionLineHeight;
|
710
|
+
padding: @searchSelectionInputPadding;
|
711
|
+
}
|
712
|
+
|
713
|
+
/* Used to size multi select input to character width */
|
714
|
+
.ui.search.selection.dropdown > span.sizer {
|
715
|
+
line-height: @searchSelectionLineHeight;
|
716
|
+
padding: @searchSelectionInputPadding;
|
717
|
+
display: none;
|
718
|
+
white-space: pre;
|
719
|
+
}
|
720
|
+
}
|
721
|
+
|
722
|
+
/* Active/Visible Search */
|
723
|
+
.ui.search.dropdown.active > input.search,
|
724
|
+
.ui.search.dropdown.visible > input.search {
|
725
|
+
cursor: auto;
|
726
|
+
}
|
727
|
+
.ui.search.dropdown.active > .text,
|
728
|
+
.ui.search.dropdown.visible > .text {
|
729
|
+
pointer-events: none;
|
730
|
+
}
|
731
|
+
|
732
|
+
/* Filtered Text */
|
733
|
+
.ui.active.search.dropdown input.search:focus + .text i.icon,
|
734
|
+
.ui.active.search.dropdown input.search:focus + .text .flag {
|
735
|
+
opacity: @selectionTextUnderlayIconOpacity;
|
784
736
|
}
|
785
|
-
|
786
|
-
|
737
|
+
.ui.active.search.dropdown input.search:focus + .text {
|
738
|
+
color: @selectionTextUnderlayColor !important;
|
739
|
+
}
|
740
|
+
|
741
|
+
.ui.search.dropdown.button > span.sizer {
|
742
|
+
display: none;
|
743
|
+
}
|
744
|
+
|
745
|
+
/* Search Menu */
|
787
746
|
.ui.search.dropdown .menu {
|
788
|
-
|
747
|
+
overflow-x: hidden;
|
748
|
+
overflow-y: auto;
|
749
|
+
overscroll-behavior: @overscrollBehavior;
|
750
|
+
backface-visibility: hidden;
|
751
|
+
}
|
752
|
+
@media only screen and (max-width: @largestMobileScreen) {
|
753
|
+
.ui.search.dropdown .menu {
|
754
|
+
max-height: @searchMobileMaxMenuHeight;
|
755
|
+
}
|
756
|
+
}
|
757
|
+
@media only screen and (min-width: @tabletBreakpoint) {
|
758
|
+
.ui.search.dropdown .menu {
|
759
|
+
max-height: @searchTabletMaxMenuHeight;
|
760
|
+
}
|
761
|
+
}
|
762
|
+
@media only screen and (min-width: @computerBreakpoint) {
|
763
|
+
.ui.search.dropdown .menu {
|
764
|
+
max-height: @searchComputerMaxMenuHeight;
|
765
|
+
}
|
766
|
+
}
|
767
|
+
@media only screen and (min-width: @widescreenMonitorBreakpoint) {
|
768
|
+
.ui.search.dropdown .menu {
|
769
|
+
max-height: @searchWidescreenMaxMenuHeight;
|
770
|
+
}
|
789
771
|
}
|
790
|
-
}
|
791
772
|
}
|
792
773
|
|
793
774
|
& when (@variationDropdownClear) {
|
794
|
-
|
795
|
-
|
796
|
-
|
797
|
-
|
798
|
-
|
799
|
-
|
800
|
-
|
801
|
-
|
802
|
-
|
803
|
-
|
804
|
-
|
805
|
-
|
806
|
-
|
807
|
-
|
808
|
-
|
809
|
-
|
810
|
-
|
811
|
-
|
812
|
-
|
813
|
-
|
814
|
-
|
815
|
-
|
816
|
-
|
817
|
-
|
818
|
-
|
819
|
-
|
820
|
-
|
821
|
-
|
822
|
-
|
823
|
-
|
824
|
-
|
825
|
-
|
826
|
-
|
827
|
-
|
775
|
+
/* Clearable Selection */
|
776
|
+
.ui.dropdown > .remove.icon {
|
777
|
+
cursor: pointer;
|
778
|
+
font-size: @dropdownIconSize;
|
779
|
+
margin: @selectionIconMargin;
|
780
|
+
padding: @selectionIconPadding;
|
781
|
+
right: @clearableIconPosition;
|
782
|
+
top: @selectionVerticalPadding;
|
783
|
+
position: absolute;
|
784
|
+
opacity: @clearableIconOpacity;
|
785
|
+
z-index: @selectionIconZIndex;
|
786
|
+
}
|
787
|
+
& when (@variationDropdownSelection) {
|
788
|
+
.ui.selection.dropdown > .remove.icon {
|
789
|
+
right: @clearableIconSelectionPosition;
|
790
|
+
}
|
791
|
+
}
|
792
|
+
& when (@variationDropdownInline) {
|
793
|
+
.ui.inline.dropdown > .remove.icon {
|
794
|
+
right: @clearableIconInlinePosition;
|
795
|
+
}
|
796
|
+
}
|
797
|
+
|
798
|
+
.ui.clearable.dropdown .text,
|
799
|
+
.ui.clearable.dropdown a:last-of-type {
|
800
|
+
margin-right: @clearableTextMargin;
|
801
|
+
}
|
802
|
+
|
803
|
+
.ui.dropdown select.noselection ~ .remove.icon,
|
804
|
+
.ui.dropdown input[value=""] ~ .remove.icon,
|
805
|
+
.ui.dropdown input:not([value]) ~ .remove.icon,
|
806
|
+
.ui.dropdown.loading > .remove.icon {
|
807
|
+
display: none;
|
808
|
+
}
|
828
809
|
|
829
|
-
|
830
|
-
|
831
|
-
|
832
|
-
|
833
|
-
|
834
|
-
|
810
|
+
.ui.dropdown:not(.selection) > .remove.icon ~ .dropdown.icon {
|
811
|
+
margin-left: @clearableIconMargin;
|
812
|
+
}
|
813
|
+
.ui.dropdown:not(.selection) > .remove.icon {
|
814
|
+
margin-top: -@clearableIconMarginTop;
|
815
|
+
}
|
835
816
|
}
|
836
817
|
|
837
818
|
& when (@variationDropdownMultiple) {
|
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
|
-
|
867
|
-
|
868
|
-
|
869
|
-
|
870
|
-
|
871
|
-
|
872
|
-
|
873
|
-
|
874
|
-
|
875
|
-
|
876
|
-
|
877
|
-
|
878
|
-
|
879
|
-
|
880
|
-
|
881
|
-
|
882
|
-
|
883
|
-
|
884
|
-
|
885
|
-
|
886
|
-
|
887
|
-
|
888
|
-
|
889
|
-
|
890
|
-
|
891
|
-
|
892
|
-
|
893
|
-
|
894
|
-
|
819
|
+
/* --------------
|
820
|
+
Multiple
|
821
|
+
--------------- */
|
822
|
+
|
823
|
+
/* Multiple Selection */
|
824
|
+
.ui.ui.multiple.dropdown {
|
825
|
+
padding: @multipleSelectionPadding;
|
826
|
+
}
|
827
|
+
.ui.multiple.dropdown .menu {
|
828
|
+
cursor: auto;
|
829
|
+
}
|
830
|
+
|
831
|
+
/* Selection Label */
|
832
|
+
.ui.multiple.dropdown > .label {
|
833
|
+
display: inline-block;
|
834
|
+
white-space: normal;
|
835
|
+
font-size: @labelSize;
|
836
|
+
padding: @labelPadding;
|
837
|
+
margin: @labelMargin;
|
838
|
+
box-shadow: @labelBoxShadow;
|
839
|
+
}
|
840
|
+
|
841
|
+
/* Dropdown Icon */
|
842
|
+
.ui.multiple.dropdown .dropdown.icon {
|
843
|
+
margin: @multipleSelectionDropdownIconMargin;
|
844
|
+
padding: @multipleSelectionDropdownIconPadding;
|
845
|
+
}
|
846
|
+
|
847
|
+
/* Text */
|
848
|
+
.ui.multiple.dropdown > .text {
|
849
|
+
position: static;
|
850
|
+
padding: 0;
|
851
|
+
max-width: 100%;
|
852
|
+
margin: @multipleSelectionChildMargin;
|
853
|
+
line-height: @multipleSelectionChildLineHeight;
|
854
|
+
&.default {
|
855
|
+
white-space: nowrap;
|
856
|
+
overflow: hidden;
|
857
|
+
text-overflow: ellipsis;
|
858
|
+
}
|
859
|
+
}
|
860
|
+
.ui.multiple.dropdown > .label ~ input.search {
|
861
|
+
margin-left: @multipleSelectionSearchAfterLabelDistance !important;
|
862
|
+
}
|
863
|
+
.ui.multiple.dropdown > .label ~ .text {
|
864
|
+
display: none;
|
865
|
+
}
|
866
|
+
.ui.multiple.dropdown > .label:not(.image) > img:not(.centered) {
|
867
|
+
margin-right: @itemElementDistance;
|
868
|
+
}
|
869
|
+
.ui.multiple.dropdown > .label:not(.image) > img.ui:not(.avatar) {
|
870
|
+
margin-bottom: @itemElementBottomDistance;
|
871
|
+
}
|
872
|
+
.ui.multiple.dropdown > .image.label img {
|
873
|
+
margin: @imageLabelImageMargin;
|
874
|
+
height: @imageLabelHeight;
|
875
|
+
}
|
895
876
|
|
896
|
-
|
897
|
-
|
898
|
-
|
899
|
-
|
877
|
+
& when (@variationDropdownSearch) {
|
878
|
+
/* -----------------
|
879
|
+
Multiple Search
|
880
|
+
----------------- */
|
900
881
|
|
901
|
-
|
902
|
-
|
903
|
-
|
904
|
-
|
905
|
-
|
882
|
+
/* Multiple Search Selection */
|
883
|
+
.ui.multiple.search.dropdown,
|
884
|
+
.ui.multiple.search.dropdown > input.search {
|
885
|
+
cursor: text;
|
886
|
+
}
|
906
887
|
|
907
|
-
|
908
|
-
|
909
|
-
|
910
|
-
|
911
|
-
|
912
|
-
|
913
|
-
|
914
|
-
|
915
|
-
|
916
|
-
|
888
|
+
/* Prompt Text */
|
889
|
+
.ui.multiple.search.dropdown > .text {
|
890
|
+
display: inline-block;
|
891
|
+
position: absolute;
|
892
|
+
top: 0;
|
893
|
+
left: 0;
|
894
|
+
padding: inherit;
|
895
|
+
margin: @multipleSelectionChildMargin;
|
896
|
+
line-height: @multipleSelectionChildLineHeight;
|
897
|
+
}
|
917
898
|
|
918
|
-
|
919
|
-
|
920
|
-
|
899
|
+
.ui.multiple.search.dropdown > .label ~ .text {
|
900
|
+
display: none;
|
901
|
+
}
|
921
902
|
|
922
|
-
|
923
|
-
|
924
|
-
|
925
|
-
|
926
|
-
|
927
|
-
|
928
|
-
|
929
|
-
|
930
|
-
|
903
|
+
/* Search */
|
904
|
+
.ui.multiple.search.dropdown > input.search {
|
905
|
+
position: static;
|
906
|
+
padding: 0;
|
907
|
+
max-width: 100%;
|
908
|
+
margin: @multipleSelectionChildMargin;
|
909
|
+
width: @multipleSelectionSearchStartWidth;
|
910
|
+
line-height: @multipleSelectionChildLineHeight;
|
911
|
+
}
|
931
912
|
|
932
|
-
|
933
|
-
|
913
|
+
.ui.multiple.search.dropdown.button {
|
914
|
+
min-width: @selectionMinWidth;
|
915
|
+
}
|
934
916
|
}
|
935
|
-
}
|
936
917
|
}
|
937
918
|
|
938
919
|
& when (@variationDropdownInline) {
|
939
|
-
|
940
|
-
|
941
|
-
|
920
|
+
/* --------------
|
921
|
+
Inline
|
922
|
+
--------------- */
|
942
923
|
|
943
|
-
|
944
|
-
|
945
|
-
|
946
|
-
|
947
|
-
|
948
|
-
|
949
|
-
|
950
|
-
|
951
|
-
|
952
|
-
|
953
|
-
|
954
|
-
|
955
|
-
|
956
|
-
|
957
|
-
|
958
|
-
|
959
|
-
|
924
|
+
.ui.inline.dropdown {
|
925
|
+
cursor: pointer;
|
926
|
+
display: inline-block;
|
927
|
+
color: @inlineTextColor;
|
928
|
+
}
|
929
|
+
.ui.inline.dropdown .dropdown.icon {
|
930
|
+
margin: @inlineIconMargin;
|
931
|
+
vertical-align: baseline;
|
932
|
+
}
|
933
|
+
.ui.inline.dropdown > .text {
|
934
|
+
font-weight: @inlineTextFontWeight;
|
935
|
+
}
|
936
|
+
.ui.inline.dropdown .menu {
|
937
|
+
cursor: auto;
|
938
|
+
margin-top: @inlineMenuDistance;
|
939
|
+
border-radius: @inlineMenuBorderRadius;
|
940
|
+
}
|
960
941
|
}
|
961
942
|
|
962
|
-
|
963
943
|
/*******************************
|
964
944
|
States
|
965
945
|
*******************************/
|
966
946
|
|
967
|
-
|
968
|
-
/*--------------------
|
947
|
+
/* --------------------
|
969
948
|
Active
|
970
|
-
|
949
|
+
---------------------- */
|
971
950
|
|
972
951
|
/* Menu Item Active */
|
973
952
|
.ui.dropdown .menu .active.item {
|
974
|
-
|
975
|
-
|
976
|
-
|
977
|
-
|
978
|
-
|
953
|
+
background: @activeItemBackground;
|
954
|
+
font-weight: @activeItemFontWeight;
|
955
|
+
color: @activeItemColor;
|
956
|
+
box-shadow: @activeItemBoxShadow;
|
957
|
+
z-index: @activeItemZIndex;
|
979
958
|
}
|
980
959
|
|
981
|
-
|
982
|
-
/*--------------------
|
960
|
+
/* --------------------
|
983
961
|
Hover
|
984
|
-
|
962
|
+
---------------------- */
|
985
963
|
|
986
964
|
/* Menu Item Hover */
|
987
965
|
.ui.dropdown .menu > .item:hover {
|
988
|
-
|
989
|
-
|
990
|
-
|
966
|
+
background: @hoveredItemBackground;
|
967
|
+
color: @hoveredItemColor;
|
968
|
+
z-index: @hoveredZIndex;
|
991
969
|
}
|
992
970
|
|
993
|
-
|
971
|
+
/* --------------------
|
994
972
|
Default Text
|
995
|
-
|
973
|
+
---------------------- */
|
996
974
|
|
997
975
|
.ui.dropdown:not(.button) > .default.text,
|
998
976
|
.ui.default.dropdown:not(.button) > .text {
|
999
|
-
|
977
|
+
color: @defaultTextColor;
|
1000
978
|
}
|
1001
979
|
.ui.dropdown:not(.button) > input:focus ~ .default.text,
|
1002
980
|
.ui.default.dropdown:not(.button) > input:focus ~ .text {
|
1003
|
-
|
981
|
+
color: @defaultTextFocusColor;
|
1004
982
|
}
|
1005
983
|
|
1006
984
|
& when (@variationDropdownLoading) {
|
985
|
+
/* --------------------
|
986
|
+
Loading
|
987
|
+
--------------------- */
|
1007
988
|
|
1008
|
-
|
1009
|
-
|
1010
|
-
|
1011
|
-
|
1012
|
-
|
1013
|
-
|
1014
|
-
|
1015
|
-
|
1016
|
-
|
1017
|
-
|
1018
|
-
|
1019
|
-
|
1020
|
-
|
1021
|
-
|
1022
|
-
|
1023
|
-
|
1024
|
-
|
1025
|
-
|
1026
|
-
|
1027
|
-
|
1028
|
-
|
1029
|
-
|
1030
|
-
|
1031
|
-
|
1032
|
-
|
1033
|
-
|
1034
|
-
|
1035
|
-
|
1036
|
-
|
1037
|
-
|
1038
|
-
margin: @loaderMargin;
|
1039
|
-
width: @loaderSize;
|
1040
|
-
height: @loaderSize;
|
1041
|
-
|
1042
|
-
animation: loader @loaderSpeed infinite linear;
|
1043
|
-
border: @loaderLineWidth solid @loaderLineColor;
|
1044
|
-
border-radius: @circularRadius;
|
1045
|
-
|
1046
|
-
}
|
989
|
+
.ui.loading.dropdown > i.icon {
|
990
|
+
height: @relative14px !important;
|
991
|
+
}
|
992
|
+
.ui.loading.selection.dropdown > i.icon {
|
993
|
+
padding: @relative21px @relative18px !important;
|
994
|
+
}
|
995
|
+
.ui.loading.dropdown > i.icon::before {
|
996
|
+
position: absolute;
|
997
|
+
content: "";
|
998
|
+
top: 50%;
|
999
|
+
left: 50%;
|
1000
|
+
margin: @loaderMargin;
|
1001
|
+
width: @loaderSize;
|
1002
|
+
height: @loaderSize;
|
1003
|
+
border-radius: @circularRadius;
|
1004
|
+
border: @loaderLineWidth solid @loaderFillColor;
|
1005
|
+
}
|
1006
|
+
.ui.loading.dropdown > i.icon::after {
|
1007
|
+
position: absolute;
|
1008
|
+
content: "";
|
1009
|
+
top: 50%;
|
1010
|
+
left: 50%;
|
1011
|
+
box-shadow: 0 0 0 1px transparent;
|
1012
|
+
margin: @loaderMargin;
|
1013
|
+
width: @loaderSize;
|
1014
|
+
height: @loaderSize;
|
1015
|
+
animation: loader @loaderSpeed infinite linear;
|
1016
|
+
border: @loaderLineWidth solid @loaderLineColor;
|
1017
|
+
border-radius: @circularRadius;
|
1018
|
+
}
|
1047
1019
|
|
1048
|
-
|
1049
|
-
|
1050
|
-
|
1051
|
-
|
1052
|
-
|
1020
|
+
/* Coupling */
|
1021
|
+
.ui.loading.dropdown.button > i.icon::before,
|
1022
|
+
.ui.loading.dropdown.button > i.icon::after {
|
1023
|
+
display: none;
|
1024
|
+
}
|
1053
1025
|
|
1054
|
-
|
1055
|
-
|
1056
|
-
|
1026
|
+
.ui.loading.dropdown > .text {
|
1027
|
+
transition: none;
|
1028
|
+
}
|
1057
1029
|
|
1058
|
-
|
1059
|
-
|
1060
|
-
|
1061
|
-
|
1062
|
-
|
1063
|
-
|
1064
|
-
|
1065
|
-
|
1066
|
-
|
1067
|
-
|
1068
|
-
|
1069
|
-
|
1070
|
-
|
1071
|
-
|
1030
|
+
/* Used To Check Position */
|
1031
|
+
.ui.dropdown .loading.menu {
|
1032
|
+
display: block;
|
1033
|
+
visibility: hidden;
|
1034
|
+
z-index: @loadingZIndex;
|
1035
|
+
}
|
1036
|
+
.ui.dropdown > .loading.menu {
|
1037
|
+
left: 0 !important;
|
1038
|
+
right: auto !important;
|
1039
|
+
}
|
1040
|
+
.ui.dropdown > .menu .loading.menu {
|
1041
|
+
left: 100% !important;
|
1042
|
+
right: auto !important;
|
1043
|
+
}
|
1072
1044
|
}
|
1073
1045
|
|
1074
|
-
|
1046
|
+
/* --------------------
|
1075
1047
|
Keyboard Select
|
1076
|
-
|
1048
|
+
---------------------- */
|
1077
1049
|
|
1078
1050
|
/* Selected Item */
|
1079
1051
|
.ui.dropdown.selected,
|
1080
1052
|
.ui.dropdown .menu .selected.item {
|
1081
|
-
|
1082
|
-
|
1053
|
+
background: @selectedBackground;
|
1054
|
+
color: @selectedColor;
|
1083
1055
|
}
|
1084
1056
|
|
1085
|
-
|
1086
|
-
/*--------------------
|
1057
|
+
/* --------------------
|
1087
1058
|
Search Filtered
|
1088
|
-
|
1059
|
+
---------------------- */
|
1089
1060
|
|
1090
1061
|
/* Filtered Item */
|
1091
1062
|
.ui.dropdown > .filtered.text {
|
1092
|
-
|
1063
|
+
visibility: hidden;
|
1093
1064
|
}
|
1094
1065
|
.ui.dropdown .filtered.item {
|
1095
|
-
|
1066
|
+
display: none !important;
|
1096
1067
|
}
|
1097
1068
|
|
1098
1069
|
& when not (@variationDropdownStates = false) {
|
1099
|
-
|
1100
|
-
|
1101
|
-
|
1102
|
-
|
1103
|
-
|
1104
|
-
|
1105
|
-
|
1106
|
-
|
1107
|
-
|
1108
|
-
|
1109
|
-
|
1110
|
-
|
1111
|
-
|
1112
|
-
|
1113
|
-
|
1114
|
-
|
1115
|
-
|
1116
|
-
|
1117
|
-
|
1118
|
-
|
1119
|
-
|
1120
|
-
|
1121
|
-
|
1122
|
-
|
1123
|
-
|
1124
|
-
|
1070
|
+
/* --------------------
|
1071
|
+
States
|
1072
|
+
---------------------- */
|
1073
|
+
each(@variationDropdownStates, {
|
1074
|
+
@state: @value;
|
1075
|
+
@c: @formStates[@@state][dropdownLabelColor];
|
1076
|
+
@bdc: @formStates[@@state][borderColor];
|
1077
|
+
|
1078
|
+
.ui.dropdown.@{state},
|
1079
|
+
.ui.dropdown.@{state} > .text,
|
1080
|
+
.ui.dropdown.@{state} > .default.text {
|
1081
|
+
color: @c;
|
1082
|
+
}
|
1083
|
+
& when (@variationDropdownSelection) {
|
1084
|
+
.ui.selection.dropdown.@{state} {
|
1085
|
+
background: @formStates[@@state][background];
|
1086
|
+
border-color: @bdc;
|
1087
|
+
}
|
1088
|
+
|
1089
|
+
.ui.selection.dropdown.@{state}:hover {
|
1090
|
+
border-color: @bdc;
|
1091
|
+
}
|
1092
|
+
|
1093
|
+
& when (@variationDropdownMultiple) {
|
1094
|
+
.ui.multiple.selection.@{state}.dropdown > .label {
|
1095
|
+
border-color: @bdc;
|
1096
|
+
}
|
1097
|
+
}
|
1098
|
+
}
|
1099
|
+
.ui.dropdown.@{state} > .menu,
|
1100
|
+
.ui.dropdown.@{state} > .menu .menu {
|
1101
|
+
border-color: @bdc;
|
1102
|
+
}
|
1103
|
+
.ui.dropdown.@{state} > .menu > .item {
|
1104
|
+
color: @c;
|
1125
1105
|
}
|
1126
|
-
}
|
1127
|
-
}
|
1128
|
-
.ui.dropdown.@{state} > .menu,
|
1129
|
-
.ui.dropdown.@{state} > .menu .menu {
|
1130
|
-
border-color: @bdc;
|
1131
|
-
}
|
1132
|
-
.ui.dropdown.@{state} > .menu > .item {
|
1133
|
-
color: @c;
|
1134
|
-
}
|
1135
1106
|
|
1136
|
-
|
1137
|
-
|
1138
|
-
|
1139
|
-
|
1107
|
+
/* Item Hover */
|
1108
|
+
.ui.dropdown.@{state} > .menu > .item:hover {
|
1109
|
+
background-color: @formStates[@@state][dropdownHoverBackground];
|
1110
|
+
}
|
1140
1111
|
|
1141
|
-
|
1142
|
-
|
1143
|
-
|
1144
|
-
|
1145
|
-
|
1112
|
+
/* Item Active */
|
1113
|
+
.ui.dropdown.@{state} > .menu .active.item {
|
1114
|
+
background-color: @formStates[@@state][dropdownActiveBackground];
|
1115
|
+
}
|
1116
|
+
});
|
1146
1117
|
}
|
1147
1118
|
|
1148
1119
|
& when (@variationDropdownClear) {
|
1149
|
-
|
1150
|
-
|
1151
|
-
|
1152
|
-
|
1153
|
-
|
1154
|
-
|
1155
|
-
|
1156
|
-
|
1157
|
-
|
1158
|
-
|
1159
|
-
|
1160
|
-
|
1120
|
+
/* --------------------
|
1121
|
+
Clear
|
1122
|
+
---------------------- */
|
1123
|
+
.ui.dropdown > .remove.icon,
|
1124
|
+
.ui.dropdown > .clear.dropdown.icon {
|
1125
|
+
opacity: @clearableIconOpacity;
|
1126
|
+
transition: opacity @defaultDuration @defaultEasing;
|
1127
|
+
}
|
1128
|
+
.ui.dropdown > .remove.icon:hover,
|
1129
|
+
.ui.dropdown > .clear.dropdown.icon:hover {
|
1130
|
+
opacity: @clearableIconActiveOpacity;
|
1131
|
+
}
|
1161
1132
|
}
|
1162
1133
|
|
1163
1134
|
& when (@variationDropdownDisabled) {
|
1164
|
-
|
1165
|
-
|
1166
|
-
|
1135
|
+
/* --------------------
|
1136
|
+
Disabled
|
1137
|
+
---------------------- */
|
1167
1138
|
|
1168
|
-
|
1169
|
-
|
1170
|
-
|
1171
|
-
|
1172
|
-
|
1173
|
-
|
1174
|
-
|
1139
|
+
/* Disabled */
|
1140
|
+
.ui.disabled.dropdown,
|
1141
|
+
.ui.dropdown .menu > .disabled.item {
|
1142
|
+
cursor: default;
|
1143
|
+
pointer-events: none;
|
1144
|
+
opacity: @disabledOpacity;
|
1145
|
+
}
|
1175
1146
|
}
|
1176
1147
|
|
1177
1148
|
& when (@variationDropdownReadonly) {
|
1178
|
-
|
1179
|
-
|
1180
|
-
|
1149
|
+
/* --------------------
|
1150
|
+
Read-Only
|
1151
|
+
---------------------- */
|
1181
1152
|
|
1182
|
-
|
1183
|
-
|
1184
|
-
|
1185
|
-
|
1153
|
+
.ui.read-only.dropdown {
|
1154
|
+
cursor: default;
|
1155
|
+
pointer-events: none;
|
1156
|
+
}
|
1186
1157
|
}
|
1187
1158
|
|
1188
1159
|
/*******************************
|
1189
1160
|
Variations
|
1190
1161
|
*******************************/
|
1191
1162
|
|
1192
|
-
|
1163
|
+
/* --------------
|
1193
1164
|
Direction
|
1194
|
-
|
1165
|
+
--------------- */
|
1195
1166
|
|
1196
1167
|
/* Flyout Direction */
|
1197
1168
|
.ui.dropdown .menu {
|
1198
|
-
|
1169
|
+
left: 0;
|
1199
1170
|
}
|
1200
1171
|
|
1201
|
-
|
1202
1172
|
/* Default Side (Right) */
|
1203
1173
|
.ui.dropdown .right.menu > .menu,
|
1204
1174
|
.ui.dropdown .menu .right.menu {
|
1205
|
-
|
1206
|
-
|
1207
|
-
|
1175
|
+
left: 100% !important;
|
1176
|
+
right: auto !important;
|
1177
|
+
border-radius: @subMenuBorderRadius !important;
|
1208
1178
|
}
|
1209
1179
|
& when (@variationDropdownLeft) {
|
1210
|
-
|
1211
|
-
|
1212
|
-
|
1213
|
-
|
1214
|
-
|
1215
|
-
|
1216
|
-
.ui.dropdown > .left.menu .menu,
|
1217
|
-
.ui.dropdown .menu .left.menu {
|
1218
|
-
left: auto;
|
1219
|
-
right: 100%;
|
1220
|
-
margin: @leftSubMenuMargin !important;
|
1221
|
-
border-radius: @leftSubMenuBorderRadius !important;
|
1222
|
-
}
|
1180
|
+
/* Leftward Opening Menu */
|
1181
|
+
.ui.dropdown > .left.menu {
|
1182
|
+
left: auto !important;
|
1183
|
+
right: 0 !important;
|
1184
|
+
}
|
1223
1185
|
|
1224
|
-
|
1225
|
-
|
1226
|
-
|
1227
|
-
|
1228
|
-
|
1229
|
-
|
1230
|
-
|
1231
|
-
|
1232
|
-
|
1233
|
-
|
1234
|
-
|
1235
|
-
|
1236
|
-
|
1237
|
-
|
1238
|
-
|
1239
|
-
|
1240
|
-
|
1186
|
+
.ui.dropdown > .left.menu .menu,
|
1187
|
+
.ui.dropdown .menu .left.menu {
|
1188
|
+
left: auto;
|
1189
|
+
right: 100%;
|
1190
|
+
margin: @leftSubMenuMargin !important;
|
1191
|
+
border-radius: @leftSubMenuBorderRadius !important;
|
1192
|
+
}
|
1193
|
+
|
1194
|
+
.ui.dropdown .item .left.dropdown.icon,
|
1195
|
+
.ui.dropdown .left.menu .item .dropdown.icon {
|
1196
|
+
width: auto;
|
1197
|
+
float: @leftMenuDropdownIconFloat;
|
1198
|
+
margin: @leftMenuDropdownIconMargin;
|
1199
|
+
}
|
1200
|
+
.ui.dropdown .item .left.dropdown.icon,
|
1201
|
+
.ui.dropdown .left.menu .item .dropdown.icon {
|
1202
|
+
width: auto;
|
1203
|
+
float: @leftMenuDropdownIconFloat;
|
1204
|
+
margin: @leftMenuDropdownIconMargin;
|
1205
|
+
}
|
1206
|
+
.ui.dropdown .item .left.dropdown.icon + .text,
|
1207
|
+
.ui.dropdown .left.menu .item .dropdown.icon + .text {
|
1208
|
+
margin-left: @itemDropdownIconDistance;
|
1209
|
+
margin-right: 0;
|
1210
|
+
}
|
1241
1211
|
}
|
1242
1212
|
|
1243
1213
|
& when (@variationDropdownUpward) {
|
1244
|
-
|
1245
|
-
|
1246
|
-
|
1247
|
-
|
1248
|
-
/* Upward Main Menu */
|
1249
|
-
.ui.upward.dropdown > .menu {
|
1250
|
-
top: auto;
|
1251
|
-
bottom: 100%;
|
1252
|
-
box-shadow: @upwardMenuBoxShadow;
|
1253
|
-
}
|
1214
|
+
/* --------------
|
1215
|
+
Upward
|
1216
|
+
--------------- */
|
1254
1217
|
|
1255
|
-
|
1256
|
-
|
1257
|
-
|
1258
|
-
|
1259
|
-
|
1260
|
-
|
1261
|
-
& when (@variationDropdownSimple) {
|
1262
|
-
/* Active Upward */
|
1263
|
-
.ui.simple.upward.active.dropdown,
|
1264
|
-
.ui.simple.upward.dropdown:hover {
|
1265
|
-
border-radius: 0 0 @borderRadius @borderRadius;
|
1218
|
+
/* Upward Main Menu */
|
1219
|
+
.ui.upward.dropdown > .menu {
|
1220
|
+
top: auto;
|
1221
|
+
bottom: 100%;
|
1222
|
+
box-shadow: @upwardMenuBoxShadow;
|
1266
1223
|
}
|
1267
|
-
}
|
1268
1224
|
|
1269
|
-
|
1270
|
-
|
1271
|
-
|
1272
|
-
|
1273
|
-
}
|
1274
|
-
.ui.upward.dropdown.button:not(.pointing):not(.floating) > .menu {
|
1275
|
-
border-radius: @borderRadius @borderRadius 0 0;
|
1225
|
+
/* Upward Sub Menu */
|
1226
|
+
.ui.dropdown .upward.menu {
|
1227
|
+
top: auto !important;
|
1228
|
+
bottom: 0 !important;
|
1276
1229
|
}
|
1277
|
-
}
|
1278
1230
|
|
1279
|
-
|
1280
|
-
|
1281
|
-
|
1282
|
-
|
1283
|
-
|
1284
|
-
|
1285
|
-
border-radius: @upwardSelectionMenuBorderRadius;
|
1286
|
-
}
|
1287
|
-
.ui.upward.selection.dropdown:hover {
|
1288
|
-
box-shadow: @upwardSelectionHoverBoxShadow;
|
1231
|
+
& when (@variationDropdownSimple) {
|
1232
|
+
/* Active Upward */
|
1233
|
+
.ui.simple.upward.active.dropdown,
|
1234
|
+
.ui.simple.upward.dropdown:hover {
|
1235
|
+
border-radius: 0 0 @borderRadius @borderRadius;
|
1236
|
+
}
|
1289
1237
|
}
|
1290
1238
|
|
1291
|
-
|
1292
|
-
|
1293
|
-
|
1239
|
+
& when (@variationDropdownButton) {
|
1240
|
+
/* Button */
|
1241
|
+
.ui.upward.dropdown.button:not(.pointing):not(.floating).active {
|
1242
|
+
border-radius: 0 0 @borderRadius @borderRadius;
|
1243
|
+
}
|
1244
|
+
.ui.upward.dropdown.button:not(.pointing):not(.floating) > .menu {
|
1245
|
+
border-radius: @borderRadius @borderRadius 0 0;
|
1246
|
+
}
|
1294
1247
|
}
|
1295
1248
|
|
1296
|
-
|
1297
|
-
|
1298
|
-
|
1299
|
-
|
1300
|
-
|
1249
|
+
& when (@variationDropdownSelection) {
|
1250
|
+
/* Selection */
|
1251
|
+
.ui.ui.upward.selection.dropdown .menu {
|
1252
|
+
border-top-width: @menuBorderWidth !important;
|
1253
|
+
border-bottom-width: 0 !important;
|
1254
|
+
box-shadow: @upwardSelectionMenuBoxShadow;
|
1255
|
+
border-radius: @upwardSelectionMenuBorderRadius;
|
1256
|
+
}
|
1257
|
+
.ui.upward.selection.dropdown:hover {
|
1258
|
+
box-shadow: @upwardSelectionHoverBoxShadow;
|
1259
|
+
}
|
1301
1260
|
|
1302
|
-
|
1303
|
-
|
1304
|
-
|
1305
|
-
|
1306
|
-
|
1307
|
-
|
1261
|
+
/* Active Upward */
|
1262
|
+
.ui.active.upward.selection.dropdown {
|
1263
|
+
border-radius: @upwardSelectionVisibleBorderRadius !important;
|
1264
|
+
}
|
1265
|
+
|
1266
|
+
/* Visible Upward */
|
1267
|
+
.ui.upward.selection.dropdown.visible {
|
1268
|
+
box-shadow: @upwardSelectionVisibleBoxShadow;
|
1269
|
+
border-radius: @upwardSelectionVisibleBorderRadius !important;
|
1270
|
+
}
|
1271
|
+
|
1272
|
+
/* Visible Hover Upward */
|
1273
|
+
.ui.upward.active.selection.dropdown:hover {
|
1274
|
+
box-shadow: @upwardSelectionActiveHoverBoxShadow;
|
1275
|
+
}
|
1276
|
+
.ui.upward.active.selection.dropdown:hover .menu {
|
1277
|
+
box-shadow: @upwardSelectionActiveHoverMenuBoxShadow;
|
1278
|
+
}
|
1308
1279
|
}
|
1309
|
-
}
|
1310
1280
|
}
|
1311
1281
|
|
1312
1282
|
& when (@variationDropdownScrolling) {
|
1313
|
-
|
1314
|
-
|
1315
|
-
|
1316
|
-
|
1317
|
-
|
1318
|
-
.ui.scrolling.dropdown .menu,
|
1319
|
-
.ui.dropdown .scrolling.menu {
|
1320
|
-
overflow-x: hidden;
|
1321
|
-
overflow-y: auto;
|
1322
|
-
}
|
1323
|
-
|
1324
|
-
.ui.scrolling.dropdown .menu {
|
1325
|
-
overflow-x: hidden;
|
1326
|
-
overflow-y: auto;
|
1327
|
-
backface-visibility: hidden;
|
1328
|
-
-webkit-overflow-scrolling: touch;
|
1329
|
-
min-width: 100% !important;
|
1330
|
-
width: auto !important;
|
1331
|
-
}
|
1332
|
-
|
1333
|
-
.ui.dropdown .scrolling.menu {
|
1334
|
-
position: static;
|
1335
|
-
overflow-y: auto;
|
1336
|
-
border: none;
|
1337
|
-
box-shadow: none !important;
|
1338
|
-
border-radius: 0 !important;
|
1339
|
-
margin: 0 !important;
|
1340
|
-
min-width: 100% !important;
|
1341
|
-
width: auto !important;
|
1342
|
-
border-top: @menuBorder;
|
1343
|
-
}
|
1344
|
-
.ui.scrolling.dropdown .menu .item.item.item,
|
1345
|
-
.ui.dropdown .scrolling.menu > .item.item.item {
|
1346
|
-
border-top: @scrollingMenuItemBorder;
|
1347
|
-
}
|
1348
|
-
.ui.scrolling.dropdown .menu .item:first-child,
|
1349
|
-
.ui.dropdown .scrolling.menu .item:first-child {
|
1350
|
-
border-top: none;
|
1351
|
-
}
|
1352
|
-
.ui.dropdown > .animating.menu .scrolling.menu,
|
1353
|
-
.ui.dropdown > .visible.menu .scrolling.menu {
|
1354
|
-
display: block;
|
1355
|
-
}
|
1356
|
-
& when (@supportIE) {
|
1357
|
-
/* Scrollbar in IE */
|
1358
|
-
@media all and (-ms-high-contrast: none) {
|
1359
|
-
.ui.scrolling.dropdown .menu,
|
1360
|
-
.ui.dropdown .scrolling.menu {
|
1361
|
-
min-width: e(%("calc(100%% - %d)", @scrollbarWidth));
|
1362
|
-
}
|
1363
|
-
}
|
1364
|
-
}
|
1365
|
-
@media only screen and (max-width : @largestMobileScreen) {
|
1283
|
+
/* --------------
|
1284
|
+
Scrolling
|
1285
|
+
--------------- */
|
1286
|
+
|
1287
|
+
/* Selection Menu */
|
1366
1288
|
.ui.scrolling.dropdown .menu,
|
1367
1289
|
.ui.dropdown .scrolling.menu {
|
1368
|
-
|
1290
|
+
overflow-x: hidden;
|
1291
|
+
overflow-y: auto;
|
1292
|
+
overscroll-behavior: @overscrollBehavior;
|
1293
|
+
backface-visibility: hidden;
|
1294
|
+
min-width: 100% !important;
|
1295
|
+
width: auto !important;
|
1369
1296
|
}
|
1370
|
-
|
1371
|
-
@media only screen and (min-width: @tabletBreakpoint) {
|
1372
|
-
.ui.scrolling.dropdown .menu,
|
1297
|
+
|
1373
1298
|
.ui.dropdown .scrolling.menu {
|
1374
|
-
|
1299
|
+
position: static;
|
1300
|
+
border: none;
|
1301
|
+
box-shadow: none !important;
|
1302
|
+
border-radius: 0 0 @floatingMenuBorderRadius @floatingMenuBorderRadius !important;
|
1303
|
+
margin: 0 !important;
|
1304
|
+
border-top: @menuBorder;
|
1375
1305
|
}
|
1376
|
-
|
1377
|
-
|
1378
|
-
|
1379
|
-
.ui.dropdown .scrolling.menu {
|
1380
|
-
max-height: @scrollingComputerMaxMenuHeight;
|
1306
|
+
.ui.scrolling.dropdown .menu .item.item.item,
|
1307
|
+
.ui.dropdown .scrolling.menu > .item.item.item {
|
1308
|
+
border-top: @scrollingMenuItemBorder;
|
1381
1309
|
}
|
1382
|
-
|
1383
|
-
|
1384
|
-
|
1385
|
-
|
1386
|
-
|
1310
|
+
.ui.scrolling.dropdown .menu .item:first-child,
|
1311
|
+
.ui.dropdown .scrolling.menu .item:first-child {
|
1312
|
+
border-top: none;
|
1313
|
+
}
|
1314
|
+
.ui.dropdown > .animating.menu .scrolling.menu,
|
1315
|
+
.ui.dropdown > .visible.menu .scrolling.menu {
|
1316
|
+
display: block;
|
1317
|
+
}
|
1318
|
+
& when (@supportIE) {
|
1319
|
+
/* Scrollbar in IE */
|
1320
|
+
@media all and (-ms-high-contrast: none) {
|
1321
|
+
.ui.scrolling.dropdown .menu,
|
1322
|
+
.ui.dropdown .scrolling.menu {
|
1323
|
+
min-width: e(%("calc(100%% - %d)", @scrollbarWidth));
|
1324
|
+
}
|
1325
|
+
}
|
1326
|
+
}
|
1327
|
+
@media only screen and (max-width: @largestMobileScreen) {
|
1328
|
+
.ui.scrolling.dropdown .menu,
|
1329
|
+
.ui.dropdown .scrolling.menu {
|
1330
|
+
max-height: @scrollingMobileMaxMenuHeight;
|
1331
|
+
}
|
1332
|
+
}
|
1333
|
+
@media only screen and (min-width: @tabletBreakpoint) {
|
1334
|
+
.ui.scrolling.dropdown .menu,
|
1335
|
+
.ui.dropdown .scrolling.menu {
|
1336
|
+
max-height: @scrollingTabletMaxMenuHeight;
|
1337
|
+
}
|
1338
|
+
}
|
1339
|
+
@media only screen and (min-width: @computerBreakpoint) {
|
1340
|
+
.ui.scrolling.dropdown .menu,
|
1341
|
+
.ui.dropdown .scrolling.menu {
|
1342
|
+
max-height: @scrollingComputerMaxMenuHeight;
|
1343
|
+
}
|
1344
|
+
}
|
1345
|
+
@media only screen and (min-width: @widescreenMonitorBreakpoint) {
|
1346
|
+
.ui.scrolling.dropdown .menu,
|
1347
|
+
.ui.dropdown .scrolling.menu {
|
1348
|
+
max-height: @scrollingWidescreenMaxMenuHeight;
|
1349
|
+
}
|
1387
1350
|
}
|
1388
|
-
}
|
1389
1351
|
}
|
1390
1352
|
|
1391
1353
|
& when (@variationInputLabeled) {
|
1392
|
-
|
1393
|
-
|
1394
|
-
|
1395
|
-
|
1396
|
-
|
1397
|
-
|
1398
|
-
|
1399
|
-
|
1400
|
-
|
1401
|
-
|
1402
|
-
|
1403
|
-
|
1404
|
-
|
1405
|
-
|
1406
|
-
|
1407
|
-
|
1408
|
-
|
1409
|
-
|
1410
|
-
|
1411
|
-
|
1412
|
-
|
1354
|
+
/* --------------------
|
1355
|
+
Labeled
|
1356
|
+
--------------------- */
|
1357
|
+
|
1358
|
+
/* Regular Label on Left */
|
1359
|
+
.ui.labeled.input:not([class*="corner labeled"]) .label:first-child + .dropdown {
|
1360
|
+
border-top-left-radius: 0;
|
1361
|
+
border-bottom-left-radius: 0;
|
1362
|
+
border-left-color: transparent;
|
1363
|
+
}
|
1364
|
+
|
1365
|
+
/* Regular Label on Right */
|
1366
|
+
.ui[class*="right labeled"].input > .dropdown:not(:last-child) {
|
1367
|
+
border-top-right-radius: 0 !important;
|
1368
|
+
border-bottom-right-radius: 0 !important;
|
1369
|
+
border-right-color: transparent !important;
|
1370
|
+
}
|
1371
|
+
.ui[class*="right labeled"].input > .dropdown + .label {
|
1372
|
+
border-top-left-radius: 0;
|
1373
|
+
border-bottom-left-radius: 0;
|
1374
|
+
}
|
1413
1375
|
}
|
1414
1376
|
|
1415
1377
|
& when (@variationDropdownColumnar) {
|
1416
|
-
|
1417
|
-
|
1418
|
-
|
1419
|
-
|
1420
|
-
|
1421
|
-
|
1422
|
-
|
1423
|
-
|
1424
|
-
|
1425
|
-
|
1426
|
-
|
1427
|
-
|
1428
|
-
|
1429
|
-
|
1430
|
-
|
1431
|
-
|
1432
|
-
|
1433
|
-
|
1378
|
+
/* --------------
|
1379
|
+
Columnar
|
1380
|
+
--------------- */
|
1381
|
+
.ui.column.dropdown > .menu {
|
1382
|
+
flex-wrap: wrap;
|
1383
|
+
}
|
1384
|
+
.ui.dropdown[class*="two column"] > .menu > .item {
|
1385
|
+
width: 50%;
|
1386
|
+
}
|
1387
|
+
.ui.dropdown[class*="three column"] > .menu > .item {
|
1388
|
+
width: 33%;
|
1389
|
+
}
|
1390
|
+
.ui.dropdown[class*="four column"] > .menu > .item {
|
1391
|
+
width: 25%;
|
1392
|
+
}
|
1393
|
+
.ui.dropdown[class*="five column"] > .menu > .item {
|
1394
|
+
width: 20%;
|
1395
|
+
}
|
1434
1396
|
}
|
1435
1397
|
|
1436
1398
|
& when (@variationDropdownSimple) {
|
1437
|
-
|
1438
|
-
|
1439
|
-
|
1399
|
+
/* --------------
|
1400
|
+
Simple
|
1401
|
+
--------------- */
|
1402
|
+
|
1403
|
+
/* Displays without javascript */
|
1404
|
+
|
1405
|
+
.ui.simple.dropdown .menu::before,
|
1406
|
+
.ui.simple.dropdown .menu::after {
|
1407
|
+
display: none;
|
1408
|
+
}
|
1409
|
+
.ui.simple.dropdown .menu {
|
1410
|
+
position: absolute;
|
1411
|
+
& when (@supportIE) {
|
1412
|
+
/* IE hack to make dropdown icons appear inline */
|
1413
|
+
// stylelint-disable-next-line value-no-vendor-prefix
|
1414
|
+
display: -ms-inline-flexbox !important;
|
1415
|
+
}
|
1440
1416
|
|
1441
|
-
|
1417
|
+
display: block;
|
1418
|
+
overflow: hidden;
|
1419
|
+
top: -9999px;
|
1420
|
+
opacity: 0;
|
1421
|
+
width: 0;
|
1422
|
+
height: 0;
|
1423
|
+
transition: @simpleTransition;
|
1424
|
+
margin-top: 0 !important;
|
1425
|
+
}
|
1426
|
+
& when (@variationDropdownUpward) {
|
1427
|
+
.ui.simple.dropdown .upward.menu {
|
1428
|
+
margin-bottom: @simpleUpwardMenuMargin;
|
1429
|
+
}
|
1430
|
+
.ui.simple.selection.dropdown .upward.menu {
|
1431
|
+
margin-bottom: @simpleUpwardSelectionMenuMargin;
|
1432
|
+
}
|
1433
|
+
.ui.menu:not(.vertical) .ui.simple.dropdown.item .upward.menu {
|
1434
|
+
margin-bottom: @simpleUpwardItemMenuMargin;
|
1435
|
+
}
|
1436
|
+
}
|
1442
1437
|
|
1443
|
-
|
1444
|
-
|
1445
|
-
|
1446
|
-
|
1447
|
-
.ui.simple.dropdown .menu {
|
1448
|
-
position: absolute;
|
1449
|
-
& when (@supportIE) {
|
1450
|
-
/* IE hack to make dropdown icons appear inline */
|
1451
|
-
display: -ms-inline-flexbox !important;
|
1438
|
+
.ui.simple.active.dropdown,
|
1439
|
+
.ui.simple.dropdown:hover {
|
1440
|
+
border-bottom-left-radius: 0;
|
1441
|
+
border-bottom-right-radius: 0;
|
1452
1442
|
}
|
1453
|
-
|
1454
|
-
|
1455
|
-
|
1456
|
-
|
1457
|
-
|
1458
|
-
|
1459
|
-
|
1460
|
-
|
1461
|
-
|
1462
|
-
|
1463
|
-
.ui.simple.dropdown .
|
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
|
-
width: 0;
|
1509
|
-
overflow: hidden;
|
1510
|
-
}
|
1511
|
-
}
|
1512
|
-
|
1513
|
-
/* Visible */
|
1514
|
-
.ui.simple.visible.dropdown > .menu {
|
1515
|
-
display: block;
|
1516
|
-
}
|
1517
|
-
& when (@variationDropdownScrolling) {
|
1518
|
-
/* Scrolling */
|
1519
|
-
.ui.simple.scrolling.active.dropdown > .menu,
|
1520
|
-
.ui.simple.scrolling.dropdown:hover > .menu {
|
1521
|
-
overflow-x: hidden;
|
1522
|
-
overflow-y: auto;
|
1443
|
+
|
1444
|
+
.ui.simple.active.dropdown > .menu,
|
1445
|
+
.ui.simple.dropdown:hover > .menu {
|
1446
|
+
overflow: visible;
|
1447
|
+
width: auto;
|
1448
|
+
height: auto;
|
1449
|
+
top: 100%;
|
1450
|
+
opacity: 1;
|
1451
|
+
}
|
1452
|
+
.ui.simple.dropdown > .menu > .item:active > .menu,
|
1453
|
+
.ui.simple.dropdown .menu .item:hover > .menu {
|
1454
|
+
overflow: visible;
|
1455
|
+
width: auto;
|
1456
|
+
height: auto;
|
1457
|
+
top: 0 !important;
|
1458
|
+
left: 100%;
|
1459
|
+
opacity: 1;
|
1460
|
+
}
|
1461
|
+
& when (@variationDropdownSelection) {
|
1462
|
+
.ui.simple.selection.active.dropdown > .menu,
|
1463
|
+
.ui.simple.selection.dropdown:hover > .menu,
|
1464
|
+
.ui.simple.selection.dropdown > .menu > .item:active > .menu,
|
1465
|
+
.ui.simple.selection.dropdown .menu .item:hover > .menu {
|
1466
|
+
overflow: auto;
|
1467
|
+
overscroll-behavior: @overscrollBehavior;
|
1468
|
+
}
|
1469
|
+
}
|
1470
|
+
.ui.simple.dropdown > .menu > .item:active > .left.menu,
|
1471
|
+
.ui.simple.dropdown .menu .item:hover > .left.menu,
|
1472
|
+
.right.menu .ui.simple.dropdown > .menu > .item:active > .menu:not(.right),
|
1473
|
+
.right.menu .ui.simple.dropdown > .menu .item:hover > .menu:not(.right) {
|
1474
|
+
left: auto;
|
1475
|
+
right: 100%;
|
1476
|
+
}
|
1477
|
+
& when (@variationDropdownDisabled) {
|
1478
|
+
.ui.simple.disabled.dropdown:hover .menu {
|
1479
|
+
display: none;
|
1480
|
+
height: 0;
|
1481
|
+
width: 0;
|
1482
|
+
overflow: hidden;
|
1483
|
+
}
|
1484
|
+
}
|
1485
|
+
|
1486
|
+
/* Visible */
|
1487
|
+
.ui.simple.visible.dropdown > .menu {
|
1488
|
+
display: block;
|
1489
|
+
}
|
1490
|
+
& when (@variationDropdownScrolling) {
|
1491
|
+
/* Scrolling */
|
1492
|
+
.ui.simple.scrolling.active.dropdown > .menu,
|
1493
|
+
.ui.simple.scrolling.dropdown:hover > .menu {
|
1494
|
+
overflow-x: hidden;
|
1495
|
+
overflow-y: auto;
|
1496
|
+
overscroll-behavior: @overscrollBehavior;
|
1497
|
+
}
|
1523
1498
|
}
|
1524
|
-
}
|
1525
1499
|
}
|
1526
1500
|
|
1527
1501
|
& when (@variationDropdownFluid) {
|
1528
|
-
|
1529
|
-
|
1530
|
-
|
1502
|
+
/* --------------
|
1503
|
+
Fluid
|
1504
|
+
--------------- */
|
1531
1505
|
|
1532
|
-
|
1533
|
-
|
1534
|
-
|
1535
|
-
|
1536
|
-
|
1537
|
-
|
1538
|
-
|
1539
|
-
|
1506
|
+
.ui.fluid.dropdown {
|
1507
|
+
display: block;
|
1508
|
+
width: 100% !important;
|
1509
|
+
min-width: 0;
|
1510
|
+
}
|
1511
|
+
.ui.fluid.dropdown > .dropdown.icon {
|
1512
|
+
float: right;
|
1513
|
+
}
|
1540
1514
|
}
|
1541
1515
|
|
1542
1516
|
& when (@variationDropdownFloating) {
|
1543
|
-
|
1544
|
-
|
1545
|
-
|
1517
|
+
/* --------------
|
1518
|
+
Floating
|
1519
|
+
--------------- */
|
1546
1520
|
|
1547
|
-
|
1548
|
-
|
1549
|
-
|
1550
|
-
|
1551
|
-
|
1552
|
-
|
1553
|
-
|
1554
|
-
|
1555
|
-
|
1556
|
-
|
1557
|
-
|
1558
|
-
|
1559
|
-
.ui.upward.floating.dropdown > .menu {
|
1560
|
-
margin-bottom: @floatingMenuDistance;
|
1561
|
-
}
|
1521
|
+
.ui.floating.dropdown > .menu {
|
1522
|
+
left: 0;
|
1523
|
+
right: auto;
|
1524
|
+
box-shadow: @floatingMenuBoxShadow !important;
|
1525
|
+
border-radius: @floatingMenuBorderRadius !important;
|
1526
|
+
}
|
1527
|
+
.ui:not(.upward).floating.dropdown > .menu {
|
1528
|
+
margin-top: @floatingMenuDistance;
|
1529
|
+
}
|
1530
|
+
.ui.upward.floating.dropdown:not(.simple) > .menu {
|
1531
|
+
margin-bottom: @floatingMenuDistance;
|
1532
|
+
}
|
1562
1533
|
}
|
1563
1534
|
|
1564
1535
|
& when (@variationDropdownPointing) {
|
1565
|
-
|
1566
|
-
|
1567
|
-
|
1568
|
-
|
1569
|
-
|
1570
|
-
|
1571
|
-
|
1572
|
-
|
1573
|
-
|
1574
|
-
|
1575
|
-
|
1576
|
-
|
1577
|
-
|
1578
|
-
|
1579
|
-
|
1580
|
-
|
1581
|
-
|
1582
|
-
|
1583
|
-
|
1584
|
-
|
1585
|
-
|
1586
|
-
|
1587
|
-
|
1588
|
-
|
1589
|
-
|
1590
|
-
|
1591
|
-
|
1592
|
-
|
1593
|
-
|
1594
|
-
|
1595
|
-
|
1596
|
-
|
1597
|
-
|
1598
|
-
|
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
|
-
|
1536
|
+
/* --------------
|
1537
|
+
Pointing
|
1538
|
+
--------------- */
|
1539
|
+
|
1540
|
+
.ui.pointing.dropdown > .menu {
|
1541
|
+
top: 100%;
|
1542
|
+
margin-top: @pointingMenuDistance;
|
1543
|
+
border-radius: @pointingMenuBorderRadius;
|
1544
|
+
}
|
1545
|
+
|
1546
|
+
.ui.pointing.dropdown > .menu:not(.hidden)::after {
|
1547
|
+
display: block;
|
1548
|
+
position: absolute;
|
1549
|
+
pointer-events: none;
|
1550
|
+
content: "";
|
1551
|
+
visibility: visible;
|
1552
|
+
transform: rotate(45deg);
|
1553
|
+
width: @pointingArrowSize;
|
1554
|
+
height: @pointingArrowSize;
|
1555
|
+
box-shadow: @pointingArrowBoxShadow;
|
1556
|
+
background: @pointingArrowBackground;
|
1557
|
+
z-index: @pointingArrowZIndex;
|
1558
|
+
}
|
1559
|
+
|
1560
|
+
.ui.pointing.dropdown > .menu:not(.hidden)::after {
|
1561
|
+
top: @pointingArrowOffset;
|
1562
|
+
left: 50%;
|
1563
|
+
margin: 0 0 0 @pointingArrowOffset;
|
1564
|
+
}
|
1565
|
+
|
1566
|
+
/* Top Left Pointing */
|
1567
|
+
.ui.top.left.pointing.dropdown > .menu {
|
1568
|
+
top: 100%;
|
1569
|
+
bottom: auto;
|
1570
|
+
left: 0;
|
1571
|
+
right: auto;
|
1572
|
+
margin: @pointingArrowDistanceFromEdge 0 0;
|
1573
|
+
}
|
1574
|
+
.ui.top.left.pointing.dropdown > .menu {
|
1575
|
+
top: 100%;
|
1576
|
+
bottom: auto;
|
1577
|
+
left: 0;
|
1578
|
+
right: auto;
|
1579
|
+
margin: @pointingArrowDistanceFromEdge 0 0;
|
1580
|
+
}
|
1581
|
+
.ui.top.left.pointing.dropdown > .menu::after {
|
1582
|
+
top: @pointingArrowOffset;
|
1583
|
+
left: @pointingArrowDistanceFromEdge;
|
1584
|
+
right: auto;
|
1585
|
+
margin: 0;
|
1586
|
+
transform: rotate(45deg);
|
1587
|
+
}
|
1588
|
+
|
1589
|
+
/* Top Right Pointing */
|
1590
|
+
.ui.top.right.pointing.dropdown > .menu {
|
1591
|
+
top: 100%;
|
1592
|
+
bottom: auto;
|
1593
|
+
right: 0;
|
1594
|
+
left: auto;
|
1595
|
+
margin: @pointingArrowDistanceFromEdge 0 0;
|
1596
|
+
}
|
1597
|
+
.ui.top.pointing.dropdown > .left.menu::after,
|
1598
|
+
.ui.top.right.pointing.dropdown > .menu::after {
|
1599
|
+
top: @pointingArrowOffset;
|
1600
|
+
left: auto !important;
|
1601
|
+
right: @pointingArrowDistanceFromEdge !important;
|
1602
|
+
margin: 0;
|
1603
|
+
transform: rotate(45deg);
|
1604
|
+
}
|
1605
|
+
|
1606
|
+
/* Left Pointing */
|
1607
|
+
.ui.left.pointing.dropdown > .menu {
|
1608
|
+
top: 0;
|
1609
|
+
left: 100%;
|
1610
|
+
right: auto;
|
1611
|
+
margin: 0 0 0 @pointingArrowDistanceFromEdge;
|
1612
|
+
}
|
1613
|
+
.ui.left.pointing.dropdown > .menu::after {
|
1614
|
+
top: 1em;
|
1615
|
+
left: @pointingArrowOffset;
|
1616
|
+
margin: 0;
|
1617
|
+
transform: rotate(-45deg);
|
1618
|
+
}
|
1619
|
+
.ui.left:not(.top):not(.bottom).pointing.dropdown > .left.menu {
|
1620
|
+
left: auto !important;
|
1621
|
+
right: 100% !important;
|
1622
|
+
margin: 0 @pointingArrowDistanceFromEdge 0 0;
|
1623
|
+
}
|
1624
|
+
.ui.left:not(.top):not(.bottom).pointing.dropdown > .left.menu::after {
|
1625
|
+
top: 1em;
|
1626
|
+
left: auto;
|
1627
|
+
right: @pointingArrowOffset;
|
1628
|
+
margin: 0;
|
1629
|
+
transform: rotate(135deg);
|
1630
|
+
}
|
1631
|
+
|
1632
|
+
/* Right Pointing */
|
1633
|
+
.ui.right.pointing.dropdown > .menu {
|
1634
|
+
top: 0;
|
1635
|
+
left: auto;
|
1636
|
+
right: 100%;
|
1637
|
+
margin: 0 @pointingArrowDistanceFromEdge 0 0;
|
1638
|
+
}
|
1639
|
+
.ui.right.pointing.dropdown > .menu::after {
|
1640
|
+
top: 1em;
|
1641
|
+
left: auto;
|
1642
|
+
right: @pointingArrowOffset;
|
1643
|
+
margin: 0;
|
1644
|
+
transform: rotate(135deg);
|
1645
|
+
}
|
1646
|
+
|
1647
|
+
/* Bottom Pointing */
|
1648
|
+
.ui.bottom.pointing.dropdown > .menu {
|
1649
|
+
top: auto;
|
1650
|
+
bottom: 100%;
|
1651
|
+
left: 0;
|
1652
|
+
right: auto;
|
1653
|
+
margin: 0 0 @pointingArrowDistanceFromEdge;
|
1654
|
+
}
|
1655
|
+
.ui.bottom.pointing.dropdown > .menu::after {
|
1656
|
+
top: auto;
|
1657
|
+
bottom: @pointingArrowOffset;
|
1658
|
+
right: auto;
|
1659
|
+
margin: 0;
|
1660
|
+
transform: rotate(-135deg);
|
1661
|
+
}
|
1662
|
+
|
1663
|
+
/* Reverse Sub-Menu Direction */
|
1664
|
+
.ui.bottom.pointing.dropdown > .menu .menu {
|
1665
|
+
top: auto !important;
|
1666
|
+
bottom: 0 !important;
|
1667
|
+
}
|
1668
|
+
|
1669
|
+
/* Bottom Left */
|
1670
|
+
.ui.bottom.left.pointing.dropdown > .menu {
|
1671
|
+
left: 0;
|
1672
|
+
right: auto;
|
1673
|
+
}
|
1674
|
+
.ui.bottom.left.pointing.dropdown > .menu::after {
|
1675
|
+
left: @pointingArrowDistanceFromEdge;
|
1676
|
+
right: auto;
|
1677
|
+
}
|
1678
|
+
|
1679
|
+
/* Bottom Right */
|
1680
|
+
.ui.bottom.right.pointing.dropdown > .menu {
|
1681
|
+
right: 0;
|
1682
|
+
left: auto;
|
1683
|
+
}
|
1684
|
+
.ui.bottom.right.pointing.dropdown > .menu::after {
|
1685
|
+
left: auto;
|
1686
|
+
right: @pointingArrowDistanceFromEdge;
|
1687
|
+
}
|
1688
|
+
|
1689
|
+
/* Upward pointing */
|
1690
|
+
.ui.pointing.upward.dropdown .menu,
|
1691
|
+
.ui.top.pointing.upward.dropdown .menu {
|
1692
|
+
top: auto !important;
|
1693
|
+
bottom: 100% !important;
|
1694
|
+
margin: 0 0 @pointingMenuDistance;
|
1695
|
+
border-radius: @pointingUpwardMenuBorderRadius;
|
1696
|
+
}
|
1697
|
+
.ui.pointing.upward.dropdown .menu::after,
|
1698
|
+
.ui.top.pointing.upward.dropdown .menu::after {
|
1699
|
+
top: 100% !important;
|
1700
|
+
bottom: auto !important;
|
1701
|
+
box-shadow: @pointingUpwardArrowBoxShadow;
|
1702
|
+
margin: @pointingArrowOffset 0 0;
|
1703
|
+
}
|
1704
|
+
|
1705
|
+
/* Right Pointing Upward */
|
1706
|
+
.ui.right.pointing.upward.dropdown:not(.top):not(.bottom) .menu {
|
1707
|
+
top: auto !important;
|
1708
|
+
bottom: 0 !important;
|
1709
|
+
margin: 0 @pointingArrowDistanceFromEdge 0 0;
|
1710
|
+
}
|
1711
|
+
.ui.right.pointing.upward.dropdown:not(.top):not(.bottom) .menu::after {
|
1712
|
+
top: auto !important;
|
1713
|
+
bottom: 0 !important;
|
1714
|
+
margin: 0 0 @pointingArrowDistanceFromEdge 0;
|
1715
|
+
box-shadow: @pointingArrowBoxShadow;
|
1716
|
+
}
|
1717
|
+
|
1718
|
+
/* Left Pointing Upward */
|
1719
|
+
.ui.left.pointing.upward.dropdown:not(.top):not(.bottom) .menu {
|
1720
|
+
top: auto !important;
|
1721
|
+
bottom: 0 !important;
|
1722
|
+
margin: 0 0 0 @pointingArrowDistanceFromEdge;
|
1723
|
+
}
|
1724
|
+
.ui.left.pointing.upward.dropdown:not(.top):not(.bottom) .menu::after {
|
1725
|
+
top: auto !important;
|
1726
|
+
bottom: 0 !important;
|
1727
|
+
margin: 0 0 @pointingArrowDistanceFromEdge 0;
|
1728
|
+
box-shadow: @pointingArrowBoxShadow;
|
1729
|
+
}
|
1730
|
+
}
|
1661
1731
|
|
1662
|
-
|
1663
|
-
.ui.right.pointing.dropdown > .menu {
|
1664
|
-
top: 0;
|
1665
|
-
left: auto;
|
1666
|
-
right: 100%;
|
1667
|
-
margin: 0 @pointingArrowDistanceFromEdge 0 0;
|
1668
|
-
}
|
1669
|
-
.ui.right.pointing.dropdown > .menu::after {
|
1670
|
-
top: 1em;
|
1671
|
-
left: auto;
|
1672
|
-
right: @pointingArrowOffset;
|
1673
|
-
margin: 0 0 0 0;
|
1674
|
-
transform: rotate(135deg);
|
1675
|
-
}
|
1676
|
-
|
1677
|
-
/* Bottom Pointing */
|
1678
|
-
.ui.bottom.pointing.dropdown > .menu {
|
1679
|
-
top: auto;
|
1680
|
-
bottom: 100%;
|
1681
|
-
left: 0;
|
1682
|
-
right: auto;
|
1683
|
-
margin: 0 0 @pointingArrowDistanceFromEdge ;
|
1684
|
-
}
|
1685
|
-
.ui.bottom.pointing.dropdown > .menu::after {
|
1686
|
-
top: auto;
|
1687
|
-
bottom: @pointingArrowOffset;
|
1688
|
-
right: auto;
|
1689
|
-
margin: 0;
|
1690
|
-
transform: rotate(-135deg);
|
1691
|
-
}
|
1692
|
-
/* Reverse Sub-Menu Direction */
|
1693
|
-
.ui.bottom.pointing.dropdown > .menu .menu {
|
1694
|
-
top: auto !important;
|
1695
|
-
bottom: 0 !important;
|
1696
|
-
}
|
1697
|
-
|
1698
|
-
/* Bottom Left */
|
1699
|
-
.ui.bottom.left.pointing.dropdown > .menu {
|
1700
|
-
left: 0;
|
1701
|
-
right: auto;
|
1702
|
-
}
|
1703
|
-
.ui.bottom.left.pointing.dropdown > .menu::after {
|
1704
|
-
left: @pointingArrowDistanceFromEdge;
|
1705
|
-
right: auto;
|
1706
|
-
}
|
1707
|
-
|
1708
|
-
/* Bottom Right */
|
1709
|
-
.ui.bottom.right.pointing.dropdown > .menu {
|
1710
|
-
right: 0;
|
1711
|
-
left: auto;
|
1712
|
-
}
|
1713
|
-
.ui.bottom.right.pointing.dropdown > .menu::after {
|
1714
|
-
left: auto;
|
1715
|
-
right: @pointingArrowDistanceFromEdge;
|
1716
|
-
}
|
1717
|
-
|
1718
|
-
/* Upward pointing */
|
1719
|
-
.ui.pointing.upward.dropdown .menu,
|
1720
|
-
.ui.top.pointing.upward.dropdown .menu {
|
1721
|
-
top: auto !important;
|
1722
|
-
bottom: 100% !important;
|
1723
|
-
margin: 0 0 @pointingMenuDistance;
|
1724
|
-
border-radius: @pointingUpwardMenuBorderRadius;
|
1725
|
-
}
|
1726
|
-
.ui.pointing.upward.dropdown .menu::after,
|
1727
|
-
.ui.top.pointing.upward.dropdown .menu::after {
|
1728
|
-
top: 100% !important;
|
1729
|
-
bottom: auto !important;
|
1730
|
-
box-shadow: @pointingUpwardArrowBoxShadow;
|
1731
|
-
margin: @pointingArrowOffset 0 0;
|
1732
|
-
}
|
1733
|
-
|
1734
|
-
/* Right Pointing Upward */
|
1735
|
-
.ui.right.pointing.upward.dropdown:not(.top):not(.bottom) .menu {
|
1736
|
-
top: auto !important;
|
1737
|
-
bottom: 0 !important;
|
1738
|
-
margin: 0 @pointingArrowDistanceFromEdge 0 0;
|
1739
|
-
}
|
1740
|
-
.ui.right.pointing.upward.dropdown:not(.top):not(.bottom) .menu::after {
|
1741
|
-
top: auto !important;
|
1742
|
-
bottom: 0 !important;
|
1743
|
-
margin: 0 0 @pointingArrowDistanceFromEdge 0;
|
1744
|
-
box-shadow: @pointingArrowBoxShadow;
|
1745
|
-
}
|
1746
|
-
|
1747
|
-
|
1748
|
-
/* Left Pointing Upward */
|
1749
|
-
.ui.left.pointing.upward.dropdown:not(.top):not(.bottom) .menu {
|
1750
|
-
top: auto !important;
|
1751
|
-
bottom: 0 !important;
|
1752
|
-
margin: 0 0 0 @pointingArrowDistanceFromEdge;
|
1753
|
-
}
|
1754
|
-
.ui.left.pointing.upward.dropdown:not(.top):not(.bottom) .menu::after {
|
1755
|
-
top: auto !important;
|
1756
|
-
bottom: 0 !important;
|
1757
|
-
margin: 0 0 @pointingArrowDistanceFromEdge 0;
|
1758
|
-
box-shadow: @pointingArrowBoxShadow;
|
1759
|
-
}
|
1760
|
-
}
|
1761
|
-
|
1762
|
-
/*--------------------
|
1732
|
+
/* --------------------
|
1763
1733
|
Sizes
|
1764
|
-
|
1734
|
+
--------------------- */
|
1765
1735
|
|
1766
1736
|
.ui.dropdown,
|
1767
1737
|
.ui.dropdown .menu > .item {
|
1768
|
-
|
1738
|
+
font-size: @medium;
|
1769
1739
|
}
|
1770
1740
|
& when not (@variationDropdownSizes = false) {
|
1771
|
-
|
1772
|
-
|
1773
|
-
|
1774
|
-
|
1775
|
-
|
1776
|
-
|
1777
|
-
|
1741
|
+
each(@variationDropdownSizes, {
|
1742
|
+
@s: @@value;
|
1743
|
+
.ui.@{value}.dropdown,
|
1744
|
+
.ui.@{value}.dropdown .menu > .item {
|
1745
|
+
font-size: @s;
|
1746
|
+
}
|
1747
|
+
});
|
1778
1748
|
}
|
1779
1749
|
|
1780
1750
|
& when (@variationDropdownInverted) {
|
1781
|
-
|
1782
|
-
|
1783
|
-
|
1784
|
-
|
1785
|
-
|
1786
|
-
.ui.dropdown .inverted.menu,
|
1787
|
-
.ui.inverted.dropdown .menu {
|
1788
|
-
background: @invertedMenuBackground;
|
1789
|
-
box-shadow: @invertedMenuBoxShadow;
|
1790
|
-
border: @invertedMenuBorder;
|
1791
|
-
}
|
1792
|
-
|
1793
|
-
.ui.dropdown .inverted.menu > .item,
|
1794
|
-
.ui.inverted.dropdown .menu > .item {
|
1795
|
-
color: @invertedMenuColor;
|
1796
|
-
}
|
1797
|
-
|
1798
|
-
.ui.dropdown .inverted.menu .active.item,
|
1799
|
-
.ui.inverted.dropdown .menu .active.item {
|
1800
|
-
background: @invertedActiveItemBackground;
|
1801
|
-
color: @invertedActiveItemColor;
|
1802
|
-
box-shadow: @invertedActiveItemBoxShadow;
|
1803
|
-
}
|
1804
|
-
|
1805
|
-
.ui.dropdown .inverted.menu > .item:hover,
|
1806
|
-
.ui.inverted.dropdown .menu > .item:hover {
|
1807
|
-
background: @invertedHoveredItemBackground;
|
1808
|
-
color: @invertedHoveredItemColor;
|
1809
|
-
}
|
1810
|
-
|
1811
|
-
.ui.inverted.dropdown.selected,
|
1812
|
-
.ui.dropdown .inverted.menu .selected.item,
|
1813
|
-
.ui.inverted.dropdown .menu .selected.item {
|
1814
|
-
background: @invertedSelectedBackground;
|
1815
|
-
color: @invertedSelectedColor;
|
1816
|
-
}
|
1817
|
-
|
1818
|
-
.ui.dropdown .inverted.menu > .header,
|
1819
|
-
.ui.inverted.dropdown .menu > .header {
|
1820
|
-
color: @invertedMenuHeaderColor;
|
1821
|
-
}
|
1822
|
-
|
1823
|
-
.ui.inverted.dropdown > .text > .description,
|
1824
|
-
.ui.dropdown .inverted.menu > .item > .description,
|
1825
|
-
.ui.inverted.dropdown .menu > .item > .description {
|
1826
|
-
color: @invertedItemDescriptionColor;
|
1827
|
-
}
|
1828
|
-
|
1829
|
-
.ui.dropdown .inverted.menu > .divider,
|
1830
|
-
.ui.inverted.dropdown .menu > .divider {
|
1831
|
-
border-top: @invertedMenuDividerBorder;
|
1832
|
-
}
|
1833
|
-
|
1834
|
-
.ui.dropdown .inverted.scrolling.menu,
|
1835
|
-
.ui.inverted.dropdown .scrolling.menu {
|
1836
|
-
border: none;
|
1837
|
-
border-top: @invertedMenuBorder;
|
1838
|
-
}
|
1839
|
-
|
1840
|
-
& when (@variationDropdownSelection) {
|
1841
|
-
/* Selection */
|
1842
|
-
.ui.inverted.selection.dropdown {
|
1843
|
-
border: @invertedSelectionBorder;
|
1844
|
-
background: @invertedSelectionBackground;
|
1845
|
-
color: @invertedSelectionTextColor;
|
1846
|
-
}
|
1847
|
-
|
1848
|
-
.ui.inverted.selection.dropdown:hover {
|
1849
|
-
border-color: @invertedSelectionHoverBorderColor;
|
1850
|
-
box-shadow: @invertedSelectionHoverBoxShadow;
|
1851
|
-
}
|
1852
|
-
|
1853
|
-
.ui.inverted.selection.dropdown input {
|
1854
|
-
color: @invertedSelectionInputTextColor;
|
1855
|
-
}
|
1856
|
-
|
1857
|
-
.ui.inverted.selection.visible.dropdown > .text:not(.default) {
|
1858
|
-
color: @invertedSelectionVisibleTextColor;
|
1859
|
-
}
|
1860
|
-
|
1861
|
-
.ui.selection.simple.dropdown:hover .inverted.menu,
|
1862
|
-
.ui.inverted.selection.simple.dropdown:hover .menu,
|
1863
|
-
.ui.selection.active.dropdown .inverted.menu,
|
1864
|
-
.ui.inverted.selection.active.dropdown .menu,
|
1865
|
-
.ui.inverted.selection.active.dropdown:hover {
|
1866
|
-
border-color: @invertedSelectionVisibleBorderColor;
|
1867
|
-
}
|
1868
|
-
|
1869
|
-
.ui.selection.dropdown .inverted.menu > .item,
|
1870
|
-
.ui.inverted.selection.dropdown .menu > .item {
|
1871
|
-
border-top: @invertedSelectionItemDivider;
|
1872
|
-
}
|
1873
|
-
}
|
1874
|
-
|
1875
|
-
.ui.inverted.dropdown:not(.button) > .default.text,
|
1876
|
-
.ui.inverted.default.dropdown:not(.button) > .text {
|
1877
|
-
color: @invertedDefaultTextColor;
|
1878
|
-
}
|
1879
|
-
.ui.inverted.dropdown:not(.button) > input:focus ~ .default.text,
|
1880
|
-
.ui.inverted.default.dropdown:not(.button) > input:focus ~ .text {
|
1881
|
-
color: @invertedDefaultTextFocusColor;
|
1882
|
-
}
|
1883
|
-
|
1884
|
-
.ui.inverted.active.search.dropdown input.search:focus + .text i.icon,
|
1885
|
-
.ui.inverted.active.search.dropdown input.search:focus + .text .flag {
|
1886
|
-
opacity: @invertedSelectionTextUnderlayIconOpacity;
|
1887
|
-
}
|
1888
|
-
.ui.inverted.active.search.dropdown input.search:focus + .text {
|
1889
|
-
color: @invertedSelectionTextUnderlayColor !important;
|
1890
|
-
}
|
1891
|
-
|
1892
|
-
.ui.dropdown .inverted.menu > .message:not(.ui),
|
1893
|
-
.ui.inverted.dropdown .menu > .message:not(.ui) {
|
1894
|
-
color: @invertedMessageColor;
|
1895
|
-
}
|
1896
|
-
|
1897
|
-
/* Fixing the border */
|
1898
|
-
.ui.dropdown .inverted.menu > .item:first-child,
|
1899
|
-
.ui.inverted.dropdown .menu > .item:first-child {
|
1900
|
-
border-top-width: 0;
|
1901
|
-
}
|
1902
|
-
|
1903
|
-
& when (@variationDropdownMultiple) {
|
1904
|
-
/* Labels */
|
1905
|
-
.ui.inverted.multiple.dropdown > .label {
|
1906
|
-
background-color: @invertedLabelBackgroundColor;
|
1907
|
-
background-image: @invertedLabelBackgroundImage;
|
1908
|
-
color: @invertedLabelColor;
|
1909
|
-
box-shadow: @invertedLabelBoxShadow;
|
1910
|
-
}
|
1911
|
-
|
1912
|
-
.ui.inverted.multiple.dropdown > .label:hover {
|
1913
|
-
background-color: @invertedLabelHoverBackgroundColor;
|
1914
|
-
border-color: @invertedLabelHoverBackgroundColor;
|
1915
|
-
|
1916
|
-
background-image: @invertedLabelHoverBackgroundImage;
|
1917
|
-
color: @invertedLabelHoverTextColor;
|
1918
|
-
}
|
1919
|
-
|
1920
|
-
.ui.inverted.multiple.dropdown > .label > .close.icon,
|
1921
|
-
.ui.inverted.multiple.dropdown > .label > .delete.icon {
|
1922
|
-
opacity: @invertedLabelIconOpacity;
|
1923
|
-
}
|
1924
|
-
|
1925
|
-
.ui.inverted.multiple.dropdown > .label > .close.icon:hover,
|
1926
|
-
.ui.inverted.multiple.dropdown > .label > .delete.icon:hover {
|
1927
|
-
opacity: @invertedLabelIconHoverOpacity;
|
1928
|
-
}
|
1929
|
-
}
|
1930
|
-
|
1931
|
-
/* Selection for form elements */
|
1932
|
-
.ui.inverted.dropdown textarea::-webkit-selection,
|
1933
|
-
.ui.inverted.dropdown input::-webkit-selection {
|
1934
|
-
background-color: @invertedInputHighlightBackground;
|
1935
|
-
color: @invertedInputHighlightColor;
|
1936
|
-
}
|
1937
|
-
.ui.inverted.dropdown textarea::-moz-selection,
|
1938
|
-
.ui.inverted.dropdown input::-moz-selection {
|
1939
|
-
background-color: @invertedInputHighlightBackground;
|
1940
|
-
color: @invertedInputHighlightColor;
|
1941
|
-
}
|
1942
|
-
.ui.inverted.dropdown textarea::selection,
|
1943
|
-
.ui.inverted.dropdown input::selection {
|
1944
|
-
background-color: @invertedInputHighlightBackground;
|
1945
|
-
color: @invertedInputHighlightColor;
|
1946
|
-
}
|
1947
|
-
|
1948
|
-
/* Scrollbars */
|
1949
|
-
& when (@useCustomScrollbars) {
|
1950
|
-
.ui.dropdown .inverted.menu::-webkit-scrollbar-track,
|
1951
|
-
.ui.inverted.dropdown .menu::-webkit-scrollbar-track {
|
1952
|
-
background: @trackInvertedBackground;
|
1953
|
-
}
|
1954
|
-
.ui.dropdown .inverted.menu::-webkit-scrollbar-thumb,
|
1955
|
-
.ui.inverted.dropdown .menu::-webkit-scrollbar-thumb {
|
1956
|
-
background: @thumbInvertedBackground;
|
1957
|
-
}
|
1958
|
-
.ui.dropdown .inverted.menu::-webkit-scrollbar-thumb:window-inactive,
|
1959
|
-
.ui.inverted.dropdown .menu::-webkit-scrollbar-thumb:window-inactive {
|
1960
|
-
background: @thumbInvertedInactiveBackground;
|
1961
|
-
}
|
1962
|
-
.ui.dropdown .inverted.menu::-webkit-scrollbar-thumb:hover,
|
1963
|
-
.ui.inverted.dropdown .menu::-webkit-scrollbar-thumb:hover {
|
1964
|
-
background: @thumbInvertedHoverBackground;
|
1965
|
-
}
|
1751
|
+
/* --------------
|
1752
|
+
Inverted
|
1753
|
+
--------------- */
|
1754
|
+
|
1755
|
+
/* General rules and basic dropdowns */
|
1966
1756
|
.ui.dropdown .inverted.menu,
|
1967
1757
|
.ui.inverted.dropdown .menu {
|
1968
|
-
|
1969
|
-
|
1970
|
-
|
1971
|
-
|
1972
|
-
|
1973
|
-
|
1974
|
-
|
1975
|
-
|
1976
|
-
|
1977
|
-
|
1978
|
-
|
1979
|
-
|
1980
|
-
|
1981
|
-
|
1982
|
-
|
1983
|
-
|
1984
|
-
|
1985
|
-
|
1758
|
+
background: @invertedMenuBackground;
|
1759
|
+
box-shadow: @invertedMenuBoxShadow;
|
1760
|
+
border: @invertedMenuBorder;
|
1761
|
+
}
|
1762
|
+
|
1763
|
+
.ui.dropdown .inverted.menu > .item,
|
1764
|
+
.ui.inverted.dropdown .menu > .item {
|
1765
|
+
color: @invertedMenuColor;
|
1766
|
+
}
|
1767
|
+
|
1768
|
+
.ui.dropdown .inverted.menu .active.item,
|
1769
|
+
.ui.inverted.dropdown .menu .active.item {
|
1770
|
+
background: @invertedActiveItemBackground;
|
1771
|
+
color: @invertedActiveItemColor;
|
1772
|
+
box-shadow: @invertedActiveItemBoxShadow;
|
1773
|
+
}
|
1774
|
+
|
1775
|
+
.ui.dropdown .inverted.menu > .item:hover,
|
1776
|
+
.ui.inverted.dropdown .menu > .item:hover {
|
1777
|
+
background: @invertedHoveredItemBackground;
|
1778
|
+
color: @invertedHoveredItemColor;
|
1779
|
+
}
|
1780
|
+
|
1781
|
+
.ui.inverted.dropdown.selected,
|
1782
|
+
.ui.dropdown .inverted.menu .selected.item,
|
1783
|
+
.ui.inverted.dropdown .menu .selected.item {
|
1784
|
+
background: @invertedSelectedBackground;
|
1785
|
+
color: @invertedSelectedColor;
|
1786
|
+
}
|
1787
|
+
|
1788
|
+
.ui.dropdown .inverted.menu > .header,
|
1789
|
+
.ui.inverted.dropdown .menu > .header {
|
1790
|
+
color: @invertedMenuHeaderColor;
|
1791
|
+
}
|
1792
|
+
|
1793
|
+
.ui.inverted.dropdown > .text > .description,
|
1794
|
+
.ui.dropdown .inverted.menu > .item > .description,
|
1795
|
+
.ui.inverted.dropdown .menu > .item > .description {
|
1796
|
+
color: @invertedItemDescriptionColor;
|
1797
|
+
}
|
1798
|
+
|
1799
|
+
.ui.dropdown .inverted.menu > .divider,
|
1800
|
+
.ui.inverted.dropdown .menu > .divider {
|
1801
|
+
border-top: @invertedMenuDividerBorder;
|
1802
|
+
}
|
1803
|
+
|
1804
|
+
.ui.dropdown .inverted.scrolling.menu,
|
1805
|
+
.ui.inverted.dropdown .scrolling.menu {
|
1806
|
+
border: none;
|
1807
|
+
border-top: @invertedMenuBorder;
|
1808
|
+
}
|
1809
|
+
|
1810
|
+
& when (@variationDropdownSelection) {
|
1811
|
+
/* Selection */
|
1812
|
+
.ui.inverted.selection.dropdown {
|
1813
|
+
border: @invertedSelectionBorder;
|
1814
|
+
background: @invertedSelectionBackground;
|
1815
|
+
color: @invertedSelectionTextColor;
|
1816
|
+
}
|
1817
|
+
|
1818
|
+
.ui.inverted.selection.dropdown:hover {
|
1819
|
+
border-color: @invertedSelectionHoverBorderColor;
|
1820
|
+
box-shadow: @invertedSelectionHoverBoxShadow;
|
1821
|
+
}
|
1822
|
+
|
1823
|
+
.ui.inverted.selection.dropdown input {
|
1824
|
+
color: @invertedSelectionInputTextColor;
|
1825
|
+
}
|
1826
|
+
|
1827
|
+
.ui.inverted.selection.visible.dropdown > .text:not(.default) {
|
1828
|
+
color: @invertedSelectionVisibleTextColor;
|
1829
|
+
}
|
1830
|
+
|
1831
|
+
.ui.selection.simple.dropdown:hover .inverted.menu,
|
1832
|
+
.ui.inverted.selection.simple.dropdown:hover .menu,
|
1833
|
+
.ui.selection.active.dropdown .inverted.menu,
|
1834
|
+
.ui.inverted.selection.active.dropdown .menu,
|
1835
|
+
.ui.inverted.selection.active.dropdown:hover {
|
1836
|
+
border-color: @invertedSelectionVisibleBorderColor;
|
1837
|
+
}
|
1838
|
+
|
1839
|
+
.ui.selection.dropdown .inverted.menu > .item,
|
1840
|
+
.ui.inverted.selection.dropdown .menu > .item {
|
1841
|
+
border-top: @invertedSelectionItemDivider;
|
1842
|
+
}
|
1843
|
+
}
|
1844
|
+
|
1845
|
+
.ui.inverted.dropdown:not(.button) > .default.text,
|
1846
|
+
.ui.inverted.default.dropdown:not(.button) > .text {
|
1847
|
+
color: @invertedDefaultTextColor;
|
1848
|
+
}
|
1849
|
+
.ui.inverted.dropdown:not(.button) > input:focus ~ .default.text,
|
1850
|
+
.ui.inverted.default.dropdown:not(.button) > input:focus ~ .text {
|
1851
|
+
color: @invertedDefaultTextFocusColor;
|
1852
|
+
}
|
1853
|
+
|
1854
|
+
.ui.inverted.active.search.dropdown input.search:focus + .text i.icon,
|
1855
|
+
.ui.inverted.active.search.dropdown input.search:focus + .text .flag {
|
1856
|
+
opacity: @invertedSelectionTextUnderlayIconOpacity;
|
1857
|
+
}
|
1858
|
+
.ui.inverted.active.search.dropdown input.search:focus + .text {
|
1859
|
+
color: @invertedSelectionTextUnderlayColor !important;
|
1860
|
+
}
|
1861
|
+
|
1862
|
+
.ui.dropdown .inverted.menu > .message:not(.ui),
|
1863
|
+
.ui.inverted.dropdown .menu > .message:not(.ui) {
|
1864
|
+
color: @invertedMessageColor;
|
1865
|
+
}
|
1866
|
+
|
1867
|
+
/* Fixing the border */
|
1868
|
+
.ui.dropdown .inverted.menu > .item:first-child,
|
1869
|
+
.ui.inverted.dropdown .menu > .item:first-child {
|
1870
|
+
border-top-width: 0;
|
1871
|
+
}
|
1872
|
+
|
1873
|
+
& when (@variationDropdownMultiple) {
|
1874
|
+
/* Labels */
|
1875
|
+
.ui.inverted.multiple.dropdown > .label {
|
1876
|
+
background-color: @invertedLabelBackgroundColor;
|
1877
|
+
background-image: @invertedLabelBackgroundImage;
|
1878
|
+
color: @invertedLabelColor;
|
1879
|
+
box-shadow: @invertedLabelBoxShadow;
|
1880
|
+
}
|
1881
|
+
|
1882
|
+
.ui.inverted.multiple.dropdown > .label:hover {
|
1883
|
+
background-color: @invertedLabelHoverBackgroundColor;
|
1884
|
+
border-color: @invertedLabelHoverBackgroundColor;
|
1885
|
+
background-image: @invertedLabelHoverBackgroundImage;
|
1886
|
+
color: @invertedLabelHoverTextColor;
|
1887
|
+
}
|
1888
|
+
|
1889
|
+
.ui.inverted.multiple.dropdown > .label > .close.icon,
|
1890
|
+
.ui.inverted.multiple.dropdown > .label > .delete.icon {
|
1891
|
+
opacity: @invertedLabelIconOpacity;
|
1892
|
+
}
|
1893
|
+
|
1894
|
+
.ui.inverted.multiple.dropdown > .label > .close.icon:hover,
|
1895
|
+
.ui.inverted.multiple.dropdown > .label > .delete.icon:hover {
|
1896
|
+
opacity: @invertedLabelIconHoverOpacity;
|
1897
|
+
}
|
1898
|
+
}
|
1899
|
+
|
1900
|
+
/* Selection for form elements */
|
1901
|
+
.ui.inverted.dropdown textarea::-webkit-selection,
|
1902
|
+
.ui.inverted.dropdown input::-webkit-selection {
|
1903
|
+
background-color: @invertedInputHighlightBackground;
|
1904
|
+
color: @invertedInputHighlightColor;
|
1905
|
+
}
|
1906
|
+
.ui.inverted.dropdown textarea::-moz-selection,
|
1907
|
+
.ui.inverted.dropdown input::-moz-selection {
|
1908
|
+
background-color: @invertedInputHighlightBackground;
|
1909
|
+
color: @invertedInputHighlightColor;
|
1910
|
+
}
|
1911
|
+
.ui.inverted.dropdown textarea::selection,
|
1912
|
+
.ui.inverted.dropdown input::selection {
|
1913
|
+
background-color: @invertedInputHighlightBackground;
|
1914
|
+
color: @invertedInputHighlightColor;
|
1915
|
+
}
|
1916
|
+
|
1917
|
+
/* Scrollbars */
|
1918
|
+
& when (@useCustomScrollbars) {
|
1919
|
+
.ui.dropdown .inverted.menu::-webkit-scrollbar-track,
|
1920
|
+
.ui.inverted.dropdown .menu::-webkit-scrollbar-track {
|
1921
|
+
background: @trackInvertedBackground;
|
1922
|
+
}
|
1923
|
+
.ui.dropdown .inverted.menu::-webkit-scrollbar-thumb,
|
1924
|
+
.ui.inverted.dropdown .menu::-webkit-scrollbar-thumb {
|
1925
|
+
background: @thumbInvertedBackground;
|
1926
|
+
}
|
1927
|
+
.ui.dropdown .inverted.menu::-webkit-scrollbar-thumb:window-inactive,
|
1928
|
+
.ui.inverted.dropdown .menu::-webkit-scrollbar-thumb:window-inactive {
|
1929
|
+
background: @thumbInvertedInactiveBackground;
|
1930
|
+
}
|
1931
|
+
.ui.dropdown .inverted.menu::-webkit-scrollbar-thumb:hover,
|
1932
|
+
.ui.inverted.dropdown .menu::-webkit-scrollbar-thumb:hover {
|
1933
|
+
background: @thumbInvertedHoverBackground;
|
1934
|
+
}
|
1935
|
+
.ui.dropdown .inverted.menu,
|
1936
|
+
.ui.inverted.dropdown .menu {
|
1937
|
+
& when (@supportIE) {
|
1938
|
+
/* IE11 */
|
1939
|
+
scrollbar-face-color: @thumbInvertedBackgroundHex;
|
1940
|
+
scrollbar-shadow-color: @thumbInvertedBackgroundHex;
|
1941
|
+
scrollbar-track-color: @trackInvertedBackgroundHex;
|
1942
|
+
scrollbar-arrow-color: @trackInvertedBackgroundHex;
|
1943
|
+
}
|
1944
|
+
|
1945
|
+
/* firefox: first color thumb, second track */
|
1946
|
+
scrollbar-color: @thumbInvertedBackground @trackInvertedBackground;
|
1947
|
+
}
|
1948
|
+
}
|
1949
|
+
& when (@variationDropdownPointing) {
|
1950
|
+
.ui.pointing.dropdown > .inverted.menu::after,
|
1951
|
+
.ui.inverted.pointing.dropdown > .menu::after {
|
1952
|
+
background: @invertedPointingArrowBackground;
|
1953
|
+
box-shadow: @invertedPointingArrowBoxShadow;
|
1954
|
+
}
|
1955
|
+
}
|
1986
1956
|
}
|
1987
1957
|
|
1988
1958
|
.loadUIOverrides();
|