@seafile/seafile-calendar 1.0.22 → 1.0.23-avb.71

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
@@ -297,7 +297,11 @@
297
297
  /* Footer */
298
298
  }
299
299
  .rc-calendar-with-time-panel {
300
- width: 367px;
300
+ width: -moz-fit-content;
301
+ width: fit-content;
302
+ }
303
+ .rc-calendar-tbody tr:first-child td {
304
+ padding-top: 2px;
301
305
  }
302
306
  .rc-calendar-panel {
303
307
  display: -ms-flexbox;
@@ -308,6 +312,33 @@
308
312
  .rc-calendar-date-panel-container {
309
313
  display: -ms-flexbox;
310
314
  display: flex;
315
+ height: 316px;
316
+ }
317
+ .rc-calendar-date-time-panel {
318
+ display: -ms-flexbox;
319
+ display: flex;
320
+ height: 356px;
321
+ }
322
+ .rc-calendar-date-panel-column,
323
+ .rc-calendar-time-panel-column {
324
+ display: -ms-flexbox;
325
+ display: flex;
326
+ -ms-flex-direction: column;
327
+ flex-direction: column;
328
+ }
329
+ .rc-calendar-date-panel-column {
330
+ -ms-flex: 0 0 272px;
331
+ flex: 0 0 272px;
332
+ width: 272px;
333
+ }
334
+ .rc-calendar-time-panel-column {
335
+ -ms-flex: 0 0 130px;
336
+ flex: 0 0 130px;
337
+ width: 130px;
338
+ min-width: 0;
339
+ }
340
+ .rc-calendar-date-panel-column .rc-calendar-date-panel {
341
+ width: 272px;
311
342
  }
312
343
  .rc-calendar-date-panel {
313
344
  display: block;
@@ -318,24 +349,42 @@
318
349
  display: flex;
319
350
  -ms-flex-align: stretch;
320
351
  align-items: stretch;
352
+ height: 44px;
321
353
  }
322
354
  .rc-calendar-date-input-col {
323
355
  -ms-flex: 1 1 auto;
324
356
  flex: 1 1 auto;
357
+ max-width: 276px;
325
358
  }
326
359
  .rc-calendar-time-input-col {
327
- width: 89px;
360
+ min-width: 0;
361
+ -ms-flex: 1;
362
+ flex: 1;
328
363
  border-left: 1px solid var(--rc-calendar-divider-color, #eee);
329
364
  }
330
- .rc-calendar-date-input,
331
- .rc-calendar-time-input {
365
+ .rc-calendar-date-panel-column .rc-calendar-date-input-col,
366
+ .rc-calendar-time-panel-column .rc-calendar-time-input-col {
367
+ height: 44px;
368
+ }
369
+ .rc-calendar-date-input {
332
370
  display: -ms-flexbox;
333
371
  display: flex;
334
372
  -ms-flex-align: center;
335
373
  align-items: center;
336
- height: 100%;
337
374
  padding: 12px 12px 0 12px;
338
- margin-bottom: 4px;
375
+ }
376
+ .rc-calendar-time-input {
377
+ display: -ms-flexbox;
378
+ display: flex;
379
+ -ms-flex-align: center;
380
+ align-items: center;
381
+ padding: 12px;
382
+ }
383
+ .rc-calendar-time-input .rc-calendar-input-wrap {
384
+ min-width: 0;
385
+ }
386
+ .rc-calendar-time-input {
387
+ border-bottom: 1px solid #eee;
339
388
  }
340
389
  .rc-calendar-date-input input,
341
390
  .rc-calendar-time-input input {
@@ -345,6 +394,7 @@
345
394
  border: 1px solid var(--rc-calendar-input-border-color);
346
395
  box-shadow: none;
347
396
  border-radius: 4px;
397
+ padding-top: 12px;
348
398
  }
349
399
  .rc-calendar-date-input input {
350
400
  padding: 0px 12px;
@@ -367,6 +417,7 @@
367
417
  -ms-user-select: none;
368
418
  user-select: none;
369
419
  -webkit-user-select: none;
420
+ margin-top: 4px;
370
421
  }
371
422
  .rc-calendar-header-nav-wrap {
372
423
  position: relative;
@@ -456,7 +507,7 @@
456
507
  left: 0;
457
508
  }
458
509
  .rc-calendar-body {
459
- padding: 0 12px;
510
+ padding: 0 12px 12px;
460
511
  height: 260px;
461
512
  }
462
513
  .rc-calendar table {
@@ -488,6 +539,12 @@
488
539
  width: 32px;
489
540
  text-align: center;
490
541
  }
542
+ .rc-calendar-week-date-header {
543
+ height: 32px;
544
+ }
545
+ .rc-calendar-column-header-box {
546
+ margin-bottom: 2px;
547
+ }
491
548
  .rc-calendar-column-header-inner {
492
549
  display: block;
493
550
  font-weight: normal;
@@ -554,6 +611,9 @@
554
611
  height: inherit;
555
612
  border-left: 1px solid var(--rc-calendar-divider-color, #eee);
556
613
  }
614
+ .rc-calendar-time-panel-column .rc-calendar-right-panel {
615
+ height: 312px;
616
+ }
557
617
  .rc-calendar-right-panel-header {
558
618
  display: -ms-flexbox;
559
619
  display: flex;
@@ -565,25 +625,65 @@
565
625
  font-weight: 600;
566
626
  }
567
627
  .rc-calendar-right-panel-body {
568
- height: 260px;
628
+ height: 300px;
569
629
  display: -ms-flexbox;
570
630
  display: flex;
571
- padding: 0 4px 16px;
572
- scrollbar-color: auto;
631
+ padding: 0;
632
+ margin-top: 12px;
633
+ }
634
+ .rc-calendar-right-panel-col-wrap {
635
+ -ms-flex: 0 0 64px;
636
+ flex: 0 0 64px;
637
+ width: 64px;
638
+ height: 100%;
639
+ min-height: 0;
640
+ overflow: hidden;
641
+ position: relative;
573
642
  }
574
643
  .rc-calendar-right-panel-col {
644
+ width: 100%;
645
+ height: 100%;
575
646
  overflow-y: auto;
647
+ scrollbar-width: none;
648
+ }
649
+ .rc-calendar-right-panel-col::-webkit-scrollbar {
650
+ display: none;
651
+ }
652
+ .rc-calendar-right-panel-col-wrap.rc-calendar-right-panel-col-hour {
653
+ border-right: 1px solid #eee;
654
+ }
655
+ .rc-calendar-right-panel-scrollbar {
656
+ position: absolute;
657
+ top: 0;
658
+ bottom: 0;
659
+ right: 0;
660
+ width: 16px;
661
+ opacity: 0;
662
+ pointer-events: none;
663
+ transition: opacity 0.2s ease;
664
+ }
665
+ .rc-calendar-right-panel-scrollbar-visible {
666
+ opacity: 1;
667
+ }
668
+ .rc-calendar-right-panel-scrollbar-thumb {
669
+ width: 8px;
670
+ margin: 0 4px;
671
+ border-radius: 14px;
672
+ background-color: #7C7C7C;
576
673
  }
577
674
  .rc-calendar-right-panel-col ul {
578
675
  list-style: none;
579
- margin: 0;
580
- padding: 4px;
676
+ padding: 4px 16px 12px 16px;
581
677
  }
582
678
  .rc-calendar-right-panel-item {
583
679
  width: 32px;
584
680
  height: 32px;
585
681
  padding: 4px 0;
586
682
  cursor: pointer;
683
+ margin-top: 4px;
684
+ }
685
+ .rc-calendar-right-panel-item:first-child {
686
+ margin-top: 0;
587
687
  }
588
688
  .rc-calendar-right-panel-item-text {
589
689
  width: 100%;
@@ -605,10 +705,6 @@
605
705
  border-radius: 4px;
606
706
  color: #fff;
607
707
  }
608
- .rc-calendar-right-panel-col::-webkit-scrollbar {
609
- width: 0;
610
- height: 0;
611
- }
612
708
  .rc-calendar-right-panel-item-current {
613
709
  border: 1px solid var(--rc-calendar-sf-orange, #ff8000);
614
710
  border-radius: 4px;
@@ -619,9 +715,24 @@
619
715
  text-align: center;
620
716
  position: relative;
621
717
  }
718
+ .rc-calendar-with-time-panel .rc-calendar-footer {
719
+ height: 40px;
720
+ padding: 0;
721
+ display: -ms-flexbox;
722
+ display: flex;
723
+ -ms-flex-align: center;
724
+ align-items: center;
725
+ -ms-flex-pack: center;
726
+ justify-content: center;
727
+ }
622
728
  .rc-calendar-footer-show-ok {
623
729
  text-align: right;
624
730
  }
731
+ .rc-calendar-with-time-panel .rc-calendar-footer-show-ok {
732
+ -ms-flex-pack: end;
733
+ justify-content: flex-end;
734
+ padding: 0 12px;
735
+ }
625
736
  .rc-calendar-footer-btn:after {
626
737
  content: 'x';
627
738
  height: 0;
@@ -766,6 +877,9 @@
766
877
  align-items: center;
767
878
  cursor: pointer;
768
879
  }
880
+ .rc-calendar-month-panel-year-select {
881
+ color: var(--rc-calendar-body-color, #212529);
882
+ }
769
883
  .rc-calendar-month-panel-year-select:hover {
770
884
  color: var(--rc-calendar-sf-orange-2, #ed7109);
771
885
  }
@@ -907,6 +1021,9 @@
907
1021
  text-align: center;
908
1022
  cursor: pointer;
909
1023
  }
1024
+ .rc-calendar-year-panel-decade-select {
1025
+ color: var(--rc-calendar-body-color, #212529);
1026
+ }
910
1027
  .rc-calendar-year-panel-decade-select:hover {
911
1028
  color: var(--rc-calendar-sf-orange-2, #ed7109);
912
1029
  }