summaryrefslogtreecommitdiff
path: root/addons/web/static/src/scss/layout_clean.scss
blob: 5d559726281d004dff7effb7f36d104a2044e20f (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
.o_clean_footer, .o_clean_header, .o_report_layout_clean {
    color: #000;
}
.o_clean_header img {
    max-height: 90px;
    max-width: 300px;
}
.o_clean_footer {
    margin: 0 3px;
    margin-top: 200px;
    border-top: 3px solid $o-default-report-secondary-color;
    h4 {
        color: $o-default-report-secondary-color;
        font-weight: bolder;
    }
    .pagenumber {
        border: 3px solid $o-default-report-primary-color;
        background-color: $o-default-report-secondary-color;
        color: white;
        padding: 4px 8px;
        text-align: center;
    }
}
.o_report_layout_clean {
    h1, h2, h3 {
        color: $o-default-report-primary-color;
        font-weight: bolder;
    }
    strong {
        color: $o-default-report-secondary-color;
    }
    table {
        &.o_main_table {
            margin-bottom: 0;
        }

        thead {
            color: $o-default-report-secondary-color;
            tr th {
                border-top: 3px solid $o-default-report-secondary-color !important;
                text-transform: uppercase;
            }
            tr th:first-child {
                width: 48%;
            }
        }
        tbody {
            color: #000;
            tr:first-child td {
                border-top: none;
            }
            tr:last-child td {
                border-bottom: 3px solid $o-default-report-secondary-color;
            }
            tr {
                td {
                    padding: 15px 5px;
                }
                td:last-child {
                }
            }
        }
    }
    #total {
        strong {
            color: $o-default-report-secondary-color;
        }
    }
    /*Total table*/
    /* compat 12.0 */
    .row:not(#total) > div:has(table) {
        top: -16px;
    }
    /* row col rule compat 12.0 */
    .row > div > table,
    div#total table {
        tr {
            &:first-child td,
            &.o_subtotal {
                border-top: none !important;
            }
            &:last-child td,
            &.o_total {
                border-top: 1px solid gray('200') !important;
            }
        }
    }
}