pleroma-fe/src/_mixins.scss
2022-08-22 20:28:52 +00:00

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;
}
}