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

_badge.scss « mixins « scss - github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: cf99b3537a48278a8c6a621816004f16f94f27c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
@mixin badge-variant($bg) {
  color: color-yiq($bg);
  background-color: $bg;

  @at-root a#{&} {
    @include hover-focus {
      color: color-yiq($bg);
      background-color: darken($bg, 10%);
    }
  }
}