-
Notifications
You must be signed in to change notification settings - Fork 0
/
multiple-date-picker-x.less
158 lines (126 loc) · 2.89 KB
/
multiple-date-picker-x.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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
@border-color: #eee;
@empty-date-background: #fafafa;
@picker-date-today: #00a3ff;
@non-pickable-date-background: #eee;
@non-pickable-date-color: #bbb;
@pickable-date-non-picked-background: #fff;
@pickable-date-non-picked-color: #000;
@pickable-date-picked-background: #C6000B;
@pickable-date-picked-color: #fff;
.text-center {
text-align: center;
}
.multiple-date-picker {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
position: relative;
}
.multiple-date-picker-calendar{
padding: 15px;
}
.multiple-date-picker-node{
/*
margin-right: -15px;
margin-left: -15px;
*/
}
.multiple-date-picker-group:before, .multiple-date-picker-group:after {
display: table;
content: " ";
}
.multiple-date-picker-group:after{
clear: both;
}
.multiple-date-picker-node {
position: relative;
min-height: 1px;
padding-right: 15px;
padding-left: 15px;
float: left;
}
.multiple-date-picker-node, .picker-top-row {
width: 100%;
}
.picker-top-row > div {
display: inline-block;
}
.picker-navigate {
width: 16%;
float:left;
}
.picker-navigate:hover {
cursor: pointer;
}
.picker-navigate.disabled, .picker-navigate.disabled:hover {
color: #ddd;
cursor: default;
}
.picker-month {
width: 66%;
float: left;
}
.picker-months-row, .picker-days-week-row {
padding:5px;
}
.picker-months-row > div {
width: 25%;
display: inline-block;
}
.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:before, .picker-top-row:after {
display: table;
content: " ";
}
.picker-top-row:after{
clear: both;
}
.picker-top-row, .picker-date {
padding: 10px 0;
}
.picker-date{
background-color: @pickable-date-non-picked-background;
border: 1px solid @border-color;
-moz-box-sizing: border-box;
box-sizing: border-box;
color:@pickable-date-non-picked-color;
}
.picker-date.today, .picker-date.today:hover, .picker-date.today.picker-selected, .picker-date.today.picker-off, .picker-date.today.picker-off:hover{
color: @picker-date-today;
font-weight: bold;
}
.picker-date:not(.picker-off):not(.picker-empty):hover {
background-color: @pickable-date-picked-background;
color: @pickable-date-picked-color;
cursor: pointer;
}
.picker-date.off-month {
color: transparent !important;
background-color: transparent !important;
border-color: transparent !important;
}
.picker-date.picker-selected{
background-color: @pickable-date-picked-background;
color: @pickable-date-picked-color;
}
.picker-date.picker-off, .picker-date.picker-off:hover{
background-color: @non-pickable-date-background;
color: @non-pickable-date-color;
cursor: default;
}
.picker-date.picker-empty, .picker-date.picker-empty:hover{
background-color: @empty-date-background;
cursor: default;
}