1 | .rmc-calendar {
|
2 | font-family: Arial, "Hiragino Sans GB", "Microsoft Yahei", "Microsoft Sans Serif", "WenQuanYi Micro Hei", sans-serif;
|
3 | }
|
4 | .rmc-calendar-hidden {
|
5 | display: none;
|
6 | }
|
7 | .rmc-calendar .animate {
|
8 | -webkit-animation-duration: .3s;
|
9 | animation-duration: .3s;
|
10 | -webkit-animation-fill-mode: both;
|
11 | animation-fill-mode: both;
|
12 | }
|
13 | @-webkit-keyframes fadeIn {
|
14 | 0% {
|
15 | opacity: 0;
|
16 | }
|
17 | to {
|
18 | opacity: 1;
|
19 | }
|
20 | }
|
21 | @keyframes fadeIn {
|
22 | 0% {
|
23 | opacity: 0;
|
24 | }
|
25 | to {
|
26 | opacity: 1;
|
27 | }
|
28 | }
|
29 | @-webkit-keyframes fadeOut {
|
30 | 0% {
|
31 | opacity: 1;
|
32 | }
|
33 | to {
|
34 | opacity: 0;
|
35 | }
|
36 | }
|
37 | @keyframes fadeOut {
|
38 | 0% {
|
39 | opacity: 1;
|
40 | }
|
41 | to {
|
42 | opacity: 0;
|
43 | }
|
44 | }
|
45 | .rmc-calendar .fade-enter {
|
46 | -webkit-animation-name: fadeIn;
|
47 | animation-name: fadeIn;
|
48 | }
|
49 | .rmc-calendar .fade-leave {
|
50 | -webkit-animation-name: fadeOut;
|
51 | animation-name: fadeOut;
|
52 | }
|
53 | @-webkit-keyframes slideInUp {
|
54 | 0% {
|
55 | -webkit-transform: translate3d(0, 100%, 0);
|
56 | transform: translate3d(0, 100%, 0);
|
57 | visibility: visible;
|
58 | }
|
59 | to {
|
60 | -webkit-transform: translateZ(0);
|
61 | transform: translateZ(0);
|
62 | }
|
63 | }
|
64 | @keyframes slideInUp {
|
65 | 0% {
|
66 | -webkit-transform: translate3d(0, 100%, 0);
|
67 | transform: translate3d(0, 100%, 0);
|
68 | visibility: visible;
|
69 | }
|
70 | to {
|
71 | -webkit-transform: translateZ(0);
|
72 | transform: translateZ(0);
|
73 | }
|
74 | }
|
75 | @-webkit-keyframes slideInDown {
|
76 | 0% {
|
77 | -webkit-transform: translateZ(0);
|
78 | transform: translateZ(0);
|
79 | visibility: visible;
|
80 | }
|
81 | to {
|
82 | -webkit-transform: translate3d(0, 100%, 0);
|
83 | transform: translate3d(0, 100%, 0);
|
84 | }
|
85 | }
|
86 | @keyframes slideInDown {
|
87 | 0% {
|
88 | -webkit-transform: translateZ(0);
|
89 | transform: translateZ(0);
|
90 | visibility: visible;
|
91 | }
|
92 | to {
|
93 | -webkit-transform: translate3d(0, 100%, 0);
|
94 | transform: translate3d(0, 100%, 0);
|
95 | }
|
96 | }
|
97 | @-webkit-keyframes slideInLeft {
|
98 | 0% {
|
99 | -webkit-transform: translate3d(100%, 0, 0);
|
100 | transform: translate3d(100%, 0, 0);
|
101 | visibility: visible;
|
102 | }
|
103 | to {
|
104 | -webkit-transform: translateZ(0);
|
105 | transform: translateZ(0);
|
106 | }
|
107 | }
|
108 | @keyframes slideInLeft {
|
109 | 0% {
|
110 | -webkit-transform: translate3d(100%, 0, 0);
|
111 | transform: translate3d(100%, 0, 0);
|
112 | visibility: visible;
|
113 | }
|
114 | to {
|
115 | -webkit-transform: translateZ(0);
|
116 | transform: translateZ(0);
|
117 | }
|
118 | }
|
119 | @-webkit-keyframes slideInRight {
|
120 | 0% {
|
121 | -webkit-transform: translateZ(0);
|
122 | transform: translateZ(0);
|
123 | visibility: visible;
|
124 | }
|
125 | to {
|
126 | -webkit-transform: translate3d(100%, 0, 0);
|
127 | transform: translate3d(100%, 0, 0);
|
128 | }
|
129 | }
|
130 | @keyframes slideInRight {
|
131 | 0% {
|
132 | -webkit-transform: translateZ(0);
|
133 | transform: translateZ(0);
|
134 | visibility: visible;
|
135 | }
|
136 | to {
|
137 | -webkit-transform: translate3d(100%, 0, 0);
|
138 | transform: translate3d(100%, 0, 0);
|
139 | }
|
140 | }
|
141 | .rmc-calendar .slideV-enter {
|
142 | -webkit-animation-name: slideInUp;
|
143 | animation-name: slideInUp;
|
144 | }
|
145 | .rmc-calendar .slideV-leave {
|
146 | -webkit-animation-name: slideInDown;
|
147 | animation-name: slideInDown;
|
148 | }
|
149 | .rmc-calendar .slideH-enter {
|
150 | -webkit-animation-name: slideInLeft;
|
151 | animation-name: slideInLeft;
|
152 | }
|
153 | .rmc-calendar .slideH-leave {
|
154 | -webkit-animation-name: slideInRight;
|
155 | animation-name: slideInRight;
|
156 | }
|
157 | .rmc-calendar .mask {
|
158 | position: fixed;
|
159 | width: 100%;
|
160 | height: 100%;
|
161 | top: 0;
|
162 | left: 0;
|
163 | z-index: 999;
|
164 | background: rgba(0, 0, 0, 0.5);
|
165 | }
|
166 | .rmc-calendar .content {
|
167 | position: fixed;
|
168 | display: -webkit-box;
|
169 | display: -ms-flexbox;
|
170 | display: flex;
|
171 | -webkit-box-orient: vertical;
|
172 | -webkit-box-direction: normal;
|
173 | -ms-flex-direction: column;
|
174 | flex-direction: column;
|
175 | width: 100%;
|
176 | height: 100%;
|
177 | top: 0;
|
178 | left: 0;
|
179 | z-index: 999;
|
180 | background: #fff;
|
181 | }
|
182 | .rmc-calendar .header {
|
183 | margin: 5px;
|
184 | display: -webkit-box;
|
185 | display: -ms-flexbox;
|
186 | display: flex;
|
187 | -ms-flex-negative: 0;
|
188 | flex-shrink: 0;
|
189 | -webkit-box-align: center;
|
190 | -ms-flex-align: center;
|
191 | align-items: center;
|
192 | }
|
193 | .rmc-calendar .header .title {
|
194 | text-align: center;
|
195 | width: 100%;
|
196 | font-weight: 700;
|
197 | }
|
198 | .rmc-calendar .header .left {
|
199 | position: absolute;
|
200 | display: -webkit-box;
|
201 | display: -ms-flexbox;
|
202 | display: flex;
|
203 | -webkit-box-pack: center;
|
204 | -ms-flex-pack: center;
|
205 | justify-content: center;
|
206 | -webkit-box-align: center;
|
207 | -ms-flex-align: center;
|
208 | align-items: center;
|
209 | padding: 0 8px;
|
210 | height: 24px;
|
211 | left: 5px;
|
212 | top: 5px;
|
213 | color: #068EEF;
|
214 | }
|
215 | .rmc-calendar .header .right {
|
216 | position: absolute;
|
217 | display: -webkit-box;
|
218 | display: -ms-flexbox;
|
219 | display: flex;
|
220 | -webkit-box-pack: center;
|
221 | -ms-flex-pack: center;
|
222 | justify-content: center;
|
223 | -webkit-box-align: center;
|
224 | -ms-flex-align: center;
|
225 | align-items: center;
|
226 | padding: 0 8px;
|
227 | height: 24px;
|
228 | right: 5px;
|
229 | top: 5px;
|
230 | color: #068EEF;
|
231 | font-size: 14px;
|
232 | }
|
233 | .rmc-calendar .timePicker {
|
234 | border-top: 1px #ccc solid;
|
235 | }
|
236 | .rmc-calendar .week-panel {
|
237 | background: #fff;
|
238 | display: -webkit-box;
|
239 | display: -ms-flexbox;
|
240 | display: flex;
|
241 | -ms-flex-negative: 0;
|
242 | flex-shrink: 0;
|
243 | padding: 0 2px;
|
244 | border-bottom: 1px #ccc solid;
|
245 | }
|
246 | .rmc-calendar .week-panel .cell {
|
247 | height: 24px;
|
248 | display: -webkit-box;
|
249 | display: -ms-flexbox;
|
250 | display: flex;
|
251 | width: 14.28571429%;
|
252 | -webkit-box-pack: center;
|
253 | -ms-flex-pack: center;
|
254 | justify-content: center;
|
255 | -webkit-box-align: center;
|
256 | -ms-flex-align: center;
|
257 | align-items: center;
|
258 | }
|
259 | .rmc-calendar .week-panel .cell-grey {
|
260 | color: #999;
|
261 | }
|
262 | .rmc-calendar .date-picker {
|
263 | display: -webkit-box;
|
264 | display: -ms-flexbox;
|
265 | display: flex;
|
266 | -webkit-box-orient: vertical;
|
267 | -webkit-box-direction: normal;
|
268 | -ms-flex-direction: column;
|
269 | flex-direction: column;
|
270 | background: #eee;
|
271 | }
|
272 | .rmc-calendar .date-picker .wrapper {
|
273 | height: auto;
|
274 | position: relative;
|
275 | }
|
276 | .rmc-calendar .date-picker .months {
|
277 | background: #fff;
|
278 | }
|
279 | .rmc-calendar .date-picker .load-tip {
|
280 | position: absolute;
|
281 | display: -webkit-box;
|
282 | display: -ms-flexbox;
|
283 | display: flex;
|
284 | -webkit-box-pack: center;
|
285 | -ms-flex-pack: center;
|
286 | justify-content: center;
|
287 | -webkit-box-align: end;
|
288 | -ms-flex-align: end;
|
289 | align-items: flex-end;
|
290 | left: 0;
|
291 | right: 0;
|
292 | padding: 10px 0;
|
293 | top: -40px;
|
294 | color: #bbb;
|
295 | }
|
296 | .rmc-calendar .confirm-panel {
|
297 | display: -webkit-box;
|
298 | display: -ms-flexbox;
|
299 | display: flex;
|
300 | -ms-flex-negative: 0;
|
301 | flex-shrink: 0;
|
302 | -webkit-box-pack: center;
|
303 | -ms-flex-pack: center;
|
304 | justify-content: center;
|
305 | -webkit-box-align: center;
|
306 | -ms-flex-align: center;
|
307 | align-items: center;
|
308 | background: #eee;
|
309 | padding: 2px 10px;
|
310 | border-top: #E5E4E4 1px solid;
|
311 | }
|
312 | .rmc-calendar .confirm-panel .info {
|
313 | font-size: 12px;
|
314 | }
|
315 | .rmc-calendar .confirm-panel .info p {
|
316 | margin: 0;
|
317 | }
|
318 | .rmc-calendar .confirm-panel .info .grey {
|
319 | color: #999;
|
320 | }
|
321 | .rmc-calendar .confirm-panel .button {
|
322 | padding: 5px 20px;
|
323 | border-radius: 5px;
|
324 | -ms-flex-item-align: center;
|
325 | -ms-grid-row-align: center;
|
326 | align-self: center;
|
327 | margin: 5px 0 5px auto;
|
328 | color: #fff;
|
329 | font-size: 14px;
|
330 | background: #1A7BE6;
|
331 | }
|
332 | .rmc-calendar .confirm-panel .button-disable {
|
333 | color: #aaa;
|
334 | background: #d5d5d5;
|
335 | }
|
336 | .rmc-calendar .confirm-panel .button-full {
|
337 | margin: 5px;
|
338 | width: 100%;
|
339 | text-align: center;
|
340 | }
|
341 | .rmc-calendar .time-picker {
|
342 | -ms-flex-negative: 0;
|
343 | flex-shrink: 0;
|
344 | text-align: center;
|
345 | background: #fff;
|
346 | }
|
347 | .rmc-calendar .time-picker .title {
|
348 | font-size: 13px;
|
349 | padding: 5px 0;
|
350 | border-top: #E5E4E4 1px solid;
|
351 | border-bottom: #E5E4E4 1px solid;
|
352 | }
|
353 | .rmc-calendar .single-month {
|
354 | padding: 10px 2px 0;
|
355 | }
|
356 | .rmc-calendar .single-month .month-title {
|
357 | margin-left: 15px;
|
358 | }
|
359 | .rmc-calendar .single-month .row {
|
360 | display: -webkit-box;
|
361 | display: -ms-flexbox;
|
362 | display: flex;
|
363 | padding: 3px 0;
|
364 | }
|
365 | .rmc-calendar .single-month .row .cell {
|
366 | display: -webkit-box;
|
367 | display: -ms-flexbox;
|
368 | display: flex;
|
369 | -webkit-box-orient: vertical;
|
370 | -webkit-box-direction: normal;
|
371 | -ms-flex-direction: column;
|
372 | flex-direction: column;
|
373 | width: 14.28571429%;
|
374 | -webkit-box-pack: center;
|
375 | -ms-flex-pack: center;
|
376 | justify-content: center;
|
377 | -webkit-box-align: center;
|
378 | -ms-flex-align: center;
|
379 | align-items: center;
|
380 | }
|
381 | .rmc-calendar .single-month .row .cell .date-wrapper {
|
382 | display: -webkit-box;
|
383 | display: -ms-flexbox;
|
384 | display: flex;
|
385 | height: 35px;
|
386 | width: 100%;
|
387 | -webkit-box-pack: center;
|
388 | -ms-flex-pack: center;
|
389 | justify-content: center;
|
390 | -webkit-box-align: center;
|
391 | -ms-flex-align: center;
|
392 | align-items: center;
|
393 | margin-bottom: 1px;
|
394 | }
|
395 | .rmc-calendar .single-month .row .cell .date-wrapper .disable {
|
396 | color: #aaa;
|
397 | background: #eee;
|
398 | border: none;
|
399 | border-radius: 100%;
|
400 | }
|
401 | .rmc-calendar .single-month .row .cell .date-wrapper .date {
|
402 | display: -webkit-box;
|
403 | display: -ms-flexbox;
|
404 | display: flex;
|
405 | -webkit-box-pack: center;
|
406 | -ms-flex-pack: center;
|
407 | justify-content: center;
|
408 | -webkit-box-align: center;
|
409 | -ms-flex-align: center;
|
410 | align-items: center;
|
411 | width: 35px;
|
412 | height: 35px;
|
413 | -ms-flex-negative: 0;
|
414 | flex-shrink: 0;
|
415 | }
|
416 | .rmc-calendar .single-month .row .cell .date-wrapper .grey {
|
417 | color: #999;
|
418 | }
|
419 | .rmc-calendar .single-month .row .cell .date-wrapper .important {
|
420 | border: 1px #999 solid;
|
421 | border-radius: 100%;
|
422 | }
|
423 | .rmc-calendar .single-month .row .cell .date-wrapper .left,
|
424 | .rmc-calendar .single-month .row .cell .date-wrapper .right {
|
425 | border: none;
|
426 | width: 100%;
|
427 | height: 100%;
|
428 | }
|
429 | .rmc-calendar .single-month .row .cell .date-wrapper .date-selected {
|
430 | border: none;
|
431 | background: #1a7be6;
|
432 | color: #fff;
|
433 | }
|
434 | .rmc-calendar .single-month .row .cell .date-wrapper .selected-start {
|
435 | border-radius: 100% 0 0 100%;
|
436 | }
|
437 | .rmc-calendar .single-month .row .cell .date-wrapper .selected-single {
|
438 | border-radius: 100%;
|
439 | }
|
440 | .rmc-calendar .single-month .row .cell .date-wrapper .selected-middle {
|
441 | border-radius: 0;
|
442 | }
|
443 | .rmc-calendar .single-month .row .cell .date-wrapper .selected-end {
|
444 | border-radius: 0 100% 100% 0;
|
445 | }
|
446 | .rmc-calendar .single-month .row .cell .info {
|
447 | height: 15px;
|
448 | width: 100%;
|
449 | padding: 0 5px;
|
450 | font-size: 12px;
|
451 | color: #999;
|
452 | white-space: nowrap;
|
453 | text-overflow: ellipsis;
|
454 | overflow: hidden;
|
455 | text-align: center;
|
456 | }
|
457 | .rmc-calendar .single-month .row .cell .date-selected {
|
458 | color: #1a7be6;
|
459 | }
|
460 | .rmc-calendar .single-month .row + .row {
|
461 | margin-top: 6px;
|
462 | }
|
463 | .rmc-calendar .single-month .row-xl + .row-xl {
|
464 | margin-top: 21px;
|
465 | }
|
466 | .rmc-calendar .shortcut-panel {
|
467 | display: -webkit-box;
|
468 | display: -ms-flexbox;
|
469 | display: flex;
|
470 | -webkit-box-orient: horizontal;
|
471 | -webkit-box-direction: normal;
|
472 | -ms-flex-direction: row;
|
473 | flex-direction: row;
|
474 | -ms-flex-negative: 0;
|
475 | flex-shrink: 0;
|
476 | -webkit-box-pack: justify;
|
477 | -ms-flex-pack: justify;
|
478 | justify-content: space-between;
|
479 | padding: 8px 20px;
|
480 | border-top: #E5E4E4 1px solid;
|
481 | }
|
482 | .rmc-calendar .shortcut-panel .item {
|
483 | display: inline-block;
|
484 | color: #068EEF;
|
485 | font-size: 14px;
|
486 | }
|