@rolldate/mcp 1.0.0 → 1.3.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.
@@ -3,32 +3,60 @@
3
3
  flex-direction: column;
4
4
  padding: 6px 11px;
5
5
  width: 360px;
6
- --rd-bg: #323232;
7
- --rd-border: #626262;
8
- --rd-text-primary: #e6e6e6;
9
- --rd-text-secondary: #848685;
10
- --rd-text-disabled: #515252;
11
- --rd-text-disabled-contrast: #a2a2a2;
12
- --rd-header-muted: #848685;
13
- --rd-weekday: #f7f7f7;
14
- --rd-hover-bg: #3e3e3e;
15
- --rd-hover-border: #686868;
16
- --rd-accent: #609ef1;
17
- --rd-accent-strong: #368cfd;
18
- --rd-accent-dark: #1e5093;
19
- --rd-accent-muted: #375985;
20
- --rd-button-icon: #fff;
6
+ --rd-time-panel-w: 168px;
7
+ --rd-time-separator-gap: 11px;
8
+ --rd-time-item-h: 32px;
9
+ --rd-time-visible: 3;
10
+ --rd-bg: #232830;
11
+ --rd-border: #343b48;
12
+ --rd-text-primary: #f1f5f9;
13
+ --rd-text-secondary: #94a3b8;
14
+ --rd-text-disabled: #4b5563;
15
+ --rd-text-disabled-contrast: #64748b;
16
+ --rd-header-muted: #94a3b8;
17
+ --rd-weekday: #cbd5e1;
18
+ --rd-hover-bg: #2d3544;
19
+ --rd-hover-border: #475569;
20
+ --rd-accent: #60a5fa;
21
+ --rd-accent-strong: #2563eb;
22
+ --rd-accent-dark: #1d4ed8;
23
+ --rd-accent-muted: rgba(37, 99, 235, 0.18);
24
+ --rd-range: #a78bfa;
25
+ --rd-range-strong: #7c3aed;
26
+ --rd-range-muted: #3d3558;
27
+ --rd-button-icon: #cbd5e1;
21
28
  background: var(--rd-bg);
22
29
  border: 1px solid var(--rd-border);
23
30
  box-sizing: border-box;
24
31
  font-family: "Segoe UI", Arial, sans-serif;
25
32
  overscroll-behavior: contain;
26
- border-radius: 8px;
33
+ border-radius: 12px;
27
34
  }
28
35
  .RollDate__container * {
29
36
  box-sizing: border-box;
30
37
  }
38
+ .RollDate__container.RollDate__theme_main {
39
+ --rd-bg: #232830;
40
+ --rd-border: #343b48;
41
+ --rd-text-primary: #f1f5f9;
42
+ --rd-text-secondary: #94a3b8;
43
+ --rd-text-disabled: #4b5563;
44
+ --rd-text-disabled-contrast: #64748b;
45
+ --rd-header-muted: #94a3b8;
46
+ --rd-weekday: #cbd5e1;
47
+ --rd-hover-bg: #2d3544;
48
+ --rd-hover-border: #475569;
49
+ --rd-accent: #60a5fa;
50
+ --rd-accent-strong: #2563eb;
51
+ --rd-accent-dark: #1d4ed8;
52
+ --rd-accent-muted: rgba(37, 99, 235, 0.18);
53
+ --rd-range: #a78bfa;
54
+ --rd-range-strong: #7c3aed;
55
+ --rd-range-muted: #3d3558;
56
+ --rd-button-icon: #cbd5e1;
57
+ }
31
58
  .RollDate__container.RollDate__theme_dark {
59
+ --rd-time-item-h: 28px;
32
60
  --rd-bg: #323232;
33
61
  --rd-border: #626262;
34
62
  --rd-text-primary: #e6e6e6;
@@ -43,9 +71,28 @@
43
71
  --rd-accent-strong: #368cfd;
44
72
  --rd-accent-dark: #1e5093;
45
73
  --rd-accent-muted: #375985;
74
+ --rd-range: #a78bfa;
75
+ --rd-range-strong: #7c3aed;
76
+ --rd-range-muted: #3d3558;
46
77
  --rd-button-icon: #fff;
47
78
  }
