virt2/assets/vendor_components/bootstrap/scss/mixins/_background-variant.scss

13 lines
235 B
SCSS
Raw Permalink Normal View History

// Contextual backgrounds
@mixin bg-variant($parent, $color) {
#{$parent} {
background-color: $color !important;
}
a#{$parent} {
@include hover-focus {
background-color: darken($color, 10%) !important;
}
}
}