Add new mixin to render buttons as links

This commit is contained in:
taitus
2021-03-30 13:48:48 +02:00
committed by Javi Martín
parent f1fcdc62da
commit bfbbda00e3

View File

@@ -19,3 +19,18 @@
@extend %button;
margin-bottom: 0;
}
@mixin link {
color: $link;
cursor: pointer;
&:hover,
&:active {
color: $link-hover;
text-decoration: underline;
}
&:focus {
outline: $outline-focus;
}
}