Initial coomit for AAI-UI(sparky-fe)
[aai/sparky-fe.git] / resources / scss / bootstrap / mixins / _labels.scss
diff --git a/resources/scss/bootstrap/mixins/_labels.scss b/resources/scss/bootstrap/mixins/_labels.scss
new file mode 100644 (file)
index 0000000..3fa443c
--- /dev/null
@@ -0,0 +1,12 @@
+// Labels
+
+@mixin label-variant($color) {
+  background-color: $color;
+
+  &[href] {
+       &:hover,
+       &:focus {
+         background-color: darken($color, 10%);
+       }
+  }
+}