Browse code

Created repository.

DoubleBastionAdmin authored on 02/03/2022 00:26:46
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,30 @@
1
+// List Groups
2
+
3
+.list-group-item-variant(@state; @background; @color) {
4
+  .list-group-item-@{state} {
5
+    color: @color;
6
+    background-color: @background;
7
+
8
+    a&,
9
+    button& {
10
+      color: @color;
11
+
12
+      .list-group-item-heading {
13
+        color: inherit;
14
+      }
15
+
16
+      &:hover,
17
+      &:focus {
18
+        color: @color;
19
+        background-color: darken(@background, 5%);
20
+      }
21
+      &.active,
22
+      &.active:hover,
23
+      &.active:focus {
24
+        color: #fff;
25
+        background-color: @color;
26
+        border-color: @color;
27
+      }
28
+    }
29
+  }
30
+}