mirror of
https://github.com/hunvreus/basecoat.git
synced 2026-11-13 21:58:17 +00:00
9 lines
384 B
CSS
9 lines
384 B
CSS
/* Switch */
|
|
@layer components {
|
|
.field > input[type='checkbox'][role='switch'],
|
|
.input[type='checkbox'][role='switch'] {
|
|
@apply inline-flex shrink-0 appearance-none items-center transition-all outline-none disabled:cursor-not-allowed disabled:opacity-50;
|
|
@apply before:pointer-events-none before:block before:content-[''] before:ring-0 before:transition-transform;
|
|
}
|
|
}
|