cycat-project-website/_sass/bootstrap/mixins/_list-group.scss

22 lines
433 B
SCSS
Raw Normal View History

2018-12-09 08:21:01 +01:00
// List Groups
@mixin list-group-item-variant($state, $background, $color) {
.list-group-item-#{$state} {
color: $color;
background-color: $background;
&.list-group-item-action {
2020-08-23 12:01:06 +02:00
@include hover-focus() {
2018-12-09 08:21:01 +01:00
color: $color;
background-color: darken($background, 5%);
}
&.active {
2020-08-23 12:01:06 +02:00
color: $white;
2018-12-09 08:21:01 +01:00
background-color: $color;
border-color: $color;
}
}
}
}