Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_background-variant.scss « mixins « bootstrap « stylesheets « assets - github.com/twbs/bootstrap-rubygem.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ff21ad958f70a00c4243d34d64768ed6fce78d3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Contextual backgrounds

@mixin bg-variant($parent, $color) {
  #{$parent} {
    color: #fff !important;
    background-color: $color !important;
  }
  a#{$parent} {
    @include hover-focus {
      background-color: darken($color, 10%) !important;
    }
  }
}