-
Notifications
You must be signed in to change notification settings - Fork 19
/
multipleDatePicker.less
98 lines (76 loc) · 1.9 KB
/
multipleDatePicker.less
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
89
90
91
92
93
94
95
96
97
98
@border-color: #eee;
@empty-day-background: #fafafa;
@picker-day-today: #00a3ff;
@non-pickable-day-background: #eee;
@non-pickable-day-color: #bbb;
@pickable-day-non-picked-background: #fff;
@pickable-day-non-picked-color: #000;
@pickable-day-picked-background: #C6000B;
@pickable-day-picked-color: #fff;
.text-center{
text-align: center;
}
.multiple-date-picker{
user-select: none;
}
.multiple-date-picker, .picker-top-row, .picker-days-week-row, .picker-days-row{
width: 100%;
}
.picker-top-row > div{
display: inline-block;
}
.picker-navigate{
width: 16.66%;
}
.picker-navigate:hover{
cursor: pointer;
}
.picker-navigate.disabled, .picker-navigate.disabled:hover{
color:#ddd;
cursor: default;
}
.picker-month{
width: 66.66%;
}
.picker-days-week-row > div{
width:14.28%;
display: inline-block;
}
.picker-days-row > div{
width:14.28%;
display: inline-block;
}
.picker-days-row > div{
width:14.28%;
display: inline-block;
}
.picker-top-row, .picker-day{
padding: 10px 0;
}
.picker-day{
background-color: @pickable-day-non-picked-background;
border: 1px solid @border-color;
box-sizing: border-box;
color:@pickable-day-non-picked-color;
}
.picker-day.today, .picker-day.today:hover, .picker-day.today.picker-selected, .picker-day.today.picker-off, .picker-day.today.picker-off:hover{
color: @picker-day-today;
}
.picker-day:not(.picker-off):not(.picker-empty):hover {
background-color: @pickable-day-picked-background;
color: @pickable-day-picked-color;
cursor: pointer;
}
.picker-day.picker-selected{
background-color: @pickable-day-picked-background;
color: @pickable-day-picked-color;
}
.picker-day.picker-off, .picker-day.picker-off:hover{
background-color: @non-pickable-day-background;
color: @non-pickable-day-color;
cursor: default;
}
.picker-day.picker-empty, .picker-day.picker-empty:hover{
background-color: @empty-day-background;
cursor: default;
}