@vmscloud/moz-ui-gantt-core 0.2.0 → 0.3.0

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/dist/style.css CHANGED
@@ -22,6 +22,7 @@
22
22
  --moz-color-switch-track-off: #dae1f9;
23
23
  --moz-color-switch-track-disabled-off: #dde1ed;
24
24
  --moz-color-switch-track-disabled-on: #aeb7ca;
25
+ --moz-color-slider-track-disabled: #aeb7ca;
25
26
  --moz-color-icon-button-foreground: #949eb8;
26
27
  --moz-color-icon-button-hover: #f4f6fd;
27
28
  --moz-color-icon-button-pressed: #ecf0fc;
@@ -30,6 +31,11 @@
30
31
  --moz-color-icon-button-weak-interaction: #dae1f9;
31
32
  --moz-color-button-outline-hover: #f4f6fd;
32
33
  --moz-color-button-outline-pressed: #ecf0fc;
34
+ --moz-color-button-selected: var(--moz-color-neutral-subtle);
35
+ --moz-color-button-solid-selected: var(--moz-color-accent-strong);
36
+ --moz-color-button-weak-selected: var(--moz-color-icon-button-weak-interaction);
37
+ --moz-color-button-critical-selected: #b6373b;
38
+ --moz-color-button-critical-weak-selected: #fdd4d3;
33
39
  --moz-color-chip-selected: #ecf0fc;
34
40
  --moz-color-chip-selected-hover: #f4f6fd;
35
41
  --moz-color-chip-hover: #f7f9fd;
@@ -37,6 +43,7 @@
37
43
  --moz-color-chip-close: #949eb8;
38
44
  --moz-color-calendar-day-hover: #f4f6fd;
39
45
  --moz-color-calendar-day-pressed: #ecf0fc;
46
+ --moz-color-calendar-option-selected: #ecf0fc;
40
47
  --moz-color-context-menu-item-hover: #f4f6fd;
41
48
  --moz-color-context-menu-arrow: #949eb8;
42
49
  --moz-color-context-menu-arrow-disabled: #dde1ed;
@@ -69,6 +76,19 @@
69
76
  --moz-color-inverse-surface: var(--moz-color-text);
70
77
  --moz-color-tooltip-surface: #555f77;
71
78
  --moz-color-inverse-text: var(--moz-color-surface);
79
+ --moz-color-rail-surface: #1d2340;
80
+ --moz-color-rail-button-foreground: #cbd2e1;
81
+ --moz-color-rail-button-selected-foreground: #ffffff;
82
+ --moz-color-rail-button-hover: #ffffff17;
83
+ --moz-color-rail-button-selected: #ffffff3c;
84
+ --moz-color-rail-home-surface: #253b88;
85
+ --moz-color-rail-home-hover: #394d93;
86
+ --moz-color-rail-profile-surface: #ffffff2e;
87
+ --moz-color-rail-profile-foreground: #ffffff;
88
+ --moz-color-rail-profile-hover: #ffffff3c;
89
+ --moz-color-rail-focus-ring: #cbd2e1;
90
+ --moz-color-rail-tooltip-surface: #555f77;
91
+ --moz-color-rail-tooltip-foreground: #ffffff;
72
92
  /* ── 파생(알파) — 위 solid 토큰을 따라간다 ── */
73
93
  --moz-color-accent-ring: color-mix(in srgb, var(--moz-color-accent) 12%, transparent);
74
94
  --moz-color-accent-ring-strong: color-mix(in srgb, var(--moz-color-accent) 30%, transparent);
@@ -93,6 +113,114 @@
93
113
  --moz-color-scrim-strong: rgb(66 72 83 / 0.5);
94
114
  }
95
115
  }
