Blame view

frontend/themes/markup/src/scss/bootstrap/mixins/_background-variant.scss 212 Bytes
d1f8bd40   Alexey Boroda   first commit
1
2
3
4
5
6
7
8
9
10
11
  // Contextual backgrounds
  
  // [converter] $parent hack
  @mixin bg-variant($parent, $color) {
    #{$parent} {
      background-color: $color;
    }
    a#{$parent}:hover {
      background-color: darken($color, 10%);
    }
  }