diff options
| author | Christophe Matthieu <chm@openerp.com> | 2013-06-27 11:17:05 +0200 |
|---|---|---|
| committer | Christophe Matthieu <chm@openerp.com> | 2013-06-27 11:17:05 +0200 |
| commit | bb92e7daf06a949337bf52ea3ce6bd56943098c7 (patch) | |
| tree | ed35f99ab3fe8eeaf4aaf7fb2c7c261c5a1596e4 /addons/web/static/src | |
| parent | fc8ca396d67a807a7432059fa8f14ae144ee52d6 (diff) | |
[FIX] checkbox position for boolean field in list editable. Remove padding on the field for a good resizing and position and add margin on input
bzr revid: chm@openerp.com-20130627091705-ry0689d3dg4izhn4
Diffstat (limited to 'addons/web/static/src')
| -rw-r--r-- | addons/web/static/src/css/base.css | 6 | ||||
| -rw-r--r-- | addons/web/static/src/css/base.sass | 6 |
2 files changed, 5 insertions, 7 deletions
diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index 4b7df6b691b..4c0a35cfe4a 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -1,4 +1,4 @@ -@charset "UTF-8"; +@charset "utf-8"; @font-face { font-family: "mnmliconsRegular"; src: url("/web/static/src/font/mnmliconsv21-webfont.eot") format("eot"); @@ -2890,8 +2890,8 @@ margin: 0 !important; padding: 0; } -.openerp .oe_list .oe_form .oe_form_field_boolean { - padding: 1px 6px 3px; +.openerp .oe_list .oe_form .oe_form_field_boolean input { + margin: 1px 0 0 10px !important; } .openerp .oe_list .oe_list_content .oe_group_header { background-color: #ededed; diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index 0ace046c354..75b81487743 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -2285,10 +2285,8 @@ $sheet-padding: 16px position: absolute margin: 0 !important // dammit padding: 0 - .oe_form_field_boolean - // use padding similar to actual cell to correctly position the - // checkbox - padding: 1px 6px 3px + .oe_form_field_boolean input + margin: 1px 0 0 10px !important .oe_list_content .oe_group_header @include vertical-gradient(#fcfcfc, #dedede) |
