mirror of
https://github.com/samsonjs/media.git
synced 2026-03-26 09:35:47 +00:00
33 lines
No EOL
391 B
SCSS
33 lines
No EOL
391 B
SCSS
@mixin plain() {
|
|
&,
|
|
&:link,
|
|
&:visited {
|
|
@content;
|
|
}
|
|
}
|
|
|
|
@mixin hover() {
|
|
.root[data-is-touch="false"] &:hover {
|
|
@content;
|
|
}
|
|
}
|
|
|
|
@mixin active() {
|
|
.root[data-is-touch] &.active,
|
|
.root[data-is-touch] &:active {
|
|
@content;
|
|
}
|
|
}
|
|
|
|
@mixin focus() {
|
|
.root[data-is-touch] &.focus {
|
|
@content;
|
|
}
|
|
}
|
|
|
|
@mixin disabled() {
|
|
&.disabled,
|
|
&:disabled {
|
|
@content;
|
|
}
|
|
} |