mode-icons/bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_background-variant.scss

12 lines
233 B
SCSS

// Contextual backgrounds
// [converter] $parent hack
@mixin bg-variant($parent, $color) {
#{$parent} {
background-color: $color;
}
a#{$parent}:hover,
a#{$parent}:focus {
background-color: darken($color, 10%);
}
}