authserver/testCAS/resources/assets/less/bootstrap/mixins/list-group.less
changeset 0 1afc9d2ab94d
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/authserver/testCAS/resources/assets/less/bootstrap/mixins/list-group.less	Wed Apr 01 15:31:12 2015 +0200
@@ -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;
+      }
+    }
+  }
+}