@seafile/seafile-calendar 1.0.1 → 1.0.2-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/assets/index.css CHANGED
@@ -60,7 +60,7 @@
60
60
  .rc-calendar-input {
61
61
  border: 1px solid transparent;
62
62
  width: 100%;
63
- color: #666;
63
+ color: #333;
64
64
  cursor: text;
65
65
  line-height: 1.5;
66
66
  outline: 0;
@@ -69,6 +69,16 @@
69
69
  .rc-calendar-input-invalid {
70
70
  border-color: red;
71
71
  }
72
+ .rc-calendar-input:-ms-input-placeholder {
73
+ color: #808080;
74
+ font-weight: 600;
75
+ opacity: 1;
76
+ }
77
+ .rc-calendar-input::placeholder {
78
+ color: #808080;
79
+ font-weight: 600;
80
+ opacity: 1;
81
+ }
72
82
  .rc-calendar-clear-btn {
73
83
  z-index: 9999;
74
84
  position: absolute;
@@ -219,7 +229,6 @@
219
229
  line-height: 1.5;
220
230
  /* Layout wrappers */
221
231
  /* Top inputs row */
222
- /* Shared header text input */
223
232
  /* Date grid area */
224
233
  /* Right time panel */
225
234
  /* Footer */
@@ -236,79 +245,55 @@
236
245
  }
237
246
  .rc-calendar-date-panel {
238
247
  display: block;
239
- min-width: 288px;
248
+ min-width: 260px;
240
249
  }
241
250
  .rc-calendar-inputs {
242
251
  display: -ms-flexbox;
243
252
  display: flex;
244
253
  -ms-flex-align: stretch;
245
254
  align-items: stretch;
246
- border-bottom: 1px solid #eee;
247
255
  }
248
256
  .rc-calendar-date-input-col {
249
257
  -ms-flex: 1 1 auto;
250
258
  flex: 1 1 auto;
251
259
  }
252
260
  .rc-calendar-time-input-col {
253
- width: 122px;
261
+ width: 90px;
254
262
  border-left: 1px solid #eee;
255
263
  }
256
264
  .rc-calendar-date-input,
257
- .rc-calendar-time-input-outer {
265
+ .rc-calendar-time-input {
258
266
  display: -ms-flexbox;
259
267
  display: flex;
260
268
  -ms-flex-align: center;
261
269
  align-items: center;
262
270
  height: 100%;
271
+ padding: 12px 12px 0 12px;
263
272
  }
264
- .rc-calendar-date-input {
265
- padding: 10px;
266
- }
267
- .rc-calendar-time-input-outer {
268
- padding: 10px;
269
- width: 100%;
270
- }
271
- .rc-calendar-date-input input {
273
+ .rc-calendar-date-input input,
274
+ .rc-calendar-time-input input {
272
275
  height: 30px;
273
276
  width: 100%;
274
- padding: 4px 10px;
277
+ padding: 4px 6px;
275
278
  border: 1px solid #eee;
276
279
  border-radius: 3px;
277
280
  line-height: 1.5;
278
281
  }
279
- .rc-calendar-date-input input:focus {
280
- border-color: #1991eb;
281
- box-shadow: 0 0 0 2px rgba(70, 127, 207, 0.25);
282
- outline: none;
283
- }
284
- .rc-calendar-text-input {
285
- height: 30px;
286
- display: inline-block;
287
- width: 100%;
288
- margin: 0;
289
- padding: 4px 10px;
290
- border-radius: 6px;
291
- border: 1px solid #eee;
292
- background: #fff;
293
- color: #666;
294
- line-height: 1.5;
295
- transition: border 0.3s, background 0.3s, box-shadow 0.3s;
296
- }
297
- .rc-calendar-text-input:focus {
282
+ .rc-calendar-date-input input:focus,
283
+ .rc-calendar-time-input input:focus {
298
284
  border-color: #1991eb;
299
285
  box-shadow: 0 0 0 2px rgba(70, 127, 207, 0.25);
300
286
  outline: none;
301
287
  }
302
288
  .rc-calendar-header {
303
- padding: 0 10px;
304
- height: 40px;
305
- line-height: 40px;
289
+ padding: 0 12px;
290
+ height: 48px;
291
+ line-height: 24px;
306
292
  text-align: center;
307
293
  -moz-user-select: none;
308
294
  -ms-user-select: none;
309
295
  user-select: none;
310
296
  -webkit-user-select: none;
311
- border-bottom: 1px solid #eee;
312
297
  }
313
298
  .rc-calendar-header > a {
314
299
  font-weight: 600;
@@ -327,6 +312,7 @@
327
312
  left: 25px;
328
313
  }
329
314
  .rc-calendar-prev-month-btn:after {
315
+ width: 20px;
330
316
  content: '‹';
331
317
  }
332
318
  .rc-calendar-next-month-btn {
@@ -334,6 +320,7 @@
334
320
  right: 25px;
335
321
  }
336
322
  .rc-calendar-next-month-btn:after {
323
+ width: 20px;
337
324
  content: '›';
338
325
  }
339
326
  .rc-calendar-year-select,
@@ -344,13 +331,13 @@
344
331
  font-weight: 600;
345
332
  color: #212529;
346
333
  padding: 0 8px;
347
- line-height: 40px;
334
+ line-height: 48px;
348
335
  }
349
336
  .rc-calendar-year-select:hover,
350
337
  .rc-calendar-month-select:hover,
351
338
  .rc-calendar-day-select:hover {
352
339
  cursor: pointer;
353
- color: #ed7109;
340
+ color: #ff7600;
354
341
  }
355
342
  .rc-calendar-year-select.rc-calendar-time-status:hover,
356
343
  .rc-calendar-month-select.rc-calendar-time-status:hover,
@@ -362,36 +349,41 @@
362
349
  .rc-calendar-next-month-btn,
363
350
  .rc-calendar-prev-year-btn,
364
351
  .rc-calendar-next-year-btn {
352
+ width: 20px;
353
+ height: 20px;
365
354
  position: absolute;
366
- top: 0;
355
+ top: 12px;
367
356
  cursor: pointer;
368
357
  color: #999;
369
358
  font-family: Arial, 'Hiragino Sans GB', 'Microsoft Yahei', 'Microsoft Sans Serif', sans-serif;
370
- padding: 0 5px;
371
359
  font-size: 16px;
372
- display: inline-block;
373
- line-height: 40px;
360
+ display: -ms-flexbox;
361
+ display: flex;
362
+ line-height: 18px;
363
+ border-radius: 4px;
374
364
  }
375
365
  .rc-calendar-prev-month-btn:hover,
376
366
  .rc-calendar-next-month-btn:hover,
377
367
  .rc-calendar-prev-year-btn:hover,
378
368
  .rc-calendar-next-year-btn:hover {
379
- color: #ed7109;
369
+ background-color: #f5f5f5;
380
370
  }
381
371
  .rc-calendar-next-year-btn {
382
372
  right: 0;
383
373
  }
384
374
  .rc-calendar-next-year-btn:after {
375
+ width: 20px;
385
376
  content: '»';
386
377
  }
387
378
  .rc-calendar-prev-year-btn {
388
379
  left: 0;
389
380
  }
390
381
  .rc-calendar-prev-year-btn:after {
382
+ width: 20px;
391
383
  content: '«';
392
384
  }
393
385
  .rc-calendar-body {
394
- padding: 8px 18px;
386
+ padding: 0 12px;
395
387
  height: 268px;
396
388
  }
397
389
  .rc-calendar table {
@@ -412,8 +404,8 @@
412
404
  }
413
405
  .rc-calendar-column-header {
414
406
  line-height: 18px;
415
- height: 36px;
416
- width: 36px;
407
+ height: 32px;
408
+ width: 32px;
417
409
  text-align: center;
418
410
  }
419
411
  .rc-calendar-column-header-inner {
@@ -425,122 +417,106 @@
425
417
  display: none;
426
418
  }
427
419
  .rc-calendar-cell {
428
- height: 36px;
429
- padding: 0;
420
+ width: 32px;
421
+ height: auto;
430
422
  }
431
423
  .rc-calendar-date {
432
424
  display: block;
433
- margin: 0 auto;
434
425
  color: #212529;
435
426
  border-radius: 4px;
436
- width: 24px;
437
- height: 24px;
427
+ width: 32px;
428
+ height: 32px;
438
429
  padding: 0;
439
430
  background: transparent;
440
- line-height: 24px;
431
+ line-height: 32px;
441
432
  text-align: center;
442
433
  }
443
434
  .rc-calendar-date:hover {
444
- background: #fcecd9;
435
+ background: #f5f5f5;
436
+ border-radius: 50%;
445
437
  cursor: pointer;
446
438
  }
447
439
  .rc-calendar-selected-date .rc-calendar-date {
448
440
  background: #ff9800;
441
+ border-radius: 50%;
449
442
  color: #fff;
450
443
  }
451
444
  .rc-calendar-selected-date .rc-calendar-date:hover {
452
445
  background: #ff9800;
446
+ border-radius: 50%;
453
447
  }
454
448
  .rc-calendar-disabled-cell .rc-calendar-date {
455
449
  cursor: not-allowed;
456
- color: #bcbcbc;
457
- background: #f3f3f3;
458
- border-radius: 0;
459
- width: auto;
460
- }
461
- .rc-calendar-disabled-cell .rc-calendar-date:hover {
462
- background: #f3f3f3;
463
- }
464
- .rc-calendar-disabled-cell-first-of-row .rc-calendar-date {
465
- border-top-left-radius: 4px;
466
- border-bottom-left-radius: 4px;
467
- }
468
- .rc-calendar-disabled-cell-last-of-row .rc-calendar-date {
469
- border-top-right-radius: 4px;
470
- border-bottom-right-radius: 4px;
471
450
  }
472
451
  .rc-calendar-last-month-cell .rc-calendar-date,
473
452
  .rc-calendar-next-month-btn-day .rc-calendar-date {
474
453
  color: #bbb;
475
454
  }
476
455
  .rc-calendar-today .rc-calendar-date {
477
- position: relative;
478
- }
479
- .rc-calendar-today .rc-calendar-date::before {
480
- content: '';
481
- background: #ff9800;
482
- position: absolute;
483
- width: 4px;
484
- height: 4px;
456
+ border: 1px solid #ff9800;
485
457
  border-radius: 50%;
486
- left: 45%;
487
- bottom: 0%;
488
- display: inline-block;
489
458
  }
490
459
  .rc-calendar-right-panel {
491
460
  height: inherit;
492
461
  border-left: 1px solid #eee;
493
462
  }
494
- .rc-calendar-right-panel-time-header {
495
- height: 40px;
496
- line-height: 40px;
497
- text-align: center;
498
- font-weight: 600;
499
- color: #212529;
500
- border-bottom: 1px solid #eee;
463
+ .rc-calendar-right-panel-header {
464
+ display: -ms-flexbox;
465
+ display: flex;
466
+ -ms-flex-pack: center;
467
+ justify-content: center;
468
+ -ms-flex-align: center;
469
+ align-items: center;
501
470
  }
502
471
  .rc-calendar-right-panel-body {
503
472
  height: 268px;
504
473
  display: -ms-flexbox;
505
474
  display: flex;
506
- padding: 4px;
475
+ padding: 8px 4px;
507
476
  scrollbar-color: auto;
508
477
  }
509
478
  .rc-calendar-right-panel-col {
510
479
  overflow-y: auto;
511
480
  }
512
- .rc-calendar-right-panel-col:last-child {
513
- border-left: 1px solid #eee;
514
- }
515
481
  .rc-calendar-right-panel-col ul {
516
482
  list-style: none;
517
483
  margin: 0;
518
484
  padding: 4px;
519
485
  }
520
486
  .rc-calendar-right-panel-item {
521
- width: 48px;
522
- height: 28px;
523
- line-height: 28px;
524
- text-align: center;
487
+ width: 32px;
488
+ height: 32px;
489
+ padding: 4px 0;
525
490
  cursor: pointer;
491
+ }
492
+ .rc-calendar-right-panel-item-text {
493
+ width: 100%;
494
+ height: 100%;
495
+ display: inline-block;
496
+ text-align: center;
497
+ line-height: 24px;
526
498
  color: #212529;
527
499
  font-weight: 400;
528
500
  border-radius: 3px;
529
501
  }
530
- .rc-calendar-right-panel-item:hover {
531
- background: rgba(255, 152, 0, 0.1);
502
+ .rc-calendar-right-panel-item-text:hover {
503
+ background: #f5f5f5;
532
504
  color: #212529;
533
505
  }
534
506
  .rc-calendar-right-panel-item-selected,
535
507
  .rc-calendar-right-panel-item-selected:hover {
536
508
  background: #ff9800;
537
- border-radius: 3px;
509
+ border-radius: 4px;
538
510
  color: #fff;
539
511
  }
540
512
  .rc-calendar-right-panel-col::-webkit-scrollbar {
541
513
  width: 0;
542
514
  height: 0;
543
515
  }
516
+ .rc-calendar-right-panel-item-current {
517
+ border: 1px solid #ff9800;
518
+ border-radius: 4px;
519
+ }
544
520
  .rc-calendar-footer {
545
521
  border-top: 1px solid #eee;
546
522
  padding: 8px 0;
@@ -565,13 +541,13 @@
565
541
  .rc-calendar-time-picker-btn {
566
542
  display: inline-block;
567
543
  text-align: center;
568
- color: #ed7109;
544
+ color: #ed7107;
569
545
  }
570
546
  .rc-calendar-today-btn:hover,
571
547
  .rc-calendar-ok-btn:hover,
572
548
  .rc-calendar-time-picker-btn:hover {
573
549
  cursor: pointer;
574
- color: #f09f4f;
550
+ color: #ff7600;
575
551
  }
576
552
  .rc-calendar-today-btn-disabled,
577
553
  .rc-calendar-ok-btn-disabled,
@@ -582,24 +558,6 @@
582
558
  padding-left: 0;
583
559
  font-weight: 600;
584
560
  }
585
- .rc-calendar-time-input {
586
- height: 30px;
587
- position: relative;
588
- display: inline-block;
589
- margin: 0 0;
590
- padding: 4px 10px;
591
- border-radius: 3px;
592
- border: 1px solid #eee;
593
- background-color: #ffffff;
594
- color: #666;
595
- line-height: 1.5;
596
- transform: border 0.3s cubic-bezier(0.35, 0, 0.25, 1), background 0.3s cubic-bezier(0.35, 0, 0.25, 1), box-shadow 0.3s cubic-bezier(0.35, 0, 0.25, 1);
597
- width: 100%;
598
- }
599
- .rc-calendar-time-input:focus {
600
- border-color: #1991eb;
601
- box-shadow: 0 0 0 2px rgba(70, 127, 207, 0.25);
602
- }
603
561
  .rc-calendar-time-panel {
604
562
  left: 0;
605
563
  top: 0;
@@ -670,7 +628,7 @@
670
628
  top: 0;
671
629
  bottom: 0;
672
630
  right: auto;
673
- width: 288px;
631
+ width: 260px;
674
632
  background: #ffffff;
675
633
  z-index: 10;
676
634
  position: absolute;
@@ -687,35 +645,52 @@
687
645
  display: none;
688
646
  }
689
647
  .rc-calendar-month-panel-header {
690
- padding: 0 10px;
691
- height: 34px;
692
- line-height: 30px;
648
+ height: 48px;
649
+ line-height: 48px;
650
+ display: -ms-inline-flexbox;
651
+ display: inline-flex;
652
+ -ms-flex-pack: center;
653
+ justify-content: center;
654
+ -ms-flex-align: center;
655
+ align-items: center;
693
656
  position: relative;
694
657
  text-align: center;
695
658
  -moz-user-select: none;
696
659
  -ms-user-select: none;
697
660
  user-select: none;
698
661
  -webkit-user-select: none;
699
- border-bottom: 1px solid #ccc;
662
+ border-bottom: 1px solid #eee;
700
663
  }
701
664
  .rc-calendar-month-panel-header > a {
702
- font-weight: bold;
703
- display: inline-block;
704
- padding: 4px 5px;
705
- text-align: center;
706
- width: 30px;
707
- color: #212529;
708
- }
709
- .rc-calendar-month-panel-header > a:hover {
665
+ display: -ms-inline-flexbox;
666
+ display: inline-flex;
667
+ -ms-flex-pack: center;
668
+ justify-content: center;
669
+ -ms-flex-align: center;
670
+ align-items: center;
710
671
  cursor: pointer;
711
- color: #ed7109;
672
+ }
673
+ .rc-calendar-month-panel-year-select:hover {
674
+ color: #ff7600;
712
675
  }
713
676
  .rc-calendar-month-panel-prev-year-btn,
714
677
  .rc-calendar-month-panel-next-year-btn {
678
+ width: 20px;
679
+ height: 20px;
680
+ border-radius: 4px;
681
+ color: #999;
715
682
  position: absolute;
716
- top: 0;
683
+ top: 12px;
684
+ }
685
+ .rc-calendar-month-panel-prev-year-btn:hover,
686
+ .rc-calendar-month-panel-next-year-btn:hover {
687
+ background-color: #f5f5f5;
688
+ }
689
+ .rc-calendar-month-panel-next-year-btn {
690
+ right: 16px;
717
691
  }
718
692
  .rc-calendar-month-panel-next-year-btn:after {
693
+ width: 20px;
719
694
  content: '»';
720
695
  }
721
696
  .rc-calendar-month-panel-prev-year-btn {
@@ -723,9 +698,10 @@
723
698
  -moz-user-select: none;
724
699
  -ms-user-select: none;
725
700
  user-select: none;
726
- left: 0;
701
+ left: 16px;
727
702
  }
728
703
  .rc-calendar-month-panel-prev-year-btn:after {
704
+ width: 20px;
729
705
  content: '«';
730
706
  }
731
707
  .rc-calendar-month-panel .rc-calendar-month-panel-year-select {
@@ -739,7 +715,6 @@
739
715
  -moz-user-select: none;
740
716
  -ms-user-select: none;
741
717
  user-select: none;
742
- right: 0;
743
718
  }
744
719
  .rc-calendar-month-panel-body {
745
720
  -ms-flex: 1;
@@ -772,12 +747,11 @@
772
747
  text-align: center;
773
748
  }
774
749
  .rc-calendar-month-panel-cell .rc-calendar-month-panel-month:hover {
775
- color: #212529;
776
- background: #fcecd9;
750
+ background: #f5f5f5;
777
751
  cursor: pointer;
778
752
  }
779
753
  .rc-calendar-month-panel-cell-disabled .rc-calendar-month-panel-month {
780
- color: #bfbfbf;
754
+ color: #bbb;
781
755
  }
782
756
  .rc-calendar-month-panel-cell-disabled .rc-calendar-month-panel-month:hover {
783
757
  background: white;
@@ -788,7 +762,7 @@
788
762
  color: #fff;
789
763
  }
790
764
  .rc-calendar-month-panel-selected-cell .rc-calendar-month-panel-month:hover {
791
- background: #f09f3f;
765
+ background: #ff7600;
792
766
  color: #fff;
793
767
  }
794
768
  .rc-calendar-month-header-wrap {
@@ -800,7 +774,7 @@
800
774
  top: 0;
801
775
  bottom: 0;
802
776
  right: auto;
803
- width: 288px;
777
+ width: 260px;
804
778
  background: #ffffff;
805
779
  z-index: 10;
806
780
  position: absolute;
@@ -817,41 +791,49 @@
817
791
  display: none;
818
792
  }
819
793
  .rc-calendar-year-panel-header {
820
- padding: 0 10px;
821
- height: 34px;
822
- line-height: 30px;
794
+ display: -ms-flexbox;
795
+ display: flex;
796
+ -ms-flex-pack: center;
797
+ justify-content: center;
798
+ -ms-flex-align: center;
799
+ align-items: center;
800
+ height: 48px;
823
801
  position: relative;
824
802
  text-align: center;
825
803
  -moz-user-select: none;
826
804
  -ms-user-select: none;
827
805
  user-select: none;
828
806
  -webkit-user-select: none;
829
- border-bottom: 1px solid #ccc;
807
+ border-bottom: 1px solid #eee;
830
808
  }
831
809
  .rc-calendar-year-panel-header > a {
832
- height: 100%;
833
- font-weight: bold;
834
810
  display: -ms-inline-flexbox;
835
811
  display: inline-flex;
836
812
  -ms-flex-pack: center;
837
813
  justify-content: center;
838
814
  -ms-flex-align: center;
839
815
  align-items: center;
840
- padding: 4px 5px;
841
816
  text-align: center;
842
- width: 30px;
843
- color: #212529;
844
- }
845
- .rc-calendar-year-panel-header > a:hover {
846
817
  cursor: pointer;
847
- color: #ed7109;
818
+ }
819
+ .rc-calendar-year-panel-decade-select:hover {
820
+ color: #ff7600;
848
821
  }
849
822
  .rc-calendar-year-panel-prev-decade-btn,
850
823
  .rc-calendar-year-panel-next-decade-btn {
824
+ width: 20px;
825
+ height: 20px;
851
826
  position: absolute;
852
- top: 0;
827
+ top: 12px;
828
+ border-radius: 4px;
829
+ color: #999;
830
+ }
831
+ .rc-calendar-year-panel-prev-decade-btn:hover,
832
+ .rc-calendar-year-panel-next-decade-btn:hover {
833
+ background-color: #f5f5f5;
853
834
  }
854
835
  .rc-calendar-year-panel-next-decade-btn:after {
836
+ width: 20px;
855
837
  content: '»';
856
838
  }
857
839
  .rc-calendar-year-panel-prev-decade-btn {
@@ -859,9 +841,10 @@
859
841
  -moz-user-select: none;
860
842
  -ms-user-select: none;
861
843
  user-select: none;
862
- left: 0;
844
+ left: 16px;
863
845
  }
864
846
  .rc-calendar-year-panel-prev-decade-btn:after {
847
+ width: 20px;
865
848
  content: '«';
866
849
  }
867
850
  .rc-calendar-year-panel .rc-calendar-year-panel-decade-select {
@@ -875,7 +858,7 @@
875
858
  -moz-user-select: none;
876
859
  -ms-user-select: none;
877
860
  user-select: none;
878
- right: 0;
861
+ right: 16px;
879
862
  }
880
863
  .rc-calendar-year-panel-body {
881
864
  -ms-flex: 1;
@@ -900,7 +883,7 @@
900
883
  width: 46px;
901
884
  margin: 0 auto;
902
885
  color: #212529;
903
- border-radius: 4px 4px;
886
+ border-radius: 4px;
904
887
  height: 36px;
905
888
  padding: 0;
906
889
  background: transparent;
@@ -909,7 +892,7 @@
909
892
  }
910
893
  .rc-calendar-year-panel-year:hover {
911
894
  color: #212529;
912
- background: #fcecd9;
895
+ background: #f5f5f5;
913
896
  cursor: pointer;
914
897
  }
915
898
  .rc-calendar-year-panel-selected-cell .rc-calendar-year-panel-year {
@@ -925,7 +908,7 @@
925
908
  top: 0;
926
909
  bottom: 0;
927
910
  right: auto;
928
- width: 288px;
911
+ width: 260px;
929
912
  background: #ffffff;
930
913
  z-index: 10;
931
914
  position: absolute;
@@ -939,9 +922,8 @@
939
922
  display: none;
940
923
  }
941
924
  .rc-calendar-decade-panel-header {
942
- padding: 0 10px;
943
- height: 34px;
944
- line-height: 34px;
925
+ height: 48px;
926
+ line-height: 48px;
945
927
  display: -ms-inline-flexbox;
946
928
  display: inline-flex;
947
929
  -ms-flex-pack: center;
@@ -954,51 +936,45 @@
954
936
  -ms-user-select: none;
955
937
  user-select: none;
956
938
  -webkit-user-select: none;
957
- border-bottom: 1px solid #ccc;
939
+ border-bottom: 1px solid #eee;
958
940
  }
959
941
  .rc-calendar-decade-panel-header > a {
960
- height: 100%;
961
- font-weight: bold;
962
942
  display: -ms-inline-flexbox;
963
943
  display: inline-flex;
964
944
  -ms-flex-pack: center;
965
945
  justify-content: center;
966
946
  -ms-flex-align: center;
967
947
  align-items: center;
968
- padding: 1px 5px;
969
- text-align: center;
970
- width: 30px;
971
948
  color: #212529;
972
- }
973
- .rc-calendar-decade-panel-header > a:hover {
974
949
  cursor: pointer;
975
- color: #ed7109;
976
950
  }
977
951
  .rc-calendar-decade-panel-prev-century-btn,
978
952
  .rc-calendar-decade-panel-next-century-btn {
953
+ width: 20px;
954
+ height: 20px;
955
+ border-radius: 4px;
956
+ color: #999;
979
957
  position: absolute;
980
- top: 0;
958
+ top: 12px;
959
+ }
960
+ .rc-calendar-decade-panel-prev-century-btn:hover,
961
+ .rc-calendar-decade-panel-next-century-btn:hover {
962
+ background-color: #f5f5f5;
963
+ }
964
+ .rc-calendar-decade-panel-next-century-btn {
965
+ right: 16px;
981
966
  }
982
967
  .rc-calendar-decade-panel-next-century-btn:after {
968
+ width: 20px;
983
969
  content: '»';
984
970
  }
985
971
  .rc-calendar-decade-panel-prev-century-btn {
986
- -webkit-user-select: none;
987
- -moz-user-select: none;
988
- -ms-user-select: none;
989
- user-select: none;
990
- left: 0;
972
+ left: 16px;
991
973
  }
992
974
  .rc-calendar-decade-panel-prev-century-btn:after {
975
+ width: 20px;
993
976
  content: '«';
994
977
  }
995
- .rc-calendar-decade-panel-next-century-btn {
996
- -webkit-user-select: none;
997
- -moz-user-select: none;
998
- -ms-user-select: none;
999
- user-select: none;
1000
- right: 0;
1001
- }
1002
978
  .rc-calendar-decade-panel-body {
1003
979
  -ms-flex: 1;
1004
980
  flex: 1;
@@ -1033,7 +1009,7 @@
1033
1009
  text-align: center;
1034
1010
  }
1035
1011
  .rc-calendar-decade-panel-decade:hover {
1036
- background: #fcecd9;
1012
+ background: #f5f5f5;
1037
1013
  cursor: pointer;
1038
1014
  }
1039
1015
  .rc-calendar-decade-panel-selected-cell .rc-calendar-decade-panel-decade {
@@ -1041,7 +1017,7 @@
1041
1017
  color: #fff;
1042
1018
  }
1043
1019
  .rc-calendar-decade-panel-selected-cell .rc-calendar-decade-panel-decade:hover {
1044
- background: #f09f3f;
1020
+ background: #ff7600;
1045
1021
  color: #fff;
1046
1022
  }
1047
1023
  .rc-calendar-decade-panel-last-century-cell .rc-calendar-decade-panel-decade,