git repos / saland

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

browsing at commit = 9e22ce893831fa928628fecb3ac37e59e0a44084

raw · blame · history

// Labels

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

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