summaryrefslogtreecommitdiff
path: root/addons/web/static/src
diff options
context:
space:
mode:
authorYannick Tivisse <yti@odoo.com>2015-01-27 14:07:57 +0100
committerYannick Tivisse <yti@odoo.com>2015-01-27 14:07:57 +0100
commit93de877e3604acb7b1408fbcc3a11d1f1e176eb8 (patch)
treee1c2edd47ebc97f052b694299f59c4b39e5d24a8 /addons/web/static/src
parentafa4bb1e56e5c84844d64dd66d93a496ce18d907 (diff)
[IMP] web : harmonize action buttons css + sass
Diffstat (limited to 'addons/web/static/src')
-rw-r--r--addons/web/static/src/css/base.css28
-rw-r--r--addons/web/static/src/css/base.sass6
2 files changed, 17 insertions, 17 deletions
diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css
index 09115d3d19e..089045b3be9 100644
--- a/addons/web/static/src/css/base.css
+++ b/addons/web/static/src/css/base.css
@@ -311,13 +311,13 @@
background: #DC5F59;
}
.openerp button.oe_highlight {
- background-color: #3a699f;
- background-image: -webkit-gradient(linear, left top, left bottom, from(#5f92c8), to(#3e78b6));
- background-image: -webkit-linear-gradient(top, #5f92c8, #3e78b6);
- background-image: -moz-linear-gradient(top, #5f92c8, #3e78b6);
- background-image: -ms-linear-gradient(top, #5f92c8, #3e78b6);
- background-image: -o-linear-gradient(top, #5f92c8, #3e78b6);
- background-image: linear-gradient(to bottom, #5f92c8, #3e78b6);
+ background-color: #5382b9;
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#729fcf), to(#3465a4));
+ background-image: -webkit-linear-gradient(top, #729fcf, #3465a4);
+ background-image: -moz-linear-gradient(top, #729fcf, #3465a4);
+ background-image: -ms-linear-gradient(top, #729fcf, #3465a4);
+ background-image: -o-linear-gradient(top, #729fcf, #3465a4);
+ background-image: linear-gradient(to bottom, #729fcf, #3465a4);
-moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(155, 155, 155, 0.4) inset;
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(155, 155, 155, 0.4) inset;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(155, 155, 155, 0.4) inset;
@@ -332,13 +332,13 @@
background-image: linear-gradient(to bottom, #4c85c2, #284d7d);
}
.openerp button.oe_highlight:active {
- background-color: #5382b9;
- background-image: -webkit-gradient(linear, left top, left bottom, from(#729fcf), to(#3465a4));
- background-image: -webkit-linear-gradient(top, #729fcf, #3465a4);
- background-image: -moz-linear-gradient(top, #729fcf, #3465a4);
- background-image: -ms-linear-gradient(top, #729fcf, #3465a4);
- background-image: -o-linear-gradient(top, #729fcf, #3465a4);
- background-image: linear-gradient(to bottom, #729fcf, #3465a4);
+ background-color: #5d8cc3;
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#81a9d4), to(#396fb3));
+ background-image: -webkit-linear-gradient(top, #81a9d4, #396fb3);
+ background-image: -moz-linear-gradient(top, #81a9d4, #396fb3);
+ background-image: -ms-linear-gradient(top, #81a9d4, #396fb3);
+ background-image: -o-linear-gradient(top, #81a9d4, #396fb3);
+ background-image: linear-gradient(to bottom, #81a9d4, #396fb3);
}
.openerp .oe_background_grey {
background: #eee !important;
diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass
index 562e0c11cdc..b2ab01f32d6 100644
--- a/addons/web/static/src/css/base.sass
+++ b/addons/web/static/src/css/base.sass
@@ -343,12 +343,12 @@ $sheet-padding: 16px
color: white
background: #DC5F59
button.oe_highlight
- @include vertical-gradient(#df3f3f, #a21a1a)
+ @include vertical-gradient(#729fcf, #3465a4)
@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, 2%), lighten(#a21a1a, 2%))
+ @include vertical-gradient(darken(#729fcf, 10%), darken(#3465a4, 10%))
button.oe_highlight:active
- @include vertical-gradient(lighten(#a21a1a, 8%), darken(#df3f3f, 8%))
+ @include vertical-gradient(lighten(#729fcf, 4%), lighten(#3465a4, 4%))
.oe_background_grey
background: #eee !important