summaryrefslogtreecommitdiff
path: root/addons/web/static/src
diff options
context:
space:
mode:
authorDavid Monjoie <dmo@odoo.com>2015-03-27 11:52:30 +0100
committerDavid Monjoie <dmo@odoo.com>2015-03-30 15:00:34 +0200
commitcc9f2919be82946f1f4801bde3e4ddc255f5047f (patch)
treec7ee9e20aadf6c0ab50e0dcaac305ac6b7033e71 /addons/web/static/src
parentc21480a3d168dc54a9743a2ecf0b51c071012059 (diff)
[FIX] web: fixed opacity of readonly checkboxes
Apparently, browsers decide how they want to style readonly inputs, and it seems like Firefox is greying them out while Chrome doesn't. We use an opacity: 0.5 rule to grey them out ourselves in Chrome, but in Firefox they are not dark enough to read easily because of the double greying. I checked with the designers but they don't have any better fix for that.
Diffstat (limited to 'addons/web/static/src')
-rw-r--r--addons/web/static/src/css/base.css3
1 files changed, 3 insertions, 0 deletions
diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css
index aed49dafc65..3aa95ac57de 100644
--- a/addons/web/static/src/css/base.css
+++ b/addons/web/static/src/css/base.css
@@ -2793,6 +2793,9 @@
filter: alpha(opacity=50);
opacity: 0.5;
}
+.openerp .oe_list_content > tbody > tr > td.oe_list_field_boolean input:-moz-read-only {
+ opacity: 1;
+}
.openerp .oe_list_content > tbody > tr:nth-child(odd) {
background-color: #f0f0fa;
background-color: #efeff8;