File tree Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Original file line number Diff line number Diff line change 805
805
}
806
806
}
807
807
808
+ & when not (@variationPopupColors = false) {
809
+ each(@variationPopupColors , {
810
+ @color : @value ;
811
+ @c : @colors [@@color ][color ];
812
+ @l : @colors [@@color ][light ];
813
+
814
+ & when not (@variationPopupTooltip ) {
815
+ .ui.ui.ui.@{color} .popup ::before ,
816
+ .ui.@{color} .popup {
817
+ background : @c ;
818
+ color : @white ;
819
+ border : none ;
820
+ }
821
+ .ui.ui.ui.@{color} .popup ::before {
822
+ box-shadow : none ;
823
+ }
824
+ & when (@variationPopupInverted ) {
825
+ .ui.inverted.@{color} .popup ::before ,
826
+ .ui.inverted.@{color} .popup {
827
+ background : @l ;
828
+ color : @black ;
829
+ }
830
+ }
831
+ }
832
+ & when (@variationPopupTooltip ) {
833
+ .ui.ui.ui.@{color} .popup ::before ,
834
+ .ui.@{color} .popup ,
835
+ [data- tooltip][data- variation~= " @{color} " ]::after ,
836
+ [data- tooltip][data- variation~= " @{color} " ]::before {
837
+ background : @c ;
838
+ color : @white ;
839
+ border : none ;
840
+ }
841
+ .ui.ui.ui.@{color} .popup ::before ,
842
+ [data- tooltip][data- variation~= " @{color} " ]::before {
843
+ box-shadow : none ;
844
+ }
845
+ & when (@variationPopupInverted ) {
846
+ .ui.ui.ui.inverted.@{color} .popup ::before ,
847
+ .ui.inverted.@{color} .popup ,
848
+ [data- tooltip][data- inverted][data- variation~= " @{color} " ]::after ,
849
+ [data- tooltip][data- inverted][data- variation~= " @{color} " ]::before {
850
+ background : @l ;
851
+ color : @black ;
852
+ }
853
+ }
854
+ }
855
+ })
856
+ }
857
+
808
858
& when (@variationPopupFlowing ) {
809
859
/* --------------
810
860
Flowing
You can’t perform that action at this time.
0 commit comments