From 30cce00296fa249408b8569b96a1f0207e2533ed Mon Sep 17 00:00:00 2001 From: Fabien Meghazi Date: Thu, 4 Apr 2013 12:23:06 +0200 Subject: [PATCH] [FIX] Date[time] widget width issues on OSX bzr revid: fme@openerp.com-20130404102306-hrinhnldt5dxqcy7 --- addons/web/static/src/css/base.css | 10 +++++----- addons/web/static/src/css/base.sass | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index 385405e39ca..4f71d3867f1 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -1269,7 +1269,7 @@ color: white; padding: 2px 4px; margin: 1px 6px 0 0; - border: 1px solid lightGray; + border: 1px solid lightgrey; text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2); -moz-border-radius: 4px; -webkit-border-radius: 4px; @@ -1301,7 +1301,7 @@ transform: scale(1.1); } .openerp .oe_secondary_submenu .oe_active { - border-top: 1px solid lightGray; + border-top: 1px solid lightgrey; border-bottom: 1px solid #dedede; text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2); -moz-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2), inset 0 -1px 3px rgba(40, 40, 40, 0.2); @@ -2284,7 +2284,7 @@ } .openerp .oe_form .oe_form_label_help[for] span, .openerp .oe_form .oe_form_label[for] span { font-size: 80%; - color: darkGreen; + color: darkgreen; vertical-align: top; position: relative; top: -4px; @@ -2468,10 +2468,10 @@ width: 7em; } .openerp .oe_form_editable .oe_form .oe_form_field_date input { - width: 7.5em; + width: 100px; } .openerp .oe_form_editable .oe_form .oe_form_field_datetime input { - width: 11.5em; + width: 150px; } .openerp .oe_hidden_input_file { position: relative; diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index 5fe5b1ceaf4..493e3f298ca 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -1955,9 +1955,9 @@ $sheet-padding: 16px .oe_form_field_float input width: 7em .oe_form_field_date input - width: 7.5em + width: 100px .oe_form_field_datetime input - width: 11.5em + width: 150px // }}} // FormView.fields_binary {{{ /* http://www.quirksmode.org/dom/inputfile.html