mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
4c7a3e8adf
* WIP: Mention variables, mixins, and loops in docs * Add Sass sections to component pages * add sass docs for forms and content * Update buttons.md * Remove empty mixins sections * Massive update to utilities and some consistency changes Co-authored-by: XhmikosR <xhmikosr@gmail.com>
24 lines
509 B
SCSS
24 lines
509 B
SCSS
// 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
|