on remplace knacss par bootstrap 4 allégé
This commit is contained in:
parent
e97ccbbdf2
commit
2079cdcf3c
127 changed files with 24911 additions and 7478 deletions
20
bootstrap/css/mixins/_background-variant.scss
Normal file
20
bootstrap/css/mixins/_background-variant.scss
Normal file
|
@ -0,0 +1,20 @@
|
|||
// stylelint-disable declaration-no-important
|
||||
|
||||
// Contextual backgrounds
|
||||
|
||||
@mixin bg-variant($parent, $color) {
|
||||
#{$parent} {
|
||||
background-color: $color !important;
|
||||
}
|
||||
a#{$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;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue