diff options
| author | Minh Tran <mit@openerp.com> | 2012-09-04 19:02:47 +0200 |
|---|---|---|
| committer | Minh Tran <mit@openerp.com> | 2012-09-04 19:02:47 +0200 |
| commit | 7761a0f603e90fa833d6f6c2abdd806d98fd9cc6 (patch) | |
| tree | 71ba15c8cde0caa9811e5d5ea5fb5158e0de3c3c /addons/web/static/src/css | |
| parent | 7ce2e6ff63e744cc6509ba7360bd75efdeec1457 (diff) | |
styling tweaks to red buttons
bzr revid: mit@openerp.com-20120904170247-fcqvjiy8n46zyf38
Diffstat (limited to 'addons/web/static/src/css')
| -rw-r--r-- | addons/web/static/src/css/base.css | 28 | ||||
| -rw-r--r-- | addons/web/static/src/css/base.sass | 4 |
2 files changed, 16 insertions, 16 deletions
diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index 1a1a07d0fb5..846c62f64b4 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -432,22 +432,22 @@ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(155, 155, 155, 0.4) inset; } .openerp button.oe_highlight:hover { - background-color: #e46565; - background-image: -webkit-gradient(linear, left top, left bottom, from(#e46565), to(#b81e1e)); - background-image: -webkit-linear-gradient(top, #e46565, #b81e1e); - background-image: -moz-linear-gradient(top, #e46565, #b81e1e); - background-image: -ms-linear-gradient(top, #e46565, #b81e1e); - background-image: -o-linear-gradient(top, #e46565, #b81e1e); - background-image: linear-gradient(to bottom, #e46565, #b81e1e); + background-color: #e25858; + background-image: -webkit-gradient(linear, left top, left bottom, from(#e25858), to(#ab1b1b)); + background-image: -webkit-linear-gradient(top, #e25858, #ab1b1b); + background-image: -moz-linear-gradient(top, #e25858, #ab1b1b); + background-image: -ms-linear-gradient(top, #e25858, #ab1b1b); + background-image: -o-linear-gradient(top, #e25858, #ab1b1b); + background-image: linear-gradient(to bottom, #e25858, #ab1b1b); } .openerp button.oe_highlight:active { - background-color: #ab1b1b; - background-image: -webkit-gradient(linear, left top, left bottom, from(#ab1b1b), to(#e04848)); - background-image: -webkit-linear-gradient(top, #ab1b1b, #e04848); - background-image: -moz-linear-gradient(top, #ab1b1b, #e04848); - background-image: -ms-linear-gradient(top, #ab1b1b, #e04848); - background-image: -o-linear-gradient(top, #ab1b1b, #e04848); - background-image: linear-gradient(to bottom, #ab1b1b, #e04848); + background-color: #c52020; + background-image: -webkit-gradient(linear, left top, left bottom, from(#c52020), to(#d22323)); + background-image: -webkit-linear-gradient(top, #c52020, #d22323); + background-image: -moz-linear-gradient(top, #c52020, #d22323); + background-image: -ms-linear-gradient(top, #c52020, #d22323); + background-image: -o-linear-gradient(top, #c52020, #d22323); + background-image: linear-gradient(to bottom, #c52020, #d22323); } .openerp .oe_background_grey { background: #eeeeee !important; diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index 308f32e7daa..1991052180c 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -385,9 +385,9 @@ $sheet-max-width: 860px @include vertical-gradient(#df3f3f, #a21a1a) @include box-shadow((0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(155, 155, 155, 0.4) inset)) button.oe_highlight:hover - @include vertical-gradient(lighten(#e04f4f, 5%), lighten(#a21a1a, 5%)) + @include vertical-gradient(lighten(#e04f4f, 2%), lighten(#a21a1a, 2%)) button.oe_highlight:active - @include vertical-gradient(lighten(#a21a1a, 2%), lighten(#df3f3f, 2%)) + @include vertical-gradient(lighten(#a21a1a, 8%), darken(#df3f3f, 8%)) .oe_background_grey background: #eee !important |
