Version 1
[yaffs-website] / vendor / twbs / bootstrap-sass / assets / stylesheets / bootstrap / mixins / _labels.scss
diff --git a/vendor/twbs/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_labels.scss b/vendor/twbs/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_labels.scss
new file mode 100644 (file)
index 0000000..eda6dfd
--- /dev/null
@@ -0,0 +1,12 @@
+// Labels
+
+@mixin label-variant($color) {
+  background-color: $color;
+
+  &[href] {
+    &:hover,
+    &:focus {
+      background-color: darken($color, 10%);
+    }
+  }
+}