79
+ .RollDate__container.RollDate__theme_dark .RollDate__time__viewport::before {
80
+ border-color: var(--rd-hover-border);
81
+ background: var(--rd-hover-bg);
82
+ }
83
+ .RollDate__container.RollDate__theme_dark .RollDate__time__item--active {
84
+ color: var(--rd-text-primary);
85
+ }
86
+ .RollDate__container.RollDate__theme_dark .RollDate__time__segment-btn--active {
87
+ background: var(--rd-hover-border);
88
+ color: var(--rd-text-primary);
89
+ }
90
+ .RollDate__container.RollDate__theme_dark .RollDate__time__segmented {
91
+ border-color: var(--rd-hover-border);
92
+ background: var(--rd-hover-bg);
93
+ }
48
94
  .RollDate__container.RollDate__theme_light {
95
+ --rd-time-item-h: 28px;
49
96
  --rd-bg: #ffffff;
50
97
  --rd-border: #d8dde6;
51
98
  --rd-text-primary: #1f2937;
@@ -60,8 +107,26 @@
60
107
  --rd-accent-strong: #2d7cff;
61
108
  --rd-accent-dark: #1f5dc1;
62
109
  --rd-accent-muted: #d9e8ff;
110
+ --rd-range: #8b5cf6;
111
+ --rd-range-strong: #6d28d9;
112
+ --rd-range-muted: #ede9fe;
63
113
  --rd-button-icon: #334155;
64
114
  }
115
+ .RollDate__container.RollDate__theme_light .RollDate__time__viewport::before {
116
+ border-color: var(--rd-hover-border);
117
+ background: var(--rd-hover-bg);
118
+ }
119
+ .RollDate__container.RollDate__theme_light .RollDate__time__item--active {
120
+ color: var(--rd-text-primary);
121
+ }
122
+ .RollDate__container.RollDate__theme_light .RollDate__time__segment-btn--active {
123
+ background: var(--rd-hover-border);
124
+ color: var(--rd-text-primary);
125
+ }
126
+ .RollDate__container.RollDate__theme_light .RollDate__time__segmented {
127
+ border-color: var(--rd-hover-border);
128
+ background: var(--rd-hover-bg);
129
+ }
65
130
  .RollDate__container.RollDate__calendar__type--days .RollDate__calendar__header {
66
131
  display: flex;
67
132
  }
@@ -96,6 +161,75 @@
96
161
  .RollDate__container.RollDate__calendar__type--years .RollDate__header__year, .RollDate__container.RollDate__calendar__type--years .RollDate__header__month {
97
162
  color: var(--rd-header-muted);
98
163
  }
