benivo-ui-library 1.8.18 → 1.8.20

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
@@ -215,7 +215,6 @@
215
215
  }
216
216
 
217
217
  &.disabled {
218
- pointer-events: none;
219
218
  .filter(grayscale(100%));
220
219
  }
221
220
  }
@@ -231,6 +230,14 @@
231
230
  input:checked + .on-off-slide {
232
231
  background-color: @primary-color;
233
232
  border-color: @primary-color;
233
+
234
+ &.not-allowed{
235
+ background-color: lighten(@primary-color, 20%);
236
+ border-color: lighten(@primary-color, 20%);
237
+ &::before{
238
+ border-color: lighten(@primary-color, 20%);
239
+ }
240
+ }
234
241
  }
235
242
 
236
243
  input:focus + .on-off-slide {