summaryrefslogtreecommitdiff
path: root/addons/web/static/src/css
diff options
context:
space:
mode:
authorFabien Pinckaers <fp@tinyerp.com>2012-07-10 09:49:46 +0200
committerFabien Pinckaers <fp@tinyerp.com>2012-07-10 09:49:46 +0200
commit597835db3c790a8ac4c8fb68650a712172ca3631 (patch)
tree58d612837253fdab99ac4cf20a855092754f89b6 /addons/web/static/src/css
parentfe368d23c872c3db942ec2bdb6cc8a17423df6ae (diff)
[IMP] form layout
bzr revid: fp@tinyerp.com-20120710074946-llxeomd8o5e83y9i
Diffstat (limited to 'addons/web/static/src/css')
-rw-r--r--addons/web/static/src/css/base.css7
-rw-r--r--addons/web/static/src/css/base.sass6
2 files changed, 9 insertions, 4 deletions
diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css
index 848886dde0c..a87b6814ec6 100644
--- a/addons/web/static/src/css/base.css
+++ b/addons/web/static/src/css/base.css
@@ -1733,6 +1733,9 @@
.openerp .oe_form_readonly .oe_edit_only, .openerp .oe_form_readonly .oe_form_field:empty {
display: none !important;
}
+.openerp .oe_form_readonly .oe_form .oe_form_field_date {
+ width: auto;
+}
.openerp .oe_form_nosheet {
margin-left: 10px;
margin-right: 10px;
@@ -1863,7 +1866,7 @@
width: 100%;
margin: 4px 0 4px 0;
}
-.openerp .oe_form .oe_form_group .oe_group_right > tbody > tr > td {
+.openerp .oe_form .oe_form_group .oe_group_right > tbody > tr > td:first-child {
padding-left: 12px;
}
.openerp .oe_form .oe_form_label_help[for], .openerp .oe_form .oe_form_label[for] {
@@ -1965,7 +1968,7 @@
width: 180px;
}
.openerp .oe_form .oe_form_field_date {
- width: 7em;
+ width: 7.5em;
}
.openerp .oe_form .oe_form_field_datetime {
width: 11em;
diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass
index e789d116e95..da1acbe2a5a 100644
--- a/addons/web/static/src/css/base.sass
+++ b/addons/web/static/src/css/base.sass
@@ -1351,6 +1351,8 @@ $sheet-max-width: 860px
.oe_form_readonly
.oe_edit_only, .oe_form_field:empty
display: none !important
+ .oe_form .oe_form_field_date
+ width: auto
.oe_form_nosheet
margin-left: 10px
margin-right: 10px
@@ -1454,7 +1456,7 @@ $sheet-max-width: 860px
width: 100%
margin: 4px 0 4px 0
.oe_group_right
- > tbody > tr > td
+ > tbody > tr > td:first-child
padding-left: 12px
// }}}
// FormView.label {{{
@@ -1538,7 +1540,7 @@ $sheet-max-width: 860px
.oe_form_field_float
width: 180px
.oe_form_field_date
- width: 7em
+ width: 7.5em
.oe_form_field_datetime
width: 11em
input[type="text"], input[type="password"], input[type="file"], select