blob: 4055994dcef13c9d3600e793d029c92cb2f035fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
|
.o_boxed_footer, .o_boxed_header, .o_report_layout_boxed {
color: gray('700');
font-size: 15px;
}
.o_boxed_header {
border-bottom: 1px solid gray('200');
img {
max-height: 100px;
}
h4 {
color: #999999;
font-weight: 700;
text-transform: uppercase;
}
}
.o_boxed_footer {
margin-top: 200px;
white-space: nowrap;
border-top: 3px solid $o-default-report-secondary-color;
ul {
margin: 4px 0;
}
}
.o_report_layout_boxed {
#total strong {
color: $o-default-report-primary-color;
}
#informations strong {
color: $o-default-report-secondary-color;
}
> h2 {
text-transform: uppercase;
}
h2 span {
color: $o-default-report-primary-color;
}
table {
border: 1px solid gray('700');
thead {
border-bottom: 2px solid gray('700');
tr th {
text-transform: uppercase;
border: 1px solid gray('700');
color: $o-default-report-secondary-color;
}
}
tbody {
color: gray('700');
tr {
td {
// remove border-top from standard layout
border-top: none;
border-right: 1px solid gray('700');
}
&.o_line_section td,
&.o_line_note td,
&.is-subtotal td {
border-top: 1px solid gray('700');
border-bottom: 1px solid gray('700');
}
&.o_line_section td {
background-color: rgba($o-default-report-primary-color, 0.7);
color: #fff;
}
&.is-subtotal,
td.o_price_total {
background-color: rgba($o-default-report-secondary-color, 0.1);
}
}
}
}
/* compat 12.0 */
.page > table:not(.o_main_table) tr td:last-child {
background-color: gray('200');
}
/* compat 12.0 */
.row:not(#total) > div > table tbody tr:not(:last-child) td:last-child {
background-color: gray('200');
}
/*Total table*/
/* row div rule compat 12.0 */
.row > div > table,
div#total table {
thead tr:first-child,
tr.o_subtotal {
border-bottom: 1px solid gray('700');
}
tr {
&.o_subtotal{
td:first-child {
border-right: none;
}
}
&:last-child td,
&.o_total td {
background-color: rgba($o-default-report-primary-color, 0.9);
color: #fff;
&:first-child {
border-right: none;
}
}
&.o_total strong {
color: white;
}
}
}
}
|