diff options
| author | Christophe Matthieu <chm@openerp.com> | 2013-03-28 10:53:45 +0100 |
|---|---|---|
| committer | Christophe Matthieu <chm@openerp.com> | 2013-03-28 10:53:45 +0100 |
| commit | 2653bcf329ebe2d5eb9e94247440d6c3d17a8f2a (patch) | |
| tree | ebddad4daffa44c955aae1e95734935667675bb3 /addons/web/static/src/css/base.sass | |
| parent | b1e422ceb0777bbfaa47e3fb2233c1d21b3ccda2 (diff) | |
| parent | 7e895d90cbf2735fd07723d25c22c874133d7e13 (diff) | |
[MERGE] radio button: display vertical and horizontal; click on radio label = select the label; click on field label = do nothing; bounce effect on edit in page mode; the goal is replacement of some selection box -> desable other options; not clickable in read only mode
bzr revid: chm@openerp.com-20130328095345-nc5rizcmste0bncp
Diffstat (limited to 'addons/web/static/src/css/base.sass')
| -rw-r--r-- | addons/web/static/src/css/base.sass | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index e2c047f11e1..d687ce21869 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -480,7 +480,24 @@ $sheet-padding: 16px .oe_tag_dark background: $tag-bg-dark color: #eee - + .oe_form_field_radio + &.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 center center + .oe_radio_input_on + background: transparent url(/web/static/src/img/icons/input_radio-on.png) no-repeat center center + .oe_radio_label + cursor: default .oe_tags &.oe_inline min-width: 250px |
