fomantic-ui 2.8.8-beta.99 → 2.9.0-beta.100
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 +188 -3
- package/.github/dependabot.yml +17 -0
- package/.github/workflows/ci.yml +1 -1
- package/CHANGELOG.md +139 -0
- package/CONTRIBUTING.md +1 -1
- package/CONTRIBUTORS.md +71 -37
- package/README.md +3 -3
- package/dist/components/accordion.css +50 -6
- package/dist/components/accordion.js +1 -1
- package/dist/components/accordion.min.css +2 -2
- package/dist/components/accordion.min.js +3 -3
- package/dist/components/ad.css +1 -1
- package/dist/components/ad.min.css +1 -1
- package/dist/components/api.js +26 -24
- package/dist/components/api.min.js +4 -4
- package/dist/components/breadcrumb.css +1 -1
- package/dist/components/breadcrumb.min.css +1 -1
- package/dist/components/button.css +81 -81
- package/dist/components/button.min.css +2 -2
- package/dist/components/calendar.css +1 -1
- package/dist/components/calendar.js +110 -11
- package/dist/components/calendar.min.css +1 -1
- package/dist/components/calendar.min.js +4 -4
- package/dist/components/card.css +26 -19
- package/dist/components/card.min.css +2 -2
- package/dist/components/checkbox.css +6 -4
- package/dist/components/checkbox.js +17 -11
- package/dist/components/checkbox.min.css +2 -2
- package/dist/components/checkbox.min.js +4 -4
- package/dist/components/comment.css +11 -11
- package/dist/components/comment.min.css +1 -1
- package/dist/components/container.css +3 -4
- package/dist/components/container.min.css +2 -2
- package/dist/components/dimmer.css +28 -14
- package/dist/components/dimmer.js +15 -12
- package/dist/components/dimmer.min.css +2 -2
- package/dist/components/dimmer.min.js +4 -4
- package/dist/components/divider.css +1 -1
- package/dist/components/divider.min.css +1 -1
- package/dist/components/dropdown.css +54 -7
- package/dist/components/dropdown.js +107 -77
- package/dist/components/dropdown.min.css +2 -2
- package/dist/components/dropdown.min.js +4 -4
- 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 +3 -3
- package/dist/components/emoji.css +2 -2
- package/dist/components/feed.css +28 -28
- package/dist/components/feed.min.css +2 -2
- package/dist/components/flag.css +731 -625
- package/dist/components/flag.min.css +2 -2
- package/dist/components/form.css +119 -54
- package/dist/components/form.js +51 -70
- package/dist/components/form.min.css +2 -2
- package/dist/components/form.min.js +4 -4
- package/dist/components/grid.css +13 -11
- package/dist/components/grid.min.css +2 -2
- package/dist/components/header.css +3 -3
- package/dist/components/header.min.css +2 -2
- package/dist/components/icon.css +86 -5
- 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 +17 -2
- package/dist/components/input.min.css +2 -2
- package/dist/components/item.css +13 -13
- 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 +39 -37
- package/dist/components/loader.min.css +2 -2
- package/dist/components/menu.css +37 -11
- package/dist/components/menu.min.css +1 -1
- package/dist/components/message.css +78 -34
- package/dist/components/message.min.css +2 -2
- package/dist/components/modal.css +7 -5
- package/dist/components/modal.js +237 -41
- package/dist/components/modal.min.css +2 -2
- package/dist/components/modal.min.js +4 -4
- package/dist/components/nag.css +168 -16
- package/dist/components/nag.js +131 -65
- package/dist/components/nag.min.css +2 -2
- package/dist/components/nag.min.js +4 -4
- package/dist/components/placeholder.css +1 -1
- package/dist/components/placeholder.min.css +1 -1
- package/dist/components/popup.css +5 -3
- package/dist/components/popup.js +5 -5
- package/dist/components/popup.min.css +2 -2
- package/dist/components/popup.min.js +4 -4
- package/dist/components/progress.css +2 -1
- package/dist/components/progress.js +3 -3
- package/dist/components/progress.min.css +2 -2
- package/dist/components/progress.min.js +4 -4
- package/dist/components/rail.css +1 -1
- package/dist/components/rail.min.css +1 -1
- package/dist/components/rating.css +8 -62
- 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 +2 -3
- 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 +1 -1
- package/dist/components/search.js +15 -13
- package/dist/components/search.min.css +1 -1
- package/dist/components/search.min.js +4 -4
- package/dist/components/segment.css +36 -6
- package/dist/components/segment.min.css +2 -2
- 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 +3 -3
- 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 +3 -3
- package/dist/components/site.css +61 -39
- 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.js +1 -1
- package/dist/components/slider.min.js +3 -3
- package/dist/components/state.js +1 -1
- package/dist/components/state.min.js +3 -3
- package/dist/components/statistic.css +1 -1
- package/dist/components/statistic.min.css +1 -1
- package/dist/components/step.css +4 -4
- package/dist/components/step.min.css +2 -2
- package/dist/components/sticky.css +1 -2
- package/dist/components/sticky.js +2 -2
- package/dist/components/sticky.min.css +2 -2
- package/dist/components/sticky.min.js +4 -4
- 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 +3 -3
- package/dist/components/table.css +5 -3
- 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 +123 -10
- package/dist/components/toast.js +54 -27
- package/dist/components/toast.min.css +2 -2
- package/dist/components/toast.min.js +4 -4
- package/dist/components/transition.css +1 -1
- package/dist/components/transition.js +2 -2
- package/dist/components/transition.min.css +1 -1
- package/dist/components/transition.min.js +4 -4
- package/dist/components/visibility.js +2 -2
- package/dist/components/visibility.min.js +3 -3
- package/dist/semantic.css +2004 -1124
- package/dist/semantic.js +789 -377
- package/dist/semantic.min.css +4 -397
- package/dist/semantic.min.js +4 -4
- package/examples/assets/library/iframe-content.js +8 -8
- package/examples/assets/library/iframe.js +3 -3
- package/package.json +5 -5
- package/scripts/nightly-version.js +23 -8
- package/src/definitions/behaviors/api.js +25 -23
- package/src/definitions/behaviors/form.js +50 -69
- package/src/definitions/behaviors/visibility.js +1 -1
- package/src/definitions/collections/form.less +200 -142
- package/src/definitions/collections/grid.less +717 -681
- package/src/definitions/collections/menu.less +177 -128
- package/src/definitions/collections/message.less +77 -44
- package/src/definitions/collections/table.less +255 -242
- package/src/definitions/elements/button.less +360 -347
- package/src/definitions/elements/container.less +16 -8
- package/src/definitions/elements/emoji.less +15 -9
- package/src/definitions/elements/flag.less +7 -17
- package/src/definitions/elements/header.less +44 -37
- package/src/definitions/elements/icon.less +121 -43
- package/src/definitions/elements/input.less +23 -7
- package/src/definitions/elements/label.less +92 -91
- package/src/definitions/elements/list.less +55 -45
- package/src/definitions/elements/loader.less +38 -35
- package/src/definitions/elements/segment.less +51 -23
- package/src/definitions/elements/step.less +52 -48
- package/src/definitions/elements/text.less +17 -15
- package/src/definitions/globals/site.less +23 -2
- package/src/definitions/modules/accordion.less +55 -5
- package/src/definitions/modules/calendar.js +109 -10
- package/src/definitions/modules/checkbox.js +16 -10
- package/src/definitions/modules/checkbox.less +44 -186
- package/src/definitions/modules/dimmer.js +14 -11
- package/src/definitions/modules/dimmer.less +21 -8
- package/src/definitions/modules/dropdown.js +106 -76
- package/src/definitions/modules/dropdown.less +148 -89
- package/src/definitions/modules/modal.js +236 -40
- package/src/definitions/modules/modal.less +6 -4
- package/src/definitions/modules/nag.js +130 -64
- package/src/definitions/modules/nag.less +105 -40
- package/src/definitions/modules/popup.js +4 -4
- package/src/definitions/modules/popup.less +5 -1
- package/src/definitions/modules/progress.js +2 -2
- package/src/definitions/modules/progress.less +20 -18
- package/src/definitions/modules/rating.less +50 -42
- package/src/definitions/modules/search.js +14 -12
- package/src/definitions/modules/search.less +32 -16
- package/src/definitions/modules/sidebar.less +33 -19
- package/src/definitions/modules/slider.less +43 -42
- package/src/definitions/modules/sticky.js +1 -1
- package/src/definitions/modules/toast.js +53 -26
- package/src/definitions/modules/toast.less +139 -25
- package/src/definitions/modules/transition.js +1 -1
- package/src/definitions/views/card.less +402 -361
- package/src/definitions/views/comment.less +92 -81
- package/src/definitions/views/feed.less +164 -144
- package/src/definitions/views/item.less +249 -196
- package/src/definitions/views/statistic.less +90 -88
- package/src/themes/default/collections/grid.variables +8 -8
- package/src/themes/default/collections/menu.variables +6 -0
- package/src/themes/default/collections/table.variables +1 -1
- package/src/themes/default/elements/button.variables +2 -1
- package/src/themes/default/elements/flag.overrides +1635 -986
- package/src/themes/default/elements/flag.variables +7 -5
- package/src/themes/default/elements/header.variables +2 -2
- package/src/themes/default/elements/icon.overrides +35 -28
- package/src/themes/default/elements/icon.variables +4 -0
- package/src/themes/default/elements/list.variables +1 -1
- package/src/themes/default/elements/step.overrides +1 -1
- package/src/themes/default/globals/colors.less +7 -7
- package/src/themes/default/globals/site.variables +19 -9
- package/src/themes/default/globals/variation.variables +119 -6
- package/src/themes/default/modules/accordion.variables +15 -0
- package/src/themes/default/modules/checkbox.variables +16 -16
- package/src/themes/default/modules/dimmer.variables +1 -1
- package/src/themes/default/modules/dropdown.variables +12 -5
- package/src/themes/default/modules/modal.variables +2 -2
- package/src/themes/default/modules/nag.variables +3 -1
- package/src/themes/default/modules/toast.variables +5 -1
- package/src/themes/default/views/card.variables +1 -1
- package/src/themes/famfamfam/elements/flag.overrides +1026 -0
- package/src/themes/famfamfam/elements/flag.variables +13 -0
- package/tasks/admin/components/init.js +2 -2
- package/tasks/admin/distributions/init.js +2 -2
- package/tasks/build/css.js +6 -1
- package/tasks/config/project/release.js +2 -2
- package/tasks/config/tasks.js +13 -9
- package/test/helpers/sinon.js +1 -1
@@ -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
|
@@ -185,22 +185,25 @@ ol.ui.list ol li,
|
|
185
185
|
margin-left: 0;
|
186
186
|
padding-left: 0;
|
187
187
|
}
|
188
|
-
|
189
|
-
/* Header */
|
190
|
-
.ui.list .list > .item .header,
|
191
|
-
.ui.list > .item .header {
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
188
|
+
& when (@variationListHeader) {
|
189
|
+
/* Header */
|
190
|
+
.ui.list .list > .item .header,
|
191
|
+
.ui.list > .item .header {
|
192
|
+
display: block;
|
193
|
+
margin: 0;
|
194
|
+
font-family: @itemHeaderFontFamily;
|
195
|
+
font-weight: @itemHeaderFontWeight;
|
196
|
+
color: @itemHeaderColor;
|
197
|
+
}
|
197
198
|
}
|
198
199
|
|
199
|
-
|
200
|
-
|
201
|
-
.ui.list > .item .description
|
202
|
-
|
203
|
-
|
200
|
+
& when (@variationListDescription) {
|
201
|
+
/* Description */
|
202
|
+
.ui.list .list > .item .description,
|
203
|
+
.ui.list > .item .description {
|
204
|
+
display: block;
|
205
|
+
color: @itemDescriptionColor;
|
206
|
+
}
|
204
207
|
}
|
205
208
|
|
206
209
|
/* Child Link */
|
@@ -230,15 +233,17 @@ ol.ui.list ol li,
|
|
230
233
|
}
|
231
234
|
}
|
232
235
|
|
233
|
-
|
234
|
-
|
235
|
-
.ui.list > .item a.header
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
.ui.list > .item > a.header:hover
|
241
|
-
|
236
|
+
& when (@variationListHeader) {
|
237
|
+
/* Header Link */
|
238
|
+
.ui.list .list > .item a.header,
|
239
|
+
.ui.list > .item a.header {
|
240
|
+
cursor: pointer;
|
241
|
+
color: @itemHeaderLinkColor !important;
|
242
|
+
}
|
243
|
+
.ui.list .list > .item > a.header:hover,
|
244
|
+
.ui.list > .item > a.header:hover {
|
245
|
+
color: @itemHeaderLinkHoverColor !important;
|
246
|
+
}
|
242
247
|
}
|
243
248
|
|
244
249
|
& when (@variationListFloated) {
|
@@ -406,13 +411,17 @@ ol.ui.list ol li,
|
|
406
411
|
color: @invertedIconLinkColor;
|
407
412
|
}
|
408
413
|
}
|
409
|
-
|
410
|
-
|
411
|
-
|
414
|
+
& when (@variationListHeader) {
|
415
|
+
.ui.inverted.list .list > .item .header,
|
416
|
+
.ui.inverted.list > .item .header {
|
417
|
+
color: @invertedHeaderColor;
|
418
|
+
}
|
412
419
|
}
|
413
|
-
|
414
|
-
|
415
|
-
|
420
|
+
& when (@variationListDescription) {
|
421
|
+
.ui.inverted.list .list > .item .description,
|
422
|
+
.ui.inverted.list > .item .description {
|
423
|
+
color: @invertedDescriptionColor;
|
424
|
+
}
|
416
425
|
}
|
417
426
|
.ui.inverted.list .list > .item > .content,
|
418
427
|
.ui.inverted.list > .item > .content {
|
@@ -974,23 +983,24 @@ ol.ui.list ol li,
|
|
974
983
|
padding-right: @relaxedHorizontalPadding;
|
975
984
|
}
|
976
985
|
}
|
977
|
-
|
978
|
-
|
979
|
-
|
980
|
-
|
981
|
-
|
982
|
-
|
983
|
-
|
984
|
-
}
|
985
|
-
|
986
|
-
& when (@variationListHorizontal) {
|
987
|
-
.ui.horizontal[class*="very relaxed"].list .list > .item:not(:first-child),
|
988
|
-
.ui.horizontal[class*="very relaxed"].list > .item:not(:first-child) {
|
989
|
-
padding-left: @veryRelaxedHorizontalPadding;
|
986
|
+
& when (@variationListVeryRelaxed) {
|
987
|
+
/* Very Relaxed */
|
988
|
+
.ui[class*="very relaxed"].list:not(.horizontal) > .item:not(:first-child) {
|
989
|
+
padding-top: @veryRelaxedItemVerticalPadding;
|
990
|
+
}
|
991
|
+
.ui[class*="very relaxed"].list:not(.horizontal) > .item:not(:last-child) {
|
992
|
+
padding-bottom: @veryRelaxedItemVerticalPadding;
|
990
993
|
}
|
991
|
-
|
992
|
-
|
993
|
-
|
994
|
+
|
995
|
+
& when (@variationListHorizontal) {
|
996
|
+
.ui.horizontal[class*="very relaxed"].list .list > .item:not(:first-child),
|
997
|
+
.ui.horizontal[class*="very relaxed"].list > .item:not(:first-child) {
|
998
|
+
padding-left: @veryRelaxedHorizontalPadding;
|
999
|
+
}
|
1000
|
+
.ui.horizontal[class*="very relaxed"].list .list > .item:not(:last-child),
|
1001
|
+
.ui.horizontal[class*="very relaxed"].list > .item:not(:last-child) {
|
1002
|
+
padding-right: @veryRelaxedHorizontalPadding;
|
1003
|
+
}
|
994
1004
|
}
|
995
1005
|
}
|
996
1006
|
}
|
@@ -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,
|
@@ -296,12 +297,14 @@ each(@colors, {
|
|
296
297
|
border-bottom-color: transparent;
|
297
298
|
}
|
298
299
|
.ui.loading.loading.loading.loading.loading.loading.card:after,
|
300
|
+
.ui.loading.loading.loading.loading.loading.loading.segments:after,
|
299
301
|
.ui.loading.loading.loading.loading.loading.loading.segment:after,
|
300
302
|
.ui.loading.loading.loading.loading.loading.loading.form:after {
|
301
303
|
border-left-color:@loaderFillColor;
|
302
304
|
border-right-color:@loaderFillColor;
|
303
305
|
}
|
304
306
|
.ui.loading.loading.loading.loading.loading.loading.card:not(.double):after,
|
307
|
+
.ui.loading.loading.loading.loading.loading.loading.segments:not(.double):after,
|
305
308
|
.ui.loading.loading.loading.loading.loading.loading.segment:not(.double):after,
|
306
309
|
.ui.loading.loading.loading.loading.loading.loading.form:not(.double):after {
|
307
310
|
border-bottom-color: @loaderFillColor;
|
@@ -318,14 +321,14 @@ each(@colors, {
|
|
318
321
|
.ui.inverted.dimmer > .ui.elastic.loader {
|
319
322
|
color: @loaderLineColor;
|
320
323
|
}
|
321
|
-
.ui.elastic.loading.loading:not(.form):not(.segment):not(.card):after,
|
324
|
+
.ui.elastic.loading.loading:not(.form):not(.segment):not(.segments):not(.card):after,
|
322
325
|
.ui.elastic.loading.loading .input > i.icon:after,
|
323
326
|
.ui.elastic.loading.loading > i.icon:after,
|
324
327
|
.ui.elastic.loader.loader:after {
|
325
328
|
animation: loader 1s infinite cubic-bezier(.27, 1.05, .92, .61);
|
326
329
|
animation-delay: 0.3s;
|
327
330
|
}
|
328
|
-
.ui.elastic.loading.loading.loading:not(.form):not(.segment):not(.card):before,
|
331
|
+
.ui.elastic.loading.loading.loading:not(.form):not(.segment):not(.segments):not(.card):before,
|
329
332
|
.ui.elastic.loading.loading.loading .input > i.icon:before,
|
330
333
|
.ui.elastic.loading.loading.loading > i.icon:before,
|
331
334
|
.ui.elastic.loader.loader:before {
|
@@ -339,27 +342,27 @@ each(@colors, {
|
|
339
342
|
}
|
340
343
|
}
|
341
344
|
& when (@variationLoaderSpeeds) {
|
342
|
-
.ui.slow.elastic.loading.loading:not(.form):not(.segment):not(.card):after,
|
345
|
+
.ui.slow.elastic.loading.loading:not(.form):not(.segment):not(.segments):not(.card):after,
|
343
346
|
.ui.slow.elastic.loading.loading .input > i.icon:after,
|
344
347
|
.ui.slow.elastic.loading.loading > i.icon:after,
|
345
348
|
.ui.slow.elastic.loader.loader:after {
|
346
349
|
animation-duration: 1.5s;
|
347
350
|
animation-delay: 0.45s;
|
348
351
|
}
|
349
|
-
.ui.slow.elastic.loading.loading.loading:not(.form):not(.segment):not(.card):before,
|
352
|
+
.ui.slow.elastic.loading.loading.loading:not(.form):not(.segment):not(.segments):not(.card):before,
|
350
353
|
.ui.slow.elastic.loading.loading.loading .input > i.icon:before,
|
351
354
|
.ui.slow.elastic.loading.loading.loading > i.icon:before,
|
352
355
|
.ui.slow.elastic.loader.loader:before {
|
353
356
|
animation-duration: 1.5s;
|
354
357
|
}
|
355
|
-
.ui.fast.elastic.loading.loading:not(.form):not(.segment):not(.card):after,
|
358
|
+
.ui.fast.elastic.loading.loading:not(.form):not(.segment):not(.segments):not(.card):after,
|
356
359
|
.ui.fast.elastic.loading.loading .input > i.icon:after,
|
357
360
|
.ui.fast.elastic.loading.loading > i.icon:after,
|
358
361
|
.ui.fast.elastic.loader.loader:after {
|
359
362
|
animation-duration: 0.66s;
|
360
363
|
animation-delay: 0.20s;
|
361
364
|
}
|
362
|
-
.ui.fast.elastic.loading.loading.loading:not(.form):not(.segment):not(.card):before,
|
365
|
+
.ui.fast.elastic.loading.loading.loading:not(.form):not(.segment):not(.segments):not(.card):before,
|
363
366
|
.ui.fast.elastic.loading.loading.loading .input > i.icon:before,
|
364
367
|
.ui.fast.elastic.loading.loading.loading > i.icon:before,
|
365
368
|
.ui.fast.elastic.loader.loader:before {
|
@@ -49,10 +49,10 @@
|
|
49
49
|
border-radius: 0;
|
50
50
|
box-shadow: none;
|
51
51
|
border: none;
|
52
|
-
border-
|
52
|
+
border-top: @borderWidth solid @borderColor;
|
53
53
|
}
|
54
|
-
.ui.vertical.segment:
|
55
|
-
border-
|
54
|
+
.ui.vertical.segment:first-child {
|
55
|
+
border-top: none;
|
56
56
|
}
|
57
57
|
}
|
58
58
|
|
@@ -62,6 +62,8 @@
|
|
62
62
|
--------------------*/
|
63
63
|
& when (@variationSegmentInverted) {
|
64
64
|
/* Header */
|
65
|
+
.ui.inverted.segments .segment > .ui.header .sub.header,
|
66
|
+
.ui.inverted.segments .segment > .ui.header,
|
65
67
|
.ui.inverted.segment > .ui.header .sub.header,
|
66
68
|
.ui.inverted.segment > .ui.header {
|
67
69
|
color: @white;
|
@@ -137,6 +139,12 @@
|
|
137
139
|
background: @placeholderBackground;
|
138
140
|
border-color: @placeholderBorderColor;
|
139
141
|
box-shadow: @placeholderBoxShadow;
|
142
|
+
&.tab {
|
143
|
+
display: none;
|
144
|
+
&.active {
|
145
|
+
display: flex;
|
146
|
+
}
|
147
|
+
}
|
140
148
|
}
|
141
149
|
|
142
150
|
.ui.placeholder.segment .button,
|
@@ -291,9 +299,10 @@
|
|
291
299
|
.ui.padded.segment {
|
292
300
|
padding: @paddedSegmentPadding;
|
293
301
|
}
|
294
|
-
|
295
|
-
|
296
|
-
|
302
|
+
& when (@variationSegmentVeryPadded) {
|
303
|
+
.ui[class*="very padded"].segment {
|
304
|
+
padding: @veryPaddedSegmentPadding;
|
305
|
+
}
|
297
306
|
}
|
298
307
|
|
299
308
|
& when (@variationSegmentVertical) {
|
@@ -475,6 +484,10 @@
|
|
475
484
|
.ui.horizontal.segments > .segment:last-child {
|
476
485
|
border-radius: 0 @borderRadius @borderRadius 0;
|
477
486
|
}
|
487
|
+
/* Equal Width */
|
488
|
+
.ui[class*="equal width"].horizontal.segments > .segment {
|
489
|
+
width: 100%;
|
490
|
+
}
|
478
491
|
}
|
479
492
|
}
|
480
493
|
|
@@ -488,6 +501,7 @@
|
|
488
501
|
Disabled
|
489
502
|
---------------*/
|
490
503
|
|
504
|
+
.ui.disabled.segments,
|
491
505
|
.ui.disabled.segment {
|
492
506
|
opacity: @disabledOpacity;
|
493
507
|
color: @disabledTextColor;
|
@@ -501,6 +515,7 @@
|
|
501
515
|
Loading
|
502
516
|
---------------*/
|
503
517
|
|
518
|
+
.ui.loading.segments,
|
504
519
|
.ui.loading.segment {
|
505
520
|
position: relative;
|
506
521
|
cursor: default;
|
@@ -508,6 +523,7 @@
|
|
508
523
|
user-select: none;
|
509
524
|
transition: all 0s linear;
|
510
525
|
}
|
526
|
+
.ui.loading.segments:before,
|
511
527
|
.ui.loading.segment:before {
|
512
528
|
position: absolute;
|
513
529
|
content: '';
|
@@ -519,6 +535,7 @@
|
|
519
535
|
border-radius: @borderRadius;
|
520
536
|
z-index: @loaderDimmerZIndex;
|
521
537
|
}
|
538
|
+
.ui.loading.segments:after,
|
522
539
|
.ui.loading.segment:after {
|
523
540
|
position: absolute;
|
524
541
|
content: '';
|
@@ -575,22 +592,23 @@
|
|
575
592
|
/*-------------------
|
576
593
|
Colors
|
577
594
|
--------------------*/
|
578
|
-
|
579
|
-
each(@
|
580
|
-
|
581
|
-
|
582
|
-
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
|
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
|
+
}
|
590
608
|
}
|
591
609
|
}
|
592
|
-
}
|
593
|
-
}
|
610
|
+
})
|
611
|
+
}
|
594
612
|
|
595
613
|
& when (@variationSegmentAligned) {
|
596
614
|
/*-------------------
|
@@ -628,11 +646,13 @@ each(@colors,{
|
|
628
646
|
/*-------------------
|
629
647
|
Inverted
|
630
648
|
--------------------*/
|
631
|
-
|
649
|
+
.ui.inverted.segments,
|
650
|
+
.ui.inverted.segments .segment,
|
632
651
|
.ui.inverted.segment {
|
633
652
|
border: none;
|
634
653
|
box-shadow: none;
|
635
654
|
}
|
655
|
+
.ui.inverted.segments .segment,
|
636
656
|
.ui.inverted.segment,
|
637
657
|
.ui.primary.inverted.segment {
|
638
658
|
background: @invertedBackground;
|
@@ -654,9 +674,11 @@ each(@colors,{
|
|
654
674
|
}
|
655
675
|
& when (@variationSegmentLoading) {
|
656
676
|
/* Loading */
|
677
|
+
.ui.inverted.loading.segments,
|
657
678
|
.ui.inverted.loading.segment {
|
658
679
|
color: @invertedLoaderLineColor;
|
659
680
|
}
|
681
|
+
.ui.inverted.loading.segments:before,
|
660
682
|
.ui.inverted.loading.segment:before {
|
661
683
|
background: @loaderInvertedDimmerColor;
|
662
684
|
}
|
@@ -710,12 +732,12 @@ each(@colors,{
|
|
710
732
|
box-shadow: @attachedBoxShadow;
|
711
733
|
border: @attachedBorder;
|
712
734
|
}
|
713
|
-
.ui.attached:not(.message) + .ui.attached.segment:not(.top) {
|
735
|
+
.ui.attached:not(.message):not(.text) + .ui.attached.segment:not(.top) {
|
714
736
|
border-top: none;
|
715
737
|
}
|
716
738
|
|
717
739
|
/* Top */
|
718
|
-
.ui[class*="top attached"]
|
740
|
+
.ui.segment[class*="top attached"] {
|
719
741
|
bottom: 0;
|
720
742
|
margin-bottom: 0;
|
721
743
|
top: @attachedTopOffset;
|
@@ -725,6 +747,9 @@ each(@colors,{
|
|
725
747
|
.ui.segment[class*="top attached"]:first-child {
|
726
748
|
margin-top: 0;
|
727
749
|
}
|
750
|
+
.ui.tab.segment[class*="top attached"]:first-child {
|
751
|
+
margin-top: @verticalMargin;
|
752
|
+
}
|
728
753
|
|
729
754
|
/* Bottom */
|
730
755
|
.ui.segment[class*="bottom attached"] {
|
@@ -736,6 +761,9 @@ each(@colors,{
|
|
736
761
|
border-radius: 0 0 @borderRadius @borderRadius;
|
737
762
|
}
|
738
763
|
.ui.segment[class*="bottom attached"]:last-child {
|
764
|
+
margin-bottom: 0;
|
765
|
+
}
|
766
|
+
.ui.tab.segment[class*="bottom attached"]:last-child {
|
739
767
|
margin-bottom: @verticalMargin;
|
740
768
|
}
|
741
769
|
}
|