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

_background-variant.scss « mixins « scss « bootstrap « vendor « sass - github.com/mikeblum/hugo-now.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 54a734dcc82f5a0226df8c09bd03c4a9381d245e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Contextual backgrounds

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