You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
581 B

5 months ago
  1. @include deprecate("`list-group-item-variant()`", "v5.3.0", "v6.0.0");
  2. // List Groups
  3. // scss-docs-start list-group-mixin
  4. @mixin list-group-item-variant($state, $background, $color) {
  5. .list-group-item-#{$state} {
  6. color: $color;
  7. background-color: $background;
  8. &.list-group-item-action {
  9. &:hover,
  10. &:focus {
  11. color: $color;
  12. background-color: shade-color($background, 10%);
  13. }
  14. &.active {
  15. color: $white;
  16. background-color: $color;
  17. border-color: $color;
  18. }
  19. }
  20. }
  21. }
  22. // scss-docs-end list-group-mixin