diff options
| author | Christophe Matthieu <chm@openerp.com> | 2013-03-02 23:40:18 +0100 |
|---|---|---|
| committer | Christophe Matthieu <chm@openerp.com> | 2013-03-02 23:40:18 +0100 |
| commit | de11e467514971fa5cedfeb029626c24de6500a6 (patch) | |
| tree | 4a011583b450d29f379c9a82ac5f230b95fdc60f /addons/web/static/src/css | |
| parent | ee7d866def4ec63328e5ffce7659722a841648e9 (diff) | |
[IMP] view_form: radio button css
bzr revid: chm@openerp.com-20130302224018-olnclhjzug3edrmx
Diffstat (limited to 'addons/web/static/src/css')
| -rw-r--r-- | addons/web/static/src/css/base.css | 12 | ||||
| -rw-r--r-- | addons/web/static/src/css/base.sass | 11 |
2 files changed, 22 insertions, 1 deletions
diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index 018f9f7bbe4..00246de578c 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -2283,6 +2283,18 @@ display: inline-block; min-width: 70px; } +.openerp .oe_form_field_radio .oe_radio_input { + cursor: pointer; + display: inline-block; + width: 20px; + background: transparent url(/web/static/src/img/icons/star-off.png) no-repeat 0px 0px; +} +.openerp .oe_form_field_radio .oe_radio_input_on { + background: transparent url(/web/static/src/img/icons/star-on.png) no-repeat 0px 0px; +} +.openerp .oe_form_field_radio .oe_radio_label { + cursor: help; +} .openerp .oe_form_field_progressbar.ui-progressbar { height: 22px; font-size: 10px; diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index 0a73728678d..b922b76cdcd 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -476,7 +476,16 @@ $sheet-padding: 16px .oe_tag_dark background: $tag-bg-dark color: #eee - + .oe_form_field_radio + .oe_radio_input + cursor: pointer + display: inline-block + width: 20px + background: transparent url(/web/static/src/img/icons/gtk-no.png) no-repeat 0px 0px + .oe_radio_input_on + background: transparent url(/web/static/src/img/icons/gtk-yes.png) no-repeat 0px 0px + .oe_radio_label + cursor: help .oe_tags &.oe_inline min-width: 250px |
