vendor/assets/stylesheets/components/_switch.scss in active_frontend-14.0.53 vs vendor/assets/stylesheets/components/_switch.scss in active_frontend-14.0.54

- old
+ new

@@ -16,11 +16,19 @@ overflow: hidden; position: relative; vertical-align: top; width: 56px; - input[type='checkbox'] { display: none; } + input[type='checkbox'], + input[type='radio'] { + left: -9999px; + margin: 0; + padding: 0; + position: absolute; + visibility: hidden; + top: -9999px; + } .switch-group { @include transition(left 0.125s ease-in-out); @include user-select(none); border-color: inherit; @@ -67,9 +75,14 @@ } &.off { .switch-group { left: -100%; } .switch-handle { right: calc(50% - 27px); } + } + &.disabled { + cursor: not-allowed; + + * { cursor: not-allowed; } } &.dark { .switch-handle { background: color(light-black); } } &.light {