snipe-it/bower_components/bootstrap/scss/mixins/_background-variant.scss

13 lines
235 B
SCSS
Raw Normal View History

2017-01-11 03:05:06 -08:00
// Contextual backgrounds
@mixin bg-variant($parent, $color) {
#{$parent} {
background-color: $color !important;
}
a#{$parent} {
@include hover-focus {
background-color: darken($color, 10%) !important;
}
}
}