mirror of
https://github.com/CoderSherlock/CoderSherlock.github.io.git
synced 2026-06-13 08:08:10 -07:00
Updated to new theme of TeXt
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
@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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user