-
Notifications
You must be signed in to change notification settings - Fork 87
/
date-range-picker.css
87 lines (74 loc) · 1.4 KB
/
date-range-picker.css
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
.dr-cals {
display: flex;
justify-content: space-between;
background: white;
box-shadow: 8px 8px 32px -16px rgba(0, 0, 0, 0.5);
padding-top: 6px;
position: relative;
border-radius: 6px;
overflow: hidden;
}
.dr-cals:before {
content: ' ';
height: 6px;
position: absolute;
top: 0;
left: 0;
right: 0;
background: #3B99FC;
background: linear-gradient(-90deg, #3B99FC 0%, #8AEFC8 100%);
}
.dr-cals .dp-edge-day {
visibility: hidden;
}
.dr-cals .dp-cal-footer {
display: none;
}
.dr-cals .dp {
border: 0;
}
.dr-cals .dp-permanent {
max-width: 300px;
}
.dr-cals .dp-selected:focus,
.dr-cals .dp-selected,
.dr-cals .dp-current:focus,
.dr-cals .dp-current {
background: transparent;
color: inherit;
border-radius: 0;
}
.dr-cals .dp-day-disabled,
.dr-cals .dp-day-disabled:focus {
color: #DDD;
}
.dr-cal-end .dp {
border-left: 8px solid #F5F5F5;
}
.dr-cal-start .dp-next,
.dr-cal-end .dp-prev {
visibility: hidden;
}
.dr-cals .dp-current:hover,
.dr-cals .dr-in-range:hover,
.dr-cals .dr-in-range:focus,
.dr-cals .dr-in-range {
background: #75BCFC;
color: white;
border-radius: 0;
}
.dr-cals .dr-selected:hover,
.dr-cals .dr-selected:focus,
.dr-cals .dr-selected {
background: #3B99FC;
color: white;
border-radius: 0;
}
@media (max-width: 616px), (max-height: 480px) {
.dr-cal-end {
display: none;
}
.dr-cal-start .dp-next {
visibility: visible;
}
}