[ADD] Added class for subtotals in form views

bzr revid: fme@openerp.com-20120516163801-fih3sspmpk5vrv9m
This commit is contained in:
Fabien Meghazi 2012-05-16 18:38:01 +02:00
parent 7087d2feaa
commit 853bac03ce
2 changed files with 45 additions and 0 deletions

View File

@ -1722,6 +1722,9 @@
margin: 0;
padding: 0;
}
.openerp .oe_horizontal_border {
border-bottom: 1px solid black;
}
.openerp .oe_horizontal_separator {
font-weight: bold;
font-size: 16px;
@ -1848,6 +1851,29 @@
.openerp .oe_form .oe_form_group_label_border > tbody > tr.oe_form_group_row > td.oe_form_group_cell {
padding-left: 8px;
}
.openerp .oe_form .oe_form_subtotal_footer {
float: right;
}
.openerp .oe_form .oe_form_subtotal_footer > div {
text-align: right;
padding: 3px;
}
.openerp .oe_form .oe_form_subtotal_footer label {
font-weight: normal !important;
}
.openerp .oe_form .oe_form_subtotal_footer span {
display: inline-block;
min-width: 80px;
text-align: right;
}
.openerp .oe_form .oe_form_subtotal_footer .oe_form_subtotal_footer_separator {
border-top: 1px solid #cacaca;
font-size: 120%;
font-weight: bold;
}
.openerp .oe_form .oe_form_subtotal_footer .oe_form_subtotal_footer_separator label {
font-weight: bold !important;
}
.openerp .oe-listview-content {
width: 100%;
}

View File

@ -1429,6 +1429,8 @@ $colour4: #8a89ba
padding: 0
// }}}
// FormView.separator {{{
.oe_horizontal_border
border-bottom: 1px solid black
.oe_horizontal_separator
font-weight: bold
font-size: 16px
@ -1541,6 +1543,23 @@ $colour4: #8a89ba
.oe_form_group_odd_border > tbody > tr.oe_form_group_row > td.oe_form_group_cell,
.oe_form_group_label_border > tbody > tr.oe_form_group_row > td.oe_form_group_cell
padding-left: 8px
.oe_form_subtotal_footer
float: right
> div
text-align: right
padding: 3px
label
font-weight: normal !important
span
display: inline-block
min-width: 80px
text-align: right
.oe_form_subtotal_footer_separator
border-top: 1px solid #cacaca
font-size: 120%
font-weight: bold
label
font-weight: bold !important
// }}}
// ListView {{{
.oe-listview-content