regluit/static/less/mixins/background-variant.less

10 lines
151 B
Plaintext

// Contextual backgrounds
.bg-variant(@color) {
background-color: @color;
a&:hover,
a&:focus {
background-color: darken(@color, 10%);
}
}