From 85a9d81638d240f3fa9ed01cb139ef33243b379b Mon Sep 17 00:00:00 2001 From: sanjeevi01 Date: Fri, 5 Jul 2019 15:30:52 +0530 Subject: Initial commit --- bootstrap/less/mixins/labels.less | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 bootstrap/less/mixins/labels.less (limited to 'bootstrap/less/mixins/labels.less') 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%); + } + } +} -- cgit