big-moving.ru/assets/vendor_components/bootstrap/scss/mixins/_background-variant.scss

13 lines
235 B
SCSS
Raw Normal View History

2022-06-24 15:29:23 +05:00
// Contextual backgrounds
@mixin bg-variant($parent, $color) {
#{$parent} {
background-color: $color !important;
}
a#{$parent} {
@include hover-focus {
background-color: darken($color, 10%) !important;
}
}
}