mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-20 17:54:23 +01:00
Remove unrelated properties from gradient-bg mixin
This commit is contained in:
parent
c32209eb8a
commit
1bc2d65b29
@ -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…
x
Reference in New Issue
Block a user