From 7761a0f603e90fa833d6f6c2abdd806d98fd9cc6 Mon Sep 17 00:00:00 2001 From: Minh Tran Date: Tue, 4 Sep 2012 19:02:47 +0200 Subject: [PATCH] styling tweaks to red buttons bzr revid: mit@openerp.com-20120904170247-fcqvjiy8n46zyf38 --- addons/web/static/src/css/base.css | 28 ++++++++++++++-------------- 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