mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-10 23:54:12 -08:00
13 lines
235 B
SCSS
13 lines
235 B
SCSS
// Contextual backgrounds
|
|
|
|
@mixin bg-variant($parent, $color) {
|
|
#{$parent} {
|
|
background-color: $color !important;
|
|
}
|
|
a#{$parent} {
|
|
@include hover-focus {
|
|
background-color: darken($color, 10%) !important;
|
|
}
|
|
}
|
|
}
|