@seafile/seafile-calendar 1.0.25 → 1.0.26-alphaa.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
@@ -15,6 +15,20 @@
15
15
  content: '';
16
16
  clear: both;
17
17
  }
18
+ .rc-calendar-input-wrap a {
19
+ position: absolute;
20
+ top: 0;
21
+ right: 12px;
22
+ bottom: 0;
23
+ height: 32px;
24
+ line-height: 32px;
25
+ display: -ms-flexbox;
26
+ display: flex;
27
+ -ms-flex-align: center;
28
+ align-items: center;
29
+ -ms-flex-pack: center;
30
+ justify-content: center;
31
+ }
18
32
  .rc-calendar-time-picker {
19
33
  position: absolute;
20
34
  width: 100%;
@@ -76,23 +90,20 @@
76
90
  color: #868e96;
77
91
  }
78
92
  .rc-calendar-clear-btn {
79
- z-index: inherit;
80
- position: absolute;
81
- right: 6px;
82
- cursor: pointer;
83
- overflow: hidden;
84
93
  width: 20px;
85
94
  height: 20px;
86
- top: 6px;
87
- margin: 0;
88
95
  display: -ms-flexbox;
89
96
  display: flex;
90
97
  -ms-flex-pack: center;
91
98
  justify-content: center;
92
99
  -ms-flex-align: center;
93
100
  align-items: center;
101
+ cursor: pointer;
102
+ overflow: hidden;
94
103
  }
95
104
  .rc-calendar-clear-btn svg {
105
+ height: 14px;
106
+ width: 14px;
96
107
  color: var(--rc-calendar-icon-color, #666);
97
108
  }
98
109
  .rc-calendar-clear-btn:hover {
@@ -291,51 +302,41 @@
291
302
  line-height: 1.5;
292
303
  overflow: hidden;
293
304
  /* Layout wrappers */
294
- /* Top inputs row */
295
305
  /* Date grid area */
296
306
  /* Right time panel */
297
307
  /* Footer */
298
308
  }
299
309
  .rc-calendar-with-time-panel {
300
- width: 367px;
310
+ width: 404px;
301
311
  }
302
312
  .rc-calendar-panel {
303
313
  display: -ms-flexbox;
304
314
  display: flex;
305
- -ms-flex-direction: column;
306
- flex-direction: column;
307
- }
308
- .rc-calendar-date-panel-container {
309
- display: -ms-flexbox;
310
- display: flex;
315
+ -ms-flex-align: stretch;
316
+ align-items: stretch;
311
317
  }
312
318
  .rc-calendar-date-panel {
313
319
  display: block;
314
- width: 276px;
320
+ -ms-flex: none;
321
+ flex: none;
322
+ width: 273px;
315
323
  }
316
- .rc-calendar-inputs {
324
+ .rc-calendar-date-input {
317
325
  display: -ms-flexbox;
318
326
  display: flex;
319
- -ms-flex-align: stretch;
320
- align-items: stretch;
321
- }
322
- .rc-calendar-date-input-col {
323
- -ms-flex: 1 1 auto;
324
- flex: 1 1 auto;
325
- }
326
- .rc-calendar-time-input-col {
327
- width: 89px;
328
- border-left: 1px solid var(--rc-calendar-divider-color, #eee);
327
+ -ms-flex-align: center;
328
+ align-items: center;
329
+ box-sizing: border-box;
330
+ padding: 12px 12px 0;
329
331
  }
330
- .rc-calendar-date-input,
331
332
  .rc-calendar-time-input {
332
333
  display: -ms-flexbox;
333
334
  display: flex;
334
335
  -ms-flex-align: center;
335
336
  align-items: center;
336
- height: 100%;
337
- padding: 12px 12px 0 12px;
338
- margin-bottom: 4px;
337
+ box-sizing: border-box;
338
+ padding: 12px;
339
+ border-bottom: 1px solid var(--rc-calendar-divider-color, #eee);
339
340
  }
340
341
  .rc-calendar-date-input input,
341
342
  .rc-calendar-time-input input {
@@ -359,7 +360,7 @@
359
360
  outline: none;
360
361
  }
361
362
  .rc-calendar-header {
362
- padding: 0 12px;
363
+ padding: 0 18px;
363
364
  height: 48px;
364
365
  line-height: 24px;
365
366
  text-align: center;
@@ -367,6 +368,7 @@
367
368
  -ms-user-select: none;
368
369
  user-select: none;
369
370
  -webkit-user-select: none;
371
+ margin-top: 4px;
370
372
  }
371
373
  .rc-calendar-header-nav-wrap {
372
374
  position: relative;
@@ -456,7 +458,7 @@
456
458
  left: 0;
457
459
  }
458
460
  .rc-calendar-body {
459
- padding: 0 12px;
461
+ padding: 0 12px 12px;
460
462
  height: 260px;
461
463
  }
462
464
  .rc-calendar table {
@@ -551,39 +553,48 @@
551
553
  border-radius: 50%;
552
554
  }
553
555
  .rc-calendar-right-panel {
554
- height: inherit;
555
- border-left: 1px solid var(--rc-calendar-divider-color, #eee);
556
- }
557
- .rc-calendar-right-panel-header {
558
556
  display: -ms-flexbox;
559
557
  display: flex;
560
- -ms-flex-pack: center;
561
- justify-content: center;
562
- -ms-flex-align: center;
563
- align-items: center;
564
- color: var(--rc-calendar-body-color, #212529);
565
- font-weight: 600;
558
+ -ms-flex-direction: column;
559
+ flex-direction: column;
560
+ -ms-flex: 1;
561
+ flex: 1;
562
+ min-width: 0;
563
+ height: 356px;
564
+ border-left: 1px solid var(--rc-calendar-divider-color, #eee);
566
565
  }
567
566
  .rc-calendar-right-panel-body {
568
- height: 260px;
567
+ -ms-flex: 1;
568
+ flex: 1;
569
+ min-height: 0;
569
570
  display: -ms-flexbox;
570
571
  display: flex;
571
- padding: 0 4px 16px;
572
- scrollbar-color: auto;
573
572
  }
574
573
  .rc-calendar-right-panel-col {
574
+ -ms-flex: 1;
575
+ flex: 1;
576
+ min-width: 0;
575
577
  overflow-y: auto;
578
+ overflow-x: hidden;
579
+ scrollbar-gutter: stable;
580
+ }
581
+ .rc-calendar-right-panel-col + .rc-calendar-right-panel-col {
582
+ border-left: 1px solid var(--rc-calendar-divider-color, #eee);
576
583
  }
577
584
  .rc-calendar-right-panel-col ul {
578
585
  list-style: none;
579
586
  margin: 0;
580
- padding: 4px;
587
+ padding: 4px 16px;
581
588
  }
582
589
  .rc-calendar-right-panel-item {
583
590
  width: 32px;
584
591
  height: 32px;
585
592
  padding: 4px 0;
586
593
  cursor: pointer;
594
+ margin-top: 4px;
595
+ }
596
+ .rc-calendar-right-panel-item:first-child {
597
+ margin-top: -2px;
587
598
  }
588
599
  .rc-calendar-right-panel-item-text {
589
600
  width: 100%;
@@ -605,10 +616,6 @@
605
616
  border-radius: 4px;
606
617
  color: #fff;
607
618
  }
608
- .rc-calendar-right-panel-col::-webkit-scrollbar {
609
- width: 0;
610
- height: 0;
611
- }
612
619
  .rc-calendar-right-panel-item-current {
613
620
  border: 1px solid var(--rc-calendar-sf-orange, #ff8000);
614
621
  border-radius: 4px;