[IMP] Added separator styling

bzr revid: fme@openerp.com-20120409171608-mq05tzh4c9u7c7ol
This commit is contained in:
Fabien Meghazi 2012-04-09 19:16:08 +02:00
parent a878483e49
commit e4944983ca
3 changed files with 27 additions and 15 deletions

View File

@ -1425,6 +1425,20 @@
.openerp2 .oe_form_label_help[for], .openerp2 .oe_form_label[for] {
white-space: nowrap;
}
.openerp2 .oe_horizontal_separator {
font-weight: bold;
border: 0 solid #666666;
border-bottom-width: 1px;
margin: 3px 4px 3px 1px;
height: 17px;
}
.openerp2 .oe_horizontal_separator:empty {
height: 5px;
}
.openerp2 .oe_vertical_separator {
border-left: 1px solid #666666;
padding: 0 4px 0 4px;
}
.openerp2 .oe_form_notebook {
margin: 8px 0;
padding: 0 8px;

View File

@ -1177,6 +1177,19 @@ $colour4: #8a89ba
.oe_form_label_help[for], .oe_form_label[for]
white-space: nowrap
// }}}
// FormView.separator {{{
.oe_horizontal_separator
font-weight: bold
border: 0 solid #666
border-bottom-width: 1px
margin: 3px 4px 3px 1px
height: 17px
.oe_horizontal_separator:empty
height: 5px
.oe_vertical_separator
border-left: 1px solid #666
padding: 0 4px 0 4px
// }}}
// FormView.notebook {{{
.oe_form_notebook
margin: 8px 0

View File

@ -936,21 +936,6 @@ label.error {
}
/* Widgets */
.openerp .oe_horizontal_separator {
font-weight: bold;
border: 0 solid #666;
border-bottom-width: 1px;
margin: 3px 4px 3px 1px;
height: 17px;
font-size: 95%;
}
.openerp .oe_horizontal_separator:empty {
height: 5px;
}
.openerp .oe_vertical_separator {
border-left: 1px solid #666;
padding: 0 4px 0 4px;
}
.openerp .oe_form_required input, .openerp .oe_form_required select, .openerp .oe_form_required textarea {
background-color: #D2D2FF !important;
}