From 6c8e451eadc1ca9405f6294784f5a522222a4f62 Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Sun, 3 Jun 2012 22:49:45 +0200 Subject: [PATCH] [IMP] CSS for email field bzr revid: fp@openerp.com-20120603204945-tc10sapjzt2n33on --- addons/web/static/src/css/base.css | 10 +++------- addons/web/static/src/css/base.sass | 7 ++----- 2 files changed, 5 insertions(+), 12 deletions(-) diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index eafab9d0432..7cf6cbe54e8 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -142,7 +142,7 @@ border: 1px solid #ababab; color: #404040; margin: 0; - padding: 4px 12px; + padding: 3px 12px; font-size: 13px; text-align: center; background-color: #efefef; @@ -1678,14 +1678,10 @@ } .openerp .oe_form .oe_form_field_char input, .openerp .oe_form .oe_form_field_text textarea, -.openerp .oe_form .oe_form_field_email input, .openerp .oe_form .oe_form_field_url input, .openerp .oe_form .oe_form_field_selection select { width: inherit; } -.openerp .oe_form .oe_form_field_many2one input { - width: 100%; -} .openerp .oe_form .oe_form_field_float input { width: 100px; } @@ -1863,8 +1859,8 @@ .openerp .oe_form .oe_form_group_cell .oe_kanban_view { position: static; } -.openerp .oe_form .oe_form_field_with_button { - display: inline-block; +.openerp .oe_form .oe_form_field_with_button input { + width: 100%; } .openerp .oe_form .oe_form_field_with_button > .oe_button { float: right; diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index 8e3d3a7cfd7..1dc4f15c90b 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -1330,14 +1330,10 @@ $colour4: #8a89ba .oe_form_field_char input, .oe_form_field_text textarea, - .oe_form_field_email input, .oe_form_field_url input, .oe_form_field_selection select width: inherit - .oe_form_field_many2one input - width: 100% - .oe_form_field_float input width: 100px @@ -1494,7 +1490,8 @@ $colour4: #8a89ba // Hack due to absolute positioning of kanban view messing with o2m position: static .oe_form_field_with_button - display: inline-block + input + width: 100% > .oe_button float: right -webkit-border-top-left-radius: 0px