1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-11-01 20:14:15 +00:00
webvirtcloud/dev/scss/bootstrap/mixins/_list-group.scss

25 lines
509 B
SCSS
Raw Normal View History

2020-05-19 16:53:54 +00:00
// List Groups
// scss-docs-start list-group-mixin
2020-05-19 16:53:54 +00:00
@mixin list-group-item-variant($state, $background, $color) {
.list-group-item-#{$state} {
color: $color;
background-color: $background;
&.list-group-item-action {
&:hover,
&:focus {
2020-05-19 16:53:54 +00:00
color: $color;
background-color: shade-color($background, 10%);
2020-05-19 16:53:54 +00:00
}
&.active {
color: $white;
background-color: $color;
border-color: $color;
}
}
}
}
// scss-docs-end list-group-mixin