summaryrefslogtreecommitdiff
path: root/addons/product_matrix/static/src/scss/product_matrix.scss
blob: ead8137db020c6b90fdfa82bd6e8a507ced94bef (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
.o_web_client .o_matrix_input_table {
    cursor: default;

    table {
        margin-bottom: 0;
        table-layout: fixed;
        min-width: 100%;
        width: auto;
        max-width: none;
    }
    th, td {
        border: 0 !important;
        vertical-align: middle;
        width: 5em;
    }
    .o_matrix_title_header {
        width: 10em;
    }
    thead {
        color: $o-main-text-color;
        background-color: $o-brand-lightsecondary;
        th {
            text-align: center;
            white-space: pre-line;
        }
    }
    tbody {
        background-color: $o-view-background-color;
        text-align: right;
        tr {
            border-top: 1px solid $o-form-lightsecondary;
            border-bottom: 1px solid $o-form-lightsecondary;
        }
        .o_matrix_input {
            text-align: right;
            border: none;
        }
    }
    .o_matrix_text_muted{
        color: lighten($o-main-text-color, 15%);
        font-style: italic;
    }

    // ensure white background completely surrounds nocontent bubble
    .o_matrix_nocontent_container {
        overflow: auto;

        .oe_view_nocontent_img_link {
            padding:10px;
        }
    }
}

.o_product_variant_matrix {
    .form-control {
        &:focus {
            box-shadow: none;
            border: 1px solid $gray-400;
        }
    }
}