fomantic-ui 2.9.0-beta.29 → 2.9.0-beta.292
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 +242 -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/CONTRIBUTORS.md +81 -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 +89 -30
- package/dist/components/api.min.js +3 -3
- package/dist/components/breadcrumb.css +1 -1
- package/dist/components/breadcrumb.min.css +1 -1
- package/dist/components/button.css +204 -157
- package/dist/components/button.min.css +2 -2
- package/dist/components/calendar.css +18 -1
- package/dist/components/calendar.js +85 -68
- 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 +134 -110
- 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 +108 -76
- 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 +14 -2
- 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 +100 -104
- 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 +4 -1
- package/dist/components/progress.min.css +1 -1
- package/dist/components/progress.min.js +3 -3
- package/dist/components/rail.css +1 -1
- package/dist/components/rail.min.css +1 -1
- package/dist/components/rating.css +1 -1
- package/dist/components/rating.js +1 -1
- package/dist/components/rating.min.css +1 -1
- package/dist/components/rating.min.js +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 +2 -2
- 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 +31 -31
- package/dist/components/step.min.css +2 -2
- package/dist/components/sticky.css +1 -1
- package/dist/components/sticky.js +4 -4
- 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 +42 -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 +21 -16
- package/dist/components/transition.min.css +1 -1
- package/dist/components/transition.min.js +3 -3
- package/dist/components/visibility.js +2 -2
- package/dist/components/visibility.min.js +3 -3
- package/dist/semantic.css +20165 -13374
- package/dist/semantic.js +734 -455
- 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 +8 -8
- package/examples/assets/library/iframe.js +3 -3
- 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 +88 -29
- package/src/definitions/behaviors/form.js +38 -29
- package/src/definitions/behaviors/state.js +1 -1
- package/src/definitions/behaviors/visibility.js +1 -1
- package/src/definitions/collections/form.less +229 -165
- package/src/definitions/collections/grid.less +723 -687
- package/src/definitions/collections/menu.less +232 -170
- 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 +84 -67
- 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 +133 -109
- 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 +12 -0
- 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 +86 -90
- package/src/definitions/modules/progress.js +3 -0
- package/src/definitions/modules/progress.less +19 -18
- package/src/definitions/modules/rating.less +35 -34
- package/src/definitions/modules/search.js +1 -1
- package/src/definitions/modules/search.less +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 +3 -3
- 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 +51 -16
- package/src/definitions/modules/transition.js +20 -15
- 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 +3 -3
- package/src/themes/default/globals/site.variables +109 -8
- package/src/themes/default/globals/variation.variables +140 -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 +13 -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/distributions/create.js +1 -1
- 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
@@ -66,10 +66,12 @@
|
|
66
66
|
.ui.form .field > label {
|
67
67
|
display: block;
|
68
68
|
margin: @labelMargin;
|
69
|
-
color: @labelColor;
|
70
69
|
font-size: @labelFontSize;
|
71
70
|
font-weight: @labelFontWeight;
|
72
71
|
text-transform: @labelTextTransform;
|
72
|
+
&:not(.button) {
|
73
|
+
color: @labelColor;
|
74
|
+
}
|
73
75
|
}
|
74
76
|
|
75
77
|
/*--------------------
|
@@ -79,9 +81,11 @@
|
|
79
81
|
|
80
82
|
.ui.form textarea,
|
81
83
|
.ui.form input:not([type]),
|
84
|
+
.ui.form input[type="color"],
|
82
85
|
.ui.form input[type="date"],
|
83
86
|
.ui.form input[type="datetime-local"],
|
84
87
|
.ui.form input[type="email"],
|
88
|
+
.ui.form input[type="month"],
|
85
89
|
.ui.form input[type="number"],
|
86
90
|
.ui.form input[type="password"],
|
87
91
|
.ui.form input[type="search"],
|
@@ -89,7 +93,8 @@
|
|
89
93
|
.ui.form input[type="time"],
|
90
94
|
.ui.form input[type="text"],
|
91
95
|
.ui.form input[type="file"],
|
92
|
-
.ui.form input[type="url"]
|
96
|
+
.ui.form input[type="url"],
|
97
|
+
.ui.form input[type="week"] {
|
93
98
|
width: @inputWidth;
|
94
99
|
vertical-align: top;
|
95
100
|
}
|
@@ -101,9 +106,11 @@
|
|
101
106
|
}
|
102
107
|
|
103
108
|
.ui.form input:not([type]),
|
109
|
+
.ui.form input[type="color"],
|
104
110
|
.ui.form input[type="date"],
|
105
111
|
.ui.form input[type="datetime-local"],
|
106
112
|
.ui.form input[type="email"],
|
113
|
+
.ui.form input[type="month"],
|
107
114
|
.ui.form input[type="number"],
|
108
115
|
.ui.form input[type="password"],
|
109
116
|
.ui.form input[type="search"],
|
@@ -111,7 +118,8 @@
|
|
111
118
|
.ui.form input[type="time"],
|
112
119
|
.ui.form input[type="text"],
|
113
120
|
.ui.form input[type="file"],
|
114
|
-
.ui.form input[type="url"]
|
121
|
+
.ui.form input[type="url"],
|
122
|
+
.ui.form input[type="week"] {
|
115
123
|
font-family: @inputFont;
|
116
124
|
margin: 0;
|
117
125
|
outline: none;
|
@@ -129,6 +137,16 @@
|
|
129
137
|
box-shadow: @inputBoxShadow;
|
130
138
|
transition: @inputTransition;
|
131
139
|
}
|
140
|
+
.ui.form input[type="color"] {
|
141
|
+
padding: initial;
|
142
|
+
}
|
143
|
+
|
144
|
+
.ui.form input::-webkit-calendar-picker-indicator {
|
145
|
+
padding: 0;
|
146
|
+
opacity: @iconOpacity;
|
147
|
+
transition: @iconTransition;
|
148
|
+
cursor: pointer;
|
149
|
+
}
|
132
150
|
|
133
151
|
/* Text Area */
|
134
152
|
.ui.input textarea,
|
@@ -236,7 +254,7 @@
|
|
236
254
|
---------------------*/
|
237
255
|
|
238
256
|
/* Block */
|
239
|
-
.ui.form .field > .selection.dropdown {
|
257
|
+
.ui.form .field > .selection.dropdown:not(.compact) {
|
240
258
|
min-width: auto;
|
241
259
|
width: 100%;
|
242
260
|
}
|
@@ -282,28 +300,30 @@
|
|
282
300
|
width: auto;
|
283
301
|
}
|
284
302
|
|
285
|
-
|
286
|
-
|
287
|
-
.ui.form .
|
288
|
-
.ui.form .
|
289
|
-
.ui.form .
|
290
|
-
.ui.form .
|
291
|
-
.ui.form .
|
292
|
-
.ui.form .
|
293
|
-
.ui.form .
|
294
|
-
.ui.form .
|
295
|
-
.ui.form .
|
296
|
-
|
297
|
-
|
303
|
+
& when (@variationFormEqualWidth) or (@variationFormWide) {
|
304
|
+
/* Full Width Input */
|
305
|
+
.ui.form .ten.fields .ui.input input,
|
306
|
+
.ui.form .nine.fields .ui.input input,
|
307
|
+
.ui.form .eight.fields .ui.input input,
|
308
|
+
.ui.form .seven.fields .ui.input input,
|
309
|
+
.ui.form .six.fields .ui.input input,
|
310
|
+
.ui.form .five.fields .ui.input input,
|
311
|
+
.ui.form .four.fields .ui.input input,
|
312
|
+
.ui.form .three.fields .ui.input input,
|
313
|
+
.ui.form .two.fields .ui.input input,
|
314
|
+
.ui.form .wide.field .ui.input input {
|
315
|
+
flex: 1 0 auto;
|
316
|
+
width: 0;
|
317
|
+
}
|
298
318
|
}
|
299
319
|
|
300
320
|
|
301
321
|
/*--------------------
|
302
322
|
Types of Messages
|
303
323
|
---------------------*/
|
304
|
-
& when (@variationFormStates) {
|
305
|
-
each(@
|
306
|
-
@state:
|
324
|
+
& when not (@variationFormStates = false) {
|
325
|
+
each(@variationFormStates, {
|
326
|
+
@state: @value;
|
307
327
|
.ui.form .@{state}.message,
|
308
328
|
.ui.form .@{state}.message:empty {
|
309
329
|
display: none;
|
@@ -325,6 +345,9 @@
|
|
325
345
|
background: @promptBackground !important;
|
326
346
|
border: @promptBorder !important;
|
327
347
|
color: @promptTextColor !important;
|
348
|
+
& li::before {
|
349
|
+
color: @promptTextColor;
|
350
|
+
}
|
328
351
|
}
|
329
352
|
& when (@variationFormInline) {
|
330
353
|
.ui.form .inline.fields .field .prompt,
|
@@ -332,8 +355,8 @@
|
|
332
355
|
vertical-align: top;
|
333
356
|
margin: @inlinePromptMargin;
|
334
357
|
}
|
335
|
-
.ui.form .inline.fields .field .prompt
|
336
|
-
.ui.form .inline.field .prompt
|
358
|
+
.ui.form .inline.fields .field .prompt::before,
|
359
|
+
.ui.form .inline.field .prompt::before {
|
337
360
|
border-width: 0 0 @inlinePromptBorderWidth @inlinePromptBorderWidth;
|
338
361
|
bottom: auto;
|
339
362
|
right: auto;
|
@@ -372,7 +395,7 @@
|
|
372
395
|
.ui.form ::-webkit-input-placeholder {
|
373
396
|
color: @inputPlaceholderColor;
|
374
397
|
}
|
375
|
-
.ui.form :-ms-input-placeholder {
|
398
|
+
.ui.form :-ms-input-placeholder when (@supportIE) {
|
376
399
|
color: @inputPlaceholderColor !important;
|
377
400
|
}
|
378
401
|
.ui.form ::-moz-placeholder {
|
@@ -383,7 +406,7 @@
|
|
383
406
|
.ui.form :focus::-webkit-input-placeholder {
|
384
407
|
color: @inputPlaceholderFocusColor;
|
385
408
|
}
|
386
|
-
.ui.form :focus:-ms-input-placeholder {
|
409
|
+
.ui.form :focus:-ms-input-placeholder when (@supportIE) {
|
387
410
|
color: @inputPlaceholderFocusColor !important;
|
388
411
|
}
|
389
412
|
.ui.form :focus::-moz-placeholder {
|
@@ -397,9 +420,11 @@
|
|
397
420
|
---------------------*/
|
398
421
|
|
399
422
|
.ui.form input:not([type]):focus,
|
423
|
+
.ui.form input[type="color"]:focus,
|
400
424
|
.ui.form input[type="date"]:focus,
|
401
425
|
.ui.form input[type="datetime-local"]:focus,
|
402
426
|
.ui.form input[type="email"]:focus,
|
427
|
+
.ui.form input[type="month"]:focus,
|
403
428
|
.ui.form input[type="number"]:focus,
|
404
429
|
.ui.form input[type="password"]:focus,
|
405
430
|
.ui.form input[type="search"]:focus,
|
@@ -407,7 +432,8 @@
|
|
407
432
|
.ui.form input[type="time"]:focus,
|
408
433
|
.ui.form input[type="text"]:focus,
|
409
434
|
.ui.form input[type="file"]:focus,
|
410
|
-
.ui.form input[type="url"]:focus
|
435
|
+
.ui.form input[type="url"]:focus,
|
436
|
+
.ui.form input[type="week"]:focus {
|
411
437
|
color: @inputFocusColor;
|
412
438
|
border-color: @inputFocusBorderColor;
|
413
439
|
border-radius: @inputFocusBorderRadius;
|
@@ -417,9 +443,11 @@
|
|
417
443
|
& when (@variationInputAction) {
|
418
444
|
.ui.form .ui.action.input:not([class*="left action"]) {
|
419
445
|
& input:not([type]):focus,
|
446
|
+
input[type="color"]:focus,
|
420
447
|
input[type="date"]:focus,
|
421
448
|
input[type="datetime-local"]:focus,
|
422
449
|
input[type="email"]:focus,
|
450
|
+
input[type="month"]:focus,
|
423
451
|
input[type="number"]:focus,
|
424
452
|
input[type="password"]:focus,
|
425
453
|
input[type="search"]:focus,
|
@@ -427,7 +455,8 @@
|
|
427
455
|
input[type="time"]:focus,
|
428
456
|
input[type="text"]:focus,
|
429
457
|
input[type="file"]:focus,
|
430
|
-
input[type="url"]:focus
|
458
|
+
input[type="url"]:focus,
|
459
|
+
input[type="week"]:focus {
|
431
460
|
border-top-right-radius: 0;
|
432
461
|
border-bottom-right-radius: 0;
|
433
462
|
}
|
@@ -435,9 +464,11 @@
|
|
435
464
|
|
436
465
|
.ui.form .ui[class*="left action"].input {
|
437
466
|
& input:not([type]),
|
467
|
+
input[type="color"],
|
438
468
|
input[type="date"],
|
439
469
|
input[type="datetime-local"],
|
440
470
|
input[type="email"],
|
471
|
+
input[type="month"],
|
441
472
|
input[type="number"],
|
442
473
|
input[type="password"],
|
443
474
|
input[type="search"],
|
@@ -445,7 +476,8 @@
|
|
445
476
|
input[type="time"],
|
446
477
|
input[type="text"],
|
447
478
|
input[type="file"],
|
448
|
-
input[type="url"]
|
479
|
+
input[type="url"],
|
480
|
+
input[type="week"] {
|
449
481
|
border-bottom-left-radius: 0;
|
450
482
|
border-top-left-radius: 0;
|
451
483
|
}
|
@@ -459,13 +491,17 @@
|
|
459
491
|
box-shadow: @textAreaFocusBoxShadow;
|
460
492
|
-webkit-appearance: none;
|
461
493
|
}
|
494
|
+
/* Focus */
|
495
|
+
.ui.form input:focus::-webkit-calendar-picker-indicator {
|
496
|
+
opacity: @iconFocusOpacity;
|
497
|
+
}
|
462
498
|
|
463
|
-
& when (@variationFormStates) {
|
499
|
+
& when not (@variationFormStates = false) {
|
464
500
|
/*--------------------
|
465
501
|
States
|
466
502
|
---------------------*/
|
467
|
-
each(@
|
468
|
-
@state:
|
503
|
+
each(@variationFormStates, {
|
504
|
+
@state: @value;
|
469
505
|
@c: @formStates[@@state][color];
|
470
506
|
@bg: @formStates[@@state][background];
|
471
507
|
@bdc: @formStates[@@state][borderColor];
|
@@ -505,7 +541,7 @@
|
|
505
541
|
color: @c;
|
506
542
|
}
|
507
543
|
|
508
|
-
.ui.form .fields.@{state} .field .ui.label,
|
544
|
+
.ui.form .fields.@{state} .field .ui.label,
|
509
545
|
.ui.form .field.@{state} .ui.label {
|
510
546
|
background-color: @lbg;
|
511
547
|
}
|
@@ -519,9 +555,11 @@
|
|
519
555
|
.ui.form .fields.@{state} .field textarea,
|
520
556
|
.ui.form .fields.@{state} .field select,
|
521
557
|
.ui.form .fields.@{state} .field input:not([type]),
|
558
|
+
.ui.form .fields.@{state} .field input[type="color"],
|
522
559
|
.ui.form .fields.@{state} .field input[type="date"],
|
523
560
|
.ui.form .fields.@{state} .field input[type="datetime-local"],
|
524
561
|
.ui.form .fields.@{state} .field input[type="email"],
|
562
|
+
.ui.form .fields.@{state} .field input[type="month"],
|
525
563
|
.ui.form .fields.@{state} .field input[type="number"],
|
526
564
|
.ui.form .fields.@{state} .field input[type="password"],
|
527
565
|
.ui.form .fields.@{state} .field input[type="search"],
|
@@ -530,12 +568,15 @@
|
|
530
568
|
.ui.form .fields.@{state} .field input[type="text"],
|
531
569
|
.ui.form .fields.@{state} .field input[type="file"],
|
532
570
|
.ui.form .fields.@{state} .field input[type="url"],
|
571
|
+
.ui.form .fields.@{state} .field input[type="week"],
|
533
572
|
.ui.form .field.@{state} textarea,
|
534
573
|
.ui.form .field.@{state} select,
|
535
574
|
.ui.form .field.@{state} input:not([type]),
|
575
|
+
.ui.form .field.@{state} input[type="color"],
|
536
576
|
.ui.form .field.@{state} input[type="date"],
|
537
577
|
.ui.form .field.@{state} input[type="datetime-local"],
|
538
578
|
.ui.form .field.@{state} input[type="email"],
|
579
|
+
.ui.form .field.@{state} input[type="month"],
|
539
580
|
.ui.form .field.@{state} input[type="number"],
|
540
581
|
.ui.form .field.@{state} input[type="password"],
|
541
582
|
.ui.form .field.@{state} input[type="search"],
|
@@ -543,20 +584,39 @@
|
|
543
584
|
.ui.form .field.@{state} input[type="time"],
|
544
585
|
.ui.form .field.@{state} input[type="text"],
|
545
586
|
.ui.form .field.@{state} input[type="file"],
|
546
|
-
.ui.form .field.@{state} input[type="url"]
|
587
|
+
.ui.form .field.@{state} input[type="url"],
|
588
|
+
.ui.form .field.@{state} input[type="week"] {
|
547
589
|
color: @c;
|
548
590
|
background: @bg;
|
549
591
|
border-color: @formStates[@@state][borderColor];
|
550
592
|
border-radius: @formStates[@@state][borderRadius];
|
551
593
|
box-shadow: @formStates[@@state][boxShadow];
|
552
594
|
}
|
595
|
+
& when (@state=error) {
|
596
|
+
.ui.form .field input:not(:placeholder-shown):invalid {
|
597
|
+
color: @c;
|
598
|
+
background: @bg;
|
599
|
+
border-color: @formStates[@@state][borderColor];
|
600
|
+
border-radius: @formStates[@@state][borderRadius];
|
601
|
+
box-shadow: @formStates[@@state][boxShadow];
|
602
|
+
}
|
603
|
+
.ui.form .field input:not(:-ms-input-placeholder):invalid when (@supportIE) {
|
604
|
+
color: @c;
|
605
|
+
background: @bg;
|
606
|
+
border-color: @formStates[@@state][borderColor];
|
607
|
+
border-radius: @formStates[@@state][borderRadius];
|
608
|
+
box-shadow: @formStates[@@state][boxShadow];
|
609
|
+
}
|
610
|
+
}
|
553
611
|
|
554
612
|
.ui.form .field.@{state} textarea:focus,
|
555
613
|
.ui.form .field.@{state} select:focus,
|
556
614
|
.ui.form .field.@{state} input:not([type]):focus,
|
615
|
+
.ui.form .field.@{state} input[type="color"]:focus,
|
557
616
|
.ui.form .field.@{state} input[type="date"]:focus,
|
558
617
|
.ui.form .field.@{state} input[type="datetime-local"]:focus,
|
559
618
|
.ui.form .field.@{state} input[type="email"]:focus,
|
619
|
+
.ui.form .field.@{state} input[type="month"]:focus,
|
560
620
|
.ui.form .field.@{state} input[type="number"]:focus,
|
561
621
|
.ui.form .field.@{state} input[type="password"]:focus,
|
562
622
|
.ui.form .field.@{state} input[type="search"]:focus,
|
@@ -564,7 +624,8 @@
|
|
564
624
|
.ui.form .field.@{state} input[type="time"]:focus,
|
565
625
|
.ui.form .field.@{state} input[type="text"]:focus,
|
566
626
|
.ui.form .field.@{state} input[type="file"]:focus,
|
567
|
-
.ui.form .field.@{state} input[type="url"]:focus
|
627
|
+
.ui.form .field.@{state} input[type="url"]:focus,
|
628
|
+
.ui.form .field.@{state} input[type="week"]:focus {
|
568
629
|
background: @formStates[@@state][inputFocusBackground];
|
569
630
|
border-color: @formStates[@@state][inputFocusBorderColor];
|
570
631
|
color: @formStates[@@state][inputFocusColor];
|
@@ -580,13 +641,15 @@
|
|
580
641
|
/*------------------
|
581
642
|
Input State
|
582
643
|
--------------------*/
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
|
644
|
+
& when (@variationFormTransparent) {
|
645
|
+
/* Transparent */
|
646
|
+
.ui.form .field.@{state} .transparent.input input,
|
647
|
+
.ui.form .field.@{state} .transparent.input textarea,
|
648
|
+
.ui.form .field.@{state} input.transparent,
|
649
|
+
.ui.form .field.@{state} textarea.transparent {
|
650
|
+
background-color: @formStates[@@state][transparentBackground] !important;
|
651
|
+
color: @formStates[@@state][transparentColor] !important;
|
652
|
+
}
|
590
653
|
}
|
591
654
|
|
592
655
|
/* Autofilled */
|
@@ -599,7 +662,7 @@
|
|
599
662
|
.ui.form .@{state} ::-webkit-input-placeholder {
|
600
663
|
color: @formStates[@@state][inputPlaceholderColor];
|
601
664
|
}
|
602
|
-
.ui.form .@{state} :-ms-input-placeholder {
|
665
|
+
.ui.form .@{state} :-ms-input-placeholder when (@supportIE) {
|
603
666
|
color: @formStates[@@state][inputPlaceholderColor] !important;
|
604
667
|
}
|
605
668
|
.ui.form .@{state} ::-moz-placeholder {
|
@@ -609,7 +672,7 @@
|
|
609
672
|
.ui.form .@{state} :focus::-webkit-input-placeholder {
|
610
673
|
color: @formStates[@@state][inputPlaceholderFocusColor];
|
611
674
|
}
|
612
|
-
.ui.form .@{state} :focus:-ms-input-placeholder {
|
675
|
+
.ui.form .@{state} :focus:-ms-input-placeholder when (@supportIE) {
|
613
676
|
color: @formStates[@@state][inputPlaceholderFocusColor] !important;
|
614
677
|
}
|
615
678
|
.ui.form .@{state} :focus::-moz-placeholder {
|
@@ -668,22 +731,16 @@
|
|
668
731
|
Checkbox State
|
669
732
|
---------------------*/
|
670
733
|
.ui.form .fields.@{state} .field .checkbox:not(.toggle):not(.slider) label,
|
671
|
-
.ui.form .field.@{state} .checkbox:not(.toggle):not(.slider) label
|
672
|
-
.ui.form .fields.@{state} .field .checkbox:not(.toggle):not(.slider) .box,
|
673
|
-
.ui.form .field.@{state} .checkbox:not(.toggle):not(.slider) .box {
|
734
|
+
.ui.form .field.@{state} .checkbox:not(.toggle):not(.slider) label {
|
674
735
|
color: @c;
|
675
736
|
}
|
676
|
-
.ui.form .fields.@{state} .field .checkbox:not(.toggle):not(.slider) label
|
677
|
-
.ui.form .field.@{state} .checkbox:not(.toggle):not(.slider) label
|
678
|
-
.ui.form .fields.@{state} .field .checkbox:not(.toggle):not(.slider) .box:before,
|
679
|
-
.ui.form .field.@{state} .checkbox:not(.toggle):not(.slider) .box:before {
|
737
|
+
.ui.form .fields.@{state} .field .checkbox:not(.toggle):not(.slider) label::before,
|
738
|
+
.ui.form .field.@{state} .checkbox:not(.toggle):not(.slider) label::before {
|
680
739
|
background: @bg;
|
681
740
|
border-color: @bdc;
|
682
741
|
}
|
683
|
-
.ui.form .fields.@{state} .field .checkbox label
|
684
|
-
.ui.form .field.@{state} .checkbox label
|
685
|
-
.ui.form .fields.@{state} .field .checkbox .box:after,
|
686
|
-
.ui.form .field.@{state} .checkbox .box:after {
|
742
|
+
.ui.form .fields.@{state} .field .checkbox label::after,
|
743
|
+
.ui.form .field.@{state} .checkbox label::after {
|
687
744
|
color: @c;
|
688
745
|
}
|
689
746
|
|
@@ -726,7 +783,7 @@
|
|
726
783
|
cursor: default;
|
727
784
|
pointer-events: none;
|
728
785
|
}
|
729
|
-
.ui.loading.form
|
786
|
+
.ui.loading.form::before {
|
730
787
|
position: absolute;
|
731
788
|
content: '';
|
732
789
|
top: 0;
|
@@ -737,11 +794,11 @@
|
|
737
794
|
z-index: @loaderDimmerZIndex;
|
738
795
|
}
|
739
796
|
|
740
|
-
.ui.loading.form.segments
|
797
|
+
.ui.loading.form.segments::before {
|
741
798
|
border-radius: @defaultBorderRadius;
|
742
799
|
}
|
743
800
|
|
744
|
-
.ui.loading.form
|
801
|
+
.ui.loading.form::after {
|
745
802
|
position: absolute;
|
746
803
|
content: '';
|
747
804
|
top: 50%;
|
@@ -770,27 +827,27 @@
|
|
770
827
|
Required Field
|
771
828
|
---------------------*/
|
772
829
|
|
773
|
-
.ui.form .required.fields:not(.grouped) > .field > label
|
774
|
-
.ui.form .required.fields.grouped > label
|
775
|
-
.ui.form .required.field > label
|
776
|
-
.ui.form .required.fields:not(.grouped) > .field > .checkbox
|
777
|
-
.ui.form .required.field > .checkbox
|
778
|
-
.ui.form label.required
|
830
|
+
.ui.form .required.fields:not(.grouped) > .field > label::after,
|
831
|
+
.ui.form .required.fields.grouped > label::after,
|
832
|
+
.ui.form .required.field > label::after,
|
833
|
+
.ui.form .required.fields:not(.grouped) > .field > .checkbox::after,
|
834
|
+
.ui.form .required.field > .checkbox::after,
|
835
|
+
.ui.form label.required::after {
|
779
836
|
margin: @requiredMargin;
|
780
837
|
content: @requiredContent;
|
781
838
|
color: @requiredColor;
|
782
839
|
}
|
783
840
|
|
784
|
-
.ui.form .required.fields:not(.grouped) > .field > label
|
785
|
-
.ui.form .required.fields.grouped > label
|
786
|
-
.ui.form .required.field > label
|
787
|
-
.ui.form label.required
|
841
|
+
.ui.form .required.fields:not(.grouped) > .field > label::after,
|
842
|
+
.ui.form .required.fields.grouped > label::after,
|
843
|
+
.ui.form .required.field > label::after,
|
844
|
+
.ui.form label.required::after {
|
788
845
|
display: inline-block;
|
789
846
|
vertical-align: top;
|
790
847
|
}
|
791
848
|
|
792
|
-
.ui.form .required.fields:not(.grouped) > .field > .checkbox
|
793
|
-
.ui.form .required.field > .checkbox
|
849
|
+
.ui.form .required.fields:not(.grouped) > .field > .checkbox::after,
|
850
|
+
.ui.form .required.field > .checkbox::after {
|
794
851
|
position: absolute;
|
795
852
|
top: 0;
|
796
853
|
left: 100%;
|
@@ -810,9 +867,7 @@
|
|
810
867
|
.ui.inverted.form label,
|
811
868
|
.ui.form .inverted.segment label,
|
812
869
|
.ui.form .inverted.segment .ui.checkbox label,
|
813
|
-
.ui.form .inverted.segment .ui.checkbox .box,
|
814
870
|
.ui.inverted.form .ui.checkbox label,
|
815
|
-
.ui.inverted.form .ui.checkbox .box,
|
816
871
|
.ui.inverted.form .inline.fields > label,
|
817
872
|
.ui.inverted.form .inline.fields .field > label,
|
818
873
|
.ui.inverted.form .inline.fields .field > p,
|
@@ -823,14 +878,16 @@
|
|
823
878
|
.ui.inverted.loading.form {
|
824
879
|
color: @invertedLoaderLineColor;
|
825
880
|
}
|
826
|
-
.ui.inverted.loading.form
|
881
|
+
.ui.inverted.loading.form::before {
|
827
882
|
background: @loaderInvertedDimmerColor;
|
828
883
|
}
|
829
884
|
/* Inverted Field */
|
830
885
|
.ui.inverted.form input:not([type]),
|
886
|
+
.ui.inverted.form input[type="color"],
|
831
887
|
.ui.inverted.form input[type="date"],
|
832
888
|
.ui.inverted.form input[type="datetime-local"],
|
833
889
|
.ui.inverted.form input[type="email"],
|
890
|
+
.ui.inverted.form input[type="month"],
|
834
891
|
.ui.inverted.form input[type="number"],
|
835
892
|
.ui.inverted.form input[type="password"],
|
836
893
|
.ui.inverted.form input[type="search"],
|
@@ -838,7 +895,8 @@
|
|
838
895
|
.ui.inverted.form input[type="time"],
|
839
896
|
.ui.inverted.form input[type="text"],
|
840
897
|
.ui.inverted.form input[type="file"],
|
841
|
-
.ui.inverted.form input[type="url"]
|
898
|
+
.ui.inverted.form input[type="url"],
|
899
|
+
.ui.inverted.form input[type="week"] {
|
842
900
|
background: @invertedInputBackground;
|
843
901
|
border-color: @invertedInputBorderColor;
|
844
902
|
color: @invertedInputColor;
|
@@ -901,42 +959,44 @@
|
|
901
959
|
box-shadow: none;
|
902
960
|
}
|
903
961
|
|
904
|
-
|
905
|
-
|
906
|
-
.ui.form .two.fields > .
|
907
|
-
|
908
|
-
|
909
|
-
|
910
|
-
.ui.form .three.fields > .
|
911
|
-
|
912
|
-
|
913
|
-
|
914
|
-
.ui.form .four.fields > .
|
915
|
-
|
916
|
-
|
917
|
-
|
918
|
-
.ui.form .five.fields > .
|
919
|
-
|
920
|
-
|
921
|
-
|
922
|
-
.ui.form .six.fields > .
|
923
|
-
|
924
|
-
|
925
|
-
|
926
|
-
.ui.form .seven.fields > .
|
927
|
-
|
928
|
-
|
929
|
-
|
930
|
-
.ui.form .eight.fields > .
|
931
|
-
|
932
|
-
|
933
|
-
|
934
|
-
.ui.form .nine.fields > .
|
935
|
-
|
936
|
-
|
937
|
-
|
938
|
-
.ui.form .ten.fields > .
|
939
|
-
|
962
|
+
& when (@variationFormEqualWidth) {
|
963
|
+
/* Other Combinations */
|
964
|
+
.ui.form .two.fields > .fields,
|
965
|
+
.ui.form .two.fields > .field {
|
966
|
+
width: @twoColumn;
|
967
|
+
}
|
968
|
+
.ui.form .three.fields > .fields,
|
969
|
+
.ui.form .three.fields > .field {
|
970
|
+
width: @threeColumn;
|
971
|
+
}
|
972
|
+
.ui.form .four.fields > .fields,
|
973
|
+
.ui.form .four.fields > .field {
|
974
|
+
width: @fourColumn;
|
975
|
+
}
|
976
|
+
.ui.form .five.fields > .fields,
|
977
|
+
.ui.form .five.fields > .field {
|
978
|
+
width: @fiveColumn;
|
979
|
+
}
|
980
|
+
.ui.form .six.fields > .fields,
|
981
|
+
.ui.form .six.fields > .field {
|
982
|
+
width: @sixColumn;
|
983
|
+
}
|
984
|
+
.ui.form .seven.fields > .fields,
|
985
|
+
.ui.form .seven.fields > .field {
|
986
|
+
width: @sevenColumn;
|
987
|
+
}
|
988
|
+
.ui.form .eight.fields > .fields,
|
989
|
+
.ui.form .eight.fields > .field {
|
990
|
+
width: @eightColumn;
|
991
|
+
}
|
992
|
+
.ui.form .nine.fields > .fields,
|
993
|
+
.ui.form .nine.fields > .field {
|
994
|
+
width: @nineColumn;
|
995
|
+
}
|
996
|
+
.ui.form .ten.fields > .fields,
|
997
|
+
.ui.form .ten.fields > .field {
|
998
|
+
width: @tenColumn;
|
999
|
+
}
|
940
1000
|
}
|
941
1001
|
|
942
1002
|
/* Swap to full width on mobile */
|
@@ -953,61 +1013,63 @@
|
|
953
1013
|
}
|
954
1014
|
}
|
955
1015
|
|
1016
|
+
& when (@variationFormWide) {
|
956
1017
|
|
957
|
-
/* Sizing Combinations */
|
958
|
-
.ui.form .fields .wide.field {
|
959
|
-
|
960
|
-
|
961
|
-
|
962
|
-
}
|
1018
|
+
/* Sizing Combinations */
|
1019
|
+
.ui.form .fields .wide.field {
|
1020
|
+
width: @oneWide;
|
1021
|
+
padding-left: (@gutterWidth / 2);
|
1022
|
+
padding-right: (@gutterWidth / 2);
|
1023
|
+
}
|
963
1024
|
|
964
|
-
.ui.form .one.wide.field {
|
965
|
-
|
966
|
-
}
|
967
|
-
.ui.form .two.wide.field {
|
968
|
-
|
969
|
-
}
|
970
|
-
.ui.form .three.wide.field {
|
971
|
-
|
972
|
-
}
|
973
|
-
.ui.form .four.wide.field {
|
974
|
-
|
975
|
-
}
|
976
|
-
.ui.form .five.wide.field {
|
977
|
-
|
978
|
-
}
|
979
|
-
.ui.form .six.wide.field {
|
980
|
-
|
981
|
-
}
|
982
|
-
.ui.form .seven.wide.field {
|
983
|
-
|
984
|
-
}
|
985
|
-
.ui.form .eight.wide.field {
|
986
|
-
|
987
|
-
}
|
988
|
-
.ui.form .nine.wide.field {
|
989
|
-
|
990
|
-
}
|
991
|
-
.ui.form .ten.wide.field {
|
992
|
-
|
993
|
-
}
|
994
|
-
.ui.form .eleven.wide.field {
|
995
|
-
|
996
|
-
}
|
997
|
-
.ui.form .twelve.wide.field {
|
998
|
-
|
999
|
-
}
|
1000
|
-
.ui.form .thirteen.wide.field {
|
1001
|
-
|
1002
|
-
}
|
1003
|
-
.ui.form .fourteen.wide.field {
|
1004
|
-
|
1005
|
-
}
|
1006
|
-
.ui.form .fifteen.wide.field {
|
1007
|
-
|
1008
|
-
}
|
1009
|
-
.ui.form .sixteen.wide.field {
|
1010
|
-
|
1025
|
+
.ui.form .one.wide.field {
|
1026
|
+
width: @oneWide;
|
1027
|
+
}
|
1028
|
+
.ui.form .two.wide.field {
|
1029
|
+
width: @twoWide;
|
1030
|
+
}
|
1031
|
+
.ui.form .three.wide.field {
|
1032
|
+
width: @threeWide;
|
1033
|
+
}
|
1034
|
+
.ui.form .four.wide.field {
|
1035
|
+
width: @fourWide;
|
1036
|
+
}
|
1037
|
+
.ui.form .five.wide.field {
|
1038
|
+
width: @fiveWide;
|
1039
|
+
}
|
1040
|
+
.ui.form .six.wide.field {
|
1041
|
+
width: @sixWide;
|
1042
|
+
}
|
1043
|
+
.ui.form .seven.wide.field {
|
1044
|
+
width: @sevenWide;
|
1045
|
+
}
|
1046
|
+
.ui.form .eight.wide.field {
|
1047
|
+
width: @eightWide;
|
1048
|
+
}
|
1049
|
+
.ui.form .nine.wide.field {
|
1050
|
+
width: @nineWide;
|
1051
|
+
}
|
1052
|
+
.ui.form .ten.wide.field {
|
1053
|
+
width: @tenWide;
|
1054
|
+
}
|
1055
|
+
.ui.form .eleven.wide.field {
|
1056
|
+
width: @elevenWide;
|
1057
|
+
}
|
1058
|
+
.ui.form .twelve.wide.field {
|
1059
|
+
width: @twelveWide;
|
1060
|
+
}
|
1061
|
+
.ui.form .thirteen.wide.field {
|
1062
|
+
width: @thirteenWide;
|
1063
|
+
}
|
1064
|
+
.ui.form .fourteen.wide.field {
|
1065
|
+
width: @fourteenWide;
|
1066
|
+
}
|
1067
|
+
.ui.form .fifteen.wide.field {
|
1068
|
+
width: @fifteenWide;
|
1069
|
+
}
|
1070
|
+
.ui.form .sixteen.wide.field {
|
1071
|
+
width: @sixteenWide;
|
1072
|
+
}
|
1011
1073
|
}
|
1012
1074
|
|
1013
1075
|
|
@@ -1015,10 +1077,12 @@
|
|
1015
1077
|
Equal Width
|
1016
1078
|
---------------------*/
|
1017
1079
|
|
1018
|
-
|
1019
|
-
.ui
|
1020
|
-
width
|
1021
|
-
|
1080
|
+
& when (@variationFormEqualWidth) {
|
1081
|
+
.ui[class*="equal width"].form .fields > .field,
|
1082
|
+
.ui.form [class*="equal width"].fields > .field {
|
1083
|
+
width: 100%;
|
1084
|
+
flex: 1 1 auto;
|
1085
|
+
}
|
1022
1086
|
}
|
1023
1087
|
|
1024
1088
|
& when (@variationFormInline) {
|