17 lines
206 B
SCSS
17 lines
206 B
SCSS
@mixin unfocused-style {
|
|
@content;
|
|
|
|
&:focus:not(:focus-visible):not(:hover) {
|
|
@content;
|
|
}
|
|
}
|
|
|
|
@mixin focused-style {
|
|
&:hover, &:focus {
|
|
@content;
|
|
}
|
|
|
|
&:focus-visible {
|
|
@content;
|
|
}
|
|
}
|