164
+ .RollDate__container.RollDate__has-time .RollDate__time-separator {
165
+ flex-shrink: 0;
166
+ background: var(--rd-border);
167
+ }
168
+ .RollDate__container.RollDate__has-time.RollDate__time-position_right {
169
+ --rd-time-visible: 5;
170
+ width: calc(360px + var(--rd-time-separator-gap) * 2 + 1px + var(--rd-time-panel-w));
171
+ }
172
+ .RollDate__container.RollDate__has-time.RollDate__time-position_right .RollDate__content {
173
+ flex-direction: row;
174
+ align-items: stretch;
175
+ }
176
+ .RollDate__container.RollDate__has-time.RollDate__time-position_right .RollDate__calendar {
177
+ flex: 0 0 338px;
178
+ width: 338px;
179
+ min-width: 338px;
180
+ max-width: 338px;
181
+ }
182
+ .RollDate__container.RollDate__has-time.RollDate__time-position_right .RollDate__time-separator {
183
+ flex: 0 0 1px;
184
+ width: 1px;
185
+ margin: 0 var(--rd-time-separator-gap);
186
+ align-self: stretch;
187
+ }
188
+ .RollDate__container.RollDate__has-time.RollDate__time-position_right .RollDate__time-panel {
189
+ flex: 0 0 var(--rd-time-panel-w);
190
+ width: var(--rd-time-panel-w);
191
+ display: flex;
192
+ align-items: center;
193
+ justify-content: center;
194
+ align-self: stretch;
195
+ padding: 8px 6px;
196
+ }
197
+ .RollDate__container.RollDate__has-time.RollDate__time-position_bottom {
198
+ --rd-time-visible: 3;
199
+ }
200
+ .RollDate__container.RollDate__has-time.RollDate__time-position_bottom .RollDate__content {
201
+ flex-direction: column;
202
+ }
203
+ .RollDate__container.RollDate__has-time.RollDate__time-position_bottom .RollDate__calendar {
204
+ flex: 1 1 auto;
205
+ width: auto;
206
+ min-width: 0;
207
+ max-width: none;
208
+ }
209
+ .RollDate__container.RollDate__has-time.RollDate__time-position_bottom .RollDate__time-separator {
210
+ flex: 0 0 auto;
211
+ width: auto;
212
+ height: 1px;
213
+ margin: var(--rd-time-separator-gap) 0;
214
+ align-self: stretch;
215
+ }
216
+ .RollDate__container.RollDate__has-time.RollDate__time-position_bottom .RollDate__time-panel {
217
+ flex: 0 0 auto;
218
+ width: 100%;
219
+ display: flex;
220
+ align-items: center;
221
+ justify-content: center;
222
+ padding: 8px 4px 4px;
223
+ }
224
+ .RollDate__container.RollDate__has-time.RollDate__time-position_bottom .RollDate__time {
225
+ flex-direction: row;
226
+ align-items: center;
227
+ gap: 8px;
228
+ }
229
+ .RollDate__container.RollDate__has-time.RollDate__time-position_bottom .RollDate__time__period {
230
+ width: auto;
231
+ max-width: none;
232
+ }
99
233
  .RollDate__header {
100
234
  flex: 0 0 auto;
101
235
  display: flex;
@@ -119,7 +253,10 @@
119
253
  flex: 1 0 auto;
120
254
  display: flex;
121
255
  flex-direction: column;
122
- height: 283px;
256
+ min-width: 0;
257
+ }
258
+ .RollDate__calendar > .RollDate__header {
259
+ flex: 0 0 auto;
123
260
  }
124
261
  .RollDate__calendar__switcher {
125
262
  display: flex;
@@ -149,7 +286,9 @@
149
286
  font-size: 12px;
150
287
  }
151
288
  .RollDate__calendar__body {
152
- flex: 1 0 0;
289
+ flex: 0 0 251px;
290
+ height: 251px;
291
+ min-height: 251px;
153
292
  overflow: hidden;
154
293
  touch-action: none;
155
294
  }
@@ -178,6 +317,7 @@
178
317
  transition: all 0.3s;
179
318
  border-radius: 4px;
180
319
  border: 2px solid transparent;
320
+ position: relative;
181
321
  }
