Browse Source

bring back @yvaucher's report css

pull/367/head
Leonardo Pistone 9 years ago
committed by Jordi Ballester
parent
commit
5828cc9d32
  1. BIN
      account_financial_report_qweb/static/description/icon.png
  2. 80
      account_financial_report_qweb/static/src/css/report.css

BIN
account_financial_report_qweb/static/description/icon.png

After

Width: 256  |  Height: 256  |  Size: 15 KiB

80
account_financial_report_qweb/static/src/css/report.css

@ -0,0 +1,80 @@
body, table, td, span, div {
font-family: Helvetica, Arial;
}
.act_as_table {
display: table !important;
}
.act_as_row {
display: table-row !important;
page-break-inside: avoid;
}
.act_as_cell {
display: table-cell !important;
page-break-inside: avoid;
}
.act_as_thead {
display: table-header-group !important;
}
.act_as_tbody {
display: table-row-group !important;
}
.act_as_caption {
display: table-caption !important;
}
.list_table, .data_table {
width: 690px !important;
table-layout: fixed !important;
}
.act_as_row.labels {
background-color:#F0F0F0 !important;
}
.list_table, .data_table, .list_table .act_as_row {
border-left:0px;
border-right:0px;
text-align:left;
font-size:9px;
padding-right:3px;
padding-left:3px;
padding-top:2px;
padding-bottom:2px;
border-collapse:collapse;
}
.list_table .act_as_row.labels, .list_table .act_as_row.initial_balance, .list_table .act_as_row.lines {
border-color:grey !important;
border-bottom:1px solid lightGrey !important;
}
.data_table .act_as_cell {
border: 1px solid lightGrey;
text-align: center;
}
.data_table .act_as_cell, .list_table .act_as_cell {
word-wrap: break-word;
}
.data_table .act_as_row.labels {
font-weight: bold;
}
.initial_balance .act_as_cell {
font-style:italic;
}
.account_title {
font-size:10px;
font-weight:bold;
page-break-after: avoid;
}
.act_as_cell.amount {
word-wrap:normal;
text-align:right;
}
.list_table .act_as_cell{
padding-left: 5px;
/* border-right:1px solid lightGrey; uncomment to active column lines */
}
.list_table .act_as_cell.first_column {
padding-left: 0px;
/* border-left:1px solid lightGrey; uncomment to active column lines */
}
.overflow_ellipsis {
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
Loading…
Cancel
Save