summaryrefslogtreecommitdiff
path: root/addons/web/static/src/less/layout_clean.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_clean.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_clean.less')
-rw-r--r--addons/web/static/src/less/layout_clean.less84
1 files changed, 84 insertions, 0 deletions
diff --git a/addons/web/static/src/less/layout_clean.less b/addons/web/static/src/less/layout_clean.less
new file mode 100644
index 00000000000..85e9c2d8491
--- /dev/null
+++ b/addons/web/static/src/less/layout_clean.less
@@ -0,0 +1,84 @@
+.o_clean_footer, .o_clean_header, .o_report_layout_clean {
+ font-family: 'Lato';
+ color: #000;
+}
+.o_clean_header {
+ img {
+ max-height: 90px;
+ max-width: 300px;
+ }
+}
+.o_clean_footer {
+ margin: 0 3px;
+ border-top: 3px solid @odoo-brand-primary;
+ h4 {
+ color: @odoo-brand-primary;
+ font-weight: bolder;
+ }
+ .pagenumber {
+ width: 35px;
+ height: 35px;
+ border: 3px solid @odoo-brand-primary;
+ background-color: @odoo-brand-optional;
+ color: white;
+ padding-top: 6px;
+ text-align: center;
+ }
+}
+.o_report_layout_clean {
+ h1, h2, h3 {
+ color: @odoo-brand-optional;
+ font-weight: bolder;
+ }
+ strong {
+ color: @odoo-brand-primary;
+ }
+ table {
+ thead {
+ color: @odoo-brand-primary;
+ tr th {
+ text-align: left !important;
+ border-top: 3px solid @odoo-brand-primary !important;
+ text-transform: uppercase;
+ }
+ tr th:last-child {
+ text-align: right !important;
+ }
+ tr th:first-child {
+ width: 48%;
+ }
+ }
+ tbody {
+ color: #000;
+ tr:first-child td {
+ border-top: none;
+ }
+ tr:last-child td {
+ border-bottom: 3px solid @odoo-brand-primary;
+ }
+ tr {
+ td {
+ padding: 15px 5px;
+ text-align: left !important;
+ }
+ td:last-child {
+ text-align: right !important;
+ }
+ }
+ }
+ }
+ /*Total table*/
+ .row > .col-xs-4 {
+ width: 43%;
+ margin-top: -20px;
+ > table {
+ tr:last-child td {
+ border-top: 1px solid @gray-lighter !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;
+ }
+ }
+ }
+}