diff options
| author | Frédéric van der Essen <fva@openerp.com> | 2013-01-09 14:18:48 +0100 |
|---|---|---|
| committer | Frédéric van der Essen <fva@openerp.com> | 2013-01-09 14:18:48 +0100 |
| commit | 16e1ca6880884e95df2aa77a07b481f87534b5b5 (patch) | |
| tree | 969df75d40c7dc671934505954cbf2c214b41b70 /addons/web/static/src/css/base.sass | |
| parent | 312de1446b98ba4124f86b32be4cde9e4b4a74d4 (diff) | |
[IMP] css: made the fallback color for gradients a mix of the endcolors instead of simply the start. Why? Because it's a better fallback of course.
bzr revid: fva@openerp.com-20130109131848-z3t8ad2qadypcduv
Diffstat (limited to 'addons/web/static/src/css/base.sass')
| -rw-r--r-- | addons/web/static/src/css/base.sass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index b6ac4204812..42ade77ccbb 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -42,7 +42,7 @@ $sheet-padding: 16px @include box-shadow(none) @mixin vertical-gradient($startColor: #555, $endColor: #333) - background-color: $startColor + background-color: mix($startColor, $endColor) background-image: -webkit-gradient(linear, left top, left bottom, from($startColor), to($endColor)) /* Saf4+, Chrome */ background-image: -webkit-linear-gradient(top, $startColor, $endColor) /* Chrome 10+, Saf5.1+, iOS 5+ */ background-image: -moz-linear-gradient(top, $startColor, $endColor) /* FF3.6 */ |
