File: _list-group.scss

package info (click to toggle)
bootstrap-html 5.2.3%2Bdfsg-8
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bookworm-backports
  • size: 11,436 kB
  • sloc: javascript: 17,668; makefile: 38; xml: 12
file content (24 lines) | stat: -rw-r--r-- 509 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// 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