[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
This commit is contained in:
parent
11c2423c82
commit
7b86d3a89f
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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"/>
|
||||
|
||||
|
|
Loading…
Reference in New Issue