Policy 1707 commit to LF
[policy/engine.git] / POLICY-SDK-APP / src / main / webapp / app / policyApp / CSS / bootstrap / less / mixins / labels.less
diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/less/mixins/labels.less b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/less/mixins/labels.less
new file mode 100644 (file)
index 0000000..9f7a67e
--- /dev/null
@@ -0,0 +1,12 @@
+// Labels
+
+.label-variant(@color) {
+  background-color: @color;
+
+  &[href] {
+    &:hover,
+    &:focus {
+      background-color: darken(@color, 10%);
+    }
+  }
+}