1
0
Fork 0
mirror of https://github.com/medialab-prado/datamad2017.git synced 2025-01-21 16:30:20 +01:00
datamad2017/_sass/vendor/bootstrap/mixins/_background-variant.scss

12 lines
212 B
SCSS
Raw Normal View History

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