dc09-hugo/themes/qogir/assets/scss/button.scss

23 lines
433 B
SCSS

@mixin button {
display: block;
padding: 0.25rem 0.5rem;
// border-radius: 0.25rem;
background: transparent;
color: $fg;
border: 0.0625rem solid $border;
transition:
background-color 0.075s linear,
border-color 0.1s linear;
&:hover {
background: rgba(255, 255, 255, 0.1);
border-color: rgba(255, 255, 255, 0.1);
}
&:active {
background: $bg-selected;
border-color: $bg-selected;
}
}