@aire-ux/aire-switch
Version:
13 lines • 360 B
CSS
.gui-switch > input:disabled {
cursor: not-allowed;
--thumb-color: transparent;
}
.gui-switch > input:disabled::before {
cursor: not-allowed;
box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.4980392157);
}
@media (prefers-color-scheme: dark) {
.gui-switch > input:disabled::before {
box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.4980392157);
}
}