Project

General

Profile

1
/*!
2
 * Stylesheet for the Date Range Picker, for use with Bootstrap 3.x
3
 *
4
 * Copyright 2013-2015 Dan Grossman ( http://www.dangrossman.info )
5
 * Licensed under the MIT license. See http://www.opensource.org/licenses/mit-license.php
6
 *
7
 * Built for http://www.improvely.com
8
 */
9

    
10
 .daterangepicker.dropdown-menu {
11
  max-width: none;
12
  z-index: 3000;
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
.daterangepicker.openscenter .ranges, .daterangepicker.openscenter .calendar {
22
  float: right;
23
  margin: 4px;
24
}
25

    
26
.daterangepicker.single .ranges, .daterangepicker.single .calendar {
27
  float: none;
28
}
29

    
30
.daterangepicker .ranges {
31
  width: 160px;
32
  text-align: left;
33
}
34

    
35
.daterangepicker .ranges .range_inputs>div {
36
  float: left;
37
}
38

    
39
.daterangepicker .ranges .range_inputs>div:nth-child(2) {
40
  padding-left: 11px;
41
}
42

    
43
.daterangepicker .calendar {
44
  display: none;
45
  max-width: 270px;
46
}
47

    
48
.daterangepicker.show-calendar .calendar {
49
    display: block;
50
}
51

    
52
.daterangepicker .calendar.single .calendar-date {
53
  border: none;
54
}
55

    
56
.daterangepicker .calendar th, .daterangepicker .calendar td {
57
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
58
  white-space: nowrap;
59
  text-align: center;
60
  min-width: 32px;
61
}
62

    
63
.daterangepicker .daterangepicker_start_input label,
64
.daterangepicker .daterangepicker_end_input label {
65
  color: #333;
66
  display: block;
67
  font-size: 11px;
68
  font-weight: normal;
69
  height: 20px;
70
  line-height: 20px;
71
  margin-bottom: 2px;
72
  text-shadow: #fff 1px 1px 0px;
73
  text-transform: uppercase;
74
  width: 74px;
75
}
76

    
77
.daterangepicker .ranges input {
78
  font-size: 11px;
79
}
80

    
81
.daterangepicker .ranges .input-mini {
82
  border: 1px solid #ccc;
83
  border-radius: 4px;
84
  color: #555;
85
  display: block;
86
  font-size: 11px;
87
  height: 30px;
88
  line-height: 30px;
89
  vertical-align: middle;
90
  margin: 0 0 10px 0;
91
  padding: 0 6px;
92
  width: 74px;
93
}
94

    
95
.daterangepicker .ranges ul {
96
  list-style: none;
97
  margin: 0;
98
  padding: 0;
99
}
100

    
101
.daterangepicker .ranges li {
102
  font-size: 13px;
103
  background: #f5f5f5;
104
  border: 1px solid #f5f5f5;
105
  color: #08c;
106
  padding: 3px 12px;
107
  margin-bottom: 8px;
108
  -webkit-border-radius: 5px;
109
  -moz-border-radius: 5px;
110
  border-radius: 5px;
111
  cursor: pointer;
112
}
113

    
114
.daterangepicker .ranges li.active, .daterangepicker .ranges li:hover {
115
  background: #08c;
116
  border: 1px solid #08c;
117
  color: #fff;
118
}
119

    
120
.daterangepicker .calendar-date {
121
  border: 1px solid #ddd;
122
  padding: 4px;
123
  border-radius: 4px;
124
  background: #fff;
125
}
126

    
127
.daterangepicker .calendar-time {
128
  text-align: center;
129
  margin: 8px auto 0 auto;
130
  line-height: 30px;
131
}
132

    
133
.daterangepicker {
134
  position: absolute;
135
  background: #fff;
136
  top: 100px;
137
  left: 20px;
138
  padding: 4px;
139
  margin-top: 1px;
140
  -webkit-border-radius: 4px;
141
  -moz-border-radius: 4px;
142
  border-radius: 4px;
143
}
144

    
145
.daterangepicker.opensleft:before {
146
  position: absolute;
147
  top: -7px;
148
  right: 9px;
149
  display: inline-block;
150
  border-right: 7px solid transparent;
151
  border-bottom: 7px solid #ccc;
152
  border-left: 7px solid transparent;
153
  border-bottom-color: rgba(0, 0, 0, 0.2);
154
  content: '';
155
}
156

    
157
.daterangepicker.opensleft:after {
158
  position: absolute;
159
  top: -6px;
160
  right: 10px;
161
  display: inline-block;
162
  border-right: 6px solid transparent;
163
  border-bottom: 6px solid #fff;
164
  border-left: 6px solid transparent;
165
  content: '';
166
}
167

    
168
.daterangepicker.openscenter:before {
169
  position: absolute;
170
  top: -7px;
171
  left: 0;  
172
  right: 0;
173
  width: 0;
174
  margin-left: auto;
175
  margin-right: auto;
176
  display: inline-block;
177
  border-right: 7px solid transparent;
178
  border-bottom: 7px solid #ccc;
179
  border-left: 7px solid transparent;
180
  border-bottom-color: rgba(0, 0, 0, 0.2);
181
  content: '';
182
}
183

    
184
.daterangepicker.openscenter:after {
185
  position: absolute;
186
  top: -6px;
187
  left: 0;  
188
  right: 0;  
189
  width: 0;
190
  margin-left: auto;
191
  margin-right: auto;
192
  display: inline-block;
193
  border-right: 6px solid transparent;
194
  border-bottom: 6px solid #fff;
195
  border-left: 6px solid transparent;
196
  content: '';
197
}
198

    
199
.daterangepicker.opensright:before {
200
  position: absolute;
201
  top: -7px;
202
  left: 9px;
203
  display: inline-block;
204
  border-right: 7px solid transparent;
205
  border-bottom: 7px solid #ccc;
206
  border-left: 7px solid transparent;
207
  border-bottom-color: rgba(0, 0, 0, 0.2);
208
  content: '';
209
}
210

    
211
.daterangepicker.opensright:after {
212
  position: absolute;
213
  top: -6px;
214
  left: 10px;
215
  display: inline-block;
216
  border-right: 6px solid transparent;
217
  border-bottom: 6px solid #fff;
218
  border-left: 6px solid transparent;
219
  content: '';
220
}
221

    
222
.daterangepicker.dropup{
223
  margin-top: -5px;
224
}
225
.daterangepicker.dropup:before{
226
  top: initial;
227
  bottom:-7px;
228
  border-bottom: initial;
229
  border-top: 7px solid #ccc;
230
}
231
.daterangepicker.dropup:after{
232
  top: initial;
233
  bottom:-6px;
234
  border-bottom: initial;
235
  border-top: 6px solid #fff;
236
}
237

    
238
.daterangepicker table {
239
  width: 100%;
240
  margin: 0;
241
}
242

    
243
.daterangepicker td, .daterangepicker th {
244
  text-align: center;
245
  width: 20px;
246
  height: 20px;
247
  -webkit-border-radius: 4px;
248
  -moz-border-radius: 4px;
249
  border-radius: 4px;
250
  cursor: pointer;
251
  white-space: nowrap;
252
}
253

    
254
.daterangepicker td.off {
255
  color: #999;
256
}
257

    
258
.daterangepicker td.disabled, .daterangepicker option.disabled {
259
  color: #999;
260
}
261

    
262
.daterangepicker td.available:hover, .daterangepicker th.available:hover {
263
  background: #eee;
264
}
265

    
266
.daterangepicker td.in-range {
267
  background: #ebf4f8;
268
  -webkit-border-radius: 0;
269
  -moz-border-radius: 0;
270
  border-radius: 0;
271
}
272

    
273
.daterangepicker td.start-date {
274
  -webkit-border-radius: 4px 0 0 4px;
275
  -moz-border-radius: 4px 0 0 4px;
276
  border-radius: 4px 0 0 4px;
277
}
278

    
279
.daterangepicker td.end-date {
280
  -webkit-border-radius: 0 4px 4px 0;
281
  -moz-border-radius: 0 4px 4px 0;
282
  border-radius: 0 4px 4px 0;
283
}
284

    
285
.daterangepicker td.start-date.end-date {
286
  -webkit-border-radius: 4px;
287
  -moz-border-radius: 4px;
288
  border-radius: 4px;
289
}
290

    
291
.daterangepicker td.active, .daterangepicker td.active:hover {
292
  background-color: #357ebd;
293
  border-color: #3071a9;
294
  color: #fff;
295
}
296

    
297
.daterangepicker td.week, .daterangepicker th.week {
298
  font-size: 80%;
299
  color: #ccc;
300
}
301

    
302
.daterangepicker select.monthselect, .daterangepicker select.yearselect {
303
  font-size: 12px;
304
  padding: 1px;
305
  height: auto;
306
  margin: 0;
307
  cursor: default;
308
}
309

    
310
.daterangepicker select.monthselect {
311
  margin-right: 2%;
312
  width: 56%;
313
}
314

    
315
.daterangepicker select.yearselect {
316
  width: 40%;
317
}
318

    
319
.daterangepicker select.hourselect, .daterangepicker select.minuteselect, .daterangepicker select.secondselect, .daterangepicker select.ampmselect {
320
  width: 50px;
321
  margin-bottom: 0;
322
}
323

    
324
.daterangepicker_start_input {
325
  float: left;
326
}
327

    
328
.daterangepicker_end_input {
329
  float: left; 
330
  padding-left: 11px
331
}
332

    
333
.daterangepicker th.month {
334
  width: auto;
335
}
    (1-1/1)