116
+ @layer moz {
117
+ :root {
118
+ --moz-color-gray-00: #ffffff;
119
+ --moz-color-gray-100: #f7f9fd;
120
+ --moz-color-gray-200: #eef1f8;
121
+ --moz-color-gray-300: #dde1ed;
122
+ --moz-color-gray-400: #cbd2e1;
123
+ --moz-color-gray-500: #aeb7ca;
124
+ --moz-color-gray-600: #949eb8;
125
+ --moz-color-gray-700: #646e8b;
126
+ --moz-color-gray-800: #555f77;
127
+ --moz-color-gray-900: #2d3752;
128
+ --moz-color-gray-1000: #1d2340;
129
+ --moz-color-brand-100: #f4f6fd;
130
+ --moz-color-brand-200: #ecf0fc;
131
+ --moz-color-brand-300: #dae1f9;
132
+ --moz-color-brand-400: #c4cff5;
133
+ --moz-color-brand-500: #8fa4ec;
134
+ --moz-color-brand-600: #6a86e6;
135
+ --moz-color-brand-700: #4568e0;
136
+ --moz-color-brand-800: #3450b5;
137
+ --moz-color-brand-900: #253b88;
138
+ --moz-color-brand-1000: #172655;
139
+ --moz-color-red-100: #fdf0f0;
140
+ --moz-color-red-200: #fde7e7;
141
+ --moz-color-red-300: #fdd4d3;
142
+ --moz-color-red-400: #fbb8b5;
143
+ --moz-color-red-500: #f58f8d;
144
+ --moz-color-red-600: #e96b69;
145
+ --moz-color-red-700: #d84a4b;
146
+ --moz-color-red-800: #b6373b;
147
+ --moz-color-red-900: #8b292d;
148
+ --moz-color-red-1000: #59191d;
149
+ --moz-color-orange-100: #fff2e8;
150
+ --moz-color-orange-200: #ffe7d6;
151
+ --moz-color-orange-300: #ffd3b4;
152
+ --moz-color-orange-400: #ffb77d;
153
+ --moz-color-orange-500: #fa9340;
154
+ --moz-color-orange-600: #eb7114;
155
+ --moz-color-orange-700: #ce560a;
156
+ --moz-color-orange-800: #a43e05;
157
+ --moz-color-orange-900: #792c02;
158
+ --moz-color-orange-1000: #4a1900;
159
+ --moz-color-yellow-100: #fff7de;
160
+ --moz-color-yellow-200: #fff0b9;
161
+ --moz-color-yellow-300: #ffdd65;
162
+ --moz-color-yellow-400: #f4c83d;
163
+ --moz-color-yellow-500: #dcad1f;
164
+ --moz-color-yellow-600: #c39813;
165
+ --moz-color-yellow-700: #9d7910;
166
+ --moz-color-yellow-800: #785c0d;
167
+ --moz-color-yellow-900: #56420a;
168
+ --moz-color-yellow-1000: #352806;
169
+ --moz-color-green-100: #edfaf4;
170
+ --moz-color-green-200: #d9f6e5;
171
+ --moz-color-green-300: #b8e9ca;
172
+ --moz-color-green-400: #7edca1;
173
+ --moz-color-green-500: #45c77a;
174
+ --moz-color-green-600: #20ab60;
175
+ --moz-color-green-700: #168e50;
176
+ --moz-color-green-800: #106f40;
177
+ --moz-color-green-900: #0b5130;
178
+ --moz-color-green-1000: #07331e;
179
+ --moz-color-blue-100: #eff6ff;
180
+ --moz-color-blue-200: #e2edfc;
181
+ --moz-color-blue-300: #cbdefa;
182
+ --moz-color-blue-400: #a9cdfd;
183
+ --moz-color-blue-500: #84b7fc;
184
+ --moz-color-blue-600: #5e98f9;
185
+ --moz-color-blue-700: #397bea;
186
+ --moz-color-blue-800: #2a5dbb;
187
+ --moz-color-blue-900: #1d458a;
188
+ --moz-color-blue-1000: #102a55;
189
+ --moz-color-purple-100: #f6f2fe;
190
+ --moz-color-purple-200: #eeeafe;
191
+ --moz-color-purple-300: #e0d8fc;
192
+ --moz-color-purple-400: #cfc0fa;
193
+ --moz-color-purple-500: #b7a0f6;
194
+ --moz-color-purple-600: #9e83ed;
195
+ --moz-color-purple-700: #8568d9;
196
+ --moz-color-purple-800: #694ea9;
197
+ --moz-color-purple-900: #4d387d;
198
+ --moz-color-purple-1000: #30224d;
199
+ --moz-color-static-black: #000000;
200
+ --moz-color-static-black-alpha-100: #00000007;
201
+ --moz-color-static-black-alpha-200: #0000000c;
202
+ --moz-color-static-black-alpha-300: #00000010;
203
+ --moz-color-static-black-alpha-400: #00000021;
204
+ --moz-color-static-black-alpha-500: #0000002c;
205
+ --moz-color-static-black-alpha-600: #0000004c;
206
+ --moz-color-static-black-alpha-700: #00000074;
207
+ --moz-color-static-black-alpha-800: #000000a2;
208
+ --moz-color-static-black-alpha-900: #000000d0;
209
+ --moz-color-static-black-alpha-1000: #000000e3;
210
+ --moz-color-static-white: #ffffff;
211
+ --moz-color-static-white-alpha-50: #ffffff0c;
212
+ --moz-color-static-white-alpha-100: #ffffff17;
213
+ --moz-color-static-white-alpha-200: #ffffff20;
214
+ --moz-color-static-white-alpha-300: #ffffff2e;
215
+ --moz-color-static-white-alpha-400: #ffffff3c;
216
+ --moz-color-static-white-alpha-500: #ffffff60;
217
+ --moz-color-static-white-alpha-600: #ffffff8b;
218
+ --moz-color-static-white-alpha-700: #ffffffb3;
219
+ --moz-color-static-white-alpha-800: #ffffffde;
220
+ --moz-color-static-white-alpha-900: #ffffffea;
221
+ --moz-color-static-white-alpha-1000: #fffffff4;
222
+ }
223
+ }
96
224
  /* moz radius tokens — override in :root */
97
225
  @layer moz {
98
226
  :root {
@@ -104,6 +232,9 @@
104
232
  --moz-radius-button-large: 10px;
105
233
  --moz-radius-text-button: 6px;
106
234
  --moz-radius-icon-button: 6px;
235
+ --moz-radius-rail-button: 8px;
236
+ --moz-radius-rail-profile: 50%;
237
+ --moz-radius-rail-tooltip: 8px;
107
238
  --moz-radius-segment-item: 6px;
108
239
  /* 보조 표면 — 캘린더 컨테이너, 슬라이더 트랙, 세그먼트 그룹 */
109
240
  --moz-radius-surface: 6px;
@@ -115,7 +246,9 @@
115
246
  --moz-radius-calendar-option: 10px;
116
247
  --moz-shadow-small: 0 2px 6px #00000014;
117
248
  --moz-radius-popup: 16px;
249
+ --moz-radius-popover: 16px;
118
250
  --moz-shadow-medium: 0 4px 12px #0000001F;
251
+ --moz-shadow-large: 0 8px 24px #00000029;
119
252
  /* 떠 있는 패널 — 팝업·대화상자 */
120
253
  --moz-radius-panel: 10px;
121
254
  /* 칩 — 태그 아이템처럼 컨트롤보다 작은 조각 (panel 과 기본값은 같지만 역할이 다르다:
@@ -124,12 +257,62 @@
124
257
  --moz-radius-radio-group-edge: 4px;
125
258
  --moz-radius-select-filter: 4px;
126
259
  /* 알약 — 토글, 토스트, 라디오 도트, 슬라이더 핸들 */
127
- --moz-radius-pill: 999px;
260
+ --moz-radius-pill: 9999px;
128
261
  /* 원 — 아바타 */
129
262
  --moz-radius-circle: 50%;
130
263
  --moz-font-family: 'Pretendard', 'Pretendard Variable', -apple-system, BlinkMacSystemFont, system-ui, 'Segoe UI', Roboto, sans-serif;
131
264
  }
132
265
  }
