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

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