182
322
  .RollDate__calendar__day:hover {
183
323
  border-color: var(--rd-hover-border);
@@ -188,27 +328,28 @@
188
328
  .RollDate__calendar__day--selected:hover {
189
329
  border-color: var(--rd-accent-strong);
190
330
  }
191
- .RollDate__calendar__day--range-first {
192
- border-color: var(--rd-accent-dark);
193
- border-right-color: transparent;
331
+ .RollDate__calendar__day--range-first, .RollDate__calendar__day--range-last {
332
+ background: var(--rd-range-strong);
333
+ color: #fff;
334
+ border-color: transparent;
335
+ font-weight: 600;
194
336
  }
195
- .RollDate__calendar__day--range-first:hover {
196
- border-color: var(--rd-accent-strong);
197
- border-right-color: transparent;
337
+ .RollDate__calendar__day--range-first:hover, .RollDate__calendar__day--range-last:hover {
338
+ background: var(--rd-range);
339
+ border-color: transparent;
340
+ }
341
+ .RollDate__calendar__day--range-first .RollDate__calendar__day-dot:not(.RollDate__calendar__day-dot--custom):not(.RollDate__calendar__day-dot--more), .RollDate__calendar__day--range-last .RollDate__calendar__day-dot:not(.RollDate__calendar__day-dot--custom):not(.RollDate__calendar__day-dot--more) {
342
+ background: #fff;
198
343
  }
199
344
  .RollDate__calendar__day--range-selected {
200
- border-color: var(--rd-accent-dark) transparent var(--rd-accent-dark) transparent;
345
+ background: var(--rd-range-muted);
346
+ color: var(--rd-text-primary);
347
+ border-color: transparent;
348
+ border-radius: 2px;
201
349
  }
202
350
  .RollDate__calendar__day--range-selected:hover {
203
- border-color: var(--rd-accent-strong) transparent var(--rd-accent-strong) transparent;
204
- }
205
- .RollDate__calendar__day--range-last {
206
- border-color: var(--rd-accent-dark);
207
- border-left-color: transparent;
208
- }
209
- .RollDate__calendar__day--range-last:hover {
210
- border-color: var(--rd-accent-strong);
211
- border-left-color: transparent;
351
+ background: var(--rd-range-muted);
352
+ border-color: transparent;
212
353
  }
213
354
  .RollDate__calendar__day--active {
214
355
  color: var(--rd-text-primary);
@@ -218,12 +359,57 @@
218
359
  }
219
360
  .RollDate__calendar__day--today {
220
361
  background: var(--rd-accent);
221
- color: white;
362
+ color: #fff;
363
+ border-color: transparent;
222
364
  }
223
365
  .RollDate__calendar__day--today:hover {
224
366
  border-color: var(--rd-accent-strong);
225
367
  background: var(--rd-accent-strong);
226
368
  }
369
+ .RollDate__calendar__day--today.RollDate__calendar__day--range-first, .RollDate__calendar__day--today.RollDate__calendar__day--range-last, .RollDate__calendar__day--today.RollDate__calendar__day--range-selected {
370
+ background: var(--rd-accent);
371
+ color: #fff;
372
+ }
373
+ .RollDate__calendar__day--today.RollDate__calendar__day--range-first:hover, .RollDate__calendar__day--today.RollDate__calendar__day--range-last:hover, .RollDate__calendar__day--today.RollDate__calendar__day--range-selected:hover {
374
+ background: var(--rd-accent-strong);
375
+ border-color: transparent;
376
+ }
377
+ .RollDate__calendar__day-dots {
378
+ position: absolute;
379
+ bottom: 2px;
380
+ left: 50%;
381
+ transform: translateX(-50%);
382
+ display: flex;
383
+ gap: 2px;
384
+ align-items: center;
385
+ justify-content: center;
386
+ max-width: calc(100% - 4px);
387
+ pointer-events: none;
388
+ }
389
+ .RollDate__calendar__day-dot {
390
+ width: 5px;
391
+ height: 5px;
392
+ border-radius: 50%;
393
+ background: var(--rd-accent);
394
+ flex-shrink: 0;
395
+ }
396
+ .RollDate__calendar__day-dot--custom {
397
+ background: var(--rd-highlight-dot);
398
+ }
399
+ .RollDate__calendar__day-dot--compact {
400
+ width: 4px;
401
+ height: 4px;
402
+ }
403
+ .RollDate__calendar__day-dot--more {
404
+ width: auto;
405
+ height: auto;
406
+ background: none;
407
+ color: var(--rd-text-secondary);
408
+ font-size: 8px;
409
+ line-height: 1;
410
+ font-weight: 700;
411
+ padding-left: 1px;
412
+ }
227
413
  .RollDate__calendar__day--disabled {
228
414
  color: var(--rd-text-disabled);
229
415
  cursor: default;
@@ -239,7 +425,8 @@
239
425
  display: flex;
240
426
  align-items: center;
241
427
  justify-content: center;
242
- height: 67px;
428
+ height: 59.75px;
429
+ min-height: 59.75px;
243
430
  font-size: 14px;
244
431
  color: var(--rd-text-secondary);
245
432
  cursor: pointer;
@@ -304,6 +491,39 @@
304
491
  .RollDate__calendar__button[data-direction=next] {
305
492
  transform: rotate(-180deg);
306
493
  }
494
+ .RollDate__presets {
495
+ flex: 0 0 auto;
496
+ display: flex;
497
+ flex-wrap: wrap;
498
+ gap: 6px;
499
+ margin-top: 10px;
500
+ padding-top: 10px;
501
+ border-top: 1px solid var(--rd-border);
502
+ }
503
+ .RollDate__presets__button {
504
+ border: 1px solid var(--rd-border);
505
+ background: var(--rd-hover-bg);
506
+ color: var(--rd-text-primary);
507
+ border-radius: 6px;
508
+ padding: 5px 10px;
509
+ font-size: 11px;
510
+ font-weight: 600;
511
+ cursor: pointer;
512
+ transition: background-color 0.2s, border-color 0.2s;
513
+ }
514
+ .RollDate__presets__button:hover {
515
+ border-color: var(--rd-range);
516
+ background: var(--rd-range-muted);
517
+ }
518
+ .RollDate__content {
519
+ display: flex;
520
+ flex-direction: column;
521
+ flex: 1 1 auto;
522
+ min-height: 0;
523
+ }
524
+ .RollDate__time-panel {
525
+ flex: 0 0 auto;
526
+ }
307
527
  .RollDate__footer {
308
528
  flex: 0 0 auto;
309
529
  margin-top: 10px;
@@ -323,108 +543,123 @@
323
543
  border: 1px solid var(--rd-border);
324
544
  background: var(--rd-hover-bg);
325
545
  color: var(--rd-text-primary);
326
- border-radius: 6px;
327
- padding: 7px 12px;
546
+ border-radius: 8px;
547
+ padding: 8px 16px;
328
548
  font-size: 12px;
329
549
  font-weight: 600;
330
550
  cursor: pointer;
331
- transition: background-color 0.2s, border-color 0.2s;
551
+ transition: background-color 0.2s, border-color 0.2s, color 0.2s;
332
552
  }
333
553
  .RollDate__footer__button:hover {
334
554
  border-color: var(--rd-accent);
335
555
  background: var(--rd-accent-muted);
336
556
  }
557
+ .RollDate__footer__button--secondary {
558
+ border-color: var(--rd-border);
559
+ background: var(--rd-hover-bg);
560
+ color: var(--rd-text-primary);
561
+ }
562
+ .RollDate__footer__button--secondary:hover {
563
+ border-color: var(--rd-hover-border);
564
+ background: var(--rd-hover-bg);
565
+ color: var(--rd-text-primary);
566
+ }
567
+ .RollDate__footer__button--primary {
568
+ border-color: transparent;
569
+ background: var(--rd-accent-strong);
570
+ color: #fff;
571
+ }
572
+ .RollDate__footer__button--primary:hover {
573
+ border-color: transparent;
574
+ background: var(--rd-accent);
575
+ color: #fff;
576
+ }
337
577
  .RollDate__time {
338
578
  display: flex;
339
- flex-direction: row;
579
+ flex-direction: column;
340
580
  align-items: center;
341
581
  justify-content: center;
342
- gap: 10px;
343
- padding: 4px 0 2px;
582
+ gap: 8px;
344
583
  user-select: none;
584
+ width: 100%;
585
+ }
586
+ .RollDate__time:not(.RollDate__time--12h) .RollDate__time__period {
587
+ display: none;
588
+ }
589
+ .RollDate__time__period {
590
+ flex: 0 0 auto;
591
+ width: 100%;
592
+ max-width: 118px;
593
+ }
594
+ .RollDate__time__segmented {
595
+ display: flex;
596
+ border: 1.5px solid var(--rd-accent-strong);
597
+ border-radius: 8px;
598
+ padding: 2px;
599
+ background: var(--rd-accent-muted);
600
+ gap: 2px;
601
+ height: var(--rd-time-item-h, 28px);
602
+ box-sizing: border-box;
603
+ align-items: stretch;
604
+ width: 100%;
605
+ }
606
+ .RollDate__time__segment-btn {
607
+ flex: 1 1 0;
608
+ min-width: 40px;
609
+ border: none;
610
+ background: transparent;
611
+ color: var(--rd-text-secondary);
612
+ font-size: 12px;
613
+ font-weight: 700;
614
+ line-height: 1;
615
+ padding: 0 6px;
616
+ border-radius: 6px;
617
+ cursor: pointer;
618
+ transition: background-color 0.15s ease, color 0.15s ease;
619
+ display: flex;
620
+ align-items: center;
621
+ justify-content: center;
622
+ }
623
+ .RollDate__time__segment-btn--active {
624
+ background: var(--rd-accent-strong);
625
+ color: #fff;
345
626
  }
346
627
  .RollDate__time__picker {
347
628
  display: flex;
348
629
  align-items: center;
349
630
  justify-content: center;
350
631
  gap: 4px;
351
- flex: 1 1 auto;
352
- min-width: 0;
353
- }
354
- .RollDate__time__display {
355
632
  flex: 0 0 auto;
356
- font-size: 17px;
357
- font-weight: 700;
358
- font-variant-numeric: tabular-nums;
359
- color: var(--rd-text-primary);
360
- letter-spacing: 0.03em;
361
- line-height: 1;
362
- padding: 6px 10px;
363
- border-left: 1px solid var(--rd-border);
364
- min-width: 4.5em;
365
- text-align: center;
633
+ min-width: 0;
366
634
  }
367
635
  .RollDate__time__field {
368
636
  flex: 0 0 auto;
369
637
  width: auto;
370
638
  }
371
- .RollDate__time__field--period .RollDate__time__viewport {
372
- width: 40px;
373
- }
374
639
  .RollDate__time__column {
375
640
  display: flex;
376
- flex-direction: row;
377
- align-items: center;
378
- gap: 2px;
379
- }
380
- .RollDate__time__arrow {
381
- display: flex;
641
+ flex-direction: column;
382
642
  align-items: center;
383
- justify-content: center;
384
- width: 20px;
385
- height: 84px;
386
- padding: 0;
387
- border: none;
388
- border-radius: 4px;
389
- background: none;
390
- cursor: pointer;
391
- flex-shrink: 0;
392
- transition: opacity 0.2s;
393
- }
394
- .RollDate__time__arrow svg {
395
- width: 7px;
396
- height: 6px;
397
- fill: var(--rd-text-secondary);
398
- transition: fill 0.2s;
399
- }
400
- .RollDate__time__arrow:hover svg {
401
- fill: var(--rd-text-primary);
402
- }
403
- .RollDate__time__arrow--prev svg {
404
- transform: rotate(-90deg);
405
- }
406
- .RollDate__time__arrow--next svg {
407
- transform: rotate(90deg);
408
643
  }
409
644
  .RollDate__time__viewport {
410
645
  position: relative;
411
- width: 46px;
412
- height: 84px;
646
+ width: 52px;
647
+ height: calc(var(--rd-time-item-h, 28px) * var(--rd-time-visible, 3));
413
648
  overflow: hidden;
414
- border-radius: 4px;
649
+ border-radius: 8px;
415
650
  touch-action: none;
416
651
  }
417
652
  .RollDate__time__viewport::before {
418
653
  content: "";
419
654
  position: absolute;
420
- left: 0;
421
- right: 0;
655
+ left: 4px;
656
+ right: 4px;
422
657
  top: 50%;
423
658
  transform: translateY(-50%);
424
- height: 28px;
425
- border: 2px solid var(--rd-hover-border);
426
- border-radius: 4px;
427
- background: transparent;
659
+ height: var(--rd-time-item-h, 28px);
660
+ border: 1.5px solid var(--rd-accent-strong);
661
+ border-radius: 8px;
662
+ background: var(--rd-accent-muted);
428
663
  pointer-events: none;
429
664
  z-index: 2;
430
665
  box-sizing: border-box;
@@ -434,85 +669,90 @@
434
669
  position: absolute;
435
670
  inset: 0;
436
671
  pointer-events: none;
437
- z-index: 1;
438
- background: linear-gradient(to bottom, var(--rd-bg) 0%, transparent 32%, transparent 68%, var(--rd-bg) 100%);
672
+ z-index: 4;
673
+ background: linear-gradient(to bottom, var(--rd-bg) 0%, transparent 28%, transparent 72%, var(--rd-bg) 100%);
439
674
  }
440
675
  .RollDate__time__list {
441
676
  will-change: transform;
442
677
  position: relative;
443
- z-index: 0;
678
+ z-index: 3;
444
679
  }
445
680
  .RollDate__time__item {
446
- height: 28px;
681
+ height: var(--rd-time-item-h, 28px);
447
682
  display: flex;
448
683
  align-items: center;
449
684
  justify-content: center;
450
685
  font-size: 14px;
451
686
  font-weight: 600;
452
687
  color: var(--rd-text-disabled);
453
- transition: color 0.15s ease, font-size 0.15s ease;
688
+ cursor: pointer;
689
+ transition: color 0.15s ease, opacity 0.15s ease;
454
690
  }
455
691
  .RollDate__time__item--active {
456
- color: var(--rd-text-primary);
692
+ color: var(--rd-accent-strong);
457
693
  font-size: 15px;
458
694
  font-weight: 700;
459
695
  }
460
696
  .RollDate__time__sep {
461
697
  font-size: 20px;
462
698
  font-weight: 700;
463
- color: var(--rd-text-primary);
699
+ color: var(--rd-text-secondary);
464
700
  line-height: 1;
465
- padding-bottom: 2px;
466
701
  align-self: center;
467
702
  margin-top: 0;
468
703
  }
469
- .RollDate__time--12h {
470
- flex-wrap: wrap;
471
- gap: 6px;
472
- padding-top: 2px;
473
- }
474
- .RollDate__time--12h .RollDate__time__display {
475
- order: -1;
476
- width: 100%;
477
- flex: 1 1 100%;
478
- border-left: none;
479
- padding: 0 0 4px;
480
- min-width: 0;
481
- font-size: 22px;
482
- letter-spacing: 0.04em;
483
- }
484
- .RollDate__time--12h .RollDate__time__picker {
485
- width: 100%;
486
- flex: 1 1 100%;
487
- justify-content: center;
488
- gap: 2px;
489
- }
490
- .RollDate__time--12h .RollDate__time__arrow {
491
- width: 18px;
492
- }
493
- .RollDate__time--12h .RollDate__time__viewport {
494
- width: 42px;
495
- }
496
- .RollDate__time--12h .RollDate__time__field--period .RollDate__time__viewport {
497
- width: 36px;
498
- }
499
- .RollDate__time--12h .RollDate__time__sep {
500
- font-size: 18px;
501
- }
502
- .RollDate__has-footer .RollDate__calendar {
503
- height: 260px;
504
- }
505
- .RollDate__has-time .RollDate__calendar {
506
- height: 258px;
704
+ .RollDate__theme_main .RollDate__calendar__day--today:not(.RollDate__calendar__day--range-first):not(.RollDate__calendar__day--range-last):not(.RollDate__calendar__day--range-selected) {
705
+ background: var(--rd-accent-strong);
706
+ color: #fff;
707
+ border-color: transparent;
507
708
  }
508
- .RollDate__has-footer.RollDate__has-time .RollDate__calendar {
509
- height: 230px;
709
+ .RollDate__theme_main .RollDate__calendar__day--today:not(.RollDate__calendar__day--range-first):not(.RollDate__calendar__day--range-last):not(.RollDate__calendar__day--range-selected):hover {
710
+ background: var(--rd-accent);
711
+ border-color: transparent;
510
712
  }
511
713
 
512
- @media (max-width: 380px) {
714
+ @media (max-width: 640px) {
513
715
  .RollDate__container {
514
716
  width: min(100vw - 16px, 360px);
515
717
  padding: 6px 8px;
718
+ --rd-time-item-h: 28px;
719
+ }
720
+ .RollDate__container.RollDate__has-time.RollDate__time-position_right, .RollDate__container.RollDate__has-time.RollDate__time-position_bottom {
721
+ --rd-time-visible: 3;
722
+ width: min(100vw - 16px, 360px);
723
+ }
724
+ .RollDate__container.RollDate__has-time.RollDate__time-position_right .RollDate__content, .RollDate__container.RollDate__has-time.RollDate__time-position_bottom .RollDate__content {
725
+ flex-direction: column;
726
+ }
727
+ .RollDate__container.RollDate__has-time.RollDate__time-position_right .RollDate__calendar, .RollDate__container.RollDate__has-time.RollDate__time-position_bottom .RollDate__calendar {
728
+ flex: 1 1 auto;
729
+ width: auto;
730
+ min-width: 0;
731
+ max-width: none;
732
+ }
733
+ .RollDate__container.RollDate__has-time.RollDate__time-position_right .RollDate__time-separator, .RollDate__container.RollDate__has-time.RollDate__time-position_bottom .RollDate__time-separator {
734
+ flex: 0 0 auto;
735
+ width: auto;
736
+ height: 1px;
737
+ margin: var(--rd-time-separator-gap) 0;
738
+ align-self: stretch;
739
+ }
740
+ .RollDate__container.RollDate__has-time.RollDate__time-position_right .RollDate__time-panel, .RollDate__container.RollDate__has-time.RollDate__time-position_bottom .RollDate__time-panel {
741
+ flex: 0 0 auto;
742
+ width: 100%;
743
+ padding: 8px 4px 4px;
744
+ }
745
+ .RollDate__container.RollDate__has-time.RollDate__time-position_right .RollDate__time, .RollDate__container.RollDate__has-time.RollDate__time-position_bottom .RollDate__time {
746
+ flex-direction: row;
747
+ align-items: center;
748
+ gap: 8px;
749
+ }
750
+ .RollDate__container.RollDate__has-time.RollDate__time-position_right .RollDate__time__period, .RollDate__container.RollDate__has-time.RollDate__time-position_bottom .RollDate__time__period {
751
+ width: auto;
752
+ max-width: none;
753
+ }
754
+ .RollDate__container.RollDate__has-time.RollDate__time-position_right .RollDate__time__viewport, .RollDate__container.RollDate__has-time.RollDate__time-position_bottom .RollDate__time__viewport {
755
+ width: 48px;
516
756
  }
517
757
  .RollDate__header {
518
758
  margin-bottom: 8px;
@@ -521,8 +761,10 @@
521
761
  .RollDate__header__year, .RollDate__header__month {
522
762
  font-size: 13px;
523
763
  }
524
- .RollDate__calendar {
525
- height: 268px;
764
+ .RollDate__calendar__body {
765
+ flex: 0 0 226px;
766
+ height: 226px;
767
+ min-height: 226px;
526
768
  }
527
769
  .RollDate__calendar__header {
528
770
  margin-bottom: 6px;
@@ -536,7 +778,8 @@
536
778
  font-size: 13px;
537
779
  }
538
780
  .RollDate__calendar__month, .RollDate__calendar__year {
539
- height: 60px;
781
+ height: 53.5px;
782
+ min-height: 53.5px;
540
783
  font-size: 13px;
541
784
  }
542
785
  .RollDate__calendar__button {