266
+ @layer moz {
267
+ :root {
268
+ --moz-radius-r1: 4px;
269
+ --moz-radius-r1_5: 6px;
270
+ --moz-radius-r2: 8px;
271
+ --moz-radius-r2_5: 10px;
272
+ --moz-radius-r3: 12px;
273
+ --moz-radius-r4: 16px;
274
+ --moz-radius-full: 9999px;
275
+ --moz-dimension-x0_5: 2px;
276
+ --moz-dimension-x1: 4px;
277
+ --moz-dimension-x1_5: 6px;
278
+ --moz-dimension-x2: 8px;
279
+ --moz-dimension-x2_5: 10px;
280
+ --moz-dimension-x3: 12px;
281
+ --moz-dimension-x4: 16px;
282
+ --moz-dimension-x5: 20px;
283
+ --moz-dimension-x6: 24px;
284
+ --moz-dimension-x7: 32px;
285
+ --moz-dimension-x8: 40px;
286
+ --moz-dimension-x9: 48px;
287
+ --moz-dimension-x10: 64px;
288
+ --moz-font-size-t1: 0.6875rem;
289
+ --moz-font-size-t2: 0.75rem;
290
+ --moz-font-size-t3: 0.8125rem;
291
+ --moz-font-size-t4: 0.875rem;
292
+ --moz-font-size-t5: 1rem;
293
+ --moz-font-size-t6: 1.125rem;
294
+ --moz-font-size-t7: 1.25rem;
295
+ --moz-font-size-t8: 1.375rem;
296
+ --moz-font-size-t9: 1.5rem;
297
+ --moz-font-size-t10: 2rem;
298
+ --moz-line-height-t1: 0.875rem;
299
+ --moz-line-height-t2: 1rem;
300
+ --moz-line-height-t3: 1.125rem;
301
+ --moz-line-height-t4: 1.25rem;
302
+ --moz-line-height-t5: 1.375rem;
303
+ --moz-line-height-t6: 1.5rem;
304
+ --moz-line-height-t7: 1.625rem;
305
+ --moz-line-height-t8: 1.875rem;
306
+ --moz-line-height-t9: 2rem;
307
+ --moz-line-height-t10: 2.625rem;
308
+ --moz-font-weight-regular: 400;
309
+ --moz-font-weight-medium: 500;
310
+ --moz-font-weight-bold: 700;
311
+ --moz-shadow-s1: 0px 2px 6px 0px #00000014;
312
+ --moz-shadow-s2: 0px 4px 12px 0px #0000001F;
313
+ --moz-shadow-s3: 0px 8px 24px 0px #00000029;
314
+ }
315
+ }
133
316
  /**
134
317
  * Button 스타일 — 기존 클래스 계약 유지. Action Button Figma 1687:12847 / 1966:380 기준.
135
318
  *
@@ -222,6 +405,11 @@
222
405
  .moz-button.moz-default-button:focus {
223
406
  box-shadow: 0 0 0 4px var(--moz-color-accent-ring);
224
407
  }
408
+ .moz-button.moz-default-button[aria-pressed=true]:not(:disabled) {
409
+ background-color: var(--moz-color-button-solid-selected);
410
+ border-color: var(--moz-color-button-solid-selected);
411
+ color: var(--moz-color-on-accent);
412
+ }
225
413
  .moz-button.moz-default-button:disabled:not(.loading) {
226
414
  background-color: var(--moz-color-disabled);
227
415
  border-color: var(--moz-color-disabled);
@@ -230,9 +418,75 @@
230
418
  .moz-button.moz-default-button:disabled:not(.loading) .mozart-icons::before {
231
419
  color: var(--moz-color-text-muted);
232
420
  }
421
+ .moz-button.moz-critical-button, .moz-button.moz-critical-weak-button {
422
+ box-sizing: border-box;
423
+ height: 32px;
424
+ border-radius: var(--moz-radius-control);
425
+ padding: 0 12px;
426
+ font-size: 0.875rem;
427
+ font-weight: 400;
428
+ }
429
+ .moz-button.moz-critical-button .text, .moz-button.moz-critical-weak-button .text {
430
+ font-size: inherit;
431
+ line-height: 20px;
432
+ }
433
+ .moz-button.moz-critical-button:disabled:not(.loading), .moz-button.moz-critical-weak-button:disabled:not(.loading) {
434
+ background-color: var(--moz-color-disabled);
435
+ border-color: var(--moz-color-disabled);
436
+ color: var(--moz-color-text-muted);
437
+ }
438
+ .moz-button.moz-critical-button:disabled:not(.loading) .mozart-icons::before, .moz-button.moz-critical-weak-button:disabled:not(.loading) .mozart-icons::before {
439
+ color: var(--moz-color-text-muted);
440
+ }
441
+ .moz-button.moz-critical-button:disabled, .moz-button.moz-critical-weak-button:disabled {
442
+ box-shadow: none;
443
+ }
444
+ .moz-button.moz-critical-button {
445
+ background-color: var(--moz-color-danger);
446
+ border-color: var(--moz-color-danger);
447
+ color: var(--moz-color-on-accent);
448
+ }
449
+ .moz-button.moz-critical-button:hover:not(:disabled), .moz-button.moz-critical-button:active:not(:disabled), .moz-button.moz-critical-button.loading {
450
+ background-color: #b6373b;
451
+ border-color: #b6373b;
452
+ }
453
+ .moz-button.moz-critical-button:focus:not(:disabled) {
454
+ box-shadow: 0 0 0 4px var(--moz-color-danger-ring);
455
+ }
456
+ .moz-button.moz-critical-button[aria-pressed=true]:not(:disabled) {
457
+ background-color: var(--moz-color-button-critical-selected);
458
+ border-color: var(--moz-color-button-critical-selected);
459
+ color: var(--moz-color-on-accent);
460
+ }
461
+ .moz-button.moz-critical-weak-button {
462
+ background-color: #fde7e7;
463
+ border-color: #fde7e7;
464
+ color: var(--moz-color-danger);
465
+ }
466
+ .moz-button.moz-critical-weak-button:hover:not(:disabled), .moz-button.moz-critical-weak-button:active:not(:disabled) {
467
+ background-color: #fdd4d3;
468
+ border-color: #fdd4d3;
469
+ }
470
+ .moz-button.moz-critical-weak-button.loading {
471
+ background-color: #fde7e7;
472
+ border-color: #fde7e7;
473
+ }
474
+ .moz-button.moz-critical-weak-button:focus:not(:disabled) {
475
+ box-shadow: 0 0 0 4px var(--moz-color-accent-ring);
476
+ }
477
+ .moz-button.moz-critical-weak-button[aria-pressed=true]:not(:disabled) {
478
+ background-color: var(--moz-color-button-critical-weak-selected);
479
+ border-color: var(--moz-color-button-critical-weak-selected);
480
+ color: var(--moz-color-danger);
481
+ }
233
482
  .moz-button.moz-icon-text-button {
234
483
  padding: 0 12px;
235
484
  }
485
+ .moz-button.moz-default-button.moz-icon-text-button:not(.moz-action-button-large):not(.moz-action-button-small) {
486
+ gap: 6px;
487
+ padding-left: 13px;
488
+ padding-right: 13px;
489
+ }
236
490
  .moz-button.moz-default-button.moz-action-button-large {
237
491
  height: 40px;
238
492
  border-radius: var(--moz-radius-button-large);
@@ -276,6 +530,10 @@
276
530
  .moz-button.moz-text-button:hover:not(:disabled) {
277
531
  border-radius: var(--moz-radius-text-button);
278
532
  }
533
+ .moz-button.moz-text-button[aria-pressed=true]:not(:disabled) {
534
+ background-color: var(--moz-color-button-selected);
535
+ color: var(--moz-color-accent-strong);
536
+ }
279
537
  .moz-button.moz-text-button:disabled {
280
538
  color: var(--moz-color-text-muted);
281
539
  }
@@ -283,6 +541,16 @@
283
541
  background-color: transparent;
284
542
  cursor: not-allowed;
285
543
  }
544
+ .moz-button.moz-text-button.moz-text-neutral-button:not(:disabled) {
545
+ color: var(--moz-color-text-secondary);
546
+ }
547
+ .moz-button.moz-text-button.moz-text-neutral-button:hover:not(:disabled), .moz-button.moz-text-button.moz-text-neutral-button:active:not(:disabled) {
548
+ background-color: var(--moz-color-muted-soft);
549
+ }
550
+ .moz-button.moz-text-button.moz-text-neutral-button[aria-pressed=true]:not(:disabled) {
551
+ background-color: var(--moz-color-button-selected);
552
+ color: var(--moz-color-text-secondary);
553
+ }
286
554
  .moz-button.moz-text-button[data-size=medium] {
287
555
  height: 24px;
288
556
  padding: 0 6px;
@@ -347,6 +615,10 @@
347
615
  .moz-button.moz-icon-button:not(.moz-no-interaction-button):not(.moz-icon-accent-button):not(:disabled):active {
348
616
  background-color: var(--moz-color-icon-button-pressed);
349
617
  }
618
+ .moz-button.moz-icon-button:not(.moz-no-interaction-button):not(.moz-icon-accent-button)[aria-pressed=true]:not(:disabled) {
619
+ background-color: var(--moz-color-button-selected);
620
+ color: var(--moz-color-text-secondary);
621
+ }
350
622
  .moz-button.moz-icon-button:not(.moz-no-interaction-button):not(.moz-icon-accent-button):not(.small) {
351
623
  min-width: 24px;
352
624
  min-height: 24px;
@@ -381,6 +653,11 @@
381
653
  background-color: var(--moz-color-icon-button-weak-interaction);
382
654
  border-color: var(--moz-color-icon-button-weak-interaction);
383
655
  }
656
+ .moz-button.moz-icon-button.moz-icon-accent-button:not(.moz-no-interaction-button)[aria-pressed=true]:not(:disabled) {
657
+ background-color: var(--moz-color-button-weak-selected);
658
+ border-color: var(--moz-color-button-weak-selected);
659
+ color: var(--moz-color-accent);
660
+ }
384
661
  .moz-button.moz-icon-button.moz-icon-accent-button:disabled {
385
662
  background-color: var(--moz-color-disabled);
386
663
  border-color: var(--moz-color-disabled);
@@ -410,6 +687,10 @@
410
687
  .moz-button.moz-outline-icon-button:active:not(:disabled) {
411
688
  background-color: var(--moz-color-icon-button-pressed);
412
689
  }
690
+ .moz-button.moz-outline-icon-button[aria-pressed=true]:not(:disabled) {
691
+ background-color: var(--moz-color-button-selected);
692
+ color: var(--moz-color-text-secondary);
693
+ }
413
694
  .moz-button.moz-outline-icon-button:disabled {
414
695
  background-color: transparent;
415
696
  border-color: var(--moz-color-border);
@@ -437,6 +718,10 @@
437
718
  border-color: var(--moz-color-border);
438
719
  box-shadow: 0 0 0 4px var(--moz-color-accent-ring);
439
720
  }
721
+ .moz-button.moz-outline-button[aria-pressed=true]:not(:disabled) {
722
+ background-color: var(--moz-color-button-selected);
723
+ color: var(--moz-color-accent);
724
+ }
440
725
  .moz-button.moz-outline-button:disabled {
441
726
  background-color: transparent;
442
727
  border-color: var(--moz-color-border-subtle);
@@ -448,12 +733,90 @@
448
733
  .moz-button.moz-no-interaction-button:focus {
449
734
  box-shadow: none;
450
735
  }
736
+ .moz-button.moz-no-interaction-button[aria-pressed=true]:not(:disabled) {
737
+ background-color: var(--moz-color-button-selected);
738
+ color: var(--moz-color-text-secondary);
739
+ }
740
+ .moz-button.moz-rail-button {
741
+ flex: none;
742
+ box-sizing: border-box;
743
+ width: 40px;
744
+ min-width: 40px;
745
+ height: 40px;
746
+ min-height: 40px;
747
+ padding: 0;
748
+ border-width: 0;
749
+ border-color: transparent;
750
+ border-radius: var(--moz-radius-rail-button);
751
+ background-color: transparent;
752
+ color: var(--moz-color-rail-button-foreground);
753
+ font-size: 20px;
754
+ box-shadow: none;
755
+ }
756
+ .moz-button.moz-rail-button.loading {
757
+ width: 40px;
758
+ }
759
+ .moz-button.moz-rail-button > [data-moz-slot] {
760
+ display: flex;
761
+ align-items: center;
762
+ justify-content: center;
763
+ }
764
+ .moz-button.moz-rail-button .moz-circle-loader {
765
+ color: var(--moz-color-rail-button-foreground);
766
+ }
767
+ .moz-button.moz-rail-button:focus {
768
+ border-color: transparent;
769
+ box-shadow: none;
770
+ }
771
+ .moz-button.moz-rail-button:focus-visible {
772
+ outline: 2px solid var(--moz-color-rail-focus-ring);
773
+ outline-offset: 2px;
774
+ }
775
+ .moz-button.moz-rail-button:hover:not(:disabled), .moz-button.moz-rail-button:active:not(:disabled) {
776
+ background-color: var(--moz-color-rail-button-hover);
777
+ }
778
+ .moz-button.moz-rail-button[aria-pressed=true]:not(:disabled) {
779
+ background-color: var(--moz-color-rail-button-selected);
780
+ color: var(--moz-color-rail-button-selected-foreground);
781
+ }
782
+ .moz-button.moz-rail-button:disabled {
783
+ opacity: 0.5;
784
+ }
785
+ .moz-button.moz-rail-button.moz-rail-home-button {
786
+ background-color: var(--moz-color-rail-home-surface);
787
+ }
788
+ .moz-button.moz-rail-button.moz-rail-home-button:hover:not(:disabled), .moz-button.moz-rail-button.moz-rail-home-button:active:not(:disabled) {
789
+ background-color: var(--moz-color-rail-home-hover);
790
+ }
791
+ .moz-button.moz-rail-button.moz-rail-home-button[aria-pressed=true]:not(:disabled) {
792
+ background-color: var(--moz-color-rail-button-selected);
793
+ color: var(--moz-color-rail-button-selected-foreground);
794
+ }
795
+ .moz-button.moz-rail-button.moz-rail-profile-button {
796
+ border-radius: var(--moz-radius-rail-profile);
797
+ background-color: var(--moz-color-rail-profile-surface);
798
+ color: var(--moz-color-rail-profile-foreground);
799
+ }
800
+ .moz-button.moz-rail-button.moz-rail-profile-button .moz-circle-loader {
801
+ color: var(--moz-color-rail-profile-foreground);
802
+ }
803
+ .moz-button.moz-rail-button.moz-rail-profile-button:hover:not(:disabled), .moz-button.moz-rail-button.moz-rail-profile-button:active:not(:disabled) {
804
+ background-color: var(--moz-color-rail-profile-hover);
805
+ }
806
+ .moz-button.moz-rail-button.moz-rail-profile-button[aria-pressed=true]:not(:disabled) {
807
+ background-color: var(--moz-color-rail-button-selected);
808
+ color: var(--moz-color-rail-button-selected-foreground);
809
+ }
451
810
  }
452
811
  /**
453
812
  * Input 스타일 — 기존 클래스 계약 유지. Text field Figma 241:4446 기준.
454
813
  * password 모드(type="password", PasswordInput 래퍼 포함)도 같은 규칙을 쓴다.
455
814
  */
