提交 | 用户 | 时间
|
58d006
|
1 |
/*! |
A |
2 |
* Stylesheet for the Date Range Picker, for use with Bootstrap 3.x |
|
3 |
* |
|
4 |
* Copyright 2013 Dan Grossman ( http://www.dangrossman.info ) |
|
5 |
* Licensed under the Apache License v2.0 |
|
6 |
* http://www.apache.org/licenses/LICENSE-2.0 |
|
7 |
* |
|
8 |
* Built for http://www.improvely.com |
|
9 |
*/ |
|
10 |
|
|
11 |
.daterangepicker.dropdown-menu { |
|
12 |
max-width: none; |
|
13 |
} |
|
14 |
|
|
15 |
.daterangepicker.opensleft .ranges, .daterangepicker.opensleft .calendar { |
|
16 |
float: left; |
|
17 |
margin: 4px; |
|
18 |
} |
|
19 |
|
|
20 |
.daterangepicker.opensright .ranges, .daterangepicker.opensright .calendar { |
|
21 |
float: right; |
|
22 |
margin: 4px; |
|
23 |
} |
|
24 |
|
|
25 |
.daterangepicker .ranges { |
|
26 |
width: 160px; |
|
27 |
text-align: left; |
|
28 |
} |
|
29 |
|
|
30 |
.daterangepicker .ranges .range_inputs>div { |
|
31 |
float: left; |
|
32 |
} |
|
33 |
|
|
34 |
.daterangepicker .ranges .range_inputs>div:nth-child(2) { |
|
35 |
padding-left: 11px; |
|
36 |
} |
|
37 |
|
|
38 |
.daterangepicker .calendar { |
|
39 |
display: none; |
|
40 |
max-width: 270px; |
|
41 |
} |
|
42 |
|
|
43 |
.daterangepicker .calendar th, .daterangepicker .calendar td { |
|
44 |
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; |
|
45 |
white-space: nowrap; |
|
46 |
text-align: center; |
|
47 |
min-width: 32px; |
|
48 |
} |
|
49 |
|
|
50 |
.daterangepicker .ranges label { |
|
51 |
color: #333; |
|
52 |
display: block; |
|
53 |
font-size: 11px; |
|
54 |
font-weight: normal; |
|
55 |
height: 20px; |
|
56 |
line-height: 20px; |
|
57 |
margin-bottom: 2px; |
|
58 |
text-shadow: #fff 1px 1px 0px; |
|
59 |
text-transform: uppercase; |
|
60 |
width: 74px; |
|
61 |
} |
|
62 |
|
|
63 |
.daterangepicker .ranges input { |
|
64 |
font-size: 11px; |
|
65 |
} |
|
66 |
|
|
67 |
.daterangepicker .ranges .input-mini { |
|
68 |
background-color: #eee; |
|
69 |
border: 1px solid #ccc; |
|
70 |
border-radius: 4px; |
|
71 |
color: #555; |
|
72 |
display: block; |
|
73 |
font-size: 11px; |
|
74 |
height: 30px; |
|
75 |
line-height: 30px; |
|
76 |
vertical-align: middle; |
|
77 |
margin: 0 0 10px 0; |
|
78 |
padding: 0 6px; |
|
79 |
width: 74px; |
|
80 |
} |
|
81 |
|
|
82 |
.daterangepicker .ranges ul { |
|
83 |
list-style: none; |
|
84 |
margin: 0; |
|
85 |
padding: 0; |
|
86 |
} |
|
87 |
|
|
88 |
.daterangepicker .ranges li { |
|
89 |
font-size: 13px; |
|
90 |
background: #f5f5f5; |
|
91 |
border: 1px solid #f5f5f5; |
|
92 |
color: #08c; |
|
93 |
padding: 3px 12px; |
|
94 |
margin-bottom: 8px; |
|
95 |
-webkit-border-radius: 5px; |
|
96 |
-moz-border-radius: 5px; |
|
97 |
border-radius: 5px; |
|
98 |
cursor: pointer; |
|
99 |
} |
|
100 |
|
|
101 |
.daterangepicker .ranges li.active, .daterangepicker .ranges li:hover { |
|
102 |
background: #08c; |
|
103 |
border: 1px solid #08c; |
|
104 |
color: #fff; |
|
105 |
} |
|
106 |
|
|
107 |
.daterangepicker .calendar-date { |
|
108 |
border: 1px solid #ddd; |
|
109 |
padding: 4px; |
|
110 |
border-radius: 4px; |
|
111 |
background: #fff; |
|
112 |
} |
|
113 |
|
|
114 |
.daterangepicker .calendar-time { |
|
115 |
text-align: center; |
|
116 |
margin: 8px auto 0 auto; |
|
117 |
line-height: 30px; |
|
118 |
} |
|
119 |
|
|
120 |
.daterangepicker { |
|
121 |
position: absolute; |
|
122 |
background: #fff; |
|
123 |
top: 100px; |
|
124 |
left: 20px; |
|
125 |
padding: 4px; |
|
126 |
margin-top: 1px; |
|
127 |
-webkit-border-radius: 4px; |
|
128 |
-moz-border-radius: 4px; |
|
129 |
border-radius: 4px; |
|
130 |
} |
|
131 |
|
|
132 |
.daterangepicker.opensleft:before { |
|
133 |
position: absolute; |
|
134 |
top: -7px; |
|
135 |
right: 9px; |
|
136 |
display: inline-block; |
|
137 |
border-right: 7px solid transparent; |
|
138 |
border-bottom: 7px solid #ccc; |
|
139 |
border-left: 7px solid transparent; |
|
140 |
border-bottom-color: rgba(0, 0, 0, 0.2); |
|
141 |
content: ''; |
|
142 |
} |
|
143 |
|
|
144 |
.daterangepicker.opensleft:after { |
|
145 |
position: absolute; |
|
146 |
top: -6px; |
|
147 |
right: 10px; |
|
148 |
display: inline-block; |
|
149 |
border-right: 6px solid transparent; |
|
150 |
border-bottom: 6px solid #fff; |
|
151 |
border-left: 6px solid transparent; |
|
152 |
content: ''; |
|
153 |
} |
|
154 |
|
|
155 |
.daterangepicker.opensright:before { |
|
156 |
position: absolute; |
|
157 |
top: -7px; |
|
158 |
left: 9px; |
|
159 |
display: inline-block; |
|
160 |
border-right: 7px solid transparent; |
|
161 |
border-bottom: 7px solid #ccc; |
|
162 |
border-left: 7px solid transparent; |
|
163 |
border-bottom-color: rgba(0, 0, 0, 0.2); |
|
164 |
content: ''; |
|
165 |
} |
|
166 |
|
|
167 |
.daterangepicker.opensright:after { |
|
168 |
position: absolute; |
|
169 |
top: -6px; |
|
170 |
left: 10px; |
|
171 |
display: inline-block; |
|
172 |
border-right: 6px solid transparent; |
|
173 |
border-bottom: 6px solid #fff; |
|
174 |
border-left: 6px solid transparent; |
|
175 |
content: ''; |
|
176 |
} |
|
177 |
|
|
178 |
.daterangepicker table { |
|
179 |
width: 100%; |
|
180 |
margin: 0; |
|
181 |
} |
|
182 |
|
|
183 |
.daterangepicker td, .daterangepicker th { |
|
184 |
text-align: center; |
|
185 |
width: 20px; |
|
186 |
height: 20px; |
|
187 |
-webkit-border-radius: 4px; |
|
188 |
-moz-border-radius: 4px; |
|
189 |
border-radius: 4px; |
|
190 |
cursor: pointer; |
|
191 |
white-space: nowrap; |
|
192 |
} |
|
193 |
|
|
194 |
.daterangepicker td.off { |
|
195 |
color: #999; |
|
196 |
} |
|
197 |
|
|
198 |
.daterangepicker td.disabled { |
|
199 |
color: #999; |
|
200 |
} |
|
201 |
|
|
202 |
.daterangepicker td.available:hover, .daterangepicker th.available:hover { |
|
203 |
background: #eee; |
|
204 |
} |
|
205 |
|
|
206 |
.daterangepicker td.in-range { |
|
207 |
background: #ebf4f8; |
|
208 |
-webkit-border-radius: 0; |
|
209 |
-moz-border-radius: 0; |
|
210 |
border-radius: 0; |
|
211 |
} |
|
212 |
|
|
213 |
.daterangepicker td.active, .daterangepicker td.active:hover { |
|
214 |
background-color: #357ebd; |
|
215 |
border-color: #3071a9; |
|
216 |
color: #fff; |
|
217 |
} |
|
218 |
|
|
219 |
.daterangepicker td.week, .daterangepicker th.week { |
|
220 |
font-size: 80%; |
|
221 |
color: #ccc; |
|
222 |
} |
|
223 |
|
|
224 |
.daterangepicker select.monthselect, .daterangepicker select.yearselect { |
|
225 |
font-size: 12px; |
|
226 |
padding: 1px; |
|
227 |
height: auto; |
|
228 |
margin: 0; |
|
229 |
cursor: default; |
|
230 |
} |
|
231 |
|
|
232 |
.daterangepicker select.monthselect { |
|
233 |
margin-right: 2%; |
|
234 |
width: 56%; |
|
235 |
} |
|
236 |
|
|
237 |
.daterangepicker select.yearselect { |
|
238 |
width: 40%; |
|
239 |
} |
|
240 |
|
|
241 |
.daterangepicker select.hourselect, .daterangepicker select.minuteselect, .daterangepicker select.ampmselect { |
|
242 |
width: 50px; |
|
243 |
margin-bottom: 0; |
|
244 |
} |