summaryrefslogtreecommitdiff
path: root/addons/web/static/src/less/layout_boxed.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_boxed.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_boxed.less')
-rw-r--r--addons/web/static/src/less/layout_boxed.less72
1 files changed, 72 insertions, 0 deletions
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;
+ }
+ }
+}