benivo-ui-library 1.7.23 → 1.7.25

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/checkbox.less CHANGED
@@ -196,6 +196,7 @@
196
196
  bottom: 0;
197
197
  .border-radius(18px);
198
198
  background-color: #ccc;
199
+ border: solid 1px #ccc;
199
200
  .transition(.4s);
200
201
 
201
202
  &:before {
@@ -204,18 +205,27 @@
204
205
  height: 16px;
205
206
  width: 16px;
206
207
  left: 2px;
207
- bottom: 2px;
208
- top: 2px;
208
+ bottom: 1px;
209
+ top: 1px;
209
210
  .border-radius(50%);
210
211
  background-color: white;
211
212
  .transition(.4s);
212
213
  }
213
214
 
214
215
  &.disabled {
216
+ pointer-events: none;
215
217
  .filter(grayscale(100%));
216
218
  }
217
219
  }
218
220
 
221
+ input:hover + label.on-off-slide {
222
+ border-color: @primary-color;
223
+
224
+ &:before {
225
+ border-color: #d9d9d9;
226
+ }
227
+ }
228
+
219
229
  input:checked + .on-off-slide {
220
230
  background-color: @primary-color;
221
231
  }