mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-03-20 22:40:23 +00:00
Remove unrelated properties from gradient-bg mixin
This commit is contained in:
parent
c32209eb8a
commit
1bc2d65b29
1 changed files with 1 additions and 4 deletions
|
|
@ -3,12 +3,9 @@
|
|||
@mixin gradient-bg($color, $foreground: null) {
|
||||
@if $enable-gradients {
|
||||
@if $foreground {
|
||||
background-color: $color;
|
||||
background-image: $foreground, linear-gradient(180deg, mix($body-bg, $color, 15%), $color);
|
||||
background-repeat: no-repeat;
|
||||
background-size: 1em, auto;
|
||||
} @else {
|
||||
background: $color linear-gradient(180deg, mix($body-bg, $color, 15%), $color) repeat-x;
|
||||
background-image: linear-gradient(180deg, mix($body-bg, $color, 15%), $color);
|
||||
}
|
||||
} @else {
|
||||
background-color: $color;
|
||||
|
|
|
|||
Loading…
Reference in a new issue