summaryrefslogtreecommitdiff
path: root/vendor/bootstrap-3.2.0/mixins/_labels.scss
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/bootstrap-3.2.0/mixins/_labels.scss')
-rw-r--r--vendor/bootstrap-3.2.0/mixins/_labels.scss12
1 files changed, 12 insertions, 0 deletions
diff --git a/vendor/bootstrap-3.2.0/mixins/_labels.scss b/vendor/bootstrap-3.2.0/mixins/_labels.scss
new file mode 100644
index 00000000..d99a6533
--- /dev/null
+++ b/vendor/bootstrap-3.2.0/mixins/_labels.scss
@@ -0,0 +1,12 @@
+// Labels
+
+@mixin label-variant($color) {
+ background-color: $color;
+
+ &[href] {
+ &:hover,
+ &:focus {
+ background-color: darken($color, 10%);
+ }
+ }
+}