summaryrefslogtreecommitdiff
path: root/addons/web/static/src/less/layout_background.less
diff options
context:
space:
mode:
authorLaurent Smet <las@openerp.com>2017-04-26 09:31:55 +0200
committerLaurent Smet <las@openerp.com>2017-05-08 09:23:12 +0200
commite80238042c9d93d492ea8b06b0041aced0d81dcd (patch)
tree70ed26eb99cf62ff7d5418a0748d1aa166136067 /addons/web/static/src/less/layout_background.less
parent3425752eaca236c1e4b4d616aa49b3faa6cfd957 (diff)
[REF] report: remove the report module
The content of the report module is now dispatched in the 'base' and the 'web' modules.
Diffstat (limited to 'addons/web/static/src/less/layout_background.less')
-rw-r--r--addons/web/static/src/less/layout_background.less68
1 files changed, 68 insertions, 0 deletions
diff --git a/addons/web/static/src/less/layout_background.less b/addons/web/static/src/less/layout_background.less
new file mode 100644
index 00000000000..f00fec6b33e
--- /dev/null
+++ b/addons/web/static/src/less/layout_background.less
@@ -0,0 +1,68 @@
+.o_background_footer, .o_background_header, .o_report_layout_background {
+ font-family: 'Lato';
+ color: @gray;
+}
+.o_background_header {
+ border-bottom: 1px solid @gray-lighter;
+ .company_address {
+ min-width: 300px;
+ }
+ img {
+ max-height: 96px;
+ max-width: 300px;
+ margin-right: 16px;
+ }
+ h3 {
+ color: @odoo-brand-primary;
+ font-weight: 700;
+ max-width: 300px;
+ }
+}
+.o_background_footer {
+ ul {
+ border-top: 1px solid @odoo-brand-primary;
+ border-bottom: 1px solid @odoo-brand-primary;
+ padding: 4px 0;
+ margin: 0 0 4px 0;
+ li {
+ color: @odoo-brand-primary;
+ }
+ }
+}
+.o_report_layout_background {
+ background-image: url(/report/static/src/img/bg_background_template.jpg);
+ background-size: cover;
+ background-position: bottom center;
+ background-repeat: no-repeat;
+ min-height: 920px;
+ thead tr th, h2 {
+ color: @odoo-brand-primary;
+ }
+ tbody {
+ color: @gray;
+ tr:nth-child(odd) {
+ background-color: rgba(184, 171, 180, 0.2);
+ }
+ tr td {
+ border-top: none;
+ }
+ }
+ /*Total table*/
+ .row > .col-xs-4 > table {
+ tr:nth-child(odd) {
+ background-color: transparent !important;
+ }
+ tr:first-child td {
+ /*we could get rid of this rule if .border-black td would be terminated in report.less*/
+ border-top: none !important;
+ }
+ tr:last-child td {
+ color: @odoo-brand-primary;
+ }
+ }
+ #total {
+ table tr:last-child td {
+ border-bottom: 1px solid black;
+ }
+ }
+}