提交 | 用户 | 时间
|
58d006
|
1 |
/*! |
A |
2 |
* Stylesheet for the Date Range Picker, for use with Bootstrap 2.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: 250px; |
|
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 |
} |
|
48 |
|
|
49 |
.daterangepicker .ranges label { |
|
50 |
color: #333; |
|
51 |
font-size: 11px; |
|
52 |
margin-bottom: 2px; |
|
53 |
text-transform: uppercase; |
|
54 |
text-shadow: 1px 1px 0 #fff; |
|
55 |
} |
|
56 |
|
|
57 |
.daterangepicker .ranges input { |
|
58 |
font-size: 11px; |
|
59 |
} |
|
60 |
|
|
61 |
.daterangepicker .ranges ul { |
|
62 |
list-style: none; |
|
63 |
margin: 0; |
|
64 |
padding: 0; |
|
65 |
} |
|
66 |
|
|
67 |
.daterangepicker .ranges li { |
|
68 |
font-size: 13px; |
|
69 |
background: #f5f5f5; |
|
70 |
border: 1px solid #f5f5f5; |
|
71 |
color: #08c; |
|
72 |
padding: 3px 12px; |
|
73 |
margin-bottom: 8px; |
|
74 |
-webkit-border-radius: 5px; |
|
75 |
-moz-border-radius: 5px; |
|
76 |
border-radius: 5px; |
|
77 |
cursor: pointer; |
|
78 |
} |
|
79 |
|
|
80 |
.daterangepicker .ranges li.active, .daterangepicker .ranges li:hover { |
|
81 |
background: #08c; |
|
82 |
border: 1px solid #08c; |
|
83 |
color: #fff; |
|
84 |
} |
|
85 |
|
|
86 |
.daterangepicker .calendar-date { |
|
87 |
border: 1px solid #ddd; |
|
88 |
padding: 4px; |
|
89 |
border-radius: 4px; |
|
90 |
background: #fff; |
|
91 |
} |
|
92 |
|
|
93 |
.daterangepicker .calendar-time { |
|
94 |
text-align: center; |
|
95 |
margin: 8px auto 0 auto; |
|
96 |
line-height: 30px; |
|
97 |
} |
|
98 |
|
|
99 |
.daterangepicker { |
|
100 |
position: absolute; |
|
101 |
background: #fff; |
|
102 |
top: 100px; |
|
103 |
left: 20px; |
|
104 |
padding: 4px; |
|
105 |
margin-top: 1px; |
|
106 |
-webkit-border-radius: 4px; |
|
107 |
-moz-border-radius: 4px; |
|
108 |
border-radius: 4px; |
|
109 |
} |
|
110 |
|
|
111 |
.daterangepicker.opensleft:before { |
|
112 |
position: absolute; |
|
113 |
top: -7px; |
|
114 |
right: 9px; |
|
115 |
display: inline-block; |
|
116 |
border-right: 7px solid transparent; |
|
117 |
border-bottom: 7px solid #ccc; |
|
118 |
border-left: 7px solid transparent; |
|
119 |
border-bottom-color: rgba(0, 0, 0, 0.2); |
|
120 |
content: ''; |
|
121 |
} |
|
122 |
|
|
123 |
.daterangepicker.opensleft:after { |
|
124 |
position: absolute; |
|
125 |
top: -6px; |
|
126 |
right: 10px; |
|
127 |
display: inline-block; |
|
128 |
border-right: 6px solid transparent; |
|
129 |
border-bottom: 6px solid #fff; |
|
130 |
border-left: 6px solid transparent; |
|
131 |
content: ''; |
|
132 |
} |
|
133 |
|
|
134 |
.daterangepicker.opensright:before { |
|
135 |
position: absolute; |
|
136 |
top: -7px; |
|
137 |
left: 9px; |
|
138 |
display: inline-block; |
|
139 |
border-right: 7px solid transparent; |
|
140 |
border-bottom: 7px solid #ccc; |
|
141 |
border-left: 7px solid transparent; |
|
142 |
border-bottom-color: rgba(0, 0, 0, 0.2); |
|
143 |
content: ''; |
|
144 |
} |
|
145 |
|
|
146 |
.daterangepicker.opensright:after { |
|
147 |
position: absolute; |
|
148 |
top: -6px; |
|
149 |
left: 10px; |
|
150 |
display: inline-block; |
|
151 |
border-right: 6px solid transparent; |
|
152 |
border-bottom: 6px solid #fff; |
|
153 |
border-left: 6px solid transparent; |
|
154 |
content: ''; |
|
155 |
} |
|
156 |
|
|
157 |
.daterangepicker table { |
|
158 |
width: 100%; |
|
159 |
margin: 0; |
|
160 |
} |
|
161 |
|
|
162 |
.daterangepicker td, .daterangepicker th { |
|
163 |
text-align: center; |
|
164 |
width: 20px; |
|
165 |
height: 20px; |
|
166 |
-webkit-border-radius: 4px; |
|
167 |
-moz-border-radius: 4px; |
|
168 |
border-radius: 4px; |
|
169 |
cursor: pointer; |
|
170 |
white-space: nowrap; |
|
171 |
} |
|
172 |
|
|
173 |
.daterangepicker td.off { |
|
174 |
color: #999; |
|
175 |
} |
|
176 |
|
|
177 |
.daterangepicker td.disabled { |
|
178 |
color: #999; |
|
179 |
} |
|
180 |
|
|
181 |
.daterangepicker td.available:hover, .daterangepicker th.available:hover { |
|
182 |
background: #eee; |
|
183 |
} |
|
184 |
|
|
185 |
.daterangepicker td.in-range { |
|
186 |
background: #ebf4f8; |
|
187 |
-webkit-border-radius: 0; |
|
188 |
-moz-border-radius: 0; |
|
189 |
border-radius: 0; |
|
190 |
} |
|
191 |
|
|
192 |
.daterangepicker td.active, .daterangepicker td.active:hover { |
|
193 |
background-color: #006dcc; |
|
194 |
background-image: -moz-linear-gradient(top, #0088cc, #0044cc); |
|
195 |
background-image: -ms-linear-gradient(top, #0088cc, #0044cc); |
|
196 |
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc)); |
|
197 |
background-image: -webkit-linear-gradient(top, #0088cc, #0044cc); |
|
198 |
background-image: -o-linear-gradient(top, #0088cc, #0044cc); |
|
199 |
background-image: linear-gradient(top, #0088cc, #0044cc); |
|
200 |
background-repeat: repeat-x; |
|
201 |
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0088cc', endColorstr='#0044cc', GradientType=0); |
|
202 |
border-color: #0044cc #0044cc #002a80; |
|
203 |
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); |
|
204 |
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); |
|
205 |
color: #fff; |
|
206 |
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); |
|
207 |
} |
|
208 |
|
|
209 |
.daterangepicker td.week, .daterangepicker th.week { |
|
210 |
font-size: 80%; |
|
211 |
color: #ccc; |
|
212 |
} |
|
213 |
|
|
214 |
.daterangepicker select.monthselect, .daterangepicker select.yearselect { |
|
215 |
font-size: 12px; |
|
216 |
padding: 1px; |
|
217 |
height: auto; |
|
218 |
margin: 0; |
|
219 |
cursor: default; |
|
220 |
} |
|
221 |
|
|
222 |
.daterangepicker select.monthselect { |
|
223 |
margin-right: 2%; |
|
224 |
width: 56%; |
|
225 |
} |
|
226 |
|
|
227 |
.daterangepicker select.yearselect { |
|
228 |
width: 40%; |
|
229 |
} |
|
230 |
|
|
231 |
.daterangepicker select.hourselect, .daterangepicker select.minuteselect, .daterangepicker select.ampmselect { |
|
232 |
width: 60px; |
|
233 |
margin-bottom: 0; |
|
234 |
} |