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