mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-17 10:42:19 -05:00
migrated to ASP.Net Core
This commit is contained in:
21
Webfront/Content/bootstrap/mixins/_background-variant.scss
Normal file
21
Webfront/Content/bootstrap/mixins/_background-variant.scss
Normal file
@ -0,0 +1,21 @@
|
||||
// stylelint-disable declaration-no-important
|
||||
|
||||
// Contextual backgrounds
|
||||
|
||||
@mixin bg-variant($parent, $color) {
|
||||
#{$parent} {
|
||||
background-color: $color !important;
|
||||
}
|
||||
a#{$parent},
|
||||
button#{$parent} {
|
||||
@include hover-focus {
|
||||
background-color: darken($color, 10%) !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@mixin bg-gradient-variant($parent, $color) {
|
||||
#{$parent} {
|
||||
background: $color linear-gradient(180deg, mix($body-bg, $color, 15%), $color) repeat-x !important;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user