aboutsummaryrefslogtreecommitdiffstats
path: root/alphabetlearning/static/scss/mixins/_list-group.scss
diff options
context:
space:
mode:
Diffstat (limited to 'alphabetlearning/static/scss/mixins/_list-group.scss')
-rw-r--r--alphabetlearning/static/scss/mixins/_list-group.scss26
1 files changed, 26 insertions, 0 deletions
diff --git a/alphabetlearning/static/scss/mixins/_list-group.scss b/alphabetlearning/static/scss/mixins/_list-group.scss
new file mode 100644
index 0000000..6274f34
--- /dev/null
+++ b/alphabetlearning/static/scss/mixins/_list-group.scss
@@ -0,0 +1,26 @@
+@include deprecate("`list-group-item-variant()`", "v5.3.0", "v6.0.0");
+
+// List Groups
+
+// scss-docs-start list-group-mixin
+@mixin list-group-item-variant($state, $background, $color) {
+ .list-group-item-#{$state} {
+ color: $color;
+ background-color: $background;
+
+ &.list-group-item-action {
+ &:hover,
+ &:focus {
+ color: $color;
+ background-color: shade-color($background, 10%);
+ }
+
+ &.active {
+ color: $white;
+ background-color: $color;
+ border-color: $color;
+ }
+ }
+ }
+}
+// scss-docs-end list-group-mixin