456
815
  @layer moz {
816
+ :root {
817
+ --moz-input-prefix-icon-size: 0.875rem;
818
+ --moz-input-prefix-icon-gap: 6px;
819
+ }
457
820
  .moz-input-wrapper {
458
821
  display: flex;
459
822
  flex-direction: column;
@@ -516,6 +879,9 @@
516
879
  .moz-input-wrapper .moz-input.has-invalid-icon {
517
880
  padding-right: 1.875rem;
518
881
  }
882
+ .moz-input-wrapper .moz-input.has-prefix-icon {
883
+ padding-left: calc(0.75rem + var(--moz-input-prefix-icon-size, 0.875rem) + var(--moz-input-prefix-icon-gap, 6px));
884
+ }
519
885
  .moz-input-wrapper .moz-input.disabled {
520
886
  user-select: none;
521
887
  color: var(--moz-color-text-muted);
@@ -545,6 +911,38 @@
545
911
  .moz-input-wrapper.is-invalid .moz-input:focus {
546
912
  box-shadow: 0 0 0 4px var(--moz-color-danger-ring);
547
913
  }
914
+ .moz-input-wrapper.is-invalid .moz-input-prefix-icon {
915
+ color: var(--moz-color-danger);
916
+ }
917
+ .moz-input-wrapper .moz-input-prefix-icon {
918
+ position: absolute;
919
+ bottom: calc((2rem - var(--moz-input-prefix-icon-size, 0.875rem)) / 2);
920
+ left: calc(1px + 0.75rem);
921
+ z-index: 1;
922
+ display: flex;
923
+ width: var(--moz-input-prefix-icon-size, 0.875rem);
924
+ height: var(--moz-input-prefix-icon-size, 0.875rem);
925
+ align-items: center;
926
+ justify-content: center;
927
+ overflow: hidden;
928
+ color: var(--moz-color-text-subtle);
929
+ pointer-events: none;
930
+ }
931
+ .moz-input-wrapper .moz-input-prefix-icon > [data-moz-slot] {
932
+ display: flex;
933
+ width: 100%;
934
+ height: 100%;
935
+ align-items: center;
936
+ justify-content: center;
937
+ }
938
+ .moz-input-wrapper .moz-input-prefix-icon :is(svg, img) {
939
+ display: block;
940
+ width: 100%;
941
+ height: 100%;
942
+ }
943
+ .moz-input-wrapper .moz-input-prefix-icon.disabled {
944
+ color: var(--moz-color-text-muted);
945
+ }
548
946
  .moz-input-wrapper .moz-input-invalid-message {
549
947
  color: var(--moz-color-danger);
550
948
  font-size: 0.75rem;
@@ -662,6 +1060,20 @@
662
1060
  .moz-tooltip[data-hoverable=true] {
663
1061
  pointer-events: auto;
664
1062
  }
1063
+ /* Side Toolbar 레일 버블(appearance='rail', Figma 35:1659) — 테마와 무관한 고정 레일 역할만 칠한다.
1064
+ content-box 의 18.75rem 은 글자 폭 상한 300px(루트 16px). 줄바꿈·층위·포인터 정책은 .moz-tooltip 을 따른다 */
1065
+ .moz-tooltip[data-appearance=rail] {
1066
+ box-sizing: content-box;
1067
+ max-width: 18.75rem;
1068
+ padding: 0.5rem 0.75rem;
1069
+ border-radius: var(--moz-radius-rail-tooltip);
1070
+ background-color: var(--moz-color-rail-tooltip-surface);
1071
+ color: var(--moz-color-rail-tooltip-foreground);
1072
+ font-size: 0.875rem;
1073
+ font-weight: 400;
1074
+ line-height: 1.25rem;
1075
+ box-shadow: var(--moz-shadow-small);
1076
+ }
665
1077
  .moz-tooltip-content {
666
1078
  position: relative;
667
1079
  }
@@ -744,15 +1156,16 @@
744
1156
  transform: translate(-100%, -100%);
745
1157
  }
746
1158
  .context-menu-content-wrapper {
1159
+ box-sizing: border-box;
747
1160
  background-color: var(--moz-color-surface);
748
1161
  border: 1px solid var(--moz-color-border);
749
1162
  margin-top: 0.25rem;
750
- border-radius: var(--moz-radius-control);
751
- box-shadow: 0 3px 4px 0 var(--moz-color-shadow);
752
- min-width: 140px;
1163
+ border-radius: 12px;
1164
+ box-shadow: var(--moz-shadow-small);
1165
+ min-width: 160px;
753
1166
  }
754
1167
  .context-menu-content-wrapper[data-noPadding=false] {
755
- padding: 6px;
1168
+ padding: 5px;
756
1169
  }
757
1170
  .context-menu-item-enable-hover:not(:has(> .context-menu-item)):hover {
758
1171
  background: var(--moz-color-accent-ghost);
@@ -875,10 +1288,9 @@
875
1288
  }
876
1289
  .context-menu-separator {
877
1290
  height: 1px;
878
- width: 100%;
879
- background-color: var(--moz-color-border);
880
- margin-top: 0.375rem;
881
- margin-bottom: 0.375rem;
1291
+ width: calc(100% - 16px);
1292
+ background-color: var(--moz-color-border-subtle);
1293
+ margin: 6px 8px;
882
1294
  }
883
1295
  .context-menu-active {
884
1296
  opacity: 100%;
@@ -914,7 +1326,18 @@
914
1326
  --moz-gantt-selection: var(--moz-gantt-accent);
915
1327
  --moz-gantt-milestone: var(--color-accent-500, #7555b5);
916
1328
  --moz-gantt-dependency: var(--color-text-500, #627086);
1329
+ --moz-gantt-calendar-shade: rgba(100, 116, 139, .14);
917
1330
  --moz-gantt-font: 12px var(--moz-font-family, sans-serif);
1331
+ --moz-gantt-now-line: var(--color-error-600, #b42318);
1332
+ --moz-gantt-now-line-text: var(--color-text-on-accent, #fff);
1333
+ --moz-gantt-cursor-line: var(--color-text-500, #627086);
1334
+ --moz-gantt-cursor-flag: var(--moz-gantt-text);
1335
+ --moz-gantt-cursor-flag-text: var(--moz-gantt-surface);
1336
+ --moz-gantt-highlight: #c026d3;
1337
+ --moz-gantt-metric-bar: var(--color-accent-300, #5b8def);
1338
+ --moz-gantt-metric-line: var(--color-warning-500, #b65e00);
1339
+ --moz-gantt-metric-text: var(--moz-gantt-text);
1340
+ --moz-gantt-metric-error: var(--color-error-500, #c33737);
918
1341
  --gantt-border: var(--moz-gantt-border);
919
1342
  --gantt-surface: var(--moz-gantt-surface);
920
1343
  --gantt-header: var(--moz-gantt-header);
@@ -1043,6 +1466,98 @@
1043
1466
  white-space: nowrap;
1044
1467
  }
1045
1468
 
1469
+ .moz-gantt-time-marker-text {
1470
+ position: absolute;
1471
+ width: 1px;
1472
+ height: 1px;
1473
+ margin: 0;
1474
+ overflow: hidden;
1475
+ clip-path: inset(50%);
1476
+ white-space: nowrap;
1477
+ }
1478
+
1479
+ .moz-gantt-legend {
1480
+ --moz-color-accent: var(--moz-gantt-accent);
1481
+ --moz-color-accent-strong: var(--moz-gantt-accent);
1482
+ display: flex;
1483
+ flex-shrink: 0;
1484
+ flex-wrap: wrap;
1485
+ align-items: center;
1486
+ gap: 4px 12px;
1487
+ min-width: 0;
1488
+ padding: 6px 10px;
1489
+ border-bottom: 1px solid var(--gantt-border);
1490
+ background: var(--gantt-surface);
1491
+ color: var(--moz-gantt-text);
1492
+ font-size: 12px;
1493
+ line-height: 18px;
1494
+ }
1495
+
1496
+ .moz-gantt-legend.moz-gantt-legend-bottom {
1497
+ border-bottom: 0;
1498
+ border-top: 1px solid var(--gantt-border);
1499
+ }
1500
+
1501
+ .moz-gantt-legend[hidden] {
1502
+ display: none;
1503
+ }
1504
+
1505
+ .moz-gantt-legend.moz-gantt-legend-reserved {
1506
+ visibility: hidden;
1507
+ }
1508
+
1509
+ .moz-gantt-legend-title {
1510
+ flex-shrink: 0;
1511
+ font-weight: 600;
1512
+ }
1513
+
1514
+ .moz-gantt-legend-list {
1515
+ display: flex;
1516
+ flex: 1 1 0;
1517
+ flex-wrap: wrap;
1518
+ gap: 4px 12px;
1519
+ min-width: 0;
1520
+ margin: 0;
1521
+ padding: 0;
1522
+ list-style: none;
1523
+ }
1524
+
1525
+ .moz-gantt-legend-list[hidden] {
1526
+ display: none;
1527
+ }
1528
+
1529
+ .moz-gantt-legend-item {
1530
+ display: inline-flex;
1531
+ align-items: center;
1532
+ gap: 6px;
1533
+ min-width: 0;
1534
+ max-width: 100%;
1535
+ }
1536
+
1537
+ .moz-gantt-legend-swatch {
1538
+ flex: none;
1539
+ width: 12px;
1540
+ height: 12px;
1541
+ border-radius: 2px;
1542
+ background: var(--moz-gantt-legend-swatch);
1543
+ box-shadow: inset 0 0 0 1px var(--gantt-border);
1544
+ }
1545
+
1546
+ .moz-gantt-legend-name {
1547
+ min-width: 0;
1548
+ overflow-wrap: anywhere;
1549
+ }
1550
+
1551
+ .moz-gantt-legend-toggle-host {
1552
+ flex-shrink: 0;
1553
+ margin-inline-start: auto;
1554
+ }
1555
+
1556
+ .moz-gantt-legend .moz-gantt-legend-toggle:focus-visible {
1557
+ outline: 2px solid var(--moz-gantt-accent);
1558
+ outline-offset: 1px;
1559
+ }
1560
+
1046
1561
  .moz-gantt-tooltip {
1047
1562
  max-width: min(360px, 100vw - 16px);
1048
1563
  white-space: normal;
@@ -1127,10 +1642,186 @@
1127
1642
  text-overflow: ellipsis;
1128
1643
  }
1129
1644
 
1645
+ .moz-gantt .pv-rh > .pv-header-cell-inner.pv-rh-decorated {
1646
+ gap: 6px;
1647
+ padding-block: 2px;
1648
+ }
1649
+
1650
+ .moz-gantt .pv-rh-icon {
1651
+ flex: none;
1652
+ max-width: 2em;
1653
+ overflow: hidden;
1654
+ white-space: nowrap;
1655
+ line-height: 1;
1656
+ color: var(--moz-gantt-accent);
1657
+ }
1658
+
1659
+ .moz-gantt .pv-rh-stack {
1660
+ display: flex;
1661
+ flex: 0 1 auto;
1662
+ flex-direction: column;
1663
+ justify-content: center;
1664
+ min-width: 0;
1665
+ max-height: 100%;
1666
+ overflow: hidden;
1667
+ }
1668
+
1669
+ .moz-gantt .pv-rh-stack > .pv-header-cell-text, .moz-gantt .pv-rh-stack > .pv-rh-text {
1670
+ line-height: 15px;
1671
+ }
1672
+
1673
+ .moz-gantt .pv-rh-sub {
1674
+ min-width: 0;
1675
+ overflow: hidden;
1676
+ white-space: nowrap;
1677
+ text-overflow: ellipsis;
1678
+ font-size: 11px;
1679
+ line-height: 13px;
1680
+ color: var(--moz-gantt-text);
1681
+ opacity: 0.8;
1682
+ }
1683
+
1130
1684
  .moz-gantt .pv-row-header-resize-handle:hover {
1131
1685
  background: var(--gantt-border);
1132
1686
  }
1133
1687
 
1688
+ .moz-gantt .moz-gantt-metric-corner, .moz-gantt .moz-gantt-header-metrics {
1689
+ position: absolute;
1690
+ left: 0;
1691
+ bottom: 0;
1692
+ box-sizing: border-box;
1693
+ border-top: 1px solid var(--gantt-border);
1694
+ }
1695
+
1696
+ .moz-gantt .moz-gantt-metric-corner {
1697
+ right: 0;
1698
+ }
1699
+
1700
+ .moz-gantt .moz-gantt-metric-name {
1701
+ position: absolute;
1702
+ left: 0;
1703
+ right: 0;
1704
+ height: 40px;
1705
+ padding: 0 8px;
1706
+ box-sizing: border-box;
1707
+ overflow: hidden;
1708
+ border-bottom: 1px solid var(--gantt-border);
1709
+ color: var(--moz-gantt-metric-text);
1710
+ font-size: 12px;
1711
+ line-height: 40px;
1712
+ white-space: nowrap;
1713
+ text-overflow: ellipsis;
1714
+ }
1715
+
1716
+ .moz-gantt .moz-gantt-metric-lane {
1717
+ position: absolute;
1718
+ left: 0;
1719
+ right: 0;
1720
+ height: 40px;
1721
+ box-sizing: border-box;
1722
+ border-bottom: 1px solid var(--gantt-border);
1723
+ color: var(--moz-gantt-metric-text);
1724
+ }
1725
+
1726
+ .moz-gantt .moz-gantt-metric-cell {
1727
+ position: absolute;
1728
+ box-sizing: border-box;
1729
+ overflow: hidden;
1730
+ border-right: 1px solid var(--gantt-border);
1731
+ }
1732
+
1733
+ .moz-gantt .moz-gantt-metric-bar {
1734
+ position: absolute;
1735
+ left: 2px;
1736
+ right: 2px;
1737
+ border-radius: 1px;
1738
+ background: var(--moz-gantt-metric-color, var(--moz-gantt-metric-bar));
1739
+ }
1740
+
1741
+ .moz-gantt .moz-gantt-metric-bar[hidden] {
1742
+ display: none;
1743
+ }
1744
+
1745
+ .moz-gantt .moz-gantt-metric-value {
1746
+ position: absolute;
1747
+ left: 0;
1748
+ right: 0;
1749
+ top: 0;
1750
+ height: 14px;
1751
+ overflow: hidden;
1752
+ font-size: 11px;
1753
+ line-height: 14px;
1754
+ text-align: center;
1755
+ white-space: nowrap;
1756
+ }
1757
+
1758
+ .moz-gantt .moz-gantt-metric-line {
1759
+ position: absolute;
1760
+ top: 0;
1761
+ height: 40px;
1762
+ overflow: visible;
1763
+ pointer-events: none;
1764
+ }
1765
+
1766
+ .moz-gantt .moz-gantt-metric-line path {
1767
+ fill: none;
1768
+ stroke: var(--moz-gantt-metric-color, var(--moz-gantt-metric-line));
1769
+ stroke-width: 2;
1770
+ stroke-linejoin: round;
1771
+ stroke-linecap: round;
1772
+ }
1773
+
1774
+ .moz-gantt .moz-gantt-metric-line circle {
1775
+ fill: var(--moz-gantt-metric-color, var(--moz-gantt-metric-line));
1776
+ }
1777
+
1778
+ .moz-gantt .moz-gantt-metric-zero .moz-gantt-metric-value {
1779
+ opacity: 0.6;
1780
+ }
1781
+
1782
+ .moz-gantt .moz-gantt-metric-failed .moz-gantt-metric-value {
1783
+ color: var(--moz-gantt-metric-error);
1784
+ font-weight: 700;
1785
+ opacity: 1;
1786
+ }
1787
+
1788
+ .moz-gantt .moz-gantt-metric-empty {
1789
+ position: absolute;
1790
+ left: 8px;
1791
+ top: 0;
1792
+ color: var(--moz-gantt-metric-text);
1793
+ font-size: 12px;
1794
+ line-height: 40px;
1795
+ white-space: nowrap;
1796
+ }
1797
+
1798
+ .moz-gantt .moz-gantt-metric-empty[hidden] {
1799
+ display: none;
1800
+ }
1801
+
1802
+ .moz-gantt .moz-gantt-row-metrics {
1803
+ position: absolute;
1804
+ left: 0;
1805
+ top: 0;
1806
+ width: 0;
1807
+ height: 0;
1808
+ z-index: 1;
1809
+ pointer-events: none;
1810
+ }
1811
+
1812
+ .moz-gantt .moz-gantt-row-metric {
1813
+ position: absolute;
1814
+ box-sizing: border-box;
1815
+ overflow: hidden;
1816
+ border-top: 1px dashed var(--moz-gantt-grid);
1817
+ color: var(--moz-gantt-metric-text);
1818
+ }
1819
+
1820
+ .moz-gantt .moz-gantt-row-metric .moz-gantt-metric-value {
1821
+ height: 100%;
1822
+ line-height: 17px;
1823
+ }
1824
+
1134
1825
  .moz-gantt .pv-rh-collapser {
1135
1826
  cursor: pointer;
1136
1827
  }