summaryrefslogtreecommitdiff
path: root/addons/web/static/src/css
diff options
context:
space:
mode:
authorFabien Meghazi <fme@openerp.com>2012-06-07 10:34:44 +0200
committerFabien Meghazi <fme@openerp.com>2012-06-07 10:34:44 +0200
commit261c85c8267a7a7bc8e3ed0aa8a48659a3174889 (patch)
tree6f195dcfd75a4afbf300abd528516d819026b4f1 /addons/web/static/src/css
parent208eab8418b8983277f01f95daa6669c66392999 (diff)
[IMP] Do not highlight action buttons in editable forms
bzr revid: fme@openerp.com-20120607083444-96i7eklva2hj1nee
Diffstat (limited to 'addons/web/static/src/css')
-rw-r--r--addons/web/static/src/css/base.css4
-rw-r--r--addons/web/static/src/css/base.sass35
2 files changed, 20 insertions, 19 deletions
diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css
index 9d2a56be0f7..1e6b60b4dbf 100644
--- a/addons/web/static/src/css/base.css
+++ b/addons/web/static/src/css/base.css
@@ -1629,7 +1629,7 @@
font-weight: bold;
color: #b33630;
}
-.openerp header.oe_form_topbar_hifirst button:first-child, .openerp button.oe_form_button_hi {
+.openerp .oe_form_readonly header.oe_form_topbar_hifirst button:first-child, .openerp .oe_form_readonly button.oe_form_button_hi {
color: white;
background: #dc5f59;
background: -moz-linear-gradient(#dc5f59, #b33630);
@@ -1639,7 +1639,7 @@
-webkit-box-shadow: none;
-box-shadow: none;
}
-.openerp header.oe_form_topbar_hifirst button:first-child:hover, .openerp button.oe_form_button_hi:hover {
+.openerp .oe_form_readonly header.oe_form_topbar_hifirst button:first-child:hover, .openerp .oe_form_readonly button.oe_form_button_hi:hover {
background: #df6b66;
background: -moz-linear-gradient(#df6b66, #bf3a33);
background: -webkit-gradient(linear, left top, left bottom, from(#df6b66), to(#bf3a33));
diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass
index b62ca8c57bd..d4902cb7c8a 100644
--- a/addons/web/static/src/css/base.sass
+++ b/addons/web/static/src/css/base.sass
@@ -1286,23 +1286,24 @@ $colour4: #8a89ba
.oe_form_steps_active
font-weight: bold
color: #b33630
- header.oe_form_topbar_hifirst button:first-child, button.oe_form_button_hi
- color: white
- background: #DC5F59
- background: -moz-linear-gradient(#DC5F59, #B33630)
- background: -webkit-gradient(linear, left top, left bottom, from(#DC5F59), to(#B33630))
- background: -webkit-linear-gradient(#DC5F59, #B33630)
- -moz-box-shadow: none
- -webkit-box-shadow: none
- -box-shadow: none
- header.oe_form_topbar_hifirst button:first-child:hover, button.oe_form_button_hi:hover
- background: #DF6B66
- background: -moz-linear-gradient( #DF6B66, #BF3A33)
- background: -webkit-gradient(linear, left top, left bottom, from( #DF6B66), to( #BF3A33))
- background: -webkit-linear-gradient( #DF6B66, #BF3A33)
- -moz-box-shadow: 0 0 1px rgba(0, 0, 0, 0.2)
- -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.2)
- -box-shadow: 0 0 1px rgba(0, 0, 0, 0.2)
+ .oe_form_readonly
+ header.oe_form_topbar_hifirst button:first-child, button.oe_form_button_hi
+ color: white
+ background: #DC5F59
+ background: -moz-linear-gradient(#DC5F59, #B33630)
+ background: -webkit-gradient(linear, left top, left bottom, from(#DC5F59), to(#B33630))
+ background: -webkit-linear-gradient(#DC5F59, #B33630)
+ -moz-box-shadow: none
+ -webkit-box-shadow: none
+ -box-shadow: none
+ header.oe_form_topbar_hifirst button:first-child:hover, button.oe_form_button_hi:hover
+ background: #DF6B66
+ background: -moz-linear-gradient( #DF6B66, #BF3A33)
+ background: -webkit-gradient(linear, left top, left bottom, from( #DF6B66), to( #BF3A33))
+ background: -webkit-linear-gradient( #DF6B66, #BF3A33)
+ -moz-box-shadow: 0 0 1px rgba(0, 0, 0, 0.2)
+ -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.2)
+ -box-shadow: 0 0 1px rgba(0, 0, 0, 0.2)
.oe_application
.oe_form_sheetbg
background: url(/web/static/src/img/form_sheetbg.png)