aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-ui/resources/scss/bootstrap/mixins/_background-variant.scss
blob: 533ff12c8425a417d1ada86d672d1582122172d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// 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%);
  }
}