diff options
| author | Antonin Bourguignon <abo@openerp.com> | 2012-08-01 19:54:43 +0200 |
|---|---|---|
| committer | Antonin Bourguignon <abo@openerp.com> | 2012-08-01 19:54:43 +0200 |
| commit | 7b86d3a89fed74fef294f85ada866943e288e44e (patch) | |
| tree | 867701c4dae02a260ccd9ad50353c4a4d84c0d6f /addons/base_setup/static | |
| parent | 11c2423c82187599599b79bb500e5289ea668cd8 (diff) | |
[IMP] layout: separate .oe_link from the rest of the text, making them easier to spot
to do so, .eo_link elements are now preceded with a long dash (em dash)
to apply this layout to other elements than .eo_link, wrap it in a span and give it the class .oe_separate-from-text
bzr revid: abo@openerp.com-20120801175443-vyo9t1gzyakr250t
Diffstat (limited to 'addons/base_setup/static')
| -rw-r--r-- | addons/base_setup/static/src/css/base_setup.css | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/addons/base_setup/static/src/css/base_setup.css b/addons/base_setup/static/src/css/base_setup.css index b15f226b23d..4e4b8a3c00a 100644 --- a/addons/base_setup/static/src/css/base_setup.css +++ b/addons/base_setup/static/src/css/base_setup.css @@ -1,4 +1,24 @@ +/* Remove bold from labels in config wizards */ .oe_form_configuration .oe_form_group td:last-child .oe_form_label_help, .oe_form_configuration .oe_form_group td:last-child .oe_form_label { font-weight: normal; } + +/* Separate .eo_link elements from the rest of the label's text */ +.oe_form_configuration .oe_form_group td:last-child .oe_link, +.oe_form_configuration .oe_form_group td:last-child .oe_separate-from-text { + position: relative; + left: 2em; +} +.oe_form_configuration .oe_form_group td:last-child .oe_link:before, +.oe_form_configuration .oe_form_group td:last-child .oe_separate-from-text:before { + content:"—"; + padding-right: 1em; + color: grey; + + /* Prevent the pseudo element's content to behave like its parent element */ + position: absolute; + right: 100%; + bottom: 0; /* Parent element's height can vary */ + pointer-events: none; +} |
