summaryrefslogtreecommitdiff
path: root/addons/web/static/src/scss/daterangepicker.scss
blob: aece2a9903ebfc6ed60ffadb6a732d59c9d17828 (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
// Restore date range picker style
.daterangepicker {
    .drp-calendar {
        .calendar-table {
            thead {
                tr:first-child {
                    color: #FFFFFF;
                    background-color: $o-brand-odoo;
                    th {
                        &.prev, &.next {
                            span {
                                color: #FFFFFF;
                                border-color: #FFFFFF;
                            }
                            &:hover {
                                background-color: darken($o-brand-odoo, 10%);
                            }
                        }
                    }
                }
                tr:last-child {
                    color: $o-datepicker-week-color;
                    background-color: $o-datepicker-week-bg-color;
                }
                th {
                    border-radius: 0;
                }
            }
            tbody {
                tr {
                    border-bottom: 1px solid $o-datepicker-week-bg-color;
                    td {
                        border-width: 0px;
                        &:not(.off) {
                            &.in-range {
                                background-color: gray('200');
                            }
                            &.available:hover {
                                background-color: gray('200');
                            }
                            &.active, &.active:hover {
                                background-color: $o-brand-primary;
                            }
                        }
                        &.off:hover {
                            background: #FFFFFF;
                            color: #999;
                        }
                    }
                }
            }
        }
        .calendar-time {
            select {
                &.hourselect, &.minuteselect, &.secondselect, &.ampmselect {
                    display: initial;
                    -webkit-appearance: menulist-button;
                    -moz-appearance: menulist-button;
                    appearance: menulist-button;
                }
            }
        }
    }
    .drp-buttons {
        .drp-selected {
            display: none;
        }
    }
}