diff options
Diffstat (limited to 'bootstrap/less/mixins/labels.less')
-rwxr-xr-x | bootstrap/less/mixins/labels.less | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/bootstrap/less/mixins/labels.less b/bootstrap/less/mixins/labels.less new file mode 100755 index 0000000..9f7a67e --- /dev/null +++ b/bootstrap/less/mixins/labels.less @@ -0,0 +1,12 @@ +// Labels + +.label-variant(@color) { + background-color: @color; + + &[href] { + &:hover, + &:focus { + background-color: darken(@color, 10%); + } + } +} |