fomantic-ui 2.9.0-beta.84 → 2.9.0-beta.88
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/dist/components/accordion.css +1 -1
- package/dist/components/accordion.js +1 -1
- package/dist/components/accordion.min.css +1 -1
- package/dist/components/accordion.min.js +1 -1
- package/dist/components/ad.css +1 -1
- package/dist/components/ad.min.css +1 -1
- package/dist/components/api.js +1 -1
- package/dist/components/api.min.js +1 -1
- package/dist/components/breadcrumb.css +1 -1
- package/dist/components/breadcrumb.min.css +1 -1
- package/dist/components/button.css +76 -76
- package/dist/components/button.min.css +1 -1
- package/dist/components/calendar.css +1 -1
- package/dist/components/calendar.js +1 -1
- package/dist/components/calendar.min.css +1 -1
- package/dist/components/calendar.min.js +1 -1
- package/dist/components/card.css +1 -1
- package/dist/components/card.min.css +1 -1
- package/dist/components/checkbox.css +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/checkbox.min.css +1 -1
- package/dist/components/checkbox.min.js +1 -1
- package/dist/components/comment.css +1 -1
- package/dist/components/comment.min.css +1 -1
- package/dist/components/container.css +1 -1
- package/dist/components/container.min.css +1 -1
- package/dist/components/dimmer.css +1 -1
- package/dist/components/dimmer.js +1 -1
- package/dist/components/dimmer.min.css +1 -1
- package/dist/components/dimmer.min.js +1 -1
- package/dist/components/divider.css +1 -1
- package/dist/components/divider.min.css +1 -1
- package/dist/components/dropdown.css +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/dropdown.min.css +1 -1
- package/dist/components/dropdown.min.js +1 -1
- package/dist/components/embed.css +1 -1
- package/dist/components/embed.js +1 -1
- package/dist/components/embed.min.css +1 -1
- package/dist/components/embed.min.js +1 -1
- package/dist/components/feed.css +1 -1
- package/dist/components/feed.min.css +1 -1
- package/dist/components/flag.css +1 -1
- package/dist/components/flag.min.css +1 -1
- package/dist/components/form.css +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/form.min.css +1 -1
- package/dist/components/form.min.js +1 -1
- package/dist/components/grid.css +1 -1
- package/dist/components/grid.min.css +1 -1
- package/dist/components/header.css +1 -1
- package/dist/components/header.min.css +1 -1
- package/dist/components/icon.css +1 -1
- package/dist/components/icon.min.css +1 -1
- package/dist/components/image.css +1 -1
- package/dist/components/image.min.css +1 -1
- package/dist/components/input.css +1 -1
- package/dist/components/input.min.css +1 -1
- package/dist/components/item.css +1 -1
- package/dist/components/item.min.css +1 -1
- package/dist/components/label.css +1 -1
- package/dist/components/label.min.css +1 -1
- package/dist/components/list.css +1 -1
- package/dist/components/list.min.css +1 -1
- package/dist/components/loader.css +1 -1
- package/dist/components/loader.min.css +1 -1
- package/dist/components/message.css +41 -41
- package/dist/components/message.min.css +2 -2
- package/dist/components/modal.css +1 -1
- package/dist/components/modal.js +1 -1
- package/dist/components/modal.min.css +1 -1
- package/dist/components/modal.min.js +1 -1
- package/dist/components/nag.css +1 -1
- package/dist/components/nag.js +1 -1
- package/dist/components/nag.min.css +1 -1
- package/dist/components/nag.min.js +1 -1
- package/dist/components/placeholder.css +1 -1
- package/dist/components/placeholder.min.css +1 -1
- package/dist/components/popup.css +1 -1
- package/dist/components/popup.js +1 -1
- package/dist/components/popup.min.css +1 -1
- package/dist/components/popup.min.js +1 -1
- package/dist/components/progress.css +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/progress.min.css +1 -1
- package/dist/components/progress.min.js +1 -1
- 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 +1 -1
- package/dist/components/reset.css +1 -1
- package/dist/components/reset.min.css +1 -1
- package/dist/components/reveal.css +1 -1
- package/dist/components/reveal.min.css +1 -1
- package/dist/components/search.css +1 -1
- package/dist/components/search.js +1 -1
- package/dist/components/search.min.css +1 -1
- package/dist/components/search.min.js +1 -1
- package/dist/components/segment.css +1 -1
- package/dist/components/segment.min.css +1 -1
- package/dist/components/shape.css +1 -1
- package/dist/components/shape.js +1 -1
- package/dist/components/shape.min.css +1 -1
- package/dist/components/shape.min.js +1 -1
- package/dist/components/sidebar.css +4 -2
- package/dist/components/sidebar.js +1 -1
- package/dist/components/sidebar.min.css +2 -2
- package/dist/components/sidebar.min.js +1 -1
- package/dist/components/site.css +1 -1
- package/dist/components/site.js +1 -1
- package/dist/components/site.min.css +1 -1
- package/dist/components/site.min.js +1 -1
- package/dist/components/slider.js +1 -1
- package/dist/components/slider.min.js +1 -1
- package/dist/components/state.js +1 -1
- package/dist/components/state.min.js +1 -1
- package/dist/components/statistic.css +1 -1
- package/dist/components/statistic.min.css +1 -1
- package/dist/components/step.css +1 -1
- package/dist/components/step.min.css +1 -1
- package/dist/components/sticky.css +1 -1
- package/dist/components/sticky.js +1 -1
- package/dist/components/sticky.min.css +1 -1
- package/dist/components/sticky.min.js +1 -1
- package/dist/components/tab.css +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/tab.min.css +1 -1
- package/dist/components/tab.min.js +1 -1
- package/dist/components/table.css +1 -1
- package/dist/components/table.min.css +1 -1
- package/dist/components/text.css +1 -1
- package/dist/components/text.min.css +1 -1
- package/dist/components/toast.css +1 -1
- package/dist/components/toast.js +1 -1
- package/dist/components/toast.min.css +1 -1
- package/dist/components/toast.min.js +1 -1
- package/dist/components/transition.css +1 -1
- package/dist/components/transition.js +1 -1
- package/dist/components/transition.min.css +1 -1
- package/dist/components/transition.min.js +1 -1
- package/dist/components/visibility.js +1 -1
- package/dist/components/visibility.min.js +1 -1
- package/dist/semantic.css +103 -100
- package/dist/semantic.js +25 -25
- package/dist/semantic.min.css +2 -2
- package/dist/semantic.min.js +1 -1
- package/package.json +1 -1
- package/src/definitions/collections/form.less +6 -6
- package/src/definitions/collections/grid.less +12 -11
- package/src/definitions/collections/menu.less +46 -42
- package/src/definitions/collections/message.less +40 -39
- package/src/definitions/collections/table.less +69 -68
- package/src/definitions/elements/button.less +235 -233
- package/src/definitions/elements/header.less +28 -27
- package/src/definitions/elements/icon.less +22 -21
- package/src/definitions/elements/input.less +6 -6
- package/src/definitions/elements/label.less +92 -91
- package/src/definitions/elements/loader.less +30 -29
- package/src/definitions/elements/segment.less +15 -14
- package/src/definitions/elements/text.less +17 -15
- package/src/definitions/modules/checkbox.less +33 -32
- package/src/definitions/modules/dropdown.less +3 -3
- package/src/definitions/modules/nag.less +20 -19
- package/src/definitions/modules/progress.less +19 -18
- package/src/definitions/modules/rating.less +35 -34
- package/src/definitions/modules/sidebar.less +3 -1
- package/src/definitions/modules/slider.less +39 -38
- package/src/definitions/modules/toast.less +17 -16
- package/src/definitions/views/card.less +29 -28
- package/src/definitions/views/statistic.less +19 -18
- package/src/themes/default/globals/variation.variables +30 -5
- package/tasks/build/css.js +6 -1
@@ -170,12 +170,12 @@
|
|
170
170
|
}
|
171
171
|
|
172
172
|
|
173
|
-
& when (@variationInputStates) {
|
173
|
+
& when not (@variationInputStates = false) {
|
174
174
|
/*--------------------
|
175
175
|
States
|
176
176
|
---------------------*/
|
177
|
-
each(@
|
178
|
-
@state:
|
177
|
+
each(@variationInputStates, {
|
178
|
+
@state: @value;
|
179
179
|
|
180
180
|
.ui.input.@{state} > input {
|
181
181
|
background-color: @formStates[@@state][background];
|
@@ -448,10 +448,10 @@
|
|
448
448
|
}
|
449
449
|
}
|
450
450
|
|
451
|
-
& when (@variationInputLabeled)
|
451
|
+
& when ((@variationInputLabeled) or (@variationInputAction)) and not (@variationInputStates = false) {
|
452
452
|
/* Labeled and action input states */
|
453
|
-
each(@
|
454
|
-
@state:
|
453
|
+
each(@variationInputStates, {
|
454
|
+
@state: @value;
|
455
455
|
@borderColor: @formStates[@@state][borderColor];
|
456
456
|
|
457
457
|
.ui.form .field.@{state} > .ui.action.input > .ui.button,
|
@@ -714,118 +714,119 @@ a.ui.active.label:hover:before {
|
|
714
714
|
/*-------------------
|
715
715
|
Colors
|
716
716
|
--------------------*/
|
717
|
-
|
718
|
-
each(@
|
719
|
-
|
720
|
-
|
721
|
-
|
722
|
-
|
723
|
-
|
724
|
-
|
725
|
-
|
726
|
-
|
727
|
-
|
728
|
-
|
729
|
-
|
730
|
-
|
731
|
-
|
732
|
-
|
733
|
-
border-color: @_labelColor;
|
734
|
-
color: @_labelTextColor;
|
735
|
-
}
|
736
|
-
/* Link */
|
737
|
-
.ui.@{color}.labels a.label:hover,
|
738
|
-
a.ui.ui.ui.@{color}.label:hover{
|
739
|
-
background-color: @_labelHover;
|
740
|
-
border-color: @_labelHover;
|
741
|
-
color: @_labelHoverTextColor;
|
742
|
-
}
|
743
|
-
& when (@variationLabelRibbon) {
|
744
|
-
/* Ribbon */
|
745
|
-
.ui.ui.ui.@{color}.ribbon.label {
|
746
|
-
border-color: @_labelRibbonShadow;
|
747
|
-
}
|
748
|
-
}
|
749
|
-
& when (@variationLabelBasic) {
|
750
|
-
/* Basic */
|
751
|
-
.ui.basic.labels .@{color}.label,
|
752
|
-
.ui.ui.ui.basic.@{color}.label {
|
753
|
-
background: @basicBackground;
|
717
|
+
& when not (@variationLabelColors = false) {
|
718
|
+
each(@variationLabelColors, {
|
719
|
+
@color: @value;
|
720
|
+
@isDark: @colors[@@color][isDark];
|
721
|
+
@_labelColor: @colors[@@color][color];
|
722
|
+
@_labelInvertedColor: @colors[@@color][light];
|
723
|
+
@_labelTextColor: @colors[@@color][text];
|
724
|
+
@_labelHover: @colors[@@color][hover];
|
725
|
+
@_labelInvertedHover: @colors[@@color][lightHover];
|
726
|
+
@_labelHoverTextColor: @colors[@@color][hoverText];
|
727
|
+
@_labelRibbonShadow: @colors[@@color][ribbon];
|
728
|
+
@_labelInvertedRibbonShadow: @colors[@@color][invertedRibbon];
|
729
|
+
|
730
|
+
.ui.@{color}.labels .label,
|
731
|
+
.ui.ui.ui.@{color}.label {
|
732
|
+
background-color: @_labelColor;
|
754
733
|
border-color: @_labelColor;
|
755
|
-
color: @
|
734
|
+
color: @_labelTextColor;
|
756
735
|
}
|
757
|
-
|
758
|
-
|
759
|
-
|
736
|
+
/* Link */
|
737
|
+
.ui.@{color}.labels a.label:hover,
|
738
|
+
a.ui.ui.ui.@{color}.label:hover {
|
739
|
+
background-color: @_labelHover;
|
760
740
|
border-color: @_labelHover;
|
761
|
-
color: @
|
762
|
-
}
|
763
|
-
}
|
764
|
-
& when (@variationLabelInverted) {
|
765
|
-
/* Inverted */
|
766
|
-
.ui.inverted.labels .@{color}.label,
|
767
|
-
.ui.ui.ui.inverted.@{color}.label {
|
768
|
-
background-color: @_labelInvertedColor;
|
769
|
-
border-color: @_labelInvertedColor;
|
770
|
-
color: @black;
|
771
|
-
}
|
772
|
-
/* Inverted Link */
|
773
|
-
.ui.inverted.labels a.@{color}.label:hover,
|
774
|
-
a.ui.ui.ui.inverted.@{color}.label:hover{
|
775
|
-
background-color: @_labelInvertedHover;
|
776
|
-
border-color: @_labelInvertedHover;
|
777
|
-
& when not (@isDark) {
|
778
|
-
color: @black;
|
779
|
-
}
|
780
|
-
& when (@isDark) {
|
781
|
-
color: @_labelTextColor;
|
782
|
-
}
|
741
|
+
color: @_labelHoverTextColor;
|
783
742
|
}
|
784
743
|
& when (@variationLabelRibbon) {
|
785
|
-
/*
|
786
|
-
.ui.ui.ui
|
787
|
-
border-color: @
|
744
|
+
/* Ribbon */
|
745
|
+
.ui.ui.ui.@{color}.ribbon.label {
|
746
|
+
border-color: @_labelRibbonShadow;
|
788
747
|
}
|
789
748
|
}
|
790
749
|
& when (@variationLabelBasic) {
|
791
|
-
/*
|
792
|
-
.ui.
|
793
|
-
.ui.ui.ui.
|
794
|
-
background
|
750
|
+
/* Basic */
|
751
|
+
.ui.basic.labels .@{color}.label,
|
752
|
+
.ui.ui.ui.basic.@{color}.label {
|
753
|
+
background: @basicBackground;
|
754
|
+
border-color: @_labelColor;
|
755
|
+
color: @_labelColor;
|
756
|
+
}
|
757
|
+
.ui.basic.labels a.@{color}.label:hover,
|
758
|
+
a.ui.ui.ui.basic.@{color}.label:hover {
|
759
|
+
background: @basicBackground;
|
760
|
+
border-color: @_labelHover;
|
761
|
+
color: @_labelHover;
|
762
|
+
}
|
763
|
+
}
|
764
|
+
& when (@variationLabelInverted) {
|
765
|
+
/* Inverted */
|
766
|
+
.ui.inverted.labels .@{color}.label,
|
767
|
+
.ui.ui.ui.inverted.@{color}.label {
|
768
|
+
background-color: @_labelInvertedColor;
|
795
769
|
border-color: @_labelInvertedColor;
|
770
|
+
color: @black;
|
771
|
+
}
|
772
|
+
/* Inverted Link */
|
773
|
+
.ui.inverted.labels a.@{color}.label:hover,
|
774
|
+
a.ui.ui.ui.inverted.@{color}.label:hover {
|
775
|
+
background-color: @_labelInvertedHover;
|
776
|
+
border-color: @_labelInvertedHover;
|
796
777
|
& when not (@isDark) {
|
797
|
-
color: @
|
778
|
+
color: @black;
|
798
779
|
}
|
799
780
|
& when (@isDark) {
|
800
|
-
color: @
|
781
|
+
color: @_labelTextColor;
|
801
782
|
}
|
802
783
|
}
|
803
|
-
|
804
|
-
|
805
|
-
|
806
|
-
|
807
|
-
& when not (@isDark) {
|
808
|
-
color: @_labelInvertedHover;
|
784
|
+
& when (@variationLabelRibbon) {
|
785
|
+
/* Inverted Ribbon */
|
786
|
+
.ui.ui.ui.inverted.@{color}.ribbon.label {
|
787
|
+
border-color: @_labelInvertedRibbonShadow;
|
809
788
|
}
|
810
789
|
}
|
811
|
-
& when (@
|
812
|
-
/* Inverted Basic
|
813
|
-
.ui.inverted.basic.
|
814
|
-
.ui.ui.ui.inverted.@{color}.
|
815
|
-
|
790
|
+
& when (@variationLabelBasic) {
|
791
|
+
/* Inverted Basic */
|
792
|
+
.ui.inverted.basic.labels .@{color}.label,
|
793
|
+
.ui.ui.ui.inverted.basic.@{color}.label {
|
794
|
+
background-color: @invertedBackground;
|
795
|
+
border-color: @_labelInvertedColor;
|
796
|
+
& when not (@isDark) {
|
797
|
+
color: @_labelInvertedColor;
|
798
|
+
}
|
799
|
+
& when (@isDark) {
|
800
|
+
color: @invertedTextColor;
|
801
|
+
}
|
816
802
|
}
|
817
|
-
.ui.inverted.basic.
|
818
|
-
.ui.ui.ui.inverted.@{color}.
|
819
|
-
border-color:
|
820
|
-
border-width: @invertedBorderSize 0 0 @invertedBorderSize;
|
821
|
-
border-style: inherit;
|
803
|
+
.ui.inverted.basic.labels a.@{color}.label:hover,
|
804
|
+
a.ui.ui.ui.inverted.basic.@{color}.label:hover {
|
805
|
+
border-color: @_labelInvertedHover;
|
822
806
|
background-color: @invertedBackground;
|
823
|
-
|
807
|
+
& when not (@isDark) {
|
808
|
+
color: @_labelInvertedHover;
|
809
|
+
}
|
810
|
+
}
|
811
|
+
& when (@variationLabelTag) {
|
812
|
+
/* Inverted Basic Tags */
|
813
|
+
.ui.inverted.basic.tag.labels .@{color}.label,
|
814
|
+
.ui.ui.ui.inverted.@{color}.basic.tag.label {
|
815
|
+
border: @invertedBorderSize solid @_labelInvertedColor;
|
816
|
+
}
|
817
|
+
.ui.inverted.basic.tag.labels .@{color}.label:before,
|
818
|
+
.ui.ui.ui.inverted.@{color}.basic.tag.label:before {
|
819
|
+
border-color: inherit;
|
820
|
+
border-width: @invertedBorderSize 0 0 @invertedBorderSize;
|
821
|
+
border-style: inherit;
|
822
|
+
background-color: @invertedBackground;
|
823
|
+
right: e(%("calc(100%% + %d)", @invertedBorderSize));
|
824
|
+
}
|
824
825
|
}
|
825
826
|
}
|
826
827
|
}
|
827
|
-
}
|
828
|
-
}
|
828
|
+
})
|
829
|
+
}
|
829
830
|
|
830
831
|
/*-------------------
|
831
832
|
Horizontal
|
@@ -203,35 +203,36 @@
|
|
203
203
|
/*-------------------
|
204
204
|
Colors
|
205
205
|
--------------------*/
|
206
|
-
|
207
|
-
each(@
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
})
|
206
|
+
& when not (@variationLoaderColors = false) {
|
207
|
+
each(@variationLoaderColors, {
|
208
|
+
@color: @value;
|
209
|
+
@c: @colors[@@color][color];
|
210
|
+
@l: @colors[@@color][light];
|
211
|
+
|
212
|
+
.ui.@{color}.elastic.loader.loader:before,
|
213
|
+
.ui.@{color}.basic.elastic.loading.button:before,
|
214
|
+
.ui.@{color}.basic.elastic.loading.button:after,
|
215
|
+
.ui.@{color}.elastic.loading.loading.loading:not(.segment):not(.segments):not(.card):before,
|
216
|
+
.ui.@{color}.elastic.loading.loading.loading .input > i.icon:before,
|
217
|
+
.ui.@{color}.elastic.loading.loading.loading.loading > i.icon:before,
|
218
|
+
.ui.@{color}.loading.loading.loading.loading:not(.usual):not(.button):after,
|
219
|
+
.ui.@{color}.loading.loading.loading.loading .input > i.icon:after,
|
220
|
+
.ui.@{color}.loading.loading.loading.loading > i.icon:after,
|
221
|
+
.ui.@{color}.loader.loader.loader:after {
|
222
|
+
color: @c;
|
223
|
+
}
|
224
|
+
.ui.inverted.@{color}.elastic.loader:before,
|
225
|
+
.ui.inverted.@{color}.elastic.loading.loading.loading:not(.segment):not(.segments):not(.card):before,
|
226
|
+
.ui.inverted.@{color}.elastic.loading.loading.loading .input > i.icon:before,
|
227
|
+
.ui.inverted.@{color}.elastic.loading.loading.loading > i.icon:before,
|
228
|
+
.ui.inverted.@{color}.loading.loading.loading.loading:not(.usual):after,
|
229
|
+
.ui.inverted.@{color}.loading.loading.loading.loading .input > i.icon:after,
|
230
|
+
.ui.inverted.@{color}.loading.loading.loading.loading > i.icon:after,
|
231
|
+
.ui.inverted.@{color}.loader.loader.loader:after {
|
232
|
+
color: @l;
|
233
|
+
}
|
234
|
+
})
|
235
|
+
}
|
235
236
|
|
236
237
|
.ui.elastic.loader.loader:before,
|
237
238
|
.ui.elastic.loading.loading.loading:before,
|
@@ -592,22 +592,23 @@
|
|
592
592
|
/*-------------------
|
593
593
|
Colors
|
594
594
|
--------------------*/
|
595
|
-
|
596
|
-
each(@
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
|
595
|
+
& when not (@variationSegmentColors = false) {
|
596
|
+
each(@variationSegmentColors, {
|
597
|
+
@color: @value;
|
598
|
+
@c: @colors[@@color][color];
|
599
|
+
& when not (@color=primary) and not (@color=secondary) {
|
600
|
+
.ui.@{color}.segment.segment.segment.segment.segment:not(.inverted) {
|
601
|
+
border-top: @coloredBorderSize solid @c;
|
602
|
+
}
|
603
|
+
& when (@variationSegmentInverted) {
|
604
|
+
.ui.inverted.@{color}.segment.segment.segment.segment.segment {
|
605
|
+
background-color: @c;
|
606
|
+
color: @white;
|
607
|
+
}
|
607
608
|
}
|
608
609
|
}
|
609
|
-
}
|
610
|
-
}
|
610
|
+
})
|
611
|
+
}
|
611
612
|
|
612
613
|
& when (@variationSegmentAligned) {
|
613
614
|
/*-------------------
|
@@ -26,24 +26,26 @@ span.ui.text {
|
|
26
26
|
line-height: @lineHeight;
|
27
27
|
}
|
28
28
|
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
29
|
+
& when not (@variationTextColors = false) {
|
30
|
+
each(@variationTextColors, {
|
31
|
+
@color: @value;
|
32
|
+
@c: @colors[@@color][color];
|
33
|
+
@l: @colors[@@color][light];
|
33
34
|
|
34
|
-
|
35
|
-
|
36
|
-
}
|
37
|
-
& when (@variationTextInverted) {
|
38
|
-
span.ui.inverted.@{color}.text {
|
39
|
-
color: @l;
|
35
|
+
span.ui.@{color}.text {
|
36
|
+
color: @c;
|
40
37
|
}
|
41
|
-
|
42
|
-
}
|
38
|
+
& when (@variationTextInverted) {
|
39
|
+
span.ui.inverted.@{color}.text {
|
40
|
+
color: @l;
|
41
|
+
}
|
42
|
+
}
|
43
|
+
})
|
44
|
+
}
|
43
45
|
|
44
|
-
& when (@variationTextStates) {
|
45
|
-
each(@
|
46
|
-
@state:
|
46
|
+
& when not (@variationTextStates = false) {
|
47
|
+
each(@variationTextStates, {
|
48
|
+
@state: @value;
|
47
49
|
@c: @textStates[@@state][color];
|
48
50
|
|
49
51
|
span.ui.@{state}.text {
|
@@ -677,43 +677,44 @@
|
|
677
677
|
/*--------------------
|
678
678
|
Size
|
679
679
|
---------------------*/
|
680
|
+
& when not (@variationCheckboxSizes = false) {
|
681
|
+
each(@variationCheckboxSizes, {
|
682
|
+
@raw: @{value}Raw;
|
683
|
+
@size: @{value}CheckboxSize;
|
684
|
+
@circleScale: @{value}CheckboxCircleScale;
|
685
|
+
@circleLeft: @{value}CheckboxCircleLeft;
|
680
686
|
|
681
|
-
each(@variationCheckboxSizes, {
|
682
|
-
@raw: @{value}Raw;
|
683
|
-
@size: @{value}CheckboxSize;
|
684
|
-
@circleScale: @{value}CheckboxCircleScale;
|
685
|
-
@circleLeft: @{value}CheckboxCircleLeft;
|
686
|
-
|
687
|
-
.ui.@{value}.checkbox {
|
688
|
-
font-size: @@size;
|
689
|
-
}
|
690
|
-
|
691
|
-
& when (@@raw > 1) {
|
692
|
-
.ui.@{value}.form .checkbox,
|
693
687
|
.ui.@{value}.checkbox {
|
694
|
-
|
695
|
-
|
696
|
-
|
697
|
-
|
698
|
-
|
699
|
-
|
700
|
-
|
701
|
-
|
702
|
-
|
703
|
-
|
704
|
-
|
705
|
-
|
706
|
-
|
688
|
+
font-size: @@size;
|
689
|
+
}
|
690
|
+
|
691
|
+
& when (@@raw > 1) {
|
692
|
+
.ui.@{value}.form .checkbox,
|
693
|
+
.ui.@{value}.checkbox {
|
694
|
+
&:not(.slider):not(.toggle):not(.radio) {
|
695
|
+
&
|
696
|
+
label:after,
|
697
|
+
label:before {
|
698
|
+
transform: scale(@@raw);
|
699
|
+
transform-origin: left;
|
700
|
+
}
|
707
701
|
}
|
708
|
-
|
709
|
-
|
710
|
-
|
711
|
-
|
712
|
-
|
702
|
+
&.radio when (@variationCheckboxRadio) {
|
703
|
+
&
|
704
|
+
label:before {
|
705
|
+
transform: scale(@@raw);
|
706
|
+
transform-origin: left;
|
707
|
+
}
|
708
|
+
&
|
709
|
+
label:after {
|
710
|
+
transform: scale(@@circleScale);
|
711
|
+
transform-origin: left;
|
712
|
+
left: @@circleLeft;
|
713
|
+
}
|
713
714
|
}
|
714
715
|
}
|
715
716
|
}
|
716
|
-
}
|
717
|
-
}
|
717
|
+
})
|
718
|
+
}
|
718
719
|
|
719
720
|
.loadUIOverrides();
|
@@ -1079,12 +1079,12 @@ select.ui.dropdown {
|
|
1079
1079
|
display: none !important;
|
1080
1080
|
}
|
1081
1081
|
|
1082
|
-
& when (@variationDropdownStates) {
|
1082
|
+
& when not (@variationDropdownStates = false) {
|
1083
1083
|
/*--------------------
|
1084
1084
|
States
|
1085
1085
|
----------------------*/
|
1086
|
-
each(@
|
1087
|
-
@state:
|
1086
|
+
each(@variationDropdownStates, {
|
1087
|
+
@state: @value;
|
1088
1088
|
@c: @formStates[@@state][dropdownLabelColor];
|
1089
1089
|
@bdc: @formStates[@@state][borderColor];
|
1090
1090
|
|
@@ -169,28 +169,29 @@ a.ui.nag {
|
|
169
169
|
/*--------------
|
170
170
|
Colors
|
171
171
|
-------------- */
|
172
|
-
|
173
|
-
each(@
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
172
|
+
& when not (@variationNagColors = false) {
|
173
|
+
each(@variationNagColors, {
|
174
|
+
@color: @value;
|
175
|
+
@c: @colors[@@color][color];
|
176
|
+
@l: @colors[@@color][light];
|
177
|
+
@isVeryDark: @colors[@@color][isVeryDark];
|
178
|
+
|
179
|
+
.ui.@{color}.nag {
|
180
|
+
background-color: @c;
|
181
|
+
& when (@isVeryDark) {
|
182
|
+
color: @invertedTextColor;
|
183
|
+
}
|
183
184
|
}
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
185
|
+
& when (@variationNagInverted) {
|
186
|
+
.ui.inverted.@{color}.nag {
|
187
|
+
background-color: @l;
|
188
|
+
& .title when (@isVeryDark) {
|
189
|
+
color: @titleColor;
|
190
|
+
}
|
190
191
|
}
|
191
192
|
}
|
192
|
-
}
|
193
|
-
}
|
193
|
+
})
|
194
|
+
}
|
194
195
|
|
195
196
|
& when (@variationNagGroups) {
|
196
197
|
/*******************************
|
@@ -446,25 +446,26 @@
|
|
446
446
|
/*--------------
|
447
447
|
Colors
|
448
448
|
---------------*/
|
449
|
-
|
450
|
-
each(@
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
}
|
460
|
-
& when (@variationProgressInverted) {
|
461
|
-
.ui.inverted.indeterminate.@{color}.progress .bar::before,
|
462
|
-
.ui.@{color}.inverted.progress .bar,
|
463
|
-
.ui.inverted.progress .@{color}.bar {
|
464
|
-
background-color: @l;
|
449
|
+
& when not (@variationProgressColors = false) {
|
450
|
+
each(@variationProgressColors, {
|
451
|
+
@color: @value;
|
452
|
+
@c: @colors[@@color][color];
|
453
|
+
@l: @colors[@@color][light];
|
454
|
+
|
455
|
+
.ui.indeterminate.@{color}.progress .bar::before,
|
456
|
+
.ui.@{color}.progress .bar,
|
457
|
+
.ui.progress .@{color}.bar {
|
458
|
+
background-color: @c;
|
465
459
|
}
|
466
|
-
|
467
|
-
}
|
460
|
+
& when (@variationProgressInverted) {
|
461
|
+
.ui.inverted.indeterminate.@{color}.progress .bar::before,
|
462
|
+
.ui.@{color}.inverted.progress .bar,
|
463
|
+
.ui.inverted.progress .@{color}.bar {
|
464
|
+
background-color: @l;
|
465
|
+
}
|
466
|
+
}
|
467
|
+
})
|
468
|
+
}
|
468
469
|
|
469
470
|
/*--------------
|
470
471
|
Sizes
|
@@ -95,41 +95,42 @@
|
|
95
95
|
/*--------------
|
96
96
|
Colors
|
97
97
|
-------------- */
|
98
|
-
|
99
|
-
each(@
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
}
|
113
|
-
.ui.@{color}.rating .icon.selected,
|
114
|
-
.ui.@{color}.rating .icon.selected.active,
|
115
|
-
.ui.@{color}.rating .icon.selected.partial.active {
|
116
|
-
background: inherit;
|
117
|
-
color: @lh;
|
118
|
-
text-shadow: 0px -@shadowWidth 0px @h,
|
119
|
-
-@shadowWidth 0px 0px @h,
|
120
|
-
0px @shadowWidth 0px @h,
|
121
|
-
@shadowWidth 0px 0px @h;
|
122
|
-
|
123
|
-
-webkit-text-stroke: unset;
|
124
|
-
background-clip: unset;
|
125
|
-
}
|
126
|
-
& when (@variationRatingPartial) {
|
127
|
-
.ui.@{color}.rating .icon.partial.active {
|
128
|
-
background: linear-gradient(to right, @l 0% var(--full), @inactiveColor var(--full) 100%);
|
129
|
-
-webkit-text-stroke: @c 0.78px;
|
98
|
+
& when not (@variationRatingColors = false) {
|
99
|
+
each(@variationRatingColors, {
|
100
|
+
@color: @value;
|
101
|
+
@c: @colors[@@color][color];
|
102
|
+
@l: @colors[@@color][light];
|
103
|
+
@h: @colors[@@color][hover];
|
104
|
+
@lh: @colors[@@color][lightHover];
|
105
|
+
|
106
|
+
.ui.@{color}.rating .active.icon {
|
107
|
+
color: @l;
|
108
|
+
text-shadow: 0px -@shadowWidth 0px @c,
|
109
|
+
-@shadowWidth 0px 0px @c,
|
110
|
+
0px @shadowWidth 0px @c,
|
111
|
+
@shadowWidth 0px 0px @c;
|
130
112
|
}
|
131
|
-
|
132
|
-
}
|
113
|
+
.ui.@{color}.rating .icon.selected,
|
114
|
+
.ui.@{color}.rating .icon.selected.active,
|
115
|
+
.ui.@{color}.rating .icon.selected.partial.active {
|
116
|
+
background: inherit;
|
117
|
+
color: @lh;
|
118
|
+
text-shadow: 0px -@shadowWidth 0px @h,
|
119
|
+
-@shadowWidth 0px 0px @h,
|
120
|
+
0px @shadowWidth 0px @h,
|
121
|
+
@shadowWidth 0px 0px @h;
|
122
|
+
|
123
|
+
-webkit-text-stroke: unset;
|
124
|
+
background-clip: unset;
|
125
|
+
}
|
126
|
+
& when (@variationRatingPartial) {
|
127
|
+
.ui.@{color}.rating .icon.partial.active {
|
128
|
+
background: linear-gradient(to right, @l 0% var(--full), @inactiveColor var(--full) 100%);
|
129
|
+
-webkit-text-stroke: @c 0.78px;
|
130
|
+
}
|
131
|
+
}
|
132
|
+
})
|
133
|
+
}
|
133
134
|
|
134
135
|
|
135
136
|
/*******************************
|