diff options
Diffstat (limited to 'assets/css/lib/bootstrap/mixins/_labels.scss')
-rw-r--r-- | assets/css/lib/bootstrap/mixins/_labels.scss | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/assets/css/lib/bootstrap/mixins/_labels.scss b/assets/css/lib/bootstrap/mixins/_labels.scss new file mode 100644 index 0000000..d99a653 --- /dev/null +++ b/assets/css/lib/bootstrap/mixins/_labels.scss @@ -0,0 +1,12 @@ +// Labels + +@mixin label-variant($color) { + background-color: $color; + + &[href] { + &:hover, + &:focus { + background-color: darken($color, 10%); + } + } +} |