summaryrefslogtreecommitdiff
path: root/addons/web/static/src/css
diff options
context:
space:
mode:
authorFabien Meghazi <fme@openerp.com>2012-06-12 10:18:12 +0200
committerFabien Meghazi <fme@openerp.com>2012-06-12 10:18:12 +0200
commit396aede0190e1b03f545b671dfbec32d24a5efd4 (patch)
treeaca11ede42e088b74754675503ec234ca50baa0a /addons/web/static/src/css
parent4cc23e0e0ba8e0b651447e9128d47701269d3d2a (diff)
[FIX] Fixed some hidden classes problem, improved binary image field's styling
bzr revid: fme@openerp.com-20120612081812-5w6e2bmg0pl6ou12
Diffstat (limited to 'addons/web/static/src/css')
-rw-r--r--addons/web/static/src/css/base.css10
-rw-r--r--addons/web/static/src/css/base.sass8
2 files changed, 8 insertions, 10 deletions
diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css
index d9420763cdb..0daae4da3c4 100644
--- a/addons/web/static/src/css/base.css
+++ b/addons/web/static/src/css/base.css
@@ -1616,10 +1616,10 @@
display: none !important;
}
.openerp .oe_form_editable .oe_form_editable_hidden {
- display: none;
+ display: none !important;
}
.openerp .oe_form_readonly .oe_form_readonly_hidden, .openerp .oe_form_readonly .oe_form_field:empty {
- display: none;
+ display: none !important;
}
.openerp .oe_form .oe_form_field_text {
width: 100%;
@@ -1894,8 +1894,7 @@
top: 1px;
padding: 3px 0 0 0;
margin: 0 1px;
- filter: alpha(opacity=70);
- opacity: 0.7;
+ display: none;
width: 99%;
text-align: center;
background: url(/web/static/src/img/form_sheetbg.png);
@@ -1906,8 +1905,7 @@
box-sizing: border-box;
}
.openerp .oe_form .oe_form_field_image:hover .oe_form_field_image_controls {
- filter: alpha(opacity=100);
- opacity: 1;
+ display: block;
}
.openerp .oe_horizontal_border {
border-bottom: 1px solid black;
diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass
index 667743fa365..616caac7739 100644
--- a/addons/web/static/src/css/base.sass
+++ b/addons/web/static/src/css/base.sass
@@ -1294,10 +1294,10 @@ $colour4: #8a89ba
.oe_form_invisible
display: none !important
.oe_form_editable .oe_form_editable_hidden
- display: none
+ display: none !important
.oe_form_readonly
.oe_form_readonly_hidden, .oe_form_field:empty
- display: none
+ display: none !important
.oe_form
.oe_form_field_text
width: 100%
@@ -1556,7 +1556,7 @@ $colour4: #8a89ba
top: 1px
padding: 3px 0 0 0
margin: 0 1px
- @include opacity(0.7)
+ display: none
width: 99%
text-align: center
background: url(/web/static/src/img/form_sheetbg.png)
@@ -1566,7 +1566,7 @@ $colour4: #8a89ba
-ms-box-sizing: border-box
box-sizing: border-box
&:hover .oe_form_field_image_controls
- @include opacity(1)
+ display: block
// }}}
// FormView.separator {{{
.oe_horizontal_border