summaryrefslogtreecommitdiff
path: root/addons/web/static/src/scss/list_view_extra.scss
blob: 2806940c8a5c5c0d2e4177473dbc32fbd046e59e (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

.o_list_view {
    thead {
        background-color: #eee;
    }

    tbody > tr.o_group_header {
        background-image: linear-gradient(to bottom, #fcfcfc, #dedede);

        &:focus-within {
           background-image: linear-gradient(to bottom, #fcfcfc, $o-form-lightsecondary);
        }
    }

    .o_list_table .o_data_row.o_selected_row > .o_data_cell:not(.o_readonly_modifier):not(.o_invisible_modifier):not(.o_remaining_days_cell) {
        padding: .15rem;
        .o_input {
            border: none;
            padding: .15rem;
            .o_input {
                box-shadow: none;
                padding: 0;
            }
        }
        select.o_input {
            padding: .25rem 0;
        }
        .o_field_boolean {
            padding-top: .15rem;
            padding-bottom: .15rem;
        }
        &.o_invalid_cell .o_input {
            box-shadow: 0 0 0 1px theme-color('danger');
        }
        &.o_list_button {
            padding: .25rem;
        }
        &.o_color_cell > .o_field_widget {
            padding: .15rem;
        }
    }
}