|
55 | 55 | }
|
56 | 56 |
|
57 | 57 |
|
58 |
| -& when (@variationCheckboxBox) { |
59 |
| - /*-------------- |
60 |
| - Box |
61 |
| - ---------------*/ |
62 |
| - |
63 |
| - /* .box selector is deprecated and will be removed in v3 */ |
64 |
| - .ui.checkbox .box { |
65 |
| - &:extend(.ui.checkbox label all); |
66 |
| - } |
67 |
| - .ui.checkbox + .box { |
68 |
| - &:extend(.ui.checkbox + label all); |
69 |
| - } |
70 |
| - .ui.checkbox input:focus ~ .box { |
71 |
| - &:extend(.ui.checkbox input:focus ~ label all); |
72 |
| - } |
73 |
| - .ui.checkbox input:checked ~ .box { |
74 |
| - &:extend(.ui.checkbox input:checked ~ label all); |
75 |
| - } |
76 |
| - & when (@variationCheckboxIndeterminate) { |
77 |
| - .ui.checkbox input:not([type=radio]):indeterminate ~ .box { |
78 |
| - &:extend(.ui.checkbox input:not([type=radio]):indeterminate ~ label all); |
79 |
| - } |
80 |
| - .ui.checkbox input:not([type=radio]):indeterminate:focus ~ .box { |
81 |
| - &:extend(.ui.checkbox input:not([type=radio]):indeterminate:focus ~ label all); |
82 |
| - } |
83 |
| - } |
84 |
| - .ui.checkbox input:checked:focus ~ .box { |
85 |
| - &:extend(.ui.checkbox input:checked:focus ~ label all); |
86 |
| - } |
87 |
| - & when (@variationCheckboxDisabled) { |
88 |
| - .ui.disabled.checkbox .box { |
89 |
| - &:extend(.ui.disabled.checkbox label all); |
90 |
| - } |
91 |
| - |
92 |
| - .ui.checkbox input[disabled] ~ .box { |
93 |
| - &:extend(.ui.checkbox input[disabled] ~ label all); |
94 |
| - } |
95 |
| - } |
96 |
| - & when (@variationCheckboxRadio) { |
97 |
| - .ui.radio.checkbox .box { |
98 |
| - &:extend(.ui.radio.checkbox label all); |
99 |
| - } |
100 |
| - .ui.radio.checkbox input:focus ~ .box { |
101 |
| - &:extend(.ui.radio.checkbox input:focus ~ label all); |
102 |
| - } |
103 |
| - .ui.radio.checkbox input:indeterminate ~ .box { |
104 |
| - &:extend(.ui.radio.checkbox input:indeterminate ~ label all); |
105 |
| - } |
106 |
| - .ui.radio.checkbox input:checked ~ .box { |
107 |
| - &:extend(.ui.radio.checkbox input:checked ~ label all); |
108 |
| - } |
109 |
| - .ui.radio.checkbox input:focus:checked ~ .box { |
110 |
| - &:extend(.ui.radio.checkbox input:focus:checked ~ label all); |
111 |
| - } |
112 |
| - } |
113 |
| - & when (@variationCheckboxSlider) { |
114 |
| - .ui.slider.checkbox .box { |
115 |
| - &:extend(.ui.slider.checkbox label all); |
116 |
| - } |
117 |
| - .ui.slider.checkbox input:focus ~ .box { |
118 |
| - &:extend(.ui.slider.checkbox input:focus ~ label all); |
119 |
| - } |
120 |
| - .ui.slider.checkbox input:checked ~ .box { |
121 |
| - &:extend(.ui.slider.checkbox input:checked ~ label all); |
122 |
| - } |
123 |
| - .ui.slider.checkbox input:focus:checked ~ .box { |
124 |
| - &:extend(.ui.slider.checkbox input:focus:checked ~ label all); |
125 |
| - } |
126 |
| - } |
127 |
| - & when (@variationCheckboxToggle) { |
128 |
| - .ui.toggle.checkbox .box { |
129 |
| - &:extend(.ui.toggle.checkbox label all); |
130 |
| - } |
131 |
| - .ui.toggle.checkbox input ~ .box { |
132 |
| - &:extend(.ui.toggle.checkbox input ~ label all); |
133 |
| - } |
134 |
| - .ui.toggle.checkbox input:focus ~ .box { |
135 |
| - &:extend(.ui.toggle.checkbox input:focus ~ label all); |
136 |
| - } |
137 |
| - .ui.toggle.checkbox input:checked ~ .box { |
138 |
| - &:extend(.ui.toggle.checkbox input:checked ~ label all); |
139 |
| - } |
140 |
| - .ui.toggle.checkbox input:focus:checked ~ .box { |
141 |
| - &:extend(.ui.toggle.checkbox input:focus:checked ~ label all); |
142 |
| - } |
143 |
| - } |
144 |
| - & when (@variationCheckboxFitted) { |
145 |
| - .ui.fitted.checkbox .box { |
146 |
| - &:extend(.ui.fitted.checkbox label all); |
147 |
| - } |
148 |
| - } |
149 |
| - & when (@variationCheckboxInverted) { |
150 |
| - .ui.inverted.checkbox .box { |
151 |
| - &:extend(.ui.inverted.checkbox label all); |
152 |
| - } |
153 |
| - & when (@variationCheckboxSlider) { |
154 |
| - .ui.inverted.slider.checkbox .box { |
155 |
| - &:extend(.ui.inverted.slider.checkbox label all); |
156 |
| - } |
157 |
| - .ui.inverted.slider.checkbox input:checked ~ .box { |
158 |
| - &:extend(.ui.inverted.slider.checkbox input:checked ~ label all); |
159 |
| - } |
160 |
| - .ui.inverted.slider.checkbox input:focus:checked ~ .box { |
161 |
| - &:extend(.ui.inverted.slider.checkbox input:focus:checked ~ label all); |
162 |
| - } |
163 |
| - } |
164 |
| - & when (@variationCheckboxToggle) { |
165 |
| - .ui.inverted.toggle.checkbox .box { |
166 |
| - &:extend(.ui.inverted.toggle.checkbox label all); |
167 |
| - } |
168 |
| - .ui.inverted.toggle.checkbox input:checked ~ .box { |
169 |
| - &:extend(.ui.inverted.toggle.checkbox input:checked ~ label all); |
170 |
| - } |
171 |
| - .ui.inverted.toggle.checkbox input:focus:checked ~ .box { |
172 |
| - &:extend(.ui.inverted.toggle.checkbox input:focus:checked ~ label all); |
173 |
| - } |
174 |
| - } |
175 |
| - } |
176 |
| -} |
177 |
| - |
178 | 58 | .ui.checkbox label {
|
179 | 59 | cursor: auto;
|
180 | 60 | position: relative;
|
@@ -833,32 +713,6 @@ each(@variationCheckboxSizes, {
|
833 | 713 | }
|
834 | 714 | }
|
835 | 715 | }
|
836 |
| - & when (@@raw > 1) and (@variationCheckboxBox) { |
837 |
| - .ui.@{value}.form .checkbox, |
838 |
| - .ui.@{value}.checkbox { |
839 |
| - &:not(.slider):not(.toggle):not(.radio) { |
840 |
| - & |
841 |
| - .box:after, |
842 |
| - .box:before { |
843 |
| - transform: scale(@@raw); |
844 |
| - transform-origin:left; |
845 |
| - } |
846 |
| - } |
847 |
| - &.radio when (@variationCheckboxRadio) { |
848 |
| - & |
849 |
| - .box:before { |
850 |
| - transform: scale(@@raw); |
851 |
| - transform-origin:left; |
852 |
| - } |
853 |
| - & |
854 |
| - .box:after { |
855 |
| - transform:scale(@@circleScale); |
856 |
| - transform-origin:left; |
857 |
| - left: @@circleLeft; |
858 |
| - } |
859 |
| - } |
860 |
| - } |
861 |
| - } |
862 | 716 | })
|
863 | 717 |
|
864 | 718 | .loadUIOverrides();
|
0 commit comments