mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-29 11:24:18 +01: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>
25 lines
509 B
SCSS
25 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
|