fomantic-ui 2.9.0-beta.3 → 2.9.0-beta.301
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.all-contributorsrc +251 -3
- package/.github/codeql/codeql-config.yml +4 -0
- package/.github/dependabot.yml +10 -0
- package/.github/workflows/ci.yml +10 -6
- package/.github/workflows/codeql.yml +68 -0
- package/.github/workflows/nightly.yml +16 -8
- package/.github/workflows/release.yml +34 -0
- package/CONTRIBUTING.md +1 -1
- package/CONTRIBUTORS.md +82 -37
- package/FAQ.md +38 -38
- package/README.md +8 -8
- package/dist/components/accordion.css +176 -36
- package/dist/components/accordion.js +6 -3
- package/dist/components/accordion.min.css +2 -2
- package/dist/components/accordion.min.js +3 -3
- package/dist/components/ad.css +4 -4
- package/dist/components/ad.min.css +2 -2
- package/dist/components/api.js +90 -31
- package/dist/components/api.min.js +3 -3
- package/dist/components/breadcrumb.css +1 -1
- package/dist/components/breadcrumb.min.css +1 -1
- package/dist/components/button.css +204 -157
- package/dist/components/button.min.css +2 -2
- package/dist/components/calendar.css +18 -1
- package/dist/components/calendar.js +189 -76
- package/dist/components/calendar.min.css +2 -2
- package/dist/components/calendar.min.js +3 -3
- package/dist/components/card.css +754 -117
- package/dist/components/card.min.css +2 -2
- package/dist/components/checkbox.css +92 -91
- package/dist/components/checkbox.js +17 -11
- package/dist/components/checkbox.min.css +2 -2
- package/dist/components/checkbox.min.js +3 -3
- package/dist/components/comment.css +12 -12
- package/dist/components/comment.min.css +2 -2
- package/dist/components/container.css +98 -4
- package/dist/components/container.min.css +2 -2
- package/dist/components/dimmer.css +29 -14
- package/dist/components/dimmer.js +11 -5
- package/dist/components/dimmer.min.css +2 -2
- package/dist/components/dimmer.min.js +3 -3
- package/dist/components/divider.css +31 -31
- package/dist/components/divider.min.css +2 -2
- package/dist/components/dropdown.css +90 -50
- package/dist/components/dropdown.js +152 -117
- package/dist/components/dropdown.min.css +2 -2
- package/dist/components/dropdown.min.js +3 -3
- package/dist/components/embed.css +5 -5
- package/dist/components/embed.js +1 -1
- package/dist/components/embed.min.css +2 -2
- package/dist/components/embed.min.js +3 -3
- package/dist/components/emoji.css +10847 -8841
- package/dist/components/emoji.min.css +1 -1
- package/dist/components/feed.css +29 -29
- package/dist/components/feed.min.css +2 -2
- package/dist/components/flag.css +1011 -902
- package/dist/components/flag.min.css +2 -2
- package/dist/components/form.css +160 -83
- package/dist/components/form.js +39 -30
- package/dist/components/form.min.css +2 -2
- package/dist/components/form.min.js +3 -3
- package/dist/components/grid.css +25 -21
- package/dist/components/grid.min.css +2 -2
- package/dist/components/header.css +6 -4
- package/dist/components/header.min.css +2 -2
- package/dist/components/icon.css +2063 -1984
- package/dist/components/icon.min.css +2 -2
- package/dist/components/image.css +1 -1
- package/dist/components/image.min.css +1 -1
- package/dist/components/input.css +759 -22
- package/dist/components/input.min.css +2 -2
- package/dist/components/item.css +17 -17
- package/dist/components/item.min.css +2 -2
- package/dist/components/label.css +72 -68
- package/dist/components/label.min.css +2 -2
- package/dist/components/list.css +31 -31
- package/dist/components/list.min.css +2 -2
- package/dist/components/loader.css +352 -352
- package/dist/components/loader.min.css +2 -2
- package/dist/components/menu.css +110 -78
- package/dist/components/menu.min.css +1 -1
- package/dist/components/message.css +43 -43
- package/dist/components/message.min.css +2 -2
- package/dist/components/modal.css +29 -4
- package/dist/components/modal.js +128 -50
- package/dist/components/modal.min.css +2 -2
- package/dist/components/modal.min.js +3 -3
- package/dist/components/nag.css +1 -1
- package/dist/components/nag.js +2 -2
- package/dist/components/nag.min.css +1 -1
- package/dist/components/nag.min.js +3 -3
- package/dist/components/placeholder.css +33 -33
- package/dist/components/placeholder.min.css +2 -2
- package/dist/components/popup.css +103 -105
- package/dist/components/popup.js +11 -11
- package/dist/components/popup.min.css +2 -2
- package/dist/components/popup.min.js +3 -3
- package/dist/components/progress.css +1 -1
- package/dist/components/progress.js +6 -3
- package/dist/components/progress.min.css +1 -1
- package/dist/components/progress.min.js +3 -3
- package/dist/components/rail.css +1 -1
- package/dist/components/rail.min.css +1 -1
- package/dist/components/rating.css +7 -46
- package/dist/components/rating.js +1 -1
- package/dist/components/rating.min.css +2 -2
- package/dist/components/rating.min.js +3 -3
- package/dist/components/reset.css +5 -4
- package/dist/components/reset.min.css +2 -2
- package/dist/components/reveal.css +1 -1
- package/dist/components/reveal.min.css +1 -1
- package/dist/components/search.css +6 -6
- package/dist/components/search.js +23 -7
- package/dist/components/search.min.css +2 -2
- package/dist/components/search.min.js +3 -3
- package/dist/components/segment.css +118 -34
- package/dist/components/segment.min.css +2 -2
- package/dist/components/shape.css +1 -1
- package/dist/components/shape.js +3 -3
- package/dist/components/shape.min.css +1 -1
- package/dist/components/shape.min.js +3 -3
- package/dist/components/sidebar.css +7 -5
- package/dist/components/sidebar.js +14 -12
- package/dist/components/sidebar.min.css +2 -2
- package/dist/components/sidebar.min.js +3 -3
- package/dist/components/site.css +139 -42
- package/dist/components/site.js +1 -1
- package/dist/components/site.min.css +2 -2
- package/dist/components/site.min.js +3 -3
- package/dist/components/slider.css +17 -17
- package/dist/components/slider.js +68 -51
- package/dist/components/slider.min.css +1 -1
- package/dist/components/slider.min.js +3 -3
- package/dist/components/state.js +2 -2
- package/dist/components/state.min.js +3 -3
- package/dist/components/statistic.css +4 -4
- package/dist/components/statistic.min.css +2 -2
- package/dist/components/step.css +32 -32
- package/dist/components/step.min.css +2 -2
- package/dist/components/sticky.css +1 -1
- package/dist/components/sticky.js +5 -5
- package/dist/components/sticky.min.css +1 -1
- package/dist/components/sticky.min.js +3 -3
- package/dist/components/tab.css +5 -5
- package/dist/components/tab.js +24 -6
- package/dist/components/tab.min.css +2 -2
- package/dist/components/tab.min.js +3 -3
- package/dist/components/table.css +1684 -272
- package/dist/components/table.min.css +2 -2
- package/dist/components/text.css +1 -1
- package/dist/components/text.min.css +1 -1
- package/dist/components/toast.css +48 -1
- package/dist/components/toast.js +63 -31
- package/dist/components/toast.min.css +2 -2
- package/dist/components/toast.min.js +3 -3
- package/dist/components/transition.css +1 -1
- package/dist/components/transition.js +22 -17
- package/dist/components/transition.min.css +1 -1
- package/dist/components/transition.min.js +3 -3
- package/dist/components/visibility.js +3 -3
- package/dist/components/visibility.min.js +3 -3
- package/dist/semantic.css +20204 -13425
- package/dist/semantic.js +883 -481
- package/dist/semantic.min.css +3 -3
- package/dist/semantic.min.js +3 -3
- package/dist/themes/default/assets/fonts/Lato-Bold.woff +0 -0
- package/dist/themes/default/assets/fonts/Lato-Bold.woff2 +0 -0
- package/dist/themes/default/assets/fonts/Lato-BoldItalic.woff +0 -0
- package/dist/themes/default/assets/fonts/Lato-BoldItalic.woff2 +0 -0
- package/dist/themes/default/assets/fonts/Lato-Italic.woff +0 -0
- package/dist/themes/default/assets/fonts/Lato-Italic.woff2 +0 -0
- package/dist/themes/default/assets/fonts/Lato-Regular.woff +0 -0
- package/dist/themes/default/assets/fonts/Lato-Regular.woff2 +0 -0
- package/dist/themes/default/assets/fonts/LatoLatin-Bold.woff +0 -0
- package/dist/themes/default/assets/fonts/LatoLatin-Bold.woff2 +0 -0
- package/dist/themes/default/assets/fonts/LatoLatin-BoldItalic.woff +0 -0
- package/dist/themes/default/assets/fonts/LatoLatin-BoldItalic.woff2 +0 -0
- package/dist/themes/default/assets/fonts/LatoLatin-Italic.woff +0 -0
- package/dist/themes/default/assets/fonts/LatoLatin-Italic.woff2 +0 -0
- package/dist/themes/default/assets/fonts/LatoLatin-Regular.woff +0 -0
- package/dist/themes/default/assets/fonts/LatoLatin-Regular.woff2 +0 -0
- package/dist/themes/default/assets/fonts/brand-icons.eot +0 -0
- package/dist/themes/default/assets/fonts/brand-icons.svg +801 -654
- package/dist/themes/default/assets/fonts/brand-icons.ttf +0 -0
- package/dist/themes/default/assets/fonts/brand-icons.woff +0 -0
- package/dist/themes/default/assets/fonts/brand-icons.woff2 +0 -0
- package/dist/themes/default/assets/fonts/icons.eot +0 -0
- package/dist/themes/default/assets/fonts/icons.svg +1175 -1079
- package/dist/themes/default/assets/fonts/icons.ttf +0 -0
- package/dist/themes/default/assets/fonts/icons.woff +0 -0
- package/dist/themes/default/assets/fonts/icons.woff2 +0 -0
- package/dist/themes/default/assets/fonts/outline-icons.eot +0 -0
- package/dist/themes/default/assets/fonts/outline-icons.svg +93 -95
- package/dist/themes/default/assets/fonts/outline-icons.ttf +0 -0
- package/dist/themes/default/assets/fonts/outline-icons.woff +0 -0
- package/dist/themes/default/assets/fonts/outline-icons.woff2 +0 -0
- package/dist/themes/{default → famfamfam}/assets/images/flags.png +0 -0
- package/examples/assets/library/iframe-content.js +11 -11
- package/examples/assets/library/iframe.js +6 -6
- package/examples/components/button.html +1 -1
- package/examples/components/card.html +1 -1
- package/examples/components/input.html +1 -1
- package/examples/components/menu.html +1 -1
- package/examples/components/site.html +1 -1
- package/examples/components/table.html +1 -1
- package/package.json +18 -16
- package/scripts/nightly-version.js +47 -38
- package/src/definitions/behaviors/api.js +89 -30
- package/src/definitions/behaviors/form.js +38 -29
- package/src/definitions/behaviors/state.js +1 -1
- package/src/definitions/behaviors/visibility.js +2 -2
- package/src/definitions/collections/form.less +229 -165
- package/src/definitions/collections/grid.less +723 -687
- package/src/definitions/collections/menu.less +233 -171
- package/src/definitions/collections/message.less +49 -47
- package/src/definitions/collections/table.less +882 -272
- package/src/definitions/elements/button.less +611 -469
- package/src/definitions/elements/container.less +145 -8
- package/src/definitions/elements/divider.less +24 -24
- package/src/definitions/elements/emoji.less +39 -10
- package/src/definitions/elements/flag.less +53 -18
- package/src/definitions/elements/header.less +46 -37
- package/src/definitions/elements/icon.less +39 -32
- package/src/definitions/elements/input.less +281 -33
- package/src/definitions/elements/label.less +132 -128
- package/src/definitions/elements/list.less +84 -75
- package/src/definitions/elements/loader.less +99 -98
- package/src/definitions/elements/placeholder.less +32 -32
- package/src/definitions/elements/segment.less +177 -56
- package/src/definitions/elements/step.less +76 -72
- package/src/definitions/elements/text.less +17 -15
- package/src/definitions/globals/reset.less +2 -2
- package/src/definitions/globals/site.less +25 -2
- package/src/definitions/modules/accordion.js +5 -2
- package/src/definitions/modules/accordion.less +371 -219
- package/src/definitions/modules/calendar.js +188 -75
- package/src/definitions/modules/calendar.less +20 -0
- package/src/definitions/modules/checkbox.js +16 -10
- package/src/definitions/modules/checkbox.less +83 -227
- package/src/definitions/modules/dimmer.js +10 -4
- package/src/definitions/modules/dimmer.less +22 -8
- package/src/definitions/modules/dropdown.js +151 -116
- package/src/definitions/modules/dropdown.less +191 -136
- package/src/definitions/modules/embed.less +4 -4
- package/src/definitions/modules/modal.js +127 -49
- package/src/definitions/modules/modal.less +66 -33
- package/src/definitions/modules/nag.js +1 -1
- package/src/definitions/modules/nag.less +20 -19
- package/src/definitions/modules/popup.js +10 -10
- package/src/definitions/modules/popup.less +90 -90
- package/src/definitions/modules/progress.js +5 -2
- package/src/definitions/modules/progress.less +19 -18
- package/src/definitions/modules/rating.less +49 -42
- package/src/definitions/modules/search.js +22 -6
- package/src/definitions/modules/search.less +35 -19
- package/src/definitions/modules/shape.js +2 -2
- package/src/definitions/modules/sidebar.js +13 -11
- package/src/definitions/modules/sidebar.less +36 -22
- package/src/definitions/modules/slider.js +67 -50
- package/src/definitions/modules/slider.less +48 -47
- package/src/definitions/modules/sticky.js +4 -4
- package/src/definitions/modules/sticky.less +3 -1
- package/src/definitions/modules/tab.js +23 -5
- package/src/definitions/modules/tab.less +4 -4
- package/src/definitions/modules/toast.js +62 -30
- package/src/definitions/modules/toast.less +56 -16
- package/src/definitions/modules/transition.js +21 -16
- package/src/definitions/views/ad.less +3 -3
- package/src/definitions/views/card.less +522 -375
- package/src/definitions/views/comment.less +93 -82
- package/src/definitions/views/feed.less +164 -144
- package/src/definitions/views/item.less +251 -198
- package/src/definitions/views/statistic.less +91 -89
- package/src/theme.less +13 -2
- package/src/themes/amazon/globals/site.variables +1 -0
- package/src/themes/basic/elements/icon.overrides +149 -149
- package/src/themes/basic/elements/step.overrides +2 -2
- package/src/themes/bookish/elements/header.overrides +1 -1
- package/src/themes/chubby/elements/button.overrides +1 -1
- package/src/themes/chubby/elements/header.overrides +1 -1
- package/src/themes/default/assets/fonts/Lato-Bold.woff +0 -0
- package/src/themes/default/assets/fonts/Lato-Bold.woff2 +0 -0
- package/src/themes/default/assets/fonts/Lato-BoldItalic.woff +0 -0
- package/src/themes/default/assets/fonts/Lato-BoldItalic.woff2 +0 -0
- package/src/themes/default/assets/fonts/Lato-Italic.woff +0 -0
- package/src/themes/default/assets/fonts/Lato-Italic.woff2 +0 -0
- package/src/themes/default/assets/fonts/Lato-Regular.woff +0 -0
- package/src/themes/default/assets/fonts/Lato-Regular.woff2 +0 -0
- package/src/themes/default/assets/fonts/LatoLatin-Bold.woff +0 -0
- package/src/themes/default/assets/fonts/LatoLatin-Bold.woff2 +0 -0
- package/src/themes/default/assets/fonts/LatoLatin-BoldItalic.woff +0 -0
- package/src/themes/default/assets/fonts/LatoLatin-BoldItalic.woff2 +0 -0
- package/src/themes/default/assets/fonts/LatoLatin-Italic.woff +0 -0
- package/src/themes/default/assets/fonts/LatoLatin-Italic.woff2 +0 -0
- package/src/themes/default/assets/fonts/LatoLatin-Regular.woff +0 -0
- package/src/themes/default/assets/fonts/LatoLatin-Regular.woff2 +0 -0
- package/src/themes/default/assets/fonts/brand-icons.eot +0 -0
- package/src/themes/default/assets/fonts/brand-icons.svg +801 -654
- package/src/themes/default/assets/fonts/brand-icons.ttf +0 -0
- package/src/themes/default/assets/fonts/brand-icons.woff +0 -0
- package/src/themes/default/assets/fonts/brand-icons.woff2 +0 -0
- package/src/themes/default/assets/fonts/icons.eot +0 -0
- package/src/themes/default/assets/fonts/icons.svg +1175 -1079
- package/src/themes/default/assets/fonts/icons.ttf +0 -0
- package/src/themes/default/assets/fonts/icons.woff +0 -0
- package/src/themes/default/assets/fonts/icons.woff2 +0 -0
- package/src/themes/default/assets/fonts/outline-icons.eot +0 -0
- package/src/themes/default/assets/fonts/outline-icons.svg +93 -95
- package/src/themes/default/assets/fonts/outline-icons.ttf +0 -0
- package/src/themes/default/assets/fonts/outline-icons.woff +0 -0
- package/src/themes/default/assets/fonts/outline-icons.woff2 +0 -0
- package/src/themes/default/collections/form.variables +4 -0
- package/src/themes/default/collections/menu.variables +6 -0
- package/src/themes/default/collections/table.variables +52 -0
- package/src/themes/default/elements/button.variables +7 -1
- package/src/themes/default/elements/container.variables +12 -0
- package/src/themes/default/elements/divider.overrides +7 -7
- package/src/themes/default/elements/emoji.overrides +0 -3090
- package/src/themes/default/elements/emoji.variables +3575 -1
- package/src/themes/default/elements/flag.overrides +0 -991
- package/src/themes/default/elements/flag.variables +1609 -5
- package/src/themes/default/elements/icon.overrides +1975 -1949
- package/src/themes/default/elements/icon.variables +1 -0
- package/src/themes/default/elements/input.variables +15 -0
- package/src/themes/default/elements/segment.variables +8 -0
- package/src/themes/default/elements/step.overrides +4 -4
- package/src/themes/default/globals/site.variables +109 -8
- package/src/themes/default/globals/variation.variables +145 -6
- package/src/themes/default/modules/accordion.overrides +6 -5
- package/src/themes/default/modules/accordion.variables +49 -2
- package/src/themes/default/modules/calendar.variables +3 -0
- package/src/themes/default/modules/checkbox.overrides +9 -9
- package/src/themes/default/modules/checkbox.variables +5 -5
- package/src/themes/default/modules/dimmer.variables +1 -1
- package/src/themes/default/modules/dropdown.overrides +5 -5
- package/src/themes/default/modules/dropdown.variables +4 -10
- package/src/themes/default/modules/modal.variables +14 -0
- package/src/themes/default/modules/popup.variables +0 -2
- package/src/themes/default/modules/toast.variables +3 -0
- package/src/themes/default/views/card.variables +8 -0
- package/src/themes/{default → famfamfam}/assets/images/flags.png +0 -0
- package/src/themes/famfamfam/elements/flag.overrides +1026 -0
- package/src/themes/famfamfam/elements/flag.variables +20 -0
- package/src/themes/github/elements/icon.overrides +206 -206
- package/src/themes/github/elements/step.overrides +5 -5
- package/src/themes/github/globals/site.variables +1 -0
- package/src/themes/github/modules/dropdown.overrides +6 -6
- package/src/themes/instagram/views/card.overrides +1 -1
- package/src/themes/joypixels/elements/emoji.overrides +0 -3089
- package/src/themes/joypixels/elements/emoji.variables +3574 -5
- package/src/themes/material/collections/menu.overrides +1 -1
- package/src/themes/material/elements/button.overrides +1 -1
- package/src/themes/material/elements/header.overrides +1 -1
- package/src/themes/material/elements/icon.overrides +932 -932
- package/src/themes/material/globals/site.variables +0 -1
- package/src/themes/material/modules/dropdown.overrides +1 -1
- package/src/themes/material/modules/modal.overrides +1 -1
- package/src/themes/pulsar/elements/loader.overrides +2 -2
- package/src/themes/resetcss/globals/reset.overrides +3 -3
- package/src/themes/rtl/globals/site.overrides +1 -1
- package/src/themes/striped/modules/progress.overrides +1 -1
- package/src/themes/systemfont/globals/reset.overrides +8 -0
- package/src/themes/systemfont/globals/site.variables +10 -0
- package/src/themes/twitter/elements/emoji.overrides +0 -3091
- package/src/themes/twitter/elements/emoji.variables +3570 -6
- package/tasks/admin/components/init.js +2 -2
- package/tasks/admin/distributions/create.js +1 -1
- package/tasks/admin/distributions/init.js +2 -2
- package/tasks/admin/publish.js +1 -1
- package/tasks/admin/release.js +1 -1
- package/tasks/build/assets.js +1 -1
- package/tasks/build/css.js +9 -4
- package/tasks/build/javascript.js +3 -3
- package/tasks/check-install.js +1 -1
- package/tasks/clean.js +1 -1
- package/tasks/collections/README.md +1 -1
- package/tasks/collections/admin.js +1 -1
- package/tasks/config/admin/oauth.example.js +1 -1
- package/tasks/config/admin/templates/composer.json +1 -1
- package/tasks/config/project/install.js +15 -13
- package/tasks/install.js +1 -0
- package/tasks/rtl/watch.js +1 -1
- package/tasks/version.js +1 -1
- package/test/fixtures/accordion.html +1 -1
- package/test/fixtures/checkbox.html +1 -1
- package/test/fixtures/dropdown.html +1 -1
- package/test/fixtures/modal.html +1 -1
- package/test/fixtures/popup.html +1 -1
- package/test/fixtures/rating.html +1 -1
- package/test/fixtures/shape.html +1 -1
- package/test/fixtures/sidebar.html +1 -1
- package/test/fixtures/tab.html +1 -1
- package/test/fixtures/transition.html +1 -1
- package/test/fixtures/video.html +1 -1
- package/test/helpers/jasmine-jquery.js +2 -2
- package/test/helpers/jasmine-sinon.js +1 -1
- package/test/helpers/jquery-events.js +1 -1
- package/test/helpers/sinon.js +3 -3
- package/test/meteor/fonts.js +1 -1
- package/test/modules/accordion.spec.js +1 -1
- package/test/modules/checkbox.spec.js +1 -1
- package/test/modules/dropdown.spec.js +1 -1
- package/test/modules/modal.spec.js +1 -1
- package/test/modules/module.spec.js +1 -1
- package/test/modules/popup.spec.js +1 -1
- package/test/modules/search.spec.js +1 -1
- package/test/modules/shape.spec.js +1 -1
- package/test/modules/sidebar.spec.js +1 -1
- package/test/modules/tab.spec.js +1 -1
- package/test/modules/transition.spec.js +1 -1
- package/test/modules/video.spec.js +1 -1
@@ -123,64 +123,70 @@
|
|
123
123
|
background-image: @activeBackgroundImage;
|
124
124
|
}
|
125
125
|
|
126
|
+
& when (@variationButtonLoading) {
|
127
|
+
/*--------------
|
128
|
+
Loading
|
129
|
+
---------------*/
|
126
130
|
|
127
|
-
|
128
|
-
|
129
|
-
|
131
|
+
/* Specificity hack */
|
132
|
+
.ui.loading.loading.loading.loading.loading.loading.button {
|
133
|
+
position: relative;
|
134
|
+
cursor: default;
|
135
|
+
text-shadow: none !important;
|
136
|
+
color: transparent;
|
137
|
+
opacity: @loadingOpacity;
|
138
|
+
pointer-events: @loadingPointerEvents;
|
139
|
+
transition: @loadingTransition;
|
140
|
+
}
|
141
|
+
.ui.loading.button::before {
|
142
|
+
position: absolute;
|
143
|
+
content: '';
|
144
|
+
top: 50%;
|
145
|
+
left: 50%;
|
130
146
|
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
content: '';
|
144
|
-
top: 50%;
|
145
|
-
left: 50%;
|
146
|
-
|
147
|
-
margin: @loaderMargin;
|
148
|
-
width: @loaderSize;
|
149
|
-
height: @loaderSize;
|
150
|
-
|
151
|
-
border-radius: @circularRadius;
|
152
|
-
border: @loaderLineWidth solid @invertedLoaderFillColor;
|
153
|
-
}
|
154
|
-
.ui.loading.button:after {
|
155
|
-
position: absolute;
|
156
|
-
content: '';
|
157
|
-
top: 50%;
|
158
|
-
left: 50%;
|
147
|
+
margin: @loaderMargin;
|
148
|
+
width: @loaderSize;
|
149
|
+
height: @loaderSize;
|
150
|
+
|
151
|
+
border-radius: @circularRadius;
|
152
|
+
border: @loaderLineWidth solid @invertedLoaderFillColor;
|
153
|
+
}
|
154
|
+
.ui.loading.button::after {
|
155
|
+
position: absolute;
|
156
|
+
content: '';
|
157
|
+
top: 50%;
|
158
|
+
left: 50%;
|
159
159
|
|
160
|
-
|
161
|
-
|
162
|
-
|
160
|
+
margin: @loaderMargin;
|
161
|
+
width: @loaderSize;
|
162
|
+
height: @loaderSize;
|
163
163
|
|
164
|
-
|
164
|
+
border-radius: @circularRadius;
|
165
165
|
|
166
|
-
|
167
|
-
|
168
|
-
|
166
|
+
animation: loader @loaderSpeed infinite linear;
|
167
|
+
border: @loaderLineWidth solid currentColor;
|
168
|
+
color: @invertedLoaderLineColor;
|
169
169
|
|
170
|
-
|
171
|
-
}
|
172
|
-
|
173
|
-
.ui.labeled.icon.loading.button .icon {
|
170
|
+
box-shadow: 0 0 0 1px transparent;
|
171
|
+
}
|
172
|
+
.ui.ui.ui.loading.button .label {
|
174
173
|
background-color: transparent;
|
175
|
-
|
174
|
+
border-color: transparent;
|
175
|
+
color: transparent;
|
176
176
|
}
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
177
|
+
& when (@variationButtonLabeledIcon){
|
178
|
+
.ui.labeled.icon.loading.button .icon {
|
179
|
+
background-color: transparent;
|
180
|
+
box-shadow: none;
|
181
|
+
}
|
181
182
|
}
|
182
|
-
|
183
|
-
|
183
|
+
& when (@variationButtonBasic){
|
184
|
+
.ui.basic.loading.button:not(.inverted)::before {
|
185
|
+
border-color: @loaderFillColor;
|
186
|
+
}
|
187
|
+
.ui.basic.loading.button:not(.inverted)::after {
|
188
|
+
border-color: @loaderLineColor;
|
189
|
+
}
|
184
190
|
}
|
185
191
|
}
|
186
192
|
& when (@variationButtonDisabled){
|
@@ -261,61 +267,64 @@
|
|
261
267
|
right: 0;
|
262
268
|
}
|
263
269
|
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
/* Fade */
|
290
|
-
.ui.fade.animated.button .visible.content,
|
291
|
-
.ui.fade.animated.button .hidden.content {
|
292
|
-
transition: opacity @animationDuration @animationEasing, transform @animationDuration @animationEasing;
|
293
|
-
}
|
294
|
-
.ui.fade.animated.button .visible.content {
|
295
|
-
left: auto;
|
296
|
-
right: auto;
|
297
|
-
opacity: 1;
|
298
|
-
transform: scale(1);
|
299
|
-
}
|
300
|
-
.ui.fade.animated.button .hidden.content {
|
301
|
-
opacity: 0;
|
302
|
-
left: 0;
|
303
|
-
right: auto;
|
304
|
-
transform: scale(@fadeScaleHigh);
|
305
|
-
}
|
306
|
-
.ui.fade.animated.button:focus .visible.content,
|
307
|
-
.ui.fade.animated.button:hover .visible.content {
|
308
|
-
left: auto;
|
309
|
-
right: auto;
|
310
|
-
opacity: 0;
|
311
|
-
transform: scale(@fadeScaleLow);
|
270
|
+
& when (@variationButtonVertical) {
|
271
|
+
/* Vertical */
|
272
|
+
.ui.vertical.animated.button .visible.content,
|
273
|
+
.ui.vertical.animated.button .hidden.content {
|
274
|
+
transition: top @animationDuration @animationEasing, transform @animationDuration @animationEasing;
|
275
|
+
}
|
276
|
+
.ui.vertical.animated.button .visible.content {
|
277
|
+
transform: translateY(0%);
|
278
|
+
right: auto;
|
279
|
+
}
|
280
|
+
.ui.vertical.animated.button .hidden.content {
|
281
|
+
top: -50%;
|
282
|
+
left: 0;
|
283
|
+
right: auto;
|
284
|
+
}
|
285
|
+
.ui.vertical.animated.button:focus .visible.content,
|
286
|
+
.ui.vertical.animated.button:hover .visible.content {
|
287
|
+
transform: translateY(200%);
|
288
|
+
right: auto;
|
289
|
+
}
|
290
|
+
.ui.vertical.animated.button:focus .hidden.content,
|
291
|
+
.ui.vertical.animated.button:hover .hidden.content {
|
292
|
+
top: 50%;
|
293
|
+
right: auto;
|
294
|
+
}
|
312
295
|
}
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
296
|
+
& when (@variationButtonAnimatedFade) {
|
297
|
+
/* Fade */
|
298
|
+
.ui.fade.animated.button .visible.content,
|
299
|
+
.ui.fade.animated.button .hidden.content {
|
300
|
+
transition: opacity @animationDuration @animationEasing, transform @animationDuration @animationEasing;
|
301
|
+
}
|
302
|
+
.ui.fade.animated.button .visible.content {
|
303
|
+
left: auto;
|
304
|
+
right: auto;
|
305
|
+
opacity: 1;
|
306
|
+
transform: scale(1);
|
307
|
+
}
|
308
|
+
.ui.fade.animated.button .hidden.content {
|
309
|
+
opacity: 0;
|
310
|
+
left: 0;
|
311
|
+
right: auto;
|
312
|
+
transform: scale(@fadeScaleHigh);
|
313
|
+
}
|
314
|
+
.ui.fade.animated.button:focus .visible.content,
|
315
|
+
.ui.fade.animated.button:hover .visible.content {
|
316
|
+
left: auto;
|
317
|
+
right: auto;
|
318
|
+
opacity: 0;
|
319
|
+
transform: scale(@fadeScaleLow);
|
320
|
+
}
|
321
|
+
.ui.fade.animated.button:focus .hidden.content,
|
322
|
+
.ui.fade.animated.button:hover .hidden.content {
|
323
|
+
left: 0;
|
324
|
+
right: auto;
|
325
|
+
opacity: 1;
|
326
|
+
transform: scale(1);
|
327
|
+
}
|
319
328
|
}
|
320
329
|
}
|
321
330
|
|
@@ -331,20 +340,23 @@
|
|
331
340
|
text-shadow: none !important;
|
332
341
|
}
|
333
342
|
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
343
|
+
& when (@variationButtonGroups) {
|
344
|
+
/* Group */
|
345
|
+
.ui.inverted.buttons .button {
|
346
|
+
margin: @invertedGroupButtonOffset;
|
347
|
+
}
|
348
|
+
.ui.inverted.buttons .button:first-child {
|
349
|
+
margin-left: 0;
|
350
|
+
}
|
351
|
+
& when (@variationButtonVertical) {
|
352
|
+
.ui.inverted.vertical.buttons .button {
|
353
|
+
margin: @invertedVerticalGroupButtonOffset;
|
354
|
+
}
|
355
|
+
.ui.inverted.vertical.buttons .button:first-child {
|
356
|
+
margin-top: 0;
|
357
|
+
}
|
358
|
+
}
|
346
359
|
}
|
347
|
-
|
348
360
|
/* States */
|
349
361
|
|
350
362
|
/* Hover */
|
@@ -397,7 +409,7 @@
|
|
397
409
|
}
|
398
410
|
|
399
411
|
/* Tag */
|
400
|
-
.ui.labeled.button > .tag.label
|
412
|
+
.ui.labeled.button > .tag.label::before {
|
401
413
|
width: @labeledTagLabelSize;
|
402
414
|
height: @labeledTagLabelSize;
|
403
415
|
}
|
@@ -730,23 +742,27 @@
|
|
730
742
|
})
|
731
743
|
}
|
732
744
|
|
733
|
-
|
734
|
-
|
735
|
-
|
745
|
+
& when (@variationButtonIcon) {
|
746
|
+
/*--------------
|
747
|
+
Icon Only
|
748
|
+
---------------*/
|
736
749
|
|
737
|
-
.ui.icon.buttons .button,
|
738
|
-
.ui.icon.button:not(.animated):not(.compact):not(.labeled) {
|
739
|
-
|
740
|
-
}
|
741
|
-
.ui.animated.icon.button > .content > .icon,
|
742
|
-
.ui.icon.buttons .button > .icon,
|
743
|
-
.ui.icon.button > .icon {
|
744
|
-
|
745
|
-
|
746
|
-
|
750
|
+
.ui.icon.buttons .button,
|
751
|
+
.ui.icon.button:not(.animated):not(.compact):not(.labeled) {
|
752
|
+
padding: @verticalPadding @verticalPadding ( @verticalPadding + @shadowOffset );
|
753
|
+
}
|
754
|
+
.ui.animated.icon.button > .content > .icon,
|
755
|
+
.ui.icon.buttons .button > .icon,
|
756
|
+
.ui.icon.button > .icon {
|
757
|
+
opacity: @iconButtonOpacity;
|
758
|
+
margin: 0 !important;
|
759
|
+
vertical-align: top;
|
760
|
+
}
|
747
761
|
}
|
748
|
-
|
749
|
-
|
762
|
+
& when (@variationButtonAnimated) {
|
763
|
+
.ui.animated.button > .content > .icon {
|
764
|
+
vertical-align: top;
|
765
|
+
}
|
750
766
|
}
|
751
767
|
|
752
768
|
& when (@variationButtonBasic) {
|
@@ -764,15 +780,17 @@
|
|
764
780
|
text-shadow: none !important;
|
765
781
|
box-shadow: @basicBoxShadow;
|
766
782
|
}
|
783
|
+
& when (@variationButtonGroups) {
|
784
|
+
.ui.basic.buttons {
|
785
|
+
box-shadow: @basicGroupBoxShadow;
|
786
|
+
border: @basicGroupBorder;
|
787
|
+
border-radius: @borderRadius;
|
788
|
+
border-right: none;
|
789
|
+
}
|
767
790
|
|
768
|
-
|
769
|
-
|
770
|
-
|
771
|
-
border-radius: @borderRadius;
|
772
|
-
}
|
773
|
-
|
774
|
-
.ui.basic.buttons .button {
|
775
|
-
border-radius: 0;
|
791
|
+
.ui.basic.buttons .button {
|
792
|
+
border-radius: 0;
|
793
|
+
}
|
776
794
|
}
|
777
795
|
|
778
796
|
.ui.basic.buttons .button:hover,
|
@@ -807,18 +825,19 @@
|
|
807
825
|
.ui.basic.active.button:hover {
|
808
826
|
background-color: @transparentBlack;
|
809
827
|
}
|
828
|
+
& when (@variationButtonGroups) {
|
810
829
|
|
811
|
-
|
812
|
-
|
813
|
-
|
814
|
-
}
|
830
|
+
.ui.basic.buttons .button:hover {
|
831
|
+
box-shadow: @basicHoverBoxShadow inset;
|
832
|
+
}
|
815
833
|
|
816
|
-
|
817
|
-
|
818
|
-
|
834
|
+
.ui.basic.buttons .button:active {
|
835
|
+
box-shadow: @basicDownBoxShadow inset;
|
836
|
+
}
|
819
837
|
|
820
|
-
|
821
|
-
|
838
|
+
.ui.basic.buttons .active.button {
|
839
|
+
box-shadow: @basicActiveBoxShadow;
|
840
|
+
}
|
822
841
|
}
|
823
842
|
& when (@variationButtonInverted) {
|
824
843
|
/* Standard Basic Inverted */
|
@@ -864,21 +883,23 @@
|
|
864
883
|
}
|
865
884
|
}
|
866
885
|
|
867
|
-
& when (@
|
886
|
+
& when (@variationButtonGroups) {
|
868
887
|
/* Basic Group */
|
869
|
-
.ui.basic.buttons .button {
|
870
|
-
border-
|
888
|
+
.ui.basic.buttons:not(.inverted) .button:not(.basic) {
|
889
|
+
border-right: @basicGroupBorder;
|
871
890
|
box-shadow: none;
|
872
891
|
}
|
873
892
|
|
874
|
-
|
875
|
-
|
876
|
-
|
877
|
-
|
878
|
-
|
893
|
+
& when (@variationButtonVertical) {
|
894
|
+
.ui.basic.vertical.buttons .button {
|
895
|
+
border-left: none;
|
896
|
+
border-left-width: 0;
|
897
|
+
border-top: @basicGroupBorder;
|
898
|
+
}
|
879
899
|
|
880
|
-
|
881
|
-
|
900
|
+
.ui.basic.vertical.buttons:not(.spaced) .button:first-child {
|
901
|
+
border-top: none;
|
902
|
+
}
|
882
903
|
}
|
883
904
|
}
|
884
905
|
}
|
@@ -892,11 +913,11 @@
|
|
892
913
|
.ui.tertiary.button {
|
893
914
|
transition: color @defaultDuration @defaultEasing !important;
|
894
915
|
border-radius: 0;
|
895
|
-
margin: (@verticalPadding
|
916
|
+
margin: (@verticalPadding - @tertiaryVerticalPadding)
|
896
917
|
(@horizontalMargin)
|
897
|
-
(@verticalPadding + @shadowOffset + @verticalMargin - @
|
918
|
+
(@verticalPadding + @shadowOffset + @verticalMargin - @tertiaryVerticalPadding)
|
898
919
|
0 !important;
|
899
|
-
padding: @
|
920
|
+
padding: @tertiaryVerticalPadding @tertiaryHorizontalPadding !important;
|
900
921
|
|
901
922
|
& when (@tertiaryWithUnderline = true) {
|
902
923
|
box-shadow: inset 0 -@tertiaryLineHeight 0 @tertiaryLineColor;
|
@@ -1020,10 +1041,10 @@
|
|
1020
1041
|
}
|
1021
1042
|
|
1022
1043
|
|
1023
|
-
.ui.labeled.icon.buttons > .button > .icon
|
1024
|
-
.ui.labeled.icon.button > .icon
|
1025
|
-
.ui.labeled.icon.buttons > .button > .icon
|
1026
|
-
.ui.labeled.icon.button > .icon
|
1044
|
+
.ui.labeled.icon.buttons > .button > .icon::before,
|
1045
|
+
.ui.labeled.icon.button > .icon::before,
|
1046
|
+
.ui.labeled.icon.buttons > .button > .icon::after,
|
1047
|
+
.ui.labeled.icon.button > .icon::after {
|
1027
1048
|
display: block;
|
1028
1049
|
position: relative;
|
1029
1050
|
width: 100%;
|
@@ -1056,7 +1077,7 @@
|
|
1056
1077
|
}
|
1057
1078
|
|
1058
1079
|
/* Loading Icon in Labeled Button */
|
1059
|
-
.ui.labeled.icon.button > .loading.icon
|
1080
|
+
.ui.labeled.icon.button > .loading.icon::before {
|
1060
1081
|
animation: loader 2s linear infinite;
|
1061
1082
|
}
|
1062
1083
|
}
|
@@ -1110,7 +1131,7 @@
|
|
1110
1131
|
z-index: @orZIndex;
|
1111
1132
|
}
|
1112
1133
|
|
1113
|
-
.ui.buttons .or
|
1134
|
+
.ui.buttons .or::before {
|
1114
1135
|
position: absolute;
|
1115
1136
|
text-align: center;
|
1116
1137
|
border-radius: @circularRadius;
|
@@ -1136,7 +1157,7 @@
|
|
1136
1157
|
box-shadow: @orBoxShadow;
|
1137
1158
|
}
|
1138
1159
|
|
1139
|
-
.ui.buttons .or[data-text]
|
1160
|
+
.ui.buttons .or[data-text]::before {
|
1140
1161
|
content: attr(data-text);
|
1141
1162
|
}
|
1142
1163
|
|
@@ -1145,7 +1166,7 @@
|
|
1145
1166
|
width: 0 !important;
|
1146
1167
|
}
|
1147
1168
|
|
1148
|
-
.ui.fluid.buttons .or
|
1169
|
+
.ui.fluid.buttons .or::after {
|
1149
1170
|
display: none;
|
1150
1171
|
}
|
1151
1172
|
|
@@ -1217,7 +1238,7 @@
|
|
1217
1238
|
|
1218
1239
|
/* Top / Bottom */
|
1219
1240
|
.ui[class*="top attached"].buttons {
|
1220
|
-
margin-bottom: @
|
1241
|
+
margin-bottom: @topAttachedOffset;
|
1221
1242
|
border-radius: @borderRadius @borderRadius 0 0;
|
1222
1243
|
}
|
1223
1244
|
|
@@ -1230,7 +1251,7 @@
|
|
1230
1251
|
}
|
1231
1252
|
|
1232
1253
|
.ui[class*="bottom attached"].buttons {
|
1233
|
-
margin-top: @
|
1254
|
+
margin-top: @bottomAttachedOffset;
|
1234
1255
|
border-radius: 0 0 @borderRadius @borderRadius;
|
1235
1256
|
}
|
1236
1257
|
|
@@ -1291,7 +1312,8 @@
|
|
1291
1312
|
.ui.fluid.button {
|
1292
1313
|
display: block;
|
1293
1314
|
}
|
1294
|
-
|
1315
|
+
}
|
1316
|
+
& when (@variationButtonEqualWidth) {
|
1295
1317
|
.ui.two.buttons {
|
1296
1318
|
width: 100%;
|
1297
1319
|
}
|
@@ -1379,57 +1401,63 @@
|
|
1379
1401
|
.ui.twelve.buttons > .button {
|
1380
1402
|
width: 8.3333%;
|
1381
1403
|
}
|
1404
|
+
}
|
1382
1405
|
|
1383
|
-
|
1384
|
-
|
1385
|
-
|
1386
|
-
|
1387
|
-
|
1388
|
-
|
1406
|
+
& when (@variationButtonVertical) {
|
1407
|
+
& when (@variationButtonFluid) {
|
1408
|
+
/* Fluid Vertical Buttons */
|
1409
|
+
.ui.fluid.vertical.buttons,
|
1410
|
+
.ui.fluid.vertical.buttons > .button {
|
1411
|
+
display: flex;
|
1412
|
+
width: auto;
|
1413
|
+
justify-content: center;
|
1414
|
+
}
|
1389
1415
|
}
|
1390
1416
|
|
1391
|
-
|
1392
|
-
|
1393
|
-
|
1417
|
+
& when (@variationButtonEqualWidth) {
|
1418
|
+
.ui.two.vertical.buttons > .button {
|
1419
|
+
height: 50%;
|
1420
|
+
}
|
1394
1421
|
|
1395
|
-
|
1396
|
-
|
1397
|
-
|
1422
|
+
.ui.three.vertical.buttons > .button {
|
1423
|
+
height: 33.333%;
|
1424
|
+
}
|
1398
1425
|
|
1399
|
-
|
1400
|
-
|
1401
|
-
|
1426
|
+
.ui.four.vertical.buttons > .button {
|
1427
|
+
height: 25%;
|
1428
|
+
}
|
1402
1429
|
|
1403
|
-
|
1404
|
-
|
1405
|
-
|
1430
|
+
.ui.five.vertical.buttons > .button {
|
1431
|
+
height: 20%;
|
1432
|
+
}
|
1406
1433
|
|
1407
|
-
|
1408
|
-
|
1409
|
-
|
1434
|
+
.ui.six.vertical.buttons > .button {
|
1435
|
+
height: 16.666%;
|
1436
|
+
}
|
1410
1437
|
|
1411
|
-
|
1412
|
-
|
1413
|
-
|
1438
|
+
.ui.seven.vertical.buttons > .button {
|
1439
|
+
height: 14.285%;
|
1440
|
+
}
|
1414
1441
|
|
1415
|
-
|
1416
|
-
|
1417
|
-
|
1442
|
+
.ui.eight.vertical.buttons > .button {
|
1443
|
+
height: 12.500%;
|
1444
|
+
}
|
1418
1445
|
|
1419
|
-
|
1420
|
-
|
1421
|
-
|
1446
|
+
.ui.nine.vertical.buttons > .button {
|
1447
|
+
height: 11.11%;
|
1448
|
+
}
|
1422
1449
|
|
1423
|
-
|
1424
|
-
|
1425
|
-
|
1450
|
+
.ui.ten.vertical.buttons > .button {
|
1451
|
+
height: 10%;
|
1452
|
+
}
|
1426
1453
|
|
1427
|
-
|
1428
|
-
|
1429
|
-
|
1454
|
+
.ui.eleven.vertical.buttons > .button {
|
1455
|
+
height: 9.09%;
|
1456
|
+
}
|
1430
1457
|
|
1431
|
-
|
1432
|
-
|
1458
|
+
.ui.twelve.vertical.buttons > .button {
|
1459
|
+
height: 8.3333%;
|
1460
|
+
}
|
1433
1461
|
}
|
1434
1462
|
}
|
1435
1463
|
|
@@ -1437,191 +1465,174 @@
|
|
1437
1465
|
Colors
|
1438
1466
|
--------------------*/
|
1439
1467
|
|
1440
|
-
|
1441
|
-
|
1442
|
-
|
1443
|
-
|
1444
|
-
|
1445
|
-
|
1446
|
-
|
1447
|
-
|
1448
|
-
|
1449
|
-
|
1450
|
-
|
1451
|
-
|
1452
|
-
|
1453
|
-
|
1454
|
-
|
1455
|
-
|
1456
|
-
|
1457
|
-
|
1458
|
-
|
1459
|
-
|
1460
|
-
|
1461
|
-
|
1462
|
-
|
1463
|
-
|
1464
|
-
|
1465
|
-
|
1466
|
-
|
1467
|
-
|
1468
|
-
|
1469
|
-
|
1470
|
-
|
1471
|
-
|
1472
|
-
|
1473
|
-
|
1474
|
-
|
1475
|
-
|
1476
|
-
|
1477
|
-
|
1478
|
-
|
1479
|
-
|
1480
|
-
|
1481
|
-
|
1482
|
-
|
1483
|
-
|
1484
|
-
|
1485
|
-
|
1486
|
-
|
1487
|
-
|
1488
|
-
|
1489
|
-
|
1490
|
-
|
1491
|
-
|
1492
|
-
|
1493
|
-
|
1494
|
-
|
1495
|
-
|
1496
|
-
|
1497
|
-
|
1498
|
-
|
1499
|
-
|
1500
|
-
& when (@variationButtonBasic) {
|
1501
|
-
/* Basic */
|
1502
|
-
.ui.basic.@{color}.buttons .button,
|
1503
|
-
.ui.basic.@{color}.button {
|
1504
|
-
background: transparent;
|
1505
|
-
box-shadow: 0 0 0 @basicBorderSize @c inset ;
|
1506
|
-
color: @c ;
|
1507
|
-
}
|
1508
|
-
.ui.basic.@{color}.buttons .button:hover,
|
1509
|
-
.ui.basic.@{color}.button:hover {
|
1510
|
-
background: transparent ;
|
1511
|
-
box-shadow: 0 0 0 @basicColoredBorderSize @h inset ;
|
1512
|
-
color: @h ;
|
1513
|
-
}
|
1514
|
-
.ui.basic.@{color}.buttons .button:focus,
|
1515
|
-
.ui.basic.@{color}.button:focus {
|
1516
|
-
background: transparent ;
|
1517
|
-
box-shadow: 0 0 0 @basicColoredBorderSize @f inset ;
|
1518
|
-
color: @h ;
|
1519
|
-
}
|
1520
|
-
.ui.basic.@{color}.buttons .active.button,
|
1521
|
-
.ui.basic.@{color}.active.button {
|
1522
|
-
background: transparent ;
|
1523
|
-
box-shadow: 0 0 0 @basicColoredBorderSize @a inset ;
|
1524
|
-
color: @d ;
|
1525
|
-
}
|
1526
|
-
.ui.basic.@{color}.buttons .button:active,
|
1527
|
-
.ui.basic.@{color}.button:active {
|
1528
|
-
box-shadow: 0 0 0 @basicColoredBorderSize @d inset ;
|
1529
|
-
color: @d ;
|
1530
|
-
}
|
1531
|
-
|
1532
|
-
.ui.buttons:not(.vertical) > .basic.@{color}.button:not(:first-child) {
|
1533
|
-
margin-left: -@basicColoredBorderSize;
|
1468
|
+
& when not (@variationButtonColors = false) {
|
1469
|
+
each(@variationButtonColors, {
|
1470
|
+
@color: @value;
|
1471
|
+
@c: @colors[@@color][color];
|
1472
|
+
@h: @colors[@@color][hover];
|
1473
|
+
@f: @colors[@@color][focus];
|
1474
|
+
@d: @colors[@@color][down];
|
1475
|
+
@a: @colors[@@color][active];
|
1476
|
+
@t: @colors[@@color][text];
|
1477
|
+
@s: @colors[@@color][shadow];
|
1478
|
+
@l: @colors[@@color][light];
|
1479
|
+
@lh: @colors[@@color][lightHover];
|
1480
|
+
@lf: @colors[@@color][lightFocus];
|
1481
|
+
@ld: @colors[@@color][lightDown];
|
1482
|
+
@la: @colors[@@color][lightActive];
|
1483
|
+
@lt: @colors[@@color][lightText];
|
1484
|
+
@ls: @colors[@@color][lightShadow];
|
1485
|
+
@ty: @colors[@@color][tertiary];
|
1486
|
+
@tyh: @colors[@@color][tertiaryHover];
|
1487
|
+
@tyf: @colors[@@color][tertiaryFocus];
|
1488
|
+
@tya: @colors[@@color][tertiaryActive];
|
1489
|
+
@isDark: @colors[@@color][isDark];
|
1490
|
+
@isVeryDark: @colors[@@color][isVeryDark];
|
1491
|
+
|
1492
|
+
.ui.@{color}.buttons .button,
|
1493
|
+
.ui.@{color}.button {
|
1494
|
+
background-color: @c;
|
1495
|
+
color: @t;
|
1496
|
+
text-shadow: @s;
|
1497
|
+
background-image: @coloredBackgroundImage;
|
1498
|
+
}
|
1499
|
+
.ui.@{color}.button {
|
1500
|
+
box-shadow: @coloredBoxShadow;
|
1501
|
+
}
|
1502
|
+
.ui.@{color}.buttons .button:hover,
|
1503
|
+
.ui.@{color}.button:hover {
|
1504
|
+
background-color: @h;
|
1505
|
+
color: @t;
|
1506
|
+
text-shadow: @s;
|
1507
|
+
}
|
1508
|
+
.ui.@{color}.buttons .button:focus,
|
1509
|
+
.ui.@{color}.button:focus {
|
1510
|
+
background-color: @f;
|
1511
|
+
color: @t;
|
1512
|
+
text-shadow: @s;
|
1513
|
+
}
|
1514
|
+
.ui.@{color}.buttons .button:active,
|
1515
|
+
.ui.@{color}.button:active {
|
1516
|
+
background-color: @d;
|
1517
|
+
color: @t;
|
1518
|
+
text-shadow: @s;
|
1519
|
+
}
|
1520
|
+
.ui.@{color}.buttons .active.button,
|
1521
|
+
.ui.@{color}.buttons .active.button:active,
|
1522
|
+
.ui.@{color}.active.button,
|
1523
|
+
.ui.@{color}.button .active.button:active {
|
1524
|
+
background-color: @a;
|
1525
|
+
color: @t;
|
1526
|
+
text-shadow: @s;
|
1534
1527
|
}
|
1535
|
-
}
|
1536
|
-
& when (@variationButtonInverted) {
|
1537
|
-
/* Inverted */
|
1538
|
-
.ui.inverted.@{color}.buttons .button,
|
1539
|
-
.ui.inverted.@{color}.button {
|
1540
|
-
background-color: transparent;
|
1541
1528
|
|
1542
|
-
|
1543
|
-
|
1544
|
-
|
1529
|
+
& when (@variationButtonBasic) {
|
1530
|
+
/* Basic */
|
1531
|
+
.ui.basic.@{color}.buttons .button,
|
1532
|
+
.ui.basic.@{color}.button {
|
1533
|
+
background: transparent;
|
1534
|
+
box-shadow: 0 0 0 @basicBorderSize @c inset;
|
1535
|
+
color: @c;
|
1545
1536
|
}
|
1546
|
-
|
1547
|
-
|
1548
|
-
|
1549
|
-
|
1537
|
+
.ui.basic.@{color}.buttons .button:hover,
|
1538
|
+
.ui.basic.@{color}.button:hover {
|
1539
|
+
background: transparent;
|
1540
|
+
box-shadow: 0 0 0 @basicColoredBorderSize @h inset;
|
1541
|
+
color: @h;
|
1542
|
+
}
|
1543
|
+
.ui.basic.@{color}.buttons .button:focus,
|
1544
|
+
.ui.basic.@{color}.button:focus {
|
1545
|
+
background: transparent;
|
1546
|
+
box-shadow: 0 0 0 @basicColoredBorderSize @f inset;
|
1547
|
+
color: @h;
|
1548
|
+
}
|
1549
|
+
.ui.basic.@{color}.buttons .active.button,
|
1550
|
+
.ui.basic.@{color}.active.button {
|
1551
|
+
background: transparent;
|
1552
|
+
box-shadow: 0 0 0 @basicColoredBorderSize @a inset;
|
1553
|
+
color: @d;
|
1554
|
+
}
|
1555
|
+
.ui.basic.@{color}.buttons .button:active,
|
1556
|
+
.ui.basic.@{color}.button:active {
|
1557
|
+
box-shadow: 0 0 0 @basicColoredBorderSize @d inset;
|
1558
|
+
color: @d;
|
1550
1559
|
}
|
1551
1560
|
}
|
1552
|
-
|
1553
|
-
|
1554
|
-
|
1555
|
-
|
1556
|
-
|
1557
|
-
.ui.inverted.@{color}.button.active,
|
1558
|
-
.ui.inverted.@{color}.buttons .button:active,
|
1559
|
-
.ui.inverted.@{color}.button:active {
|
1560
|
-
box-shadow: none ;
|
1561
|
-
color: @lt;
|
1562
|
-
}
|
1563
|
-
.ui.inverted.@{color}.buttons .button:hover,
|
1564
|
-
.ui.inverted.@{color}.button:hover {
|
1565
|
-
background-color: @lh;
|
1566
|
-
}
|
1567
|
-
.ui.inverted.@{color}.buttons .button:focus,
|
1568
|
-
.ui.inverted.@{color}.button:focus {
|
1569
|
-
background-color: @lf;
|
1570
|
-
}
|
1571
|
-
.ui.inverted.@{color}.buttons .active.button,
|
1572
|
-
.ui.inverted.@{color}.active.button {
|
1573
|
-
background-color: @la;
|
1574
|
-
}
|
1575
|
-
.ui.inverted.@{color}.buttons .button:active,
|
1576
|
-
.ui.inverted.@{color}.button:active {
|
1577
|
-
background-color: @ld;
|
1578
|
-
}
|
1579
|
-
|
1580
|
-
/* Inverted Basic */
|
1581
|
-
.ui.inverted.@{color}.basic.buttons .button,
|
1582
|
-
.ui.inverted.@{color}.buttons .basic.button,
|
1583
|
-
.ui.inverted.@{color}.basic.button {
|
1584
|
-
background-color: transparent;
|
1585
|
-
box-shadow: @basicInvertedBoxShadow ;
|
1586
|
-
color: @white ;
|
1587
|
-
}
|
1588
|
-
.ui.inverted.@{color}.basic.buttons .button:hover,
|
1589
|
-
.ui.inverted.@{color}.buttons .basic.button:hover,
|
1590
|
-
.ui.inverted.@{color}.basic.button:hover {
|
1591
|
-
box-shadow: 0 0 0 @invertedBorderSize @lh inset ;
|
1561
|
+
& when (@variationButtonInverted) {
|
1562
|
+
/* Inverted */
|
1563
|
+
.ui.inverted.@{color}.buttons .button,
|
1564
|
+
.ui.inverted.@{color}.button {
|
1565
|
+
background-color: transparent;
|
1592
1566
|
|
1593
|
-
|
1594
|
-
|
1595
|
-
|
1567
|
+
& when (@isDark) {
|
1568
|
+
box-shadow: 0 0 0 @invertedBorderSize @solidBorderColor inset;
|
1569
|
+
color: @invertedTextColor;
|
1570
|
+
}
|
1596
1571
|
|
1597
|
-
|
1598
|
-
|
1572
|
+
& when not (@isDark) {
|
1573
|
+
box-shadow: 0 0 0 @invertedBorderSize @l inset;
|
1574
|
+
color: @l;
|
1575
|
+
}
|
1576
|
+
}
|
1577
|
+
.ui.inverted.@{color}.buttons .button:hover,
|
1578
|
+
.ui.inverted.@{color}.button:hover,
|
1579
|
+
.ui.inverted.@{color}.buttons .button:focus,
|
1580
|
+
.ui.inverted.@{color}.button:focus,
|
1581
|
+
.ui.inverted.@{color}.buttons .button.active,
|
1582
|
+
.ui.inverted.@{color}.button.active,
|
1583
|
+
.ui.inverted.@{color}.buttons .button:active,
|
1584
|
+
.ui.inverted.@{color}.button:active {
|
1585
|
+
box-shadow: none;
|
1586
|
+
color: @lt;
|
1587
|
+
}
|
1588
|
+
.ui.inverted.@{color}.buttons .button:hover,
|
1589
|
+
.ui.inverted.@{color}.button:hover {
|
1590
|
+
background-color: @lh;
|
1591
|
+
}
|
1592
|
+
.ui.inverted.@{color}.buttons .button:focus,
|
1593
|
+
.ui.inverted.@{color}.button:focus {
|
1594
|
+
background-color: @lf;
|
1595
|
+
}
|
1596
|
+
.ui.inverted.@{color}.buttons .active.button,
|
1597
|
+
.ui.inverted.@{color}.active.button {
|
1598
|
+
background-color: @la;
|
1599
|
+
}
|
1600
|
+
.ui.inverted.@{color}.buttons .button:active,
|
1601
|
+
.ui.inverted.@{color}.button:active {
|
1602
|
+
background-color: @ld;
|
1599
1603
|
}
|
1600
|
-
}
|
1601
|
-
.ui.inverted.@{color}.basic.buttons .button:focus,
|
1602
|
-
.ui.inverted.@{color}.basic.buttons .button:focus,
|
1603
|
-
.ui.inverted.@{color}.basic.button:focus {
|
1604
|
-
box-shadow: 0 0 0 @invertedBorderSize @lf inset ;
|
1605
|
-
color: @l ;
|
1606
|
-
}
|
1607
|
-
.ui.inverted.@{color}.basic.buttons .active.button,
|
1608
|
-
.ui.inverted.@{color}.buttons .basic.active.button,
|
1609
|
-
.ui.inverted.@{color}.basic.active.button {
|
1610
|
-
box-shadow: 0 0 0 @invertedBorderSize @la inset ;
|
1611
1604
|
|
1612
|
-
|
1613
|
-
|
1605
|
+
/* Inverted Basic */
|
1606
|
+
.ui.inverted.@{color}.basic.buttons .button,
|
1607
|
+
.ui.inverted.@{color}.buttons .basic.button,
|
1608
|
+
.ui.inverted.@{color}.basic.button {
|
1609
|
+
background-color: transparent;
|
1610
|
+
box-shadow: @basicInvertedBoxShadow;
|
1611
|
+
color: @white;
|
1614
1612
|
}
|
1613
|
+
.ui.inverted.@{color}.basic.buttons .button:hover,
|
1614
|
+
.ui.inverted.@{color}.buttons .basic.button:hover,
|
1615
|
+
.ui.inverted.@{color}.basic.button:hover {
|
1616
|
+
box-shadow: 0 0 0 @invertedBorderSize @lh inset;
|
1617
|
+
|
1618
|
+
& when (@isDark) {
|
1619
|
+
color: @white;
|
1620
|
+
}
|
1615
1621
|
|
1616
|
-
|
1617
|
-
|
1622
|
+
& when not (@isDark) {
|
1623
|
+
color: @l;
|
1624
|
+
}
|
1618
1625
|
}
|
1619
|
-
|
1620
|
-
|
1621
|
-
.ui.inverted.@{color}.basic.
|
1622
|
-
|
1623
|
-
|
1624
|
-
|
1626
|
+
.ui.inverted.@{color}.basic.buttons .button:focus,
|
1627
|
+
.ui.inverted.@{color}.basic.buttons .button:focus,
|
1628
|
+
.ui.inverted.@{color}.basic.button:focus {
|
1629
|
+
box-shadow: 0 0 0 @invertedBorderSize @lf inset;
|
1630
|
+
color: @l;
|
1631
|
+
}
|
1632
|
+
.ui.inverted.@{color}.basic.buttons .active.button,
|
1633
|
+
.ui.inverted.@{color}.buttons .basic.active.button,
|
1634
|
+
.ui.inverted.@{color}.basic.active.button {
|
1635
|
+
box-shadow: 0 0 0 @invertedBorderSize @la inset;
|
1625
1636
|
|
1626
1637
|
& when (@isDark) {
|
1627
1638
|
color: @white;
|
@@ -1631,104 +1642,119 @@ each(@colors, {
|
|
1631
1642
|
color: @l;
|
1632
1643
|
}
|
1633
1644
|
}
|
1645
|
+
& when (@variationButtonBasic) {
|
1646
|
+
.ui.inverted.@{color}.basic.buttons .button:active,
|
1647
|
+
.ui.inverted.@{color}.buttons .basic.button:active,
|
1648
|
+
.ui.inverted.@{color}.basic.button:active {
|
1649
|
+
box-shadow: 0 0 0 @invertedBorderSize @ld inset;
|
1650
|
+
|
1651
|
+
& when (@isDark) {
|
1652
|
+
color: @white;
|
1653
|
+
}
|
1654
|
+
|
1655
|
+
& when not (@isDark) {
|
1656
|
+
color: @l;
|
1657
|
+
}
|
1658
|
+
}
|
1659
|
+
}
|
1634
1660
|
}
|
1635
|
-
}
|
1636
1661
|
|
1637
|
-
|
1638
|
-
|
1662
|
+
& when (@variationButtonTertiary) {
|
1663
|
+
/* Tertiary */
|
1639
1664
|
|
1640
|
-
|
1641
|
-
|
1642
|
-
|
1643
|
-
|
1665
|
+
.ui.tertiary.@{color}.buttons .button,
|
1666
|
+
.ui.tertiary.@{color}.buttons .tertiary.button,
|
1667
|
+
.ui.tertiary.@{color}.button {
|
1668
|
+
background: transparent;
|
1644
1669
|
|
1645
1670
|
|
1646
1671
|
|
1647
|
-
|
1648
|
-
|
1649
|
-
|
1672
|
+
& when (@tertiaryWithUnderline = true) {
|
1673
|
+
box-shadow: inset 0 -@tertiaryLineHeight 0 @ty;
|
1674
|
+
}
|
1650
1675
|
|
1651
|
-
|
1652
|
-
|
1653
|
-
|
1676
|
+
& when (@tertiaryWithOverline = true) {
|
1677
|
+
box-shadow: inset 0 @tertiaryLineHeight 0 @ty;
|
1678
|
+
}
|
1654
1679
|
|
1655
|
-
|
1656
|
-
|
1657
|
-
|
1680
|
+
& when (@tertiaryWithUnderline = false) and (@tertiaryWithOverline = false){
|
1681
|
+
box-shadow: none;
|
1682
|
+
}
|
1658
1683
|
|
1659
|
-
|
1660
|
-
|
1684
|
+
color: @c;
|
1685
|
+
}
|
1661
1686
|
|
1662
|
-
|
1663
|
-
|
1664
|
-
|
1687
|
+
.ui.tertiary.@{color}.buttons .button:hover,
|
1688
|
+
.ui.tertiary.@{color}.buttons button:hover,
|
1689
|
+
.ui.tertiary.@{color}.button:hover {
|
1665
1690
|
|
1666
1691
|
|
1667
1692
|
|
1668
|
-
|
1669
|
-
|
1670
|
-
|
1693
|
+
& when (@tertiaryHoverWithUnderline = true) {
|
1694
|
+
box-shadow: inset 0 -@tertiaryLineHeight 0 @tyh;
|
1695
|
+
}
|
1671
1696
|
|
1672
|
-
|
1673
|
-
|
1674
|
-
|
1697
|
+
& when (@tertiaryHoverWithOverline = true) {
|
1698
|
+
box-shadow: inset 0 @tertiaryLineHeight 0 @tyh;
|
1699
|
+
}
|
1675
1700
|
|
1676
|
-
|
1677
|
-
|
1678
|
-
|
1701
|
+
& when (@tertiaryHoverWithUnderline = false) and (@tertiaryHoverWithOverline = false) {
|
1702
|
+
box-shadow: none;
|
1703
|
+
}
|
1679
1704
|
|
1680
1705
|
|
1681
1706
|
color: @tyh;
|
1682
|
-
|
1707
|
+
}
|
1683
1708
|
|
1684
|
-
|
1685
|
-
|
1686
|
-
|
1709
|
+
.ui.tertiary.@{color}.buttons .button:focus,
|
1710
|
+
.ui.tertiary.@{color}.buttons .tertiary.button:focus,
|
1711
|
+
.ui.tertiary.@{color}.button:focus {
|
1687
1712
|
|
1688
1713
|
|
1689
1714
|
|
1690
1715
|
|
1691
|
-
|
1692
|
-
|
1693
|
-
|
1716
|
+
& when (@tertiaryFocusWithUnderline = true) {
|
1717
|
+
box-shadow: inset 0 -@tertiaryLineHeight 0 @tyf;
|
1718
|
+
}
|
1694
1719
|
|
1695
|
-
|
1696
|
-
|
1697
|
-
|
1720
|
+
& when (@tertiaryFocusWithOverline = true) {
|
1721
|
+
box-shadow: inset 0 @tertiaryLineHeight 0 @tyf;
|
1722
|
+
}
|
1698
1723
|
|
1699
|
-
|
1700
|
-
|
1701
|
-
|
1724
|
+
& when (@tertiaryFocusWithUnderline = false) and (@tertiaryFocusWithOverline = false) {
|
1725
|
+
box-shadow: none;
|
1726
|
+
}
|
1702
1727
|
|
1703
1728
|
|
1704
1729
|
color: @tyf;
|
1705
|
-
|
1730
|
+
}
|
1706
1731
|
|
1707
|
-
|
1708
|
-
|
1709
|
-
|
1710
|
-
|
1711
|
-
|
1712
|
-
|
1732
|
+
.ui.tertiary.@{color}.buttons .active.button,
|
1733
|
+
.ui.tertiary.@{color}.buttons .tertiary.active.button,
|
1734
|
+
.ui.tertiary.@{color}.active.button,
|
1735
|
+
.ui.tertiary.@{color}.buttons .button:active,
|
1736
|
+
.ui.tertiary.@{color}.buttons .tertiary.button:active,
|
1737
|
+
.ui.tertiary.@{color}.button:active {
|
1713
1738
|
|
1714
1739
|
|
1715
1740
|
|
1716
|
-
|
1717
|
-
|
1718
|
-
|
1741
|
+
& when (@tertiaryActiveWithUnderline = true) {
|
1742
|
+
box-shadow: inset 0 -@tertiaryLineHeight 0 @tya;
|
1743
|
+
}
|
1719
1744
|
|
1720
|
-
|
1721
|
-
|
1722
|
-
|
1745
|
+
& when (@tertiaryActiveWithOverline = true) {
|
1746
|
+
box-shadow: inset 0 @tertiaryLineHeight 0 @tya;
|
1747
|
+
}
|
1723
1748
|
|
1724
|
-
|
1725
|
-
|
1726
|
-
|
1749
|
+
& when (@tertiaryActiveWithUnderline = false) and (@tertiaryActiveWithOverline = false) {
|
1750
|
+
box-shadow: none;
|
1751
|
+
}
|
1727
1752
|
|
1728
|
-
|
1753
|
+
color: @a;
|
1754
|
+
}
|
1729
1755
|
}
|
1730
|
-
}
|
1731
|
-
}
|
1756
|
+
})
|
1757
|
+
}
|
1732
1758
|
|
1733
1759
|
.addConsequence(@consequence) {
|
1734
1760
|
|
@@ -1844,7 +1870,7 @@ each(@colors, {
|
|
1844
1870
|
}
|
1845
1871
|
|
1846
1872
|
/* Clearfix */
|
1847
|
-
.ui.buttons
|
1873
|
+
.ui.buttons::after {
|
1848
1874
|
content: ".";
|
1849
1875
|
display: block;
|
1850
1876
|
height: 0;
|
@@ -1874,35 +1900,151 @@ each(@colors, {
|
|
1874
1900
|
border-top-right-radius: @borderRadius;
|
1875
1901
|
border-bottom-right-radius: @borderRadius;
|
1876
1902
|
}
|
1903
|
+
& when (@variationButtonVertical) {
|
1904
|
+
/* Vertical Style */
|
1905
|
+
.ui.vertical.buttons {
|
1906
|
+
display: inline-flex;
|
1907
|
+
flex-direction: column;
|
1908
|
+
}
|
1877
1909
|
|
1878
|
-
|
1879
|
-
|
1880
|
-
|
1881
|
-
|
1882
|
-
|
1910
|
+
.ui.vertical.buttons .button {
|
1911
|
+
display: block;
|
1912
|
+
float: none;
|
1913
|
+
width: 100%;
|
1914
|
+
margin: @verticalGroupOffset;
|
1915
|
+
border-radius: 0;
|
1916
|
+
&:not(.basic) {
|
1917
|
+
box-shadow: @verticalBoxShadow;
|
1918
|
+
}
|
1919
|
+
}
|
1883
1920
|
|
1884
|
-
|
1885
|
-
|
1886
|
-
|
1887
|
-
|
1888
|
-
margin: @verticalGroupOffset;
|
1889
|
-
box-shadow: @verticalBoxShadow;
|
1890
|
-
border-radius: 0;
|
1891
|
-
}
|
1921
|
+
.ui.vertical.buttons .button:first-child {
|
1922
|
+
border-top-left-radius: @borderRadius;
|
1923
|
+
border-top-right-radius: @borderRadius;
|
1924
|
+
}
|
1892
1925
|
|
1893
|
-
|
1894
|
-
|
1895
|
-
|
1926
|
+
.ui.vertical.buttons .button:last-child {
|
1927
|
+
margin-bottom: 0;
|
1928
|
+
border-bottom-left-radius: @borderRadius;
|
1929
|
+
border-bottom-right-radius: @borderRadius;
|
1930
|
+
}
|
1931
|
+
|
1932
|
+
.ui.vertical.buttons .button:only-child {
|
1933
|
+
border-radius: @borderRadius;
|
1934
|
+
}
|
1935
|
+
& when (@variationButtonBasic) {
|
1936
|
+
.ui.vertical.buttons .basic.button:not(:first-child) {
|
1937
|
+
border-top: none;
|
1938
|
+
}
|
1939
|
+
}
|
1896
1940
|
}
|
1897
1941
|
|
1898
|
-
|
1899
|
-
|
1900
|
-
|
1901
|
-
|
1942
|
+
& when (@variationButtonWrapping) {
|
1943
|
+
.ui.wrapping.buttons {
|
1944
|
+
flex-wrap: wrap;
|
1945
|
+
}
|
1946
|
+
& when (@variationButtonBasic) {
|
1947
|
+
.ui.wrapping.basic.buttons {
|
1948
|
+
border-bottom: none;
|
1949
|
+
& .button {
|
1950
|
+
border-bottom: @basicGroupBorder;
|
1951
|
+
&:hover {
|
1952
|
+
background: transparent !important;
|
1953
|
+
}
|
1954
|
+
}
|
1955
|
+
}
|
1956
|
+
}
|
1957
|
+
& when (@variationButtonCompact) {
|
1958
|
+
.ui.compact.wrapping.buttons .button {
|
1959
|
+
flex: none;
|
1960
|
+
}
|
1961
|
+
}
|
1962
|
+
}
|
1963
|
+
& when (@variationButtonWrapped) {
|
1964
|
+
.ui.wrapped.buttons:not(.spaced) {
|
1965
|
+
border-top-right-radius: 0;
|
1966
|
+
& .button {
|
1967
|
+
&:first-child {
|
1968
|
+
border-radius: @basicBorderRadius 0 0 0;
|
1969
|
+
}
|
1970
|
+
&:last-child {
|
1971
|
+
border-radius: 0 0 @basicBorderRadius 0;
|
1972
|
+
}
|
1973
|
+
}
|
1974
|
+
}
|
1975
|
+
& when (@variationButtonAttached) {
|
1976
|
+
.ui.wrapped[class*="top attached"].buttons {
|
1977
|
+
border-radius: @basicBorderRadius 0 0 0;
|
1978
|
+
& .button:last-child {
|
1979
|
+
border-radius: 0;
|
1980
|
+
}
|
1981
|
+
}
|
1982
|
+
.ui.wrapped[class*="bottom attached"].buttons {
|
1983
|
+
border-radius: 0 0 0 @basicBorderRadius;
|
1984
|
+
& .button:first-child {
|
1985
|
+
border-radius: 0;
|
1986
|
+
}
|
1987
|
+
}
|
1988
|
+
}
|
1989
|
+
}
|
1990
|
+
& when (@variationButtonSpaced) {
|
1991
|
+
.ui.spaced.buttons .ui.button {
|
1992
|
+
margin-bottom: @spacedMargin;
|
1993
|
+
margin-right: @spacedMargin;
|
1994
|
+
border-radius: @basicBorderRadius;
|
1995
|
+
}
|
1996
|
+
& when (@variationButtonBasic) {
|
1997
|
+
.ui.spaced.basic.buttons {
|
1998
|
+
border: none;
|
1999
|
+
& .button {
|
2000
|
+
border: @basicGroupBorder;
|
2001
|
+
&.basic {
|
2002
|
+
border: none;
|
2003
|
+
}
|
2004
|
+
}
|
2005
|
+
}
|
2006
|
+
& when (@variationButtonVertical) {
|
2007
|
+
.ui.spaced.basic.vertical.buttons .button:first-child {
|
2008
|
+
border-top: @basicGroupBorder;
|
2009
|
+
}
|
2010
|
+
}
|
2011
|
+
& when (@variationButtonWrapping) {
|
2012
|
+
.ui.spaced.basic.wrapping.buttons .button:not(.basic) {
|
2013
|
+
border-top: @basicGroupBorder;
|
2014
|
+
border-right: @basicGroupBorder;
|
2015
|
+
&:first-child {
|
2016
|
+
border-left: @basicGroupBorder;
|
2017
|
+
}
|
2018
|
+
}
|
2019
|
+
}
|
2020
|
+
& when (@variationButtonInverted) {
|
2021
|
+
.ui.spaced.basic.inverted.buttons .basic.button {
|
2022
|
+
margin-bottom: e(%("calc(%d + %d)", @spacedMargin, @basicColoredBorderSize));
|
2023
|
+
margin-top: @basicColoredBorderSize;
|
2024
|
+
}
|
2025
|
+
}
|
2026
|
+
}
|
1902
2027
|
}
|
1903
2028
|
|
1904
|
-
|
1905
|
-
|
2029
|
+
& when (@variationButtonBasic) {
|
2030
|
+
.ui.basic.buttons:not(.vertical).inverted .button,
|
2031
|
+
.ui.basic.buttons:not(.vertical) .basic.button {
|
2032
|
+
margin-left: -@basicColoredBorderSize;
|
2033
|
+
border-right: none;
|
2034
|
+
}
|
2035
|
+
.ui.basic.buttons:not(.vertical):not(.spaced):not(.inverted) .basic.button {
|
2036
|
+
margin-top: -@basicColoredBorderSize;
|
2037
|
+
border-bottom: none;
|
2038
|
+
}
|
2039
|
+
& when (@variationButtonAttached) or (@variationButtonInverted) {
|
2040
|
+
.ui.inverted.basic.buttons:not(.spaced) .button,
|
2041
|
+
.ui.attached.basic.buttons:not(.wrapping):not(.inverted) .basic.button {
|
2042
|
+
margin-bottom: @attachedOffset;
|
2043
|
+
}
|
2044
|
+
}
|
2045
|
+
.ui.basic.buttons:not(.vertical):not(.attached):not(.spaced):not(.wrapping):not(.inverted) .basic.button {
|
2046
|
+
margin-bottom: -@basicColoredBorderSize;
|
2047
|
+
}
|
1906
2048
|
}
|
1907
2049
|
}
|
1908
2050
|
.loadUIOverrides();
|