diff options
| author | Christophe Matthieu <chm@openerp.com> | 2013-03-21 16:04:05 +0100 |
|---|---|---|
| committer | Christophe Matthieu <chm@openerp.com> | 2013-03-21 16:04:05 +0100 |
| commit | 7d5ea8896ea71fc4031dbe8f2e8f34888a117aed (patch) | |
| tree | c08e4d030f50e9b7fc99c51ae22beb271072a691 /addons/web/static/src/css/base.sass | |
| parent | cad21aff66fa3517e6d5e1c79cff93c0792c03f6 (diff) | |
[IMP] view_form radio button with div inline-block
bzr revid: chm@openerp.com-20130321150405-fz61r51opx2m9kmt
Diffstat (limited to 'addons/web/static/src/css/base.sass')
| -rw-r--r-- | addons/web/static/src/css/base.sass | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index a809e77f62a..5ff3c91442f 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -477,15 +477,21 @@ $sheet-padding: 16px background: $tag-bg-dark color: #eee .oe_form_field_radio - td,th - text-align: center - .oe_radio_input + &.oe_horizontal + white-space: nowrap + .oe_radio_header + display: inline-block + text-align: center + &.oe_vertical + .oe_radio_header + cursor: pointer + .oe_radio_input { cursor: pointer display: inline-block width: 20px - background: transparent url(/web/static/src/img/icons/input_radio-off.png) no-repeat 0px 0px + background: transparent url(/web/static/src/img/icons/input_radio-off.png) no-repeat center center .oe_radio_input_on - background: transparent url(/web/static/src/img/icons/input_radio-on.png) no-repeat 0px 0px + background: transparent url(/web/static/src/img/icons/input_radio-on.png) no-repeat center center .oe_radio_label cursor: default .oe_tags |
