_labels.scss 167 B

123456789101112
  1. // Labels
  2. @mixin label-variant($color) {
  3. background-color: $color;
  4. &[href] {
  5. &:hover,
  6. &:focus {
  7. background-color: darken($color, 10%);
  8. }
  9. }
  10. }