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 | |
| 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')
| -rw-r--r-- | addons/base_setup/static/src/css/base_setup.css | 20 | ||||
| -rw-r--r-- | addons/crm/res_config_view.xml | 2 |
2 files changed, 21 insertions, 1 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; +} diff --git a/addons/crm/res_config_view.xml b/addons/crm/res_config_view.xml index c077d71772d..c4e8b75f0d7 100644 --- a/addons/crm/res_config_view.xml +++ b/addons/crm/res_config_view.xml @@ -60,7 +60,7 @@ </div> </field> </record> - + <menuitem id="base.menu_sale_config" name="Sales" parent="base.menu_config" sequence="1" action="base_setup.action_sale_config"/> |
