git repos / saland

embedded_libs/fmt-8.1.1/doc/bootstrap/mixins/labels.less

browsing at commit = 81a1a1d0d61527fd6f8a06e0d5cacf2c7dd7337f

raw · blame · history

// Labels

.label-variant(@color) {
  background-color: @color;

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