_labels.scss 167 Bytes
Newer Older
somyos's avatar
somyos committed
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%);
    }
  }
}