summaryrefslogtreecommitdiff
path: root/pages/assets/bootstrap/mixins/_labels.scss
blob: eda6dfd29ea1709380b27748ef5d082fed20903a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Labels

@mixin label-variant($color) {
  background-color: $color;

  &[href] {
    &:hover,
    &:focus {
      background-color: darken($color, 10%);
    }
  }
}