fomantic-ui 2.9.1-beta.8 → 2.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslint/eqeqeq-rule.js +18 -0
- package/.eslint/index.js +29 -0
- package/.eslint/no-extra-parens-rule.js +17 -0
- package/.eslint/package.json +11 -0
- package/.eslintrc.js +123 -0
- package/.github/auto_assign.yml +0 -1
- package/.github/workflows/ci.yml +37 -4
- package/.github/workflows/nightly.yml +1 -1
- package/.github/workflows/release.yml +1 -1
- package/.prettierrc.js +12 -0
- package/.stylelintrc.js +48 -0
- package/CHANGELOG.md +112 -0
- package/README.md +1 -1
- package/dist/components/accordion.css +35 -53
- package/dist/components/accordion.js +568 -595
- package/dist/components/accordion.min.css +2 -2
- package/dist/components/accordion.min.js +3 -3
- package/dist/components/ad.css +34 -45
- package/dist/components/ad.min.css +2 -2
- package/dist/components/api.js +1157 -1179
- package/dist/components/api.min.js +3 -3
- package/dist/components/breadcrumb.css +5 -5
- package/dist/components/breadcrumb.min.css +2 -2
- package/dist/components/button.css +709 -1111
- package/dist/components/button.min.css +2 -2
- package/dist/components/calendar.css +24 -27
- package/dist/components/calendar.js +1934 -1809
- package/dist/components/calendar.min.css +2 -2
- package/dist/components/calendar.min.js +3 -3
- package/dist/components/card.css +219 -365
- package/dist/components/card.min.css +2 -2
- package/dist/components/checkbox.css +120 -191
- package/dist/components/checkbox.js +842 -841
- package/dist/components/checkbox.min.css +2 -2
- package/dist/components/checkbox.min.js +3 -3
- package/dist/components/comment.css +41 -59
- package/dist/components/comment.min.css +2 -2
- package/dist/components/container.css +7 -6
- package/dist/components/container.min.css +2 -2
- package/dist/components/dimmer.css +53 -172
- package/dist/components/dimmer.js +706 -737
- package/dist/components/dimmer.min.css +2 -2
- package/dist/components/dimmer.min.js +3 -3
- package/dist/components/divider.css +43 -61
- package/dist/components/divider.min.css +2 -2
- package/dist/components/dropdown.css +252 -386
- package/dist/components/dropdown.js +4195 -4236
- package/dist/components/dropdown.min.css +2 -2
- package/dist/components/dropdown.min.js +3 -3
- package/dist/components/embed.css +18 -29
- package/dist/components/embed.js +645 -675
- package/dist/components/embed.min.css +2 -2
- package/dist/components/embed.min.js +3 -3
- package/dist/components/emoji.css +3556 -3556
- package/dist/components/emoji.min.css +1 -1
- package/dist/components/feed.css +35 -57
- package/dist/components/feed.min.css +2 -2
- package/dist/components/flag.css +270 -268
- package/dist/components/flag.min.css +2 -2
- package/dist/components/flyout.css +95 -141
- package/dist/components/flyout.js +1514 -1465
- package/dist/components/flyout.min.css +2 -2
- package/dist/components/flyout.min.js +3 -3
- package/dist/components/form.css +244 -339
- package/dist/components/form.js +2022 -2004
- package/dist/components/form.min.css +2 -2
- package/dist/components/form.min.js +3 -3
- package/dist/components/grid.css +183 -329
- package/dist/components/grid.min.css +2 -2
- package/dist/components/header.css +118 -142
- package/dist/components/header.min.css +2 -2
- package/dist/components/icon.css +662 -745
- package/dist/components/icon.min.css +2 -2
- package/dist/components/image.css +39 -63
- package/dist/components/image.min.css +2 -2
- package/dist/components/input.css +356 -274
- package/dist/components/input.min.css +2 -2
- package/dist/components/item.css +84 -131
- package/dist/components/item.min.css +2 -2
- package/dist/components/label.css +359 -410
- package/dist/components/label.min.css +2 -2
- package/dist/components/list.css +49 -70
- package/dist/components/list.min.css +2 -2
- package/dist/components/loader.css +67 -155
- package/dist/components/loader.min.css +2 -2
- package/dist/components/menu.css +270 -431
- package/dist/components/menu.min.css +1 -1
- package/dist/components/message.css +125 -197
- package/dist/components/message.min.css +2 -2
- package/dist/components/modal.css +120 -154
- package/dist/components/modal.js +1544 -1486
- package/dist/components/modal.min.css +2 -2
- package/dist/components/modal.min.js +3 -3
- package/dist/components/nag.css +53 -63
- package/dist/components/nag.js +520 -526
- package/dist/components/nag.min.css +2 -2
- package/dist/components/nag.min.js +3 -3
- package/dist/components/placeholder.css +22 -42
- package/dist/components/placeholder.min.css +2 -2
- package/dist/components/popup.css +424 -202
- package/dist/components/popup.js +1456 -1456
- package/dist/components/popup.min.css +2 -2
- package/dist/components/popup.min.js +3 -3
- package/dist/components/progress.css +106 -211
- package/dist/components/progress.js +969 -997
- package/dist/components/progress.min.css +2 -2
- package/dist/components/progress.min.js +3 -3
- package/dist/components/rail.css +15 -20
- package/dist/components/rail.min.css +1 -1
- package/dist/components/rating.css +80 -121
- package/dist/components/rating.js +507 -523
- package/dist/components/rating.min.css +2 -2
- package/dist/components/rating.min.js +3 -3
- package/dist/components/reset.css +8 -13
- package/dist/components/reset.min.css +2 -2
- package/dist/components/reveal.css +44 -83
- package/dist/components/reveal.min.css +2 -2
- package/dist/components/search.css +69 -98
- package/dist/components/search.js +1520 -1534
- package/dist/components/search.min.css +2 -2
- package/dist/components/search.min.js +3 -3
- package/dist/components/segment.css +148 -224
- package/dist/components/segment.min.css +2 -2
- package/dist/components/shape.css +14 -30
- package/dist/components/shape.js +783 -810
- package/dist/components/shape.min.css +2 -2
- package/dist/components/shape.min.js +3 -3
- package/dist/components/sidebar.css +103 -206
- package/dist/components/sidebar.js +1061 -1099
- package/dist/components/sidebar.min.css +2 -2
- package/dist/components/sidebar.min.js +3 -3
- package/dist/components/site.css +28 -41
- package/dist/components/site.js +436 -476
- package/dist/components/site.min.css +2 -2
- package/dist/components/site.min.js +3 -3
- package/dist/components/slider.css +93 -121
- package/dist/components/slider.js +1310 -1311
- package/dist/components/slider.min.css +1 -1
- package/dist/components/slider.min.js +3 -3
- package/dist/components/state.js +638 -657
- package/dist/components/state.min.js +3 -3
- package/dist/components/statistic.css +75 -116
- package/dist/components/statistic.min.css +2 -2
- package/dist/components/step.css +77 -150
- package/dist/components/step.min.css +2 -2
- package/dist/components/sticky.css +1 -5
- package/dist/components/sticky.js +847 -901
- package/dist/components/sticky.min.css +2 -2
- package/dist/components/sticky.min.js +3 -3
- package/dist/components/tab.css +10 -14
- package/dist/components/tab.js +902 -966
- package/dist/components/tab.min.css +2 -2
- package/dist/components/tab.min.js +3 -3
- package/dist/components/table.css +547 -774
- package/dist/components/table.min.css +2 -2
- package/dist/components/text.css +32 -32
- package/dist/components/text.min.css +1 -1
- package/dist/components/toast.css +69 -147
- package/dist/components/toast.js +910 -884
- package/dist/components/toast.min.css +2 -2
- package/dist/components/toast.min.js +3 -3
- package/dist/components/transition.css +299 -1356
- package/dist/components/transition.js +1048 -1077
- package/dist/components/transition.min.css +2 -2
- package/dist/components/transition.min.js +3 -3
- package/dist/components/visibility.js +1213 -1245
- package/dist/components/visibility.min.js +3 -3
- package/dist/semantic.css +9344 -12298
- package/dist/semantic.js +29181 -29423
- package/dist/semantic.min.css +3 -3
- package/dist/semantic.min.js +3 -3
- package/dist/themes/basic/assets/fonts/icons.woff2 +0 -0
- package/dist/themes/github/assets/fonts/octicons.woff2 +0 -0
- package/examples/.eslintrc.js +6 -0
- package/examples/assets/library/jquery.min.js +2 -4
- package/examples/assets/show-examples.js +13 -13
- package/examples/attached.html +1 -1
- package/examples/bootstrap.html +1 -1
- package/examples/components/button.html +1 -1
- package/examples/components/card.html +6 -6
- package/examples/components/input.html +1 -1
- package/examples/components/menu.html +1 -1
- package/examples/components/site.html +1 -1
- package/examples/components/sticky-context.html +2 -2
- package/examples/components/table.html +1 -1
- package/examples/fixed.html +3 -3
- package/examples/grid.html +5 -5
- package/examples/homepage.html +1 -1
- package/examples/login.html +2 -2
- package/examples/responsive.html +2 -2
- package/examples/sticky.html +4 -4
- package/examples/theming.html +1 -1
- package/gulpfile.js +13 -11
- package/package.json +17 -8
- package/scripts/nightly-version.js +83 -75
- package/src/_site/collections/menu.overrides +1 -1
- package/src/_site/elements/flag.variables +2 -2
- package/src/_site/globals/site.variables +1 -1
- package/src/_site/modules/embed.variables +3 -0
- package/src/definitions/behaviors/api.js +1158 -1180
- package/src/definitions/behaviors/form.js +2021 -2003
- package/src/definitions/behaviors/state.js +644 -663
- package/src/definitions/behaviors/visibility.js +1212 -1244
- package/src/definitions/collections/breadcrumb.less +43 -47
- package/src/definitions/collections/form.less +866 -884
- package/src/definitions/collections/grid.less +1681 -1699
- package/src/definitions/collections/menu.less +1522 -1544
- package/src/definitions/collections/message.less +294 -298
- package/src/definitions/collections/table.less +1657 -1661
- package/src/definitions/elements/button.less +1716 -1750
- package/src/definitions/elements/container.less +211 -211
- package/src/definitions/elements/divider.less +198 -211
- package/src/definitions/elements/emoji.less +41 -48
- package/src/definitions/elements/flag.less +46 -48
- package/src/definitions/elements/header.less +351 -359
- package/src/definitions/elements/icon.less +541 -484
- package/src/definitions/elements/image.less +216 -227
- package/src/definitions/elements/input.less +692 -699
- package/src/definitions/elements/label.less +784 -806
- package/src/definitions/elements/list.less +810 -814
- package/src/definitions/elements/loader.less +273 -268
- package/src/definitions/elements/placeholder.less +173 -170
- package/src/definitions/elements/rail.less +93 -93
- package/src/definitions/elements/reveal.less +192 -198
- package/src/definitions/elements/segment.less +742 -749
- package/src/definitions/elements/step.less +423 -437
- package/src/definitions/elements/text.less +34 -36
- package/src/definitions/globals/reset.less +11 -8
- package/src/definitions/globals/site.js +435 -475
- package/src/definitions/globals/site.less +108 -110
- package/src/definitions/modules/accordion.js +567 -594
- package/src/definitions/modules/accordion.less +244 -248
- package/src/definitions/modules/calendar.js +1933 -1808
- package/src/definitions/modules/calendar.less +100 -97
- package/src/definitions/modules/checkbox.js +841 -840
- package/src/definitions/modules/checkbox.less +531 -552
- package/src/definitions/modules/dimmer.js +705 -736
- package/src/definitions/modules/dimmer.less +294 -305
- package/src/definitions/modules/dropdown.js +4194 -4235
- package/src/definitions/modules/dropdown.less +1568 -1598
- package/src/definitions/modules/embed.js +644 -674
- package/src/definitions/modules/embed.less +82 -84
- package/src/definitions/modules/flyout.js +1513 -1464
- package/src/definitions/modules/flyout.less +453 -455
- package/src/definitions/modules/modal.js +1543 -1485
- package/src/definitions/modules/modal.less +459 -467
- package/src/definitions/modules/nag.js +519 -525
- package/src/definitions/modules/nag.less +136 -149
- package/src/definitions/modules/popup.js +1455 -1455
- package/src/definitions/modules/popup.less +738 -693
- package/src/definitions/modules/progress.js +968 -996
- package/src/definitions/modules/progress.less +523 -499
- package/src/definitions/modules/rating.js +506 -522
- package/src/definitions/modules/rating.less +98 -103
- package/src/definitions/modules/search.js +1519 -1533
- package/src/definitions/modules/search.less +374 -394
- package/src/definitions/modules/shape.js +782 -809
- package/src/definitions/modules/shape.less +70 -79
- package/src/definitions/modules/sidebar.js +1060 -1098
- package/src/definitions/modules/sidebar.less +463 -476
- package/src/definitions/modules/slider.js +1309 -1310
- package/src/definitions/modules/slider.less +309 -310
- package/src/definitions/modules/sticky.js +863 -917
- package/src/definitions/modules/sticky.less +17 -25
- package/src/definitions/modules/tab.js +901 -965
- package/src/definitions/modules/tab.less +48 -54
- package/src/definitions/modules/toast.js +909 -883
- package/src/definitions/modules/toast.less +589 -589
- package/src/definitions/modules/transition.js +1047 -1076
- package/src/definitions/modules/transition.less +58 -59
- package/src/definitions/views/ad.less +207 -208
- package/src/definitions/views/card.less +955 -973
- package/src/definitions/views/comment.less +192 -200
- package/src/definitions/views/feed.less +222 -226
- package/src/definitions/views/item.less +437 -448
- package/src/definitions/views/statistic.less +273 -279
- package/src/semantic.less +8 -6
- package/src/theme.config.example +53 -53
- package/src/theme.less +44 -35
- package/src/themes/amazon/elements/button.overrides +23 -24
- package/src/themes/amazon/elements/button.variables +18 -23
- package/src/themes/amazon/globals/site.variables +16 -17
- package/src/themes/basic/assets/fonts/icons.woff2 +0 -0
- package/src/themes/basic/collections/table.overrides +0 -1
- package/src/themes/basic/collections/table.variables +3 -3
- package/src/themes/basic/elements/button.overrides +0 -1
- package/src/themes/basic/elements/button.variables +9 -9
- package/src/themes/basic/elements/icon.overrides +9 -169
- package/src/themes/basic/elements/icon.variables +161 -18
- package/src/themes/basic/elements/step.overrides +2 -2
- package/src/themes/basic/elements/step.variables +2 -2
- package/src/themes/basic/globals/reset.overrides +1 -1
- package/src/themes/basic/globals/reset.variables +1 -1
- package/src/themes/basic/modules/progress.variables +2 -2
- package/src/themes/basic/views/card.overrides +0 -1
- package/src/themes/basic/views/card.variables +6 -6
- package/src/themes/bookish/elements/header.overrides +4 -4
- package/src/themes/bookish/elements/header.variables +5 -5
- package/src/themes/bootstrap3/elements/button.overrides +3 -0
- package/src/themes/bootstrap3/elements/button.variables +20 -25
- package/src/themes/chubby/collections/form.overrides +9 -9
- package/src/themes/chubby/collections/form.variables +3 -3
- package/src/themes/chubby/collections/menu.overrides +3 -0
- package/src/themes/chubby/collections/menu.variables +3 -3
- package/src/themes/chubby/elements/button.overrides +8 -10
- package/src/themes/chubby/elements/button.variables +10 -10
- package/src/themes/chubby/elements/header.overrides +1 -1
- package/src/themes/chubby/elements/header.variables +4 -4
- package/src/themes/chubby/modules/accordion.overrides +2 -2
- package/src/themes/chubby/modules/accordion.variables +4 -4
- package/src/themes/chubby/views/comment.overrides +5 -5
- package/src/themes/chubby/views/comment.variables +11 -11
- package/src/themes/classic/collections/table.variables +3 -3
- package/src/themes/classic/elements/button.variables +36 -43
- package/src/themes/classic/elements/header.variables +4 -4
- package/src/themes/classic/modules/progress.variables +3 -3
- package/src/themes/classic/views/card.overrides +25 -27
- package/src/themes/classic/views/card.variables +7 -7
- package/src/themes/colored/modules/checkbox.overrides +3 -0
- package/src/themes/colored/modules/checkbox.variables +1 -3
- package/src/themes/default/collections/breadcrumb.variables +4 -4
- package/src/themes/default/collections/form.variables +15 -16
- package/src/themes/default/collections/grid.overrides +0 -1
- package/src/themes/default/collections/grid.variables +15 -16
- package/src/themes/default/collections/menu.variables +31 -45
- package/src/themes/default/collections/message.variables +84 -123
- package/src/themes/default/collections/table.overrides +3 -0
- package/src/themes/default/collections/table.variables +30 -34
- package/src/themes/default/elements/button.variables +44 -53
- package/src/themes/default/elements/container.variables +8 -16
- package/src/themes/default/elements/divider.overrides +8 -9
- package/src/themes/default/elements/divider.variables +5 -6
- package/src/themes/default/elements/emoji.overrides +0 -1
- package/src/themes/default/elements/emoji.variables +3556 -3556
- package/src/themes/default/elements/flag.variables +1595 -1595
- package/src/themes/default/elements/header.overrides +0 -1
- package/src/themes/default/elements/header.variables +21 -21
- package/src/themes/default/elements/icon.variables +2016 -2012
- package/src/themes/default/elements/image.variables +6 -7
- package/src/themes/default/elements/input.variables +11 -12
- package/src/themes/default/elements/label.variables +25 -26
- package/src/themes/default/elements/list.variables +17 -21
- package/src/themes/default/elements/loader.variables +16 -17
- package/src/themes/default/elements/placeholder.variables +12 -9
- package/src/themes/default/elements/rail.variables +4 -5
- package/src/themes/default/elements/reveal.variables +1 -1
- package/src/themes/default/elements/segment.variables +24 -36
- package/src/themes/default/elements/step.overrides +4 -4
- package/src/themes/default/elements/step.variables +19 -22
- package/src/themes/default/elements/text.variables +2 -3
- package/src/themes/default/globals/colors.less +588 -588
- package/src/themes/default/globals/reset.overrides +63 -59
- package/src/themes/default/globals/reset.variables +1 -1
- package/src/themes/default/globals/site.variables +1074 -1123
- package/src/themes/default/globals/variation.variables +6 -4
- package/src/themes/default/modules/accordion.overrides +11 -11
- package/src/themes/default/modules/accordion.variables +15 -20
- package/src/themes/default/modules/calendar.variables +2 -0
- package/src/themes/default/modules/chatroom.variables +1 -1
- package/src/themes/default/modules/checkbox.overrides +9 -13
- package/src/themes/default/modules/checkbox.variables +24 -33
- package/src/themes/default/modules/dimmer.variables +14 -17
- package/src/themes/default/modules/dropdown.overrides +17 -17
- package/src/themes/default/modules/dropdown.variables +29 -31
- package/src/themes/default/modules/embed.variables +9 -13
- package/src/themes/default/modules/flyout.variables +10 -8
- package/src/themes/default/modules/modal.variables +64 -67
- package/src/themes/default/modules/nag.variables +11 -14
- package/src/themes/default/modules/popup.variables +14 -13
- package/src/themes/default/modules/progress.variables +17 -19
- package/src/themes/default/modules/rating.variables +10 -12
- package/src/themes/default/modules/search.variables +12 -17
- package/src/themes/default/modules/shape.variables +7 -8
- package/src/themes/default/modules/sidebar.variables +4 -4
- package/src/themes/default/modules/slider.variables +55 -54
- package/src/themes/default/modules/sticky.variables +1 -1
- package/src/themes/default/modules/toast.variables +8 -8
- package/src/themes/default/modules/transition.overrides +936 -915
- package/src/themes/default/modules/transition.variables +1 -1
- package/src/themes/default/views/ad.variables +1 -1
- package/src/themes/default/views/card.variables +33 -45
- package/src/themes/default/views/comment.variables +7 -9
- package/src/themes/default/views/feed.variables +10 -10
- package/src/themes/default/views/item.variables +20 -23
- package/src/themes/default/views/statistic.variables +8 -8
- package/src/themes/duo/elements/loader.variables +1 -1
- package/src/themes/famfamfam/elements/flag.overrides +263 -268
- package/src/themes/famfamfam/elements/flag.variables +4 -4
- package/src/themes/fixed-width/collections/grid.variables +4 -4
- package/src/themes/fixed-width/modules/modal.variables +11 -13
- package/src/themes/flat/collections/form.overrides +9 -9
- package/src/themes/flat/collections/form.variables +16 -17
- package/src/themes/flat/globals/site.variables +69 -74
- package/src/themes/github/assets/fonts/octicons.woff2 +0 -0
- package/src/themes/github/collections/breadcrumb.variables +0 -1
- package/src/themes/github/collections/form.overrides +7 -8
- package/src/themes/github/collections/form.variables +16 -18
- package/src/themes/github/collections/grid.variables +1 -2
- package/src/themes/github/collections/menu.overrides +2 -2
- package/src/themes/github/collections/menu.variables +24 -26
- package/src/themes/github/collections/message.overrides +3 -3
- package/src/themes/github/collections/message.variables +12 -14
- package/src/themes/github/collections/table.variables +2 -2
- package/src/themes/github/elements/button.overrides +0 -1
- package/src/themes/github/elements/button.variables +26 -30
- package/src/themes/github/elements/header.variables +2 -2
- package/src/themes/github/elements/icon.overrides +3 -208
- package/src/themes/github/elements/icon.variables +234 -19
- package/src/themes/github/elements/image.variables +1 -1
- package/src/themes/github/elements/input.overrides +16 -16
- package/src/themes/github/elements/input.variables +4 -5
- package/src/themes/github/elements/label.overrides +3 -3
- package/src/themes/github/elements/label.variables +0 -1
- package/src/themes/github/elements/segment.variables +9 -10
- package/src/themes/github/elements/step.overrides +13 -13
- package/src/themes/github/elements/step.variables +6 -6
- package/src/themes/github/globals/site.variables +16 -16
- package/src/themes/github/modules/dropdown.overrides +18 -19
- package/src/themes/github/modules/dropdown.variables +8 -10
- package/src/themes/github/modules/popup.variables +0 -2
- package/src/themes/gmail/collections/message.overrides +3 -0
- package/src/themes/gmail/collections/message.variables +4 -4
- package/src/themes/instagram/views/card.overrides +4 -5
- package/src/themes/instagram/views/card.variables +7 -8
- package/src/themes/joypixels/elements/emoji.overrides +0 -2
- package/src/themes/joypixels/elements/emoji.variables +3554 -3554
- package/src/themes/material/collections/menu.overrides +1 -1
- package/src/themes/material/collections/menu.variables +4 -4
- package/src/themes/material/elements/button.overrides +7 -9
- package/src/themes/material/elements/button.variables +44 -46
- package/src/themes/material/elements/header.overrides +3 -3
- package/src/themes/material/elements/header.variables +8 -10
- package/src/themes/material/elements/icon.overrides +3 -934
- package/src/themes/material/elements/icon.variables +958 -18
- package/src/themes/material/globals/site.overrides +3 -0
- package/src/themes/material/globals/site.variables +83 -84
- package/src/themes/material/modules/dropdown.overrides +2 -2
- package/src/themes/material/modules/dropdown.variables +5 -5
- package/src/themes/material/modules/modal.overrides +3 -3
- package/src/themes/material/modules/modal.variables +4 -5
- package/src/themes/pulsar/elements/loader.overrides +23 -61
- package/src/themes/raised/elements/button.variables +8 -9
- package/src/themes/resetcss/globals/reset.overrides +115 -33
- package/src/themes/resetcss/globals/reset.variables +1 -1
- package/src/themes/round/elements/button.overrides +3 -0
- package/src/themes/round/elements/button.variables +33 -38
- package/src/themes/rtl/globals/site.overrides +1 -1
- package/src/themes/rtl/globals/site.variables +5 -6
- package/src/themes/striped/modules/progress.overrides +20 -16
- package/src/themes/systemfont/globals/reset.overrides +1 -1
- package/src/themes/systemfont/globals/site.variables +6 -6
- package/src/themes/timeline/views/feed.overrides +12 -12
- package/src/themes/timeline/views/feed.variables +8 -8
- package/src/themes/twitter/elements/button.overrides +4 -5
- package/src/themes/twitter/elements/button.variables +17 -18
- package/src/themes/twitter/elements/emoji.variables +3556 -3556
- package/tasks/.eslintrc.js +9 -0
- package/tasks/README.md +2 -4
- package/tasks/admin/components/create.js +268 -277
- package/tasks/admin/components/init.js +123 -129
- package/tasks/admin/components/update.js +151 -158
- package/tasks/admin/distributions/create.js +183 -189
- package/tasks/admin/distributions/init.js +125 -131
- package/tasks/admin/distributions/update.js +147 -153
- package/tasks/admin/publish.js +5 -9
- package/tasks/admin/register.js +37 -39
- package/tasks/admin/release.js +8 -12
- package/tasks/build/assets.js +43 -40
- package/tasks/build/css.js +230 -217
- package/tasks/build/javascript.js +120 -114
- package/tasks/build.js +11 -11
- package/tasks/check-install.js +15 -17
- package/tasks/clean.js +6 -6
- package/tasks/collections/README.md +3 -5
- package/tasks/collections/admin.js +34 -36
- package/tasks/collections/build.js +19 -21
- package/tasks/collections/docs.js +11 -13
- package/tasks/collections/install.js +11 -13
- package/tasks/collections/rtl.js +9 -12
- package/tasks/collections/various.js +10 -12
- package/tasks/config/admin/github.js +17 -19
- package/tasks/config/admin/oauth.example.js +4 -4
- package/tasks/config/admin/release.js +98 -98
- package/tasks/config/admin/templates/README.md +8 -8
- package/tasks/config/admin/templates/bower.json +3 -2
- package/tasks/config/admin/templates/component-package.js +9 -10
- package/tasks/config/admin/templates/css-package.js +19 -21
- package/tasks/config/admin/templates/less-package.js +12 -14
- package/tasks/config/admin/templates/package.json +6 -6
- package/tasks/config/defaults.js +116 -116
- package/tasks/config/docs.js +23 -23
- package/tasks/config/npm/gulpfile.js +15 -14
- package/tasks/config/project/config.js +124 -136
- package/tasks/config/project/install.js +722 -719
- package/tasks/config/project/release.js +34 -41
- package/tasks/config/tasks.js +168 -167
- package/tasks/config/user.js +28 -32
- package/tasks/docs/build.js +100 -96
- package/tasks/docs/metadata.js +91 -98
- package/tasks/docs/serve.js +84 -82
- package/tasks/install.js +373 -382
- package/tasks/rtl/build.js +4 -3
- package/tasks/rtl/watch.js +4 -3
- package/tasks/version.js +4 -6
- package/tasks/watch.js +29 -31
- package/test/.eslintrc.js +23 -0
- package/test/meteor/assets.js +11 -14
- package/test/meteor/fonts.js +12 -13
- package/test/modules/accordion.spec.js +6 -8
- package/test/modules/checkbox.spec.js +5 -7
- package/test/modules/dropdown.spec.js +5 -7
- package/test/modules/modal.spec.js +6 -8
- package/test/modules/module.spec.js +158 -178
- package/test/modules/popup.spec.js +5 -7
- package/test/modules/search.spec.js +5 -7
- package/test/modules/shape.spec.js +5 -7
- package/test/modules/sidebar.spec.js +5 -7
- package/test/modules/tab.spec.js +6 -8
- package/test/modules/transition.spec.js +5 -7
- package/test/modules/video.spec.js +5 -7
- package/.github/workflows/codeql.yml +0 -68
@@ -8,15 +8,14 @@
|
|
8
8
|
*
|
9
9
|
*/
|
10
10
|
|
11
|
-
|
12
11
|
/*******************************
|
13
12
|
Theme
|
14
13
|
*******************************/
|
15
14
|
|
16
|
-
@type
|
17
|
-
@element
|
15
|
+
@type: "module";
|
16
|
+
@element: "toast";
|
18
17
|
|
19
|
-
@import (multiple)
|
18
|
+
@import (multiple) "../../theme.config";
|
20
19
|
|
21
20
|
/*******************************
|
22
21
|
Toast container
|
@@ -25,417 +24,417 @@
|
|
25
24
|
.ui.toast-container {
|
26
25
|
position: fixed;
|
27
26
|
z-index: 9999;
|
28
|
-
|
29
|
-
|
30
|
-
}
|
31
|
-
&.ui.attached when (@variationToastAttached) {
|
32
|
-
width: 100%;
|
33
|
-
left: 0;
|
34
|
-
& .vertical.attached when (@variationToastVertical) {
|
35
|
-
border-radius: 0;
|
36
|
-
}
|
37
|
-
&.ui.ui .attached.actions .button when (@variationToastActions) {
|
38
|
-
border-radius: 0;
|
27
|
+
&.absolute {
|
28
|
+
position: absolute;
|
39
29
|
}
|
40
|
-
|
41
|
-
margin: 0;
|
42
|
-
width: 100%;
|
43
|
-
border-radius: 0;
|
44
|
-
& > .ui.toast,
|
45
|
-
> .ui.message {
|
46
|
-
margin-left: 0;
|
47
|
-
}
|
48
|
-
& when (@variationToastFloating) {
|
49
|
-
&.floating,
|
50
|
-
&.hoverfloating:hover {
|
51
|
-
border: none;
|
52
|
-
}
|
53
|
-
}
|
54
|
-
& > .vertical > .content when (@variationToastVertical) {
|
55
|
-
flex: 1;
|
56
|
-
}
|
57
|
-
& > * {
|
30
|
+
&.ui.attached when (@variationToastAttached) {
|
58
31
|
width: 100%;
|
59
|
-
|
60
|
-
&
|
61
|
-
|
32
|
+
left: 0;
|
33
|
+
& .vertical.attached when (@variationToastVertical) {
|
34
|
+
border-radius: 0;
|
35
|
+
}
|
36
|
+
&.ui.ui .attached.actions .button when (@variationToastActions) {
|
37
|
+
border-radius: 0;
|
38
|
+
}
|
39
|
+
& .toast-box {
|
40
|
+
margin: 0;
|
41
|
+
width: 100%;
|
42
|
+
border-radius: 0;
|
43
|
+
& > .ui.toast,
|
44
|
+
> .ui.message {
|
45
|
+
margin-left: 0;
|
46
|
+
}
|
47
|
+
& when (@variationToastFloating) {
|
48
|
+
&.floating,
|
49
|
+
&.hoverfloating:hover {
|
50
|
+
border: none;
|
51
|
+
}
|
52
|
+
}
|
53
|
+
& > .vertical > .content when (@variationToastVertical) {
|
54
|
+
flex: 1;
|
55
|
+
}
|
56
|
+
& > * {
|
57
|
+
width: 100%;
|
58
|
+
border-radius: 0;
|
59
|
+
& > .vertical:not(.actions) when (@variationToastVertical) {
|
60
|
+
flex: 1;
|
61
|
+
}
|
62
|
+
}
|
63
|
+
& > .attached.actions when (@variationToastActions) {
|
64
|
+
margin-right: @toastLeftRightMargin;
|
65
|
+
}
|
66
|
+
}
|
67
|
+
&.top when (@variationToastTop) {
|
68
|
+
top: 0;
|
69
|
+
}
|
70
|
+
&.bottom when (@variationToastBottom) {
|
71
|
+
bottom: 0;
|
62
72
|
}
|
63
|
-
}
|
64
|
-
& > .attached.actions when (@variationToastActions) {
|
65
|
-
margin-right: @toastLeftRightMargin;
|
66
|
-
}
|
67
73
|
}
|
68
74
|
&.top when (@variationToastTop) {
|
69
|
-
|
75
|
+
&.right when (@variationToastRight) {
|
76
|
+
top: @toastContainerDistance;
|
77
|
+
right: @toastContainerDistance;
|
78
|
+
margin-left: @toastContainerDistance;
|
79
|
+
}
|
80
|
+
&.left when (@variationToastLeft) {
|
81
|
+
top: @toastContainerDistance;
|
82
|
+
left: @toastContainerDistance;
|
83
|
+
margin-right: @toastContainerDistance;
|
84
|
+
}
|
85
|
+
&.center when (@variationToastCenter) {
|
86
|
+
left: 50%;
|
87
|
+
transform: translate(-50%, 0);
|
88
|
+
top: @toastContainerDistance;
|
89
|
+
}
|
70
90
|
}
|
71
91
|
&.bottom when (@variationToastBottom) {
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
&.right when (@variationToastRight) {
|
77
|
-
top: @toastContainerDistance;
|
78
|
-
right: @toastContainerDistance;
|
79
|
-
margin-left: @toastContainerDistance;
|
80
|
-
}
|
81
|
-
&.left when (@variationToastLeft) {
|
82
|
-
top: @toastContainerDistance;
|
83
|
-
left: @toastContainerDistance;
|
84
|
-
margin-right: @toastContainerDistance;
|
85
|
-
}
|
86
|
-
&.center when (@variationToastCenter) {
|
87
|
-
left: 50%;
|
88
|
-
transform: translate(-50%, 0);
|
89
|
-
top: @toastContainerDistance;
|
90
|
-
}
|
91
|
-
}
|
92
|
-
&.bottom when (@variationToastBottom) {
|
93
|
-
&.right when (@variationToastRight) {
|
94
|
-
bottom: @toastContainerDistance;
|
95
|
-
right: @toastContainerDistance;
|
96
|
-
margin-left: @toastContainerDistance;
|
97
|
-
}
|
98
|
-
&.left when (@variationToastLeft) {
|
99
|
-
bottom: @toastContainerDistance;
|
100
|
-
left: @toastContainerDistance;
|
101
|
-
margin-right: @toastContainerDistance;
|
102
|
-
}
|
103
|
-
&.center when (@variationToastCenter) {
|
104
|
-
left: 50%;
|
105
|
-
transform: translate(-50%, 0);
|
106
|
-
bottom: @toastContainerDistance;
|
107
|
-
}
|
108
|
-
}
|
109
|
-
&.centered when (@variationToastCentered) {
|
110
|
-
transform: translate(-50%, -50%);
|
111
|
-
top: 50%;
|
112
|
-
left: 50%;
|
113
|
-
}
|
114
|
-
& .visible.toast-box,
|
115
|
-
.animating.toast-box,
|
116
|
-
.toast-box {
|
117
|
-
display: table !important;
|
118
|
-
}
|
119
|
-
&.horizontal when (@variationToastHorizontal) {
|
120
|
-
display: flex;
|
121
|
-
flex-direction: row;
|
122
|
-
& .toast-box {
|
123
|
-
margin-right: @toastBoxMarginRight;
|
124
|
-
}
|
125
|
-
}
|
126
|
-
& .toast-box {
|
127
|
-
margin-bottom: @toastBoxMarginBottom;
|
128
|
-
border-radius: @defaultBorderRadius;
|
129
|
-
cursor: default;
|
130
|
-
will-change: transform, opacity;
|
131
|
-
&:hover {
|
132
|
-
opacity: @toastOpacityOnHover;
|
133
|
-
}
|
134
|
-
&:not(.unclickable):hover {
|
135
|
-
cursor: @toastCursorOnHover;
|
136
|
-
}
|
137
|
-
& when (@variationToastFloating) {
|
138
|
-
&.floating,
|
139
|
-
&.hoverfloating:hover {
|
140
|
-
box-shadow: @floatingShadow;
|
141
|
-
border: @toastBoxBorder;
|
142
|
-
}
|
143
|
-
}
|
144
|
-
& when (@variationToastCompact) {
|
145
|
-
&.compact,
|
146
|
-
> .compact {
|
147
|
-
width: @toastWidth;
|
148
|
-
}
|
149
|
-
}
|
150
|
-
& > .ui.toast,
|
151
|
-
> .ui.message {
|
152
|
-
margin: @toastMargin;
|
153
|
-
position: relative;
|
154
|
-
}
|
155
|
-
& > .attached.progress when (@variationToastProgress) {
|
156
|
-
z-index:1;
|
157
|
-
&.bottom {
|
158
|
-
margin: @toastMarginProgress -@toastLeftRightMargin @toastMarginBottom;
|
159
|
-
}
|
160
|
-
&.top {
|
161
|
-
margin: @toastMarginBottom -@toastLeftRightMargin @toastMarginProgress;
|
162
|
-
}
|
163
|
-
& .bar {
|
164
|
-
min-width: 0;
|
165
|
-
}
|
166
|
-
&.info .bar.bar.bar {
|
167
|
-
background: @toastInfoProgressColor;
|
168
|
-
}
|
169
|
-
&.warning .bar.bar.bar {
|
170
|
-
background: @toastWarningProgressColor;
|
171
|
-
}
|
172
|
-
&.success .bar.bar.bar {
|
173
|
-
background: @toastSuccessProgressColor;
|
174
|
-
}
|
175
|
-
&.error .bar.bar.bar {
|
176
|
-
background: @toastErrorProgressColor;
|
177
|
-
}
|
178
|
-
&.neutral .bar.bar.bar {
|
179
|
-
background: @toastNeutralProgressColor;
|
180
|
-
}
|
181
|
-
}
|
182
|
-
& > .ui.message when (@variationToastMessage) {
|
183
|
-
& > .close.icon when (@variationToastClose){
|
184
|
-
top: @toastCloseTopDistance;
|
185
|
-
right: @toastCloseRightDistance;
|
186
|
-
}
|
187
|
-
& > .actions:last-child when (@variationToastActions) {
|
188
|
-
margin-bottom: @toastActionMargin;
|
189
|
-
}
|
190
|
-
&.icon when (@variationToastIcon) {
|
191
|
-
align-items: inherit;
|
192
|
-
& > :not(.icon):not(.actions) {
|
193
|
-
padding-left: @toastIconMessageContentPadding;
|
92
|
+
&.right when (@variationToastRight) {
|
93
|
+
bottom: @toastContainerDistance;
|
94
|
+
right: @toastContainerDistance;
|
95
|
+
margin-left: @toastContainerDistance;
|
194
96
|
}
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
top: e(%("calc(50%% - %d)", @toastIconCenteredAdjustment));
|
205
|
-
transform: none;
|
206
|
-
}
|
207
|
-
&.icon.icon.icon when (@variationToastIcon){
|
208
|
-
display: block;
|
209
|
-
}
|
97
|
+
&.left when (@variationToastLeft) {
|
98
|
+
bottom: @toastContainerDistance;
|
99
|
+
left: @toastContainerDistance;
|
100
|
+
margin-right: @toastContainerDistance;
|
101
|
+
}
|
102
|
+
&.center when (@variationToastCenter) {
|
103
|
+
left: 50%;
|
104
|
+
transform: translate(-50%, 0);
|
105
|
+
bottom: @toastContainerDistance;
|
210
106
|
}
|
211
|
-
}
|
212
107
|
}
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
108
|
+
&.centered when (@variationToastCentered) {
|
109
|
+
transform: translate(-50%, -50%);
|
110
|
+
top: 50%;
|
111
|
+
left: 50%;
|
112
|
+
}
|
113
|
+
& .visible.toast-box,
|
114
|
+
.animating.toast-box,
|
115
|
+
.toast-box {
|
116
|
+
display: table !important;
|
117
|
+
}
|
118
|
+
&.horizontal when (@variationToastHorizontal) {
|
119
|
+
display: flex;
|
120
|
+
flex-direction: row;
|
121
|
+
& .toast-box {
|
122
|
+
margin-right: @toastBoxMarginRight;
|
123
|
+
}
|
124
|
+
}
|
125
|
+
& .toast-box {
|
126
|
+
margin-bottom: @toastBoxMarginBottom;
|
127
|
+
border-radius: @defaultBorderRadius;
|
128
|
+
cursor: default;
|
129
|
+
will-change: transform, opacity;
|
219
130
|
&:hover {
|
220
|
-
|
221
|
-
}
|
222
|
-
}
|
223
|
-
&.vertical > .close.icon when (@variationToastVertical) and (@variationToastClose) {
|
224
|
-
margin-top: -@toastCloseTopDistance;
|
225
|
-
margin-right: -@toastCloseTopDistance;
|
226
|
-
}
|
227
|
-
&:not(.vertical) > .close.icon when (@variationToastClose) {
|
228
|
-
position: absolute;
|
229
|
-
top: @toastCloseTopDistance;
|
230
|
-
&:not(.left) {
|
231
|
-
right: @toastCloseRightDistance;
|
131
|
+
opacity: @toastOpacityOnHover;
|
232
132
|
}
|
233
|
-
|
234
|
-
|
133
|
+
&:not(.unclickable):hover {
|
134
|
+
cursor: @toastCursorOnHover;
|
235
135
|
}
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
&.bottom {
|
242
|
-
border-top-left-radius: 0;
|
243
|
-
border-top-right-radius: 0;
|
244
|
-
&.horizontal {
|
245
|
-
& > .image > img {
|
246
|
-
border-top-left-radius: 0;
|
136
|
+
& when (@variationToastFloating) {
|
137
|
+
&.floating,
|
138
|
+
&.hoverfloating:hover {
|
139
|
+
box-shadow: @floatingShadow;
|
140
|
+
border: @toastBoxBorder;
|
247
141
|
}
|
248
|
-
|
249
|
-
|
142
|
+
}
|
143
|
+
& when (@variationToastCompact) {
|
144
|
+
&.compact,
|
145
|
+
> .compact {
|
146
|
+
width: @toastWidth;
|
250
147
|
}
|
251
|
-
}
|
252
148
|
}
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
149
|
+
& > .ui.toast,
|
150
|
+
> .ui.message {
|
151
|
+
margin: @toastMargin;
|
152
|
+
position: relative;
|
153
|
+
}
|
154
|
+
& > .attached.progress when (@variationToastProgress) {
|
155
|
+
z-index: 1;
|
156
|
+
&.bottom {
|
157
|
+
margin: @toastMarginProgress -@toastLeftRightMargin @toastMarginBottom;
|
259
158
|
}
|
260
|
-
|
261
|
-
|
159
|
+
&.top {
|
160
|
+
margin: @toastMarginBottom -@toastLeftRightMargin @toastMarginProgress;
|
161
|
+
}
|
162
|
+
& .bar {
|
163
|
+
min-width: 0;
|
164
|
+
}
|
165
|
+
&.info .bar.bar.bar {
|
166
|
+
background: @toastInfoProgressColor;
|
167
|
+
}
|
168
|
+
&.warning .bar.bar.bar {
|
169
|
+
background: @toastWarningProgressColor;
|
170
|
+
}
|
171
|
+
&.success .bar.bar.bar {
|
172
|
+
background: @toastSuccessProgressColor;
|
173
|
+
}
|
174
|
+
&.error .bar.bar.bar {
|
175
|
+
background: @toastErrorProgressColor;
|
176
|
+
}
|
177
|
+
&.neutral .bar.bar.bar {
|
178
|
+
background: @toastNeutralProgressColor;
|
262
179
|
}
|
263
|
-
}
|
264
|
-
}
|
265
|
-
}
|
266
|
-
&.horizontal.actions when (@variationToastActions) {
|
267
|
-
& > .image > img {
|
268
|
-
border-bottom-left-radius: 0;
|
269
180
|
}
|
270
|
-
& > .
|
271
|
-
|
181
|
+
& > .ui.message when (@variationToastMessage) {
|
182
|
+
& > .close.icon when (@variationToastClose) {
|
183
|
+
top: @toastCloseTopDistance;
|
184
|
+
right: @toastCloseRightDistance;
|
185
|
+
}
|
186
|
+
& > .actions:last-child when (@variationToastActions) {
|
187
|
+
margin-bottom: @toastActionMargin;
|
188
|
+
}
|
189
|
+
&.icon when (@variationToastIcon) {
|
190
|
+
align-items: inherit;
|
191
|
+
& > :not(.icon):not(.actions) {
|
192
|
+
padding-left: @toastIconMessageContentPadding;
|
193
|
+
}
|
194
|
+
& > i.icon:not(.close) when (@variationToastIcon) {
|
195
|
+
display: inline-block;
|
196
|
+
position: absolute;
|
197
|
+
width: @toastIconMessageWidth;
|
198
|
+
top: 50%;
|
199
|
+
transform: translateY(-50%);
|
200
|
+
}
|
201
|
+
&:not(.vertical) {
|
202
|
+
&.actions > i.icon:not(.close) when (@variationToastActions) and (@variationToastIcon) {
|
203
|
+
top: e(%("calc(50%% - %d)", @toastIconCenteredAdjustment));
|
204
|
+
transform: none;
|
205
|
+
}
|
206
|
+
&.icon.icon.icon when (@variationToastIcon) {
|
207
|
+
display: block;
|
208
|
+
}
|
209
|
+
}
|
210
|
+
}
|
272
211
|
}
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
212
|
+
& .ui.toast {
|
213
|
+
& > .close.icon when (@variationToastClose) {
|
214
|
+
cursor: pointer;
|
215
|
+
margin: 0;
|
216
|
+
opacity: @toastCloseOpacity;
|
217
|
+
transition: @toastCloseTransition;
|
218
|
+
&:hover {
|
219
|
+
opacity: 1;
|
220
|
+
}
|
221
|
+
}
|
222
|
+
&.vertical > .close.icon when (@variationToastVertical) and (@variationToastClose) {
|
223
|
+
margin-top: -@toastCloseTopDistance;
|
224
|
+
margin-right: -@toastCloseTopDistance;
|
225
|
+
}
|
226
|
+
&:not(.vertical) > .close.icon when (@variationToastClose) {
|
227
|
+
position: absolute;
|
228
|
+
top: @toastCloseTopDistance;
|
229
|
+
&:not(.left) {
|
230
|
+
right: @toastCloseRightDistance;
|
231
|
+
}
|
232
|
+
&.left {
|
233
|
+
margin-left: -@toastCloseRightDistance;
|
234
|
+
}
|
235
|
+
}
|
281
236
|
}
|
282
|
-
|
283
|
-
|
237
|
+
& .ui.card when (@variationToastCard) {
|
238
|
+
margin: 0;
|
239
|
+
&.attached:not(.vertical) when (@variationToastAttached) {
|
240
|
+
&.bottom {
|
241
|
+
border-top-left-radius: 0;
|
242
|
+
border-top-right-radius: 0;
|
243
|
+
&.horizontal {
|
244
|
+
& > .image > img {
|
245
|
+
border-top-left-radius: 0;
|
246
|
+
}
|
247
|
+
& > .image:last-child > img {
|
248
|
+
border-top-right-radius: 0;
|
249
|
+
}
|
250
|
+
}
|
251
|
+
}
|
252
|
+
&.top {
|
253
|
+
border-bottom-left-radius: 0;
|
254
|
+
border-bottom-right-radius: 0;
|
255
|
+
&.horizontal {
|
256
|
+
& > .image > img {
|
257
|
+
border-bottom-left-radius: 0;
|
258
|
+
}
|
259
|
+
& > .image:last-child > img {
|
260
|
+
border-bottom-right-radius: 0;
|
261
|
+
}
|
262
|
+
}
|
263
|
+
}
|
264
|
+
}
|
265
|
+
&.horizontal.actions when (@variationToastActions) {
|
266
|
+
& > .image > img {
|
267
|
+
border-bottom-left-radius: 0;
|
268
|
+
}
|
269
|
+
& > .image:last-child > img {
|
270
|
+
border-bottom-right-radius: 0;
|
271
|
+
}
|
272
|
+
}
|
284
273
|
}
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
}
|
300
|
-
& .actions when (@variationToastActions) {
|
301
|
-
padding: @toastActionPadding @toastActionPadding @toastActionPaddingBottom @toastActionPadding;
|
302
|
-
text-align: right;
|
303
|
-
&.attached:not(.vertical) when (@variationToastAttached) {
|
304
|
-
margin-right: @toastLeftRightMargin;
|
274
|
+
& .progressing {
|
275
|
+
animation-iteration-count: 1;
|
276
|
+
animation-timing-function: linear;
|
277
|
+
& when (@variationToastProgress) {
|
278
|
+
&.up {
|
279
|
+
animation-name: progressUp;
|
280
|
+
}
|
281
|
+
&.down {
|
282
|
+
animation-name: progressDown;
|
283
|
+
}
|
284
|
+
}
|
285
|
+
&.wait {
|
286
|
+
animation-name: progressWait;
|
287
|
+
}
|
305
288
|
}
|
306
|
-
&:
|
307
|
-
|
308
|
-
border-top: @toastActionBorder;
|
289
|
+
&:hover .pausable.progressing {
|
290
|
+
animation-play-state: paused;
|
309
291
|
}
|
310
|
-
|
311
|
-
|
292
|
+
& .ui.toast:not(.vertical) {
|
293
|
+
display: block;
|
312
294
|
}
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
border-top: 0;
|
332
|
-
margin-top: -@toastActionPaddingBottom;
|
333
|
-
margin-bottom: -@toastActionPaddingBottom;
|
334
|
-
margin-left: @toastActionMarginLeft;
|
335
|
-
justify-content: space-around;
|
336
|
-
&:not(.basic) {
|
337
|
-
border-left: @toastActionBorder;
|
338
|
-
}
|
339
|
-
& > .button:not(:last-child) {
|
340
|
-
margin-bottom: @toastActionMarginBottom;
|
295
|
+
& :not(.comment) {
|
296
|
+
&:not(.card) .actions when (@variationToastActions) {
|
297
|
+
margin: @toastActionMarginTop @toastActionMargin @toastActionMargin @toastActionMargin;
|
298
|
+
}
|
299
|
+
& .actions when (@variationToastActions) {
|
300
|
+
padding: @toastActionPadding @toastActionPadding @toastActionPaddingBottom @toastActionPadding;
|
301
|
+
text-align: right;
|
302
|
+
&.attached:not(.vertical) when (@variationToastAttached) {
|
303
|
+
margin-right: @toastLeftRightMargin;
|
304
|
+
}
|
305
|
+
&:not(.basic):not(.attached) {
|
306
|
+
background: @toastActionBackground;
|
307
|
+
border-top: @toastActionBorder;
|
308
|
+
}
|
309
|
+
&.left {
|
310
|
+
text-align: left;
|
311
|
+
}
|
312
|
+
}
|
341
313
|
}
|
342
|
-
|
343
|
-
|
314
|
+
& when (@variationToastVertical) {
|
315
|
+
& .vertical.actions > .button,
|
316
|
+
& > .vertical > .vertical.vertical,
|
317
|
+
& > .vertical.vertical.vertical {
|
318
|
+
display: flex;
|
319
|
+
}
|
344
320
|
}
|
345
|
-
|
346
|
-
|
321
|
+
& :not(.comment) .vertical.actions when (@variationToastVertical) and (@variationToastActions) {
|
322
|
+
flex-direction: column;
|
323
|
+
& > .button {
|
324
|
+
justify-content: center;
|
325
|
+
}
|
326
|
+
&.attached > .button when (@variationToastAttached) {
|
327
|
+
align-items: center;
|
328
|
+
}
|
329
|
+
&:not(.attached) {
|
330
|
+
border-top: 0;
|
331
|
+
margin-top: -@toastActionPaddingBottom;
|
332
|
+
margin-bottom: -@toastActionPaddingBottom;
|
333
|
+
margin-left: @toastActionMarginLeft;
|
334
|
+
justify-content: space-around;
|
335
|
+
&:not(.basic) {
|
336
|
+
border-left: @toastActionBorder;
|
337
|
+
}
|
338
|
+
& > .button:not(:last-child) {
|
339
|
+
margin-bottom: @toastActionMarginBottom;
|
340
|
+
}
|
341
|
+
&.top {
|
342
|
+
justify-content: flex-start;
|
343
|
+
}
|
344
|
+
&.bottom {
|
345
|
+
justify-content: flex-end;
|
346
|
+
}
|
347
|
+
}
|
347
348
|
}
|
348
|
-
}
|
349
349
|
}
|
350
|
-
}
|
351
350
|
}
|
352
351
|
|
353
352
|
.ui.vertical.attached when (@variationToastVertical) and (@variationToastAttached) {
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
353
|
+
&:not(.left) {
|
354
|
+
&.card when (@variationToastCard) {
|
355
|
+
& > .image > img {
|
356
|
+
border-top-right-radius: 0;
|
357
|
+
}
|
358
|
+
&.horizontal > .image:last-child > img {
|
359
|
+
border-top-right-radius: 0;
|
360
|
+
border-bottom-right-radius: 0;
|
361
|
+
}
|
362
|
+
}
|
363
|
+
&.card,
|
364
|
+
&.toast {
|
365
|
+
border-top-right-radius: 0;
|
366
|
+
border-bottom-right-radius: 0;
|
367
|
+
}
|
368
|
+
&.actions when (@variationToastActions) {
|
369
|
+
border-top-right-radius: @toastBorderRadius;
|
370
|
+
border-bottom-right-radius: @toastBorderRadius;
|
371
|
+
& .button:first-child,
|
372
|
+
.button:last-child {
|
373
|
+
border-top-left-radius: 0;
|
374
|
+
border-bottom-left-radius: 0;
|
375
|
+
}
|
376
|
+
}
|
377
|
+
&.message when (@variationToastMessage) {
|
378
|
+
border-top-right-radius: 0;
|
379
|
+
border-bottom-left-radius: @toastBorderRadius;
|
380
|
+
}
|
381
|
+
}
|
382
|
+
&.left {
|
383
|
+
&.card when (@variationToastCard) {
|
384
|
+
& > .image > img {
|
385
|
+
border-top-left-radius: 0;
|
386
|
+
}
|
387
|
+
&.horizontal > .image > img {
|
388
|
+
border-top-left-radius: 0;
|
389
|
+
border-bottom-left-radius: 0;
|
390
|
+
}
|
391
|
+
}
|
392
|
+
&.card,
|
393
|
+
&.toast {
|
394
|
+
border-top-left-radius: 0;
|
395
|
+
border-bottom-left-radius: 0;
|
396
|
+
}
|
397
|
+
&.actions when (@variationToastActions) {
|
398
|
+
border-top-left-radius: @toastBorderRadius;
|
399
|
+
border-bottom-left-radius: @toastBorderRadius;
|
400
|
+
& .button:first-child,
|
401
|
+
.button:last-child {
|
402
|
+
border-top-right-radius: 0;
|
403
|
+
border-bottom-right-radius: 0;
|
404
|
+
}
|
405
|
+
}
|
406
|
+
&.message.message.message when (@variationToastMessage) {
|
407
|
+
border-top-right-radius: @toastBorderRadius;
|
408
|
+
border-bottom-right-radius: @toastBorderRadius;
|
409
|
+
}
|
410
|
+
}
|
412
411
|
}
|
413
412
|
|
414
413
|
.ui.attached:not(.vertical) when (@variationToastAttached) {
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
414
|
+
&:not(.top) {
|
415
|
+
&.actions when (@variationToastActions) {
|
416
|
+
border-bottom-left-radius: @toastBorderRadius;
|
417
|
+
border-bottom-right-radius: @toastBorderRadius;
|
418
|
+
& .button:first-child {
|
419
|
+
border-bottom-left-radius: @toastBorderRadius;
|
420
|
+
}
|
421
|
+
& .button:last-child {
|
422
|
+
border-bottom-right-radius: @toastBorderRadius;
|
423
|
+
}
|
424
|
+
}
|
425
|
+
}
|
426
|
+
&.top {
|
427
|
+
&.actions when (@variationToastActions) {
|
428
|
+
border-top-left-radius: @toastBorderRadius;
|
429
|
+
border-top-right-radius: @toastBorderRadius;
|
430
|
+
& .button:first-child {
|
431
|
+
border-top-left-radius: @toastBorderRadius;
|
432
|
+
}
|
433
|
+
& .button:last-child {
|
434
|
+
border-top-right-radius: @toastBorderRadius;
|
435
|
+
}
|
436
|
+
}
|
437
|
+
}
|
439
438
|
}
|
440
439
|
|
441
440
|
/*******************************
|
@@ -449,149 +448,150 @@
|
|
449
448
|
margin: @toastMargin;
|
450
449
|
color: @toastInvertedTextColor;
|
451
450
|
background-color: @toastNeutralColor;
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
}
|
457
|
-
&.info when (@variationToastInfo) {
|
458
|
-
background-color: @toastInfoColor;
|
459
|
-
color: @toastTextColor;
|
460
|
-
}
|
461
|
-
&.warning when (@variationToastWarning) {
|
462
|
-
background-color: @toastWarningColor;
|
463
|
-
color: @toastTextColor;
|
464
|
-
}
|
465
|
-
&.success when (@variationToastSuccess) {
|
466
|
-
background-color: @toastSuccessColor;
|
467
|
-
color: @toastTextColor;
|
468
|
-
}
|
469
|
-
&.error when (@variationToastError) {
|
470
|
-
background-color: @toastErrorColor;
|
471
|
-
color: @toastTextColor;
|
472
|
-
}
|
473
|
-
&.neutral {
|
474
|
-
background-color: @toastNeutralColor;
|
475
|
-
color: @toastNeutralTextColor;
|
476
|
-
}
|
477
|
-
& > i.icon:not(.close) when (@variationToastIcon) {
|
478
|
-
font-size: @toastIconFontSize;
|
479
|
-
}
|
480
|
-
&:not(.vertical) {
|
481
|
-
&:not(.centered):not(.center) {
|
482
|
-
& > i.icon:not(.close) when (@variationToastIcon) {
|
483
|
-
position: absolute;
|
484
|
-
}
|
485
|
-
& > .ui.image when (@variationToastImage) {
|
486
|
-
position: absolute;
|
487
|
-
}
|
488
|
-
}
|
489
|
-
& > i.icon:not(.close) when (@variationToastIcon) {
|
490
|
-
& + .content {
|
491
|
-
padding-left: @toastIconContentPadding;
|
492
|
-
}
|
493
|
-
}
|
494
|
-
& > .close.icon + .content when (@variationToastClose){
|
495
|
-
padding-left: @toastCloseDistance;
|
496
|
-
}
|
497
|
-
& > .ui.image when (@variationToastImage) {
|
498
|
-
&.avatar + .content {
|
499
|
-
padding-left: @toastAvatarImageContentPadding;
|
500
|
-
min-height: @toastAvatarImageHeight;
|
501
|
-
}
|
502
|
-
&.mini + .content {
|
503
|
-
padding-left: @toastMiniImageContentPadding;
|
504
|
-
min-height: @toastMiniImageHeight;
|
505
|
-
}
|
506
|
-
&.tiny + .content {
|
507
|
-
padding-left: @toastTinyImageContentPadding;
|
508
|
-
min-height: @toastTinyImageHeight;
|
509
|
-
}
|
510
|
-
&.small + .content {
|
511
|
-
padding-left: @toastSmallImageContentPadding;
|
512
|
-
min-height: @toastSmallImageHeight;
|
513
|
-
}
|
514
|
-
}
|
515
|
-
&:not(.centered):not(.center) when (@variationToastImage) or (@variationToastIcon) {
|
516
|
-
& > .centered.image,
|
517
|
-
> .centered.icon {
|
518
|
-
transform: translateY(-50%);
|
519
|
-
top: 50%;
|
520
|
-
}
|
451
|
+
& > .content > .header {
|
452
|
+
font-weight: bold;
|
453
|
+
color: inherit;
|
454
|
+
margin: 0;
|
521
455
|
}
|
522
|
-
&.
|
523
|
-
|
456
|
+
&.info when (@variationToastInfo) {
|
457
|
+
background-color: @toastInfoColor;
|
458
|
+
color: @toastTextColor;
|
524
459
|
}
|
525
|
-
&.
|
526
|
-
|
460
|
+
&.warning when (@variationToastWarning) {
|
461
|
+
background-color: @toastWarningColor;
|
462
|
+
color: @toastTextColor;
|
527
463
|
}
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
flex-grow: 1;
|
464
|
+
&.success when (@variationToastSuccess) {
|
465
|
+
background-color: @toastSuccessColor;
|
466
|
+
color: @toastTextColor;
|
532
467
|
}
|
533
|
-
&.
|
534
|
-
|
468
|
+
&.error when (@variationToastError) {
|
469
|
+
background-color: @toastErrorColor;
|
470
|
+
color: @toastTextColor;
|
535
471
|
}
|
536
|
-
|
537
|
-
|
472
|
+
&.neutral {
|
473
|
+
background-color: @toastNeutralColor;
|
474
|
+
color: @toastNeutralTextColor;
|
538
475
|
}
|
539
|
-
&
|
540
|
-
|
541
|
-
> i.icon:not(.close) + .content {
|
542
|
-
padding-left: @toastImageContentPadding;
|
543
|
-
}
|
476
|
+
& > i.icon:not(.close) when (@variationToastIcon) {
|
477
|
+
font-size: @toastIconFontSize;
|
544
478
|
}
|
545
|
-
|
546
|
-
|
547
|
-
|
479
|
+
&:not(.vertical) {
|
480
|
+
&:not(.centered):not(.center) {
|
481
|
+
& > i.icon:not(.close) when (@variationToastIcon) {
|
482
|
+
position: absolute;
|
483
|
+
}
|
484
|
+
& > .ui.image when (@variationToastImage) {
|
485
|
+
position: absolute;
|
486
|
+
}
|
487
|
+
}
|
488
|
+
& > i.icon:not(.close) when (@variationToastIcon) {
|
489
|
+
& + .content {
|
490
|
+
padding-left: @toastIconContentPadding;
|
491
|
+
}
|
492
|
+
}
|
493
|
+
& > .close.icon + .content when (@variationToastClose) {
|
494
|
+
padding-left: @toastCloseDistance;
|
495
|
+
}
|
496
|
+
& > .ui.image when (@variationToastImage) {
|
497
|
+
&.avatar + .content {
|
498
|
+
padding-left: @toastAvatarImageContentPadding;
|
499
|
+
min-height: @toastAvatarImageHeight;
|
500
|
+
}
|
501
|
+
&.mini + .content {
|
502
|
+
padding-left: @toastMiniImageContentPadding;
|
503
|
+
min-height: @toastMiniImageHeight;
|
504
|
+
}
|
505
|
+
&.tiny + .content {
|
506
|
+
padding-left: @toastTinyImageContentPadding;
|
507
|
+
min-height: @toastTinyImageHeight;
|
508
|
+
}
|
509
|
+
&.small + .content {
|
510
|
+
padding-left: @toastSmallImageContentPadding;
|
511
|
+
min-height: @toastSmallImageHeight;
|
512
|
+
}
|
513
|
+
}
|
514
|
+
&:not(.centered):not(.center) when (@variationToastImage) or (@variationToastIcon) {
|
515
|
+
& > .centered.image,
|
516
|
+
> .centered.icon {
|
517
|
+
transform: translateY(-50%);
|
518
|
+
top: 50%;
|
519
|
+
}
|
520
|
+
}
|
521
|
+
&.actions > .centered.image when (@variationToastActions) and (@variationToastImage) {
|
522
|
+
top: e(%("calc(50%% - %d)", @toastImageCenteredAdjustment));
|
523
|
+
}
|
524
|
+
&.actions > .centered.icon when (@variationToastActions) and (@variationToastIcon) {
|
525
|
+
top: e(%("calc(50%% - %d)", @toastIconCenteredAdjustment));
|
526
|
+
}
|
548
527
|
}
|
549
|
-
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
|
528
|
+
&.vertical when (@variationToastVertical) {
|
529
|
+
& > .content {
|
530
|
+
flex-grow: 1;
|
531
|
+
}
|
532
|
+
&.attached when (@variationToastAttached) {
|
533
|
+
flex-grow: 1;
|
534
|
+
}
|
535
|
+
& > .close.icon + .content when (@variationToastClose) {
|
536
|
+
padding-left: @toastCloseDistanceVertical;
|
537
|
+
}
|
538
|
+
& when (@variationToastImage) or (@variationToastIcon) {
|
539
|
+
& > .ui.image + .content,
|
540
|
+
> i.icon:not(.close) + .content {
|
541
|
+
padding-left: @toastImageContentPadding;
|
542
|
+
}
|
543
|
+
}
|
544
|
+
& > .ui.image when (@variationToastImage) {
|
545
|
+
align-self: flex-start;
|
546
|
+
flex-shrink: 0; /* IE11 fix */
|
547
|
+
}
|
548
|
+
& when (@variationToastImage) or (@variationToastIcon) {
|
549
|
+
& > .centered.image,
|
550
|
+
> .centered.icon {
|
551
|
+
align-self: center;
|
552
|
+
}
|
553
|
+
}
|
554
554
|
}
|
555
|
-
}
|
556
555
|
|
557
|
-
|
558
|
-
|
559
|
-
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
|
564
|
-
|
556
|
+
&.attached when (@variationToastAttached) {
|
557
|
+
&.bottom {
|
558
|
+
border-top-left-radius: 0;
|
559
|
+
border-top-right-radius: 0;
|
560
|
+
}
|
561
|
+
&.top {
|
562
|
+
border-bottom-left-radius: 0;
|
563
|
+
border-bottom-right-radius: 0;
|
564
|
+
}
|
565
565
|
}
|
566
|
-
}
|
567
566
|
|
568
|
-
|
569
|
-
|
570
|
-
|
571
|
-
|
572
|
-
|
573
|
-
|
574
|
-
|
575
|
-
|
576
|
-
|
577
|
-
|
578
|
-
|
579
|
-
|
580
|
-
|
581
|
-
|
582
|
-
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
|
567
|
+
&.ui.ui.ui.image when (@variationToastImage) {
|
568
|
+
padding: 0;
|
569
|
+
& > .content {
|
570
|
+
padding-top: @inputVerticalPadding;
|
571
|
+
padding-bottom: @inputVerticalPadding;
|
572
|
+
padding-right: @inputHorizontalPadding;
|
573
|
+
}
|
574
|
+
& > .actions when (@variationToastActions) {
|
575
|
+
margin: 0;
|
576
|
+
}
|
577
|
+
& > .ui.image {
|
578
|
+
border-top-left-radius: @defaultBorderRadius;
|
579
|
+
border-bottom-left-radius: @defaultBorderRadius;
|
580
|
+
&.mini {
|
581
|
+
min-width: @toastImageMiniImageAdjustment;
|
582
|
+
& + .content {
|
583
|
+
min-height: @toastImageMiniImageAdjustment;
|
584
|
+
padding-left: @toastImageMiniImagePadding;
|
585
|
+
}
|
586
|
+
}
|
587
|
+
}
|
588
|
+
}
|
590
589
|
}
|
591
590
|
|
592
|
-
|
593
591
|
.ui.hoverfloating.message:hover when (@variationToastMessage) and (@variationToastFloating) {
|
594
|
-
|
592
|
+
box-shadow:
|
593
|
+
0 0 0 1px inset,
|
594
|
+
@floatingShadow;
|
595
595
|
}
|
596
596
|
|
597
597
|
.ui.center.toast-container .toast-box,
|
@@ -604,114 +604,114 @@
|
|
604
604
|
}
|
605
605
|
|
606
606
|
& when (@variationToastCentered) {
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
|
607
|
+
.ui.ui.toast-container .toast-box .centered.toast,
|
608
|
+
.ui.ui.toast-container .toast-box .center.aligned.toast {
|
609
|
+
text-align: center;
|
610
|
+
display: flex;
|
611
|
+
justify-content: center;
|
612
612
|
|
613
|
-
|
614
|
-
|
615
|
-
|
616
|
-
|
613
|
+
& > .content,
|
614
|
+
& > .ui.image,
|
615
|
+
& > i.icon:not(.close) {
|
616
|
+
align-self: center;
|
617
|
+
}
|
617
618
|
}
|
618
|
-
}
|
619
619
|
|
620
|
-
|
621
|
-
|
622
|
-
|
623
|
-
|
620
|
+
.ui.toast-container .toast-box .toast .centered.content,
|
621
|
+
.ui.toast-container .toast-box .toast .center.aligned.content {
|
622
|
+
text-align: center;
|
623
|
+
}
|
624
624
|
|
625
|
-
|
626
|
-
|
627
|
-
|
625
|
+
.ui.toast-container .toast-box .centered.actions,
|
626
|
+
.ui.toast-container .toast-box .center.aligned.actions {
|
627
|
+
text-align: center;
|
628
628
|
|
629
|
-
|
630
|
-
|
631
|
-
|
629
|
+
&:not(.attached) > .button:not(.fluid) {
|
630
|
+
margin-left: @toastActionCenteredMargin;
|
631
|
+
margin-right: @toastActionCenteredMargin;
|
632
|
+
}
|
632
633
|
}
|
633
|
-
}
|
634
634
|
}
|
635
635
|
|
636
|
-
|
636
|
+
/* --------------
|
637
637
|
Colors
|
638
638
|
-------------- */
|
639
639
|
& when not (@variationToastColors = false) {
|
640
|
-
|
641
|
-
|
642
|
-
|
643
|
-
|
640
|
+
each(@variationToastColors, {
|
641
|
+
@color: @value;
|
642
|
+
@c: @colors[@@color][color];
|
643
|
+
@l: @colors[@@color][light];
|
644
644
|
|
645
|
-
|
646
|
-
|
647
|
-
|
648
|
-
|
649
|
-
|
650
|
-
|
651
|
-
|
652
|
-
|
653
|
-
|
654
|
-
|
655
|
-
|
656
|
-
|
645
|
+
.ui.@{color}.toast {
|
646
|
+
background-color: @c;
|
647
|
+
color: @toastTextColor;
|
648
|
+
}
|
649
|
+
& when (@variationToastInverted) {
|
650
|
+
.ui.inverted.@{color}.toast,
|
651
|
+
.ui.toast-container .toast-box > .inverted.@{color}.attached.progress .bar {
|
652
|
+
background-color: @l;
|
653
|
+
color: @toastInvertedTextColor;
|
654
|
+
}
|
655
|
+
}
|
656
|
+
});
|
657
657
|
}
|
658
658
|
|
659
659
|
& when (@variationToastInverted) {
|
660
|
-
|
661
|
-
|
662
|
-
|
663
|
-
|
660
|
+
.ui.inverted.toast {
|
661
|
+
color: @toastTextColor;
|
662
|
+
background-color: @toastInvertedColor;
|
663
|
+
}
|
664
664
|
}
|
665
665
|
|
666
666
|
@media only screen and (max-width: @mobileToastBreakpoint) {
|
667
|
-
|
668
|
-
|
669
|
-
|
670
|
-
|
671
|
-
|
672
|
-
|
673
|
-
|
674
|
-
|
675
|
-
|
676
|
-
|
677
|
-
|
678
|
-
|
679
|
-
|
680
|
-
|
681
|
-
|
682
|
-
|
683
|
-
|
684
|
-
|
667
|
+
.ui.toast-container .toast-box {
|
668
|
+
&.toast-box,
|
669
|
+
& > .compact,
|
670
|
+
& > .vertical > *,
|
671
|
+
& > * {
|
672
|
+
width: auto;
|
673
|
+
max-width: 100%;
|
674
|
+
}
|
675
|
+
& > *:not(.vertical) {
|
676
|
+
min-width: @mobileWidth;
|
677
|
+
}
|
678
|
+
& when (@variationToastCard) {
|
679
|
+
& > .ui.card.horizontal,
|
680
|
+
> .vertical > .ui.horizontal.card {
|
681
|
+
min-width: initial;
|
682
|
+
}
|
683
|
+
}
|
684
|
+
}
|
685
685
|
}
|
686
686
|
|
687
|
-
|
687
|
+
/* ---------------
|
688
688
|
Progress Bar
|
689
|
-
|
690
|
-
&
|
691
|
-
|
692
|
-
|
693
|
-
|
689
|
+
---------------- */
|
690
|
+
& when (@variationToastProgress) {
|
691
|
+
@keyframes progressDown {
|
692
|
+
0% {
|
693
|
+
width: 100%;
|
694
|
+
}
|
695
|
+
100% {
|
696
|
+
width: 0;
|
697
|
+
}
|
694
698
|
}
|
695
|
-
|
696
|
-
|
699
|
+
@keyframes progressUp {
|
700
|
+
0% {
|
701
|
+
width: 0;
|
702
|
+
}
|
703
|
+
100% {
|
704
|
+
width: 100%;
|
705
|
+
}
|
697
706
|
}
|
698
|
-
|
699
|
-
|
707
|
+
}
|
708
|
+
@keyframes progressWait {
|
700
709
|
0% {
|
701
|
-
|
710
|
+
opacity: 1;
|
702
711
|
}
|
703
712
|
100% {
|
704
|
-
|
713
|
+
opacity: 0;
|
705
714
|
}
|
706
|
-
}
|
707
|
-
}
|
708
|
-
@keyframes progressWait {
|
709
|
-
0% {
|
710
|
-
opacity: 1;
|
711
|
-
}
|
712
|
-
100% {
|
713
|
-
opacity: 0;
|
714
|
-
}
|
715
715
|
}
|
716
716
|
|
717
717
|
.loadUIOverrides();
|