Policy 1707 commit to LF
[policy/engine.git] / POLICY-SDK-APP / src / main / webapp / app / policyApp / CSS / bootstrap / less / mixins / list-group.less
diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/less/mixins/list-group.less b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/less/mixins/list-group.less
new file mode 100644 (file)
index 0000000..8b5b065
--- /dev/null
@@ -0,0 +1,29 @@
+// List Groups
+
+.list-group-item-variant(@state; @background; @color) {
+  .list-group-item-@{state} {
+    color: @color;
+    background-color: @background;
+
+    a& {
+      color: @color;
+
+      .list-group-item-heading {
+        color: inherit;
+      }
+
+      &:hover,
+      &:focus {
+        color: @color;
+        background-color: darken(@background, 5%);
+      }
+      &.active,
+      &.active:hover,
+      &.active:focus {
+        color: #fff;
+        background-color: @color;
+        border-color: @color;
+      }
+    }
+  }
+}