git repos / saland

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

browsing at commit = f3881875a3dc5f02f822bf7e21789d6432e22434

raw · blame · history

// Labels

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

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