diff options
| author | Fabien Meghazi <fme@openerp.com> | 2012-03-27 15:33:15 +0200 |
|---|---|---|
| committer | Fabien Meghazi <fme@openerp.com> | 2012-03-27 15:33:15 +0200 |
| commit | 995e4ed5df81fcee7276d2d4fe07170156cadc69 (patch) | |
| tree | 077e47c0c3c993831e6a210894b95cd1b046c73e /addons/web/static/src/css | |
| parent | 16a156c89f217aa45924ba5235f97ca65422bc96 (diff) | |
[ADD] Add some styling to form
bzr revid: fme@openerp.com-20120327133315-hjp7zvrguhh909n7
Diffstat (limited to 'addons/web/static/src/css')
| -rw-r--r-- | addons/web/static/src/css/base.css | 18 | ||||
| -rw-r--r-- | addons/web/static/src/css/base.sass | 18 |
2 files changed, 31 insertions, 5 deletions
diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index 155254e734c..cebaefedcb1 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -328,8 +328,19 @@ -webkit-box-shadow: none; -box-shadow: none; } -.openerp2 .oe_form_label_help[for], .openerp2 .oe_form_label[for] { - white-space: nowrap; +.openerp2 .oe_form { + border: 1px solid black; + margin: 5%; + padding: 10px; +} +.openerp2 .oe_form_status { + background: #cccccc; +} +.openerp2 .oe_form_status_left { + float: left; +} +.openerp2 .oe_form_status_right { + float: right; } .openerp2 .oe_form_group_cell .oe_form_button { width: 100%; @@ -354,6 +365,9 @@ .openerp2 .oe_layout_debug_cell { display: none; } +.openerp2 .oe_form_label_help[for], .openerp2 .oe_form_label[for] { + white-space: nowrap; +} .openerp .oe_form_field_many2one td:first-child { position: relative; diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index a1cc267ff89..35ea08ac887 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -322,9 +322,17 @@ $colour4: #8a89ba @include box-shadow(none) // }}} - // FormView Widgets {{{ - .oe_form_label_help[for], .oe_form_label[for] - white-space: nowrap + // FormView Layout {{{ + .oe_form + border: 1px solid black + margin: 5% + padding: 10px + .oe_form_status + background: #ccc + .oe_form_status_left + float: left + .oe_form_status_right + float: right .oe_form_group_cell .oe_form_button width: 100% @@ -345,6 +353,10 @@ $colour4: #8a89ba .oe_layout_debug_cell display: none // }}} + // FormView Widgets {{{ + .oe_form_label_help[for], .oe_form_label[for] + white-space: nowrap + // }}} // Transitional overrides for old styles {{{ .openerp |
