From e80238042c9d93d492ea8b06b0041aced0d81dcd Mon Sep 17 00:00:00 2001 From: Laurent Smet Date: Wed, 26 Apr 2017 09:31:55 +0200 Subject: [REF] report: remove the report module The content of the report module is now dispatched in the 'base' and the 'web' modules. --- addons/web/static/src/less/layout_boxed.less | 72 ++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 addons/web/static/src/less/layout_boxed.less (limited to 'addons/web/static/src/less/layout_boxed.less') diff --git a/addons/web/static/src/less/layout_boxed.less b/addons/web/static/src/less/layout_boxed.less new file mode 100644 index 00000000000..a81e09f347b --- /dev/null +++ b/addons/web/static/src/less/layout_boxed.less @@ -0,0 +1,72 @@ +.o_boxed_footer, .o_boxed_header, .o_report_layout_boxed { + font-family: 'Lato'; + color: @gray; + font-size: 12px; +} +.o_boxed_header { + border-bottom: 1px solid @gray-lighter; + img { + max-height: 100px; + } + h4 { + color: @o-we-color-text-normal; + font-weight: 700; + text-transform: uppercase; + } +} +.o_boxed_footer { + border-top: 3px solid @gray; + ul { + margin: 4px 0; + } +} +.o_report_layout_boxed { + // This is not a general rule since the id is not used in all the reports, + // we should make a general structure for report body to use it everywhere + #informations { + border: 1px solid @gray; + padding-top: 10px; + margin: 0; + } + > h2 { + text-transform: uppercase; + } + table { + border: 1px solid @gray; + thead { + tr th { + border-bottom: 3px solid @gray !important; + text-transform: uppercase; + } + } + tbody { + color: @gray; + tr { + td { + border-top: none; + border-right: 1px solid @gray; + } + td:last-child { + background-color: @gray-lighter; + } + } + } + } + /*Total table*/ + .row > .col-xs-4 > table { + td { + border-right: none; + } + tr:last-child td, 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:first-child td { + background-color: transparent; + } + tr:last-child td { + background-color: @gray; + color: #fff; + } + } +} -- cgit v1.2.3