@nurihaus/web-design-system 3.26.0 → 3.27.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/agreement.js +6 -198
- package/dist/ai/components.md +696 -77
- package/dist/ai/migration.md +25 -0
- package/dist/ai/motion.md +10 -4
- package/dist/ai/patterns.md +1631 -663
- package/dist/ai/tokens.md +14 -8
- package/dist/check-box.js +24 -14
- package/dist/chip-group.js +23 -7
- package/dist/chunk-244.js +31 -0
- package/dist/chunk-2735.js +123 -0
- package/dist/chunk-4359.js +96 -0
- package/dist/{chunk-6096.js → chunk-4709.js} +17 -33
- package/dist/chunk-4955.js +115 -0
- package/dist/chunk-7024.js +3 -1
- package/dist/chunk-7187.js +35 -0
- package/dist/chunk-7829.js +10 -2
- package/dist/chunk-8144.js +106 -0
- package/dist/chunk-9350.js +23 -0
- package/dist/components/check-box/check-box-type.d.ts +2 -0
- package/dist/components/check-box/check-box.stories.d.ts +2 -0
- package/dist/components/chip-group/chip-group-props.d.ts +6 -3
- package/dist/components/chip-group/chip-group-type.d.ts +4 -1
- package/dist/components/chip-group/chip-group.stories.d.ts +6 -2
- package/dist/components/description-list/description-list-props.d.ts +15 -1
- package/dist/components/description-list/description-list-type.d.ts +11 -1
- package/dist/components/description-list/description-list.d.ts +1 -1
- package/dist/components/description-list/description-list.stories.d.ts +7 -0
- package/dist/components/drop-down/drop-down-type.d.ts +14 -2
- package/dist/components/drop-down/drop-down.stories.d.ts +3 -1
- package/dist/components/empty-state/empty-state-props.d.ts +3 -0
- package/dist/components/empty-state/empty-state-type.d.ts +8 -2
- package/dist/components/empty-state/empty-state.d.ts +3 -0
- package/dist/components/empty-state/empty-state.stories.d.ts +296 -4
- package/dist/components/form-field/base-form-field.d.ts +13 -0
- package/dist/components/form-field/form-field-context.d.ts +7 -0
- package/dist/components/form-field/form-field-props.d.ts +21 -0
- package/dist/components/form-field/form-field-type.d.ts +51 -0
- package/dist/components/form-field/form-field.d.ts +9 -0
- package/dist/components/form-field/form-field.stories.d.ts +335 -0
- package/dist/components/form-section/base-form-section.d.ts +4 -0
- package/dist/components/form-section/form-section-props.d.ts +2 -0
- package/dist/components/form-section/form-section-type.d.ts +16 -0
- package/dist/components/form-section/form-section.d.ts +5 -0
- package/dist/components/form-section/form-section.stories.d.ts +308 -0
- package/dist/components/icon/icon.stories.d.ts +1 -1
- package/dist/components/list/list-footer.stories.d.ts +1 -1
- package/dist/components/list/list-row.stories.d.ts +1 -1
- package/dist/components/member-card/member-card-type.d.ts +2 -0
- package/dist/components/member-card/member-card.stories.d.ts +1 -1
- package/dist/components/message/message.stories.d.ts +3 -3
- package/dist/components/modal/modal-props.d.ts +10 -3
- package/dist/components/modal/modal-type.d.ts +22 -4
- package/dist/components/modal/modal-with-double-button.stories.d.ts +16 -1
- package/dist/components/modal/modal.stories.d.ts +5 -1
- package/dist/components/notice/notice-type.d.ts +3 -0
- package/dist/components/notice/notice.stories.d.ts +279 -0
- package/dist/components/overlay/overlay-type.d.ts +1 -1
- package/dist/components/pagination/pagination-type.d.ts +10 -0
- package/dist/components/pagination/pagination.stories.d.ts +7 -1
- package/dist/components/radio/base-radio.d.ts +2 -2
- package/dist/components/radio/radio-props.d.ts +8 -2
- package/dist/components/radio/radio-type.d.ts +14 -3
- package/dist/components/radio/radio.stories.d.ts +11 -1
- package/dist/components/search-field/search-field-type.d.ts +19 -3
- package/dist/components/search-field/search-field.d.ts +1 -1
- package/dist/components/search-field/search-field.stories.d.ts +2 -0
- package/dist/components/segmented-control/segmented-control-props.d.ts +8 -0
- package/dist/components/segmented-control/segmented-control-type.d.ts +3 -1
- package/dist/components/segmented-control/segmented-control.stories.d.ts +8 -0
- package/dist/components/skeleton/skeleton.stories.d.ts +3 -3
- package/dist/components/stat/base-stat.d.ts +13 -4
- package/dist/components/stat/stat-group.d.ts +8 -0
- package/dist/components/stat/stat-group.stories.d.ts +27 -0
- package/dist/components/stat/stat-props.d.ts +5 -3
- package/dist/components/stat/stat-type.d.ts +40 -2
- package/dist/components/stat/stat.d.ts +1 -1
- package/dist/components/stat/stat.stories.d.ts +3 -1
- package/dist/components/table/base-table.d.ts +5 -1
- package/dist/components/table/data-table.d.ts +6 -1
- package/dist/components/table/table-props.d.ts +10 -0
- package/dist/components/table/table-type.d.ts +42 -6
- package/dist/components/table/table.stories.d.ts +101 -2
- package/dist/components/text-area/base-text-area.d.ts +2 -2
- package/dist/components/text-area/text-area-props.d.ts +8 -0
- package/dist/components/text-area/text-area-type.d.ts +12 -1
- package/dist/components/text-area/text-area.stories.d.ts +11 -1
- package/dist/components/text-button/text-button-type.d.ts +5 -0
- package/dist/components/text-button/text-button.stories.d.ts +2 -0
- package/dist/components/text-field/base-text-field.d.ts +2 -2
- package/dist/components/text-field/text-field-props.d.ts +8 -0
- package/dist/components/text-field/text-field-type.d.ts +13 -1
- package/dist/components/text-field/text-field.stories.d.ts +10 -2
- package/dist/components/toast/toast-props.d.ts +10 -2
- package/dist/components/toast/toast-type.d.ts +3 -1
- package/dist/components/toast/toast.stories.d.ts +18 -3
- package/dist/components.css +1598 -142
- package/dist/data-table.js +301 -50
- package/dist/description-list.js +221 -6
- package/dist/docs/patterns/desktop/admin-apply.stories.d.ts +16 -0
- package/dist/docs/patterns/desktop/admin-bulk.stories.d.ts +7 -4
- package/dist/docs/patterns/desktop/admin-dashboard.stories.d.ts +4 -2
- package/dist/docs/patterns/desktop/admin-detail.stories.d.ts +5 -0
- package/dist/docs/patterns/desktop/admin-feature-intro.stories.d.ts +18 -0
- package/dist/docs/patterns/desktop/admin-form.stories.d.ts +4 -2
- package/dist/docs/patterns/desktop/admin-list.stories.d.ts +5 -0
- package/dist/docs/patterns/desktop/admin-picker.stories.d.ts +18 -0
- package/dist/docs/patterns/desktop/admin-queue.stories.d.ts +23 -0
- package/dist/docs/patterns/desktop/admin-report.stories.d.ts +3 -2
- package/dist/docs/patterns/desktop/admin-review.stories.d.ts +6 -2
- package/dist/docs/patterns/desktop/admin-settings.stories.d.ts +6 -2
- package/dist/docs/patterns/desktop/admin-split.stories.d.ts +18 -0
- package/dist/docs/patterns/desktop/admin-states.stories.d.ts +5 -3
- package/dist/docs/patterns/desktop/admin-upload.stories.d.ts +18 -0
- package/dist/docs/patterns/desktop/admin-wallet.stories.d.ts +18 -0
- package/dist/docs/patterns/desktop/admin-wizard.stories.d.ts +6 -3
- package/dist/docs/patterns/mobile/form.stories.d.ts +1 -0
- package/dist/drop-down.js +64 -155
- package/dist/empty-state.js +26 -14
- package/dist/form-field.js +511 -0
- package/dist/form-section.js +298 -0
- package/dist/full-secure-keypad.js +4 -4
- package/dist/helpers/motion/use-attention-handle.d.ts +1 -1
- package/dist/helpers/motion/use-effect-trigger.d.ts +1 -1
- package/dist/icon-button.js +2 -1
- package/dist/icon-text-badge.js +4 -4
- package/dist/index.d.ts +6 -1
- package/dist/index.js +2213 -636
- package/dist/loading.js +6 -6
- package/dist/member-card.js +18 -13
- package/dist/modal-with-double-button.js +95 -44
- package/dist/modal.js +24 -6
- package/dist/notice.js +5 -4
- package/dist/option-badge.js +4 -4
- package/dist/overlay.js +134 -61
- package/dist/pagination.js +291 -57
- package/dist/radio.js +165 -37
- package/dist/search-field.js +188 -77
- package/dist/section-header.js +14 -7
- package/dist/segmented-control.js +9 -1
- package/dist/split-text-field.js +16 -14
- package/dist/stat-group.js +441 -0
- package/dist/stat.js +90 -75
- package/dist/styles.css +1357 -164
- package/dist/text-area.js +90 -53
- package/dist/text-button.js +14 -7
- package/dist/text-field.js +94 -62
- package/dist/toast.js +27 -15
- package/dist/tokens/generated/semantic-admin.d.ts +1 -0
- package/dist/tokens/generated/semantic-app.d.ts +2 -4
- package/dist/tokens.css +24 -9
- package/dist/tokens.js +3 -4
- package/package.json +13 -1
package/dist/styles.css
CHANGED
|
@@ -293,7 +293,6 @@
|
|
|
293
293
|
/* 메뉴 행: collapsible-menu, drop-down 항목 */
|
|
294
294
|
--menu-row-height-s: 40px;
|
|
295
295
|
--menu-row-height-m: 48px;
|
|
296
|
-
--drop-down-item-height: 46px;
|
|
297
296
|
|
|
298
297
|
/* 정사각 */
|
|
299
298
|
--checkbox-size-s: 18px;
|
|
@@ -361,6 +360,8 @@
|
|
|
361
360
|
--modal-width-s: 400px;
|
|
362
361
|
--modal-width-m: 450px;
|
|
363
362
|
--modal-width-l: 500px;
|
|
363
|
+
/* 두 칸 본문(전체 | 고른 것)을 담는 넓은 모달 */
|
|
364
|
+
--modal-width-xl: 800px;
|
|
364
365
|
|
|
365
366
|
/* 아래 시트(BottomSheet·Drawer bottom 의 fit-content·fit-screen): 손잡이 크기와 가장 큰 높이. 위 8% 는 시트 뒤 화면이 보이게 남긴다 */
|
|
366
367
|
--sheet-handle-width: 40px;
|
|
@@ -456,8 +457,13 @@
|
|
|
456
457
|
--text-button-height-m: var(--control-height-s);
|
|
457
458
|
--text-button-height-l: var(--control-height-m);
|
|
458
459
|
|
|
460
|
+
/* 폼 필드: form-field. layout='side' 의 왼쪽 라벨 칸 폭 */
|
|
461
|
+
--form-label-width: 160px;
|
|
462
|
+
|
|
459
463
|
/* 입력 상자 안 버튼: text-field·text-area 의 지우기·비밀번호 보기. 아이콘 s 와 같고 누르는 자리는 --touch-target */
|
|
460
464
|
--text-field-action-size: var(--icon-size-s);
|
|
465
|
+
/* 필수 입력 라벨 오른쪽 위 빨간 점(styles/required-dot.css 의 .nuri-required-dot) */
|
|
466
|
+
--required-dot-size: 4px;
|
|
461
467
|
|
|
462
468
|
/* 화면 아래 주 버튼 바: bottom-cta. 높이 최소값은 버튼(control xl) + 위 여백 12 + 아래 여백 20 이다.
|
|
463
469
|
takeSpace 자리가 바를 재기 전에 이 높이로 잡히고, 바를 직접 비우는 화면도 이 값을 읽는다 */
|
|
@@ -467,6 +473,8 @@
|
|
|
467
473
|
|
|
468
474
|
/* 빈 화면: empty-state 아이콘 원 */
|
|
469
475
|
--empty-state-icon-box: 64px;
|
|
476
|
+
/* size='s'(표·블록 안) 의 아이콘 원 */
|
|
477
|
+
--empty-state-icon-box-s: 48px;
|
|
470
478
|
|
|
471
479
|
/* 결과 화면: result-screen 그림 타일·안의 그림·보안 체크 배지 */
|
|
472
480
|
--result-screen-tile: 104px;
|
|
@@ -496,6 +504,9 @@
|
|
|
496
504
|
/* 화면 자판: keypad 의 키 높이. 손가락 터치(44) 보다 조금 크게 둔다 */
|
|
497
505
|
--keypad-key-height: 48px;
|
|
498
506
|
|
|
507
|
+
/* 표: data-table. 결과가 0건일 때 본문 자리에 남기는 문구 칸의 높이 */
|
|
508
|
+
--data-table-empty-height: 160px;
|
|
509
|
+
|
|
499
510
|
|
|
500
511
|
/* 문단 줄 안 조각: paragraph. 아이콘은 글자 크기를 따른다.
|
|
501
512
|
뱃지는 20px 이되 줄 높이(1lh, 문단의 것을 물려받는다)를 넘지 않는다. xsm·sm(18px 줄)에서 줄 간격이 벌어지지 않게 한다 */
|
|
@@ -540,12 +551,15 @@
|
|
|
540
551
|
/* 키보드 포커스 링. 규칙은 styles/focus.css 하나다. 링 색은 tokens/tokens.json 에 있다 */
|
|
541
552
|
--focus-ring-width: 2px;
|
|
542
553
|
--focus-ring-offset: 2px;
|
|
543
|
-
/* 입력 상자(TextField·TextArea)의 포커스 후광. 입력은 전역 포커스 링 대신 이것을 쓴다 */
|
|
544
|
-
--field-focus-halo: 3px;
|
|
545
554
|
|
|
546
555
|
/* 그림자 */
|
|
547
556
|
--shadow-popover: 0px 4px 6px -2px rgba(0, 0, 0, 0.06), 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
|
|
548
557
|
--shadow-floating: 0px 10px 30px rgba(24, 24, 27, 0.14), 0px 1px 3px rgba(24, 24, 27, 0.08);
|
|
558
|
+
/* 바탕 판 안에서 살짝 뜬 작은 판(SegmentedControl neutral 의 흰 알약) */
|
|
559
|
+
--shadow-raised: 0px 1px 3px rgba(0, 0, 0, 0.1);
|
|
560
|
+
/* 가로로 스크롤하는 칸 안의 고정 열 경계. start 는 왼쪽 고정 열이 오른쪽으로, end 는 오른쪽 고정 열이 왼쪽으로 드리운다(DataTable) */
|
|
561
|
+
--shadow-pinned-start: 6px 0 8px -6px rgba(0, 0, 0, 0.16);
|
|
562
|
+
--shadow-pinned-end: -6px 0 8px -6px rgba(0, 0, 0, 0.16);
|
|
549
563
|
|
|
550
564
|
/* 레이어. 값이 같아도 역할이 다르면 이름을 따로 둔다 */
|
|
551
565
|
--z-base: 0;
|
|
@@ -663,10 +677,12 @@
|
|
|
663
677
|
--border-default: var(--color-grey-scale-200);
|
|
664
678
|
--border-hover: var(--color-grey-scale-400);
|
|
665
679
|
--border-accent: var(--color-purple-700);
|
|
680
|
+
--border-accent-subtle: var(--color-purple-300);
|
|
666
681
|
--border-error: var(--color-accent-red-500);
|
|
667
682
|
--border-disabled: var(--color-grey-scale-200);
|
|
668
683
|
--focus-ring-color: var(--color-purple-600);
|
|
669
684
|
--surface-base: var(--color-white);
|
|
685
|
+
--surface-elevated: var(--color-white);
|
|
670
686
|
--surface-subtle: var(--color-grey-scale-50);
|
|
671
687
|
--surface-muted: var(--color-grey-scale-100);
|
|
672
688
|
--surface-strong: var(--color-grey-scale-200);
|
|
@@ -721,8 +737,6 @@
|
|
|
721
737
|
--icon-disabled: var(--color-grey-scale-300);
|
|
722
738
|
--icon-on-brand: var(--color-white);
|
|
723
739
|
--icon-brand: var(--color-purple-700);
|
|
724
|
-
--focus-halo-color: var(--color-purple-50);
|
|
725
|
-
--focus-halo-error-color: var(--color-accent-red-50);
|
|
726
740
|
--toast-description: var(--color-purple-200);
|
|
727
741
|
--toast-success-background: var(--color-accent-green-600);
|
|
728
742
|
--toast-success-description: var(--color-accent-green-100);
|
|
@@ -842,6 +856,7 @@
|
|
|
842
856
|
--border-default: var(--color-grey-scale-300);
|
|
843
857
|
--border-hover: var(--color-grey-scale-400);
|
|
844
858
|
--border-accent: var(--color-purple-900);
|
|
859
|
+
--border-accent-subtle: var(--color-purple-300);
|
|
845
860
|
--border-error: var(--color-accent-red-500);
|
|
846
861
|
--border-disabled: var(--color-grey-scale-200);
|
|
847
862
|
--focus-ring-color: var(--color-purple-600);
|
|
@@ -850,6 +865,7 @@
|
|
|
850
865
|
:root[data-ds-color-scheme='dark'], :root[data-ds-theme='app'][data-ds-color-scheme='dark'] {
|
|
851
866
|
color-scheme: dark;
|
|
852
867
|
--surface-base: var(--color-grey-scale-900);
|
|
868
|
+
--surface-elevated: var(--color-grey-scale-700);
|
|
853
869
|
--surface-subtle: var(--color-grey-scale-800);
|
|
854
870
|
--surface-muted: var(--color-grey-scale-700);
|
|
855
871
|
--surface-strong: var(--color-grey-scale-600);
|
|
@@ -890,11 +906,10 @@
|
|
|
890
906
|
--border-default: var(--color-grey-scale-600);
|
|
891
907
|
--border-hover: var(--color-grey-scale-500);
|
|
892
908
|
--border-accent: var(--color-purple-400);
|
|
909
|
+
--border-accent-subtle: var(--color-purple-600);
|
|
893
910
|
--border-error: var(--color-accent-red-400);
|
|
894
911
|
--border-disabled: var(--color-grey-scale-700);
|
|
895
912
|
--focus-ring-color: var(--color-purple-400);
|
|
896
|
-
--focus-halo-color: var(--color-purple-900);
|
|
897
|
-
--focus-halo-error-color: var(--color-accent-red-900);
|
|
898
913
|
--toast-success-background: var(--color-accent-green-800);
|
|
899
914
|
--toast-warning-background: var(--color-accent-orange-700);
|
|
900
915
|
--toast-error-background: var(--color-accent-red-600);
|
|
@@ -968,6 +983,7 @@
|
|
|
968
983
|
:root:not([data-ds-color-scheme='light']), :root[data-ds-theme='app']:not([data-ds-color-scheme='light']) {
|
|
969
984
|
color-scheme: dark;
|
|
970
985
|
--surface-base: var(--color-grey-scale-900);
|
|
986
|
+
--surface-elevated: var(--color-grey-scale-700);
|
|
971
987
|
--surface-subtle: var(--color-grey-scale-800);
|
|
972
988
|
--surface-muted: var(--color-grey-scale-700);
|
|
973
989
|
--surface-strong: var(--color-grey-scale-600);
|
|
@@ -1008,11 +1024,10 @@
|
|
|
1008
1024
|
--border-default: var(--color-grey-scale-600);
|
|
1009
1025
|
--border-hover: var(--color-grey-scale-500);
|
|
1010
1026
|
--border-accent: var(--color-purple-400);
|
|
1027
|
+
--border-accent-subtle: var(--color-purple-600);
|
|
1011
1028
|
--border-error: var(--color-accent-red-400);
|
|
1012
1029
|
--border-disabled: var(--color-grey-scale-700);
|
|
1013
1030
|
--focus-ring-color: var(--color-purple-400);
|
|
1014
|
-
--focus-halo-color: var(--color-purple-900);
|
|
1015
|
-
--focus-halo-error-color: var(--color-accent-red-900);
|
|
1016
1031
|
--toast-success-background: var(--color-accent-green-800);
|
|
1017
1032
|
--toast-warning-background: var(--color-accent-orange-700);
|
|
1018
1033
|
--toast-error-background: var(--color-accent-red-600);
|
|
@@ -1342,6 +1357,18 @@ p {
|
|
|
1342
1357
|
outline: var(--focus-ring-width) solid var(--focus-ring-color);
|
|
1343
1358
|
outline-offset: var(--focus-ring-offset);
|
|
1344
1359
|
}
|
|
1360
|
+
/* 필수 입력 표시. 라벨 글 바로 뒤에 붙는 작은 빨간 점이다(별표 대신).
|
|
1361
|
+
점은 aria-hidden 으로 두고, 필수라는 사실은 input 의 required 가 알린다 */
|
|
1362
|
+
.nuri-required-dot {
|
|
1363
|
+
display: inline-block;
|
|
1364
|
+
flex: none;
|
|
1365
|
+
width: var(--required-dot-size);
|
|
1366
|
+
height: var(--required-dot-size);
|
|
1367
|
+
margin-left: var(--spacing-2);
|
|
1368
|
+
vertical-align: top;
|
|
1369
|
+
border-radius: var(--radius-circle);
|
|
1370
|
+
background-color: var(--text-error);
|
|
1371
|
+
}
|
|
1345
1372
|
/* 공용 키프레임. 컴포넌트 CSS 보다 앞에 둔다 */
|
|
1346
1373
|
/*
|
|
1347
1374
|
* 공용 키프레임. 컴포넌트 CSS 는 @keyframes 를 두지 않고 이 이름을 쓴다(빌드 R18).
|
|
@@ -4173,14 +4200,27 @@ p {
|
|
|
4173
4200
|
height: max(100%, var(--touch-target));
|
|
4174
4201
|
transform: translate(-50%, -50%);
|
|
4175
4202
|
}
|
|
4203
|
+
.check-box:hover:not([data-disabled]) > .check-box-indicator.wrapper:not(.variant-outlined) {
|
|
4204
|
+
border-color: var(--border-accent);
|
|
4205
|
+
background-color: var(--surface-brand-subtle);
|
|
4206
|
+
}
|
|
4207
|
+
.check-box:is([data-state='checked'],[data-state='indeterminate']) > .check-box-indicator.wrapper {
|
|
4208
|
+
border-color: var(--border-accent);
|
|
4209
|
+
}
|
|
4210
|
+
/* 꺼짐은 회색 선에 아주 연한 회색 바탕, 마우스를 올리면 보라 선에 연보라 바탕, 켜짐은 보라 채움(ADR 0021).
|
|
4211
|
+
transform 은 .motion-press 의 눌림이라 함께 적는다 */
|
|
4176
4212
|
.check-box-indicator.wrapper {
|
|
4177
4213
|
display: flex;
|
|
4178
4214
|
align-items: center;
|
|
4179
4215
|
justify-content: center;
|
|
4180
4216
|
border-radius: var(--radius-mark);
|
|
4181
|
-
border: var(--border-width-strong) solid var(--border-
|
|
4182
|
-
background-color: var(--surface-
|
|
4217
|
+
border: var(--border-width-strong) solid var(--border-hover);
|
|
4218
|
+
background-color: var(--surface-subtle);
|
|
4183
4219
|
overflow: hidden;
|
|
4220
|
+
transition:
|
|
4221
|
+
transform var(--motion-press-duration) var(--motion-press-ease),
|
|
4222
|
+
border-color var(--motion-press-duration) var(--motion-press-ease),
|
|
4223
|
+
background-color var(--motion-press-duration) var(--motion-press-ease);
|
|
4184
4224
|
}
|
|
4185
4225
|
.check-box-indicator {
|
|
4186
4226
|
|
|
@@ -4203,7 +4243,7 @@ p {
|
|
|
4203
4243
|
|
|
4204
4244
|
color: var(--text-on-brand);
|
|
4205
4245
|
}
|
|
4206
|
-
.check-box-indicator[data-state='checked']:not(.wrapper) {
|
|
4246
|
+
.check-box-indicator[data-state='checked']:not(.wrapper),.check-box-indicator[data-state='indeterminate']:not(.wrapper) {
|
|
4207
4247
|
opacity: 1;
|
|
4208
4248
|
}
|
|
4209
4249
|
.check-box-indicator:not(.wrapper) > svg {
|
|
@@ -4324,16 +4364,60 @@ p {
|
|
|
4324
4364
|
background: var(--surface-brand-subtle);
|
|
4325
4365
|
color: var(--text-brand);
|
|
4326
4366
|
}
|
|
4327
|
-
/* ghost: 촘촘하거나 보조 필터. 선도 바탕도 없다가 고르면 회색
|
|
4328
|
-
|
|
4367
|
+
/* ghost: 촘촘하거나 보조 필터. 선도 바탕도 없다가 고르면 회색 면.
|
|
4368
|
+
tab: 같은 목록의 상태 거르기 칩 탭. 고르는 모양은 ghost 와 같고 개수가 알약이다 */
|
|
4369
|
+
.chip-group:is(.variant-ghost,.variant-tab) .chip-group-chip {
|
|
4329
4370
|
border-color: transparent;
|
|
4330
4371
|
background: transparent;
|
|
4331
4372
|
}
|
|
4332
|
-
[data-state='on']:is(.chip-group.variant-ghost .chip-group-chip) {
|
|
4373
|
+
[data-state='on']:is(.chip-group:is(.variant-ghost,.variant-tab) .chip-group-chip) {
|
|
4333
4374
|
border-color: transparent;
|
|
4334
4375
|
background: var(--surface-muted);
|
|
4335
4376
|
color: var(--text-primary);
|
|
4336
4377
|
}
|
|
4378
|
+
/* 개수 알약은 쉴 때 회색 면, 고른 칩에서는 뒤집은 진한 면이라 회색 알약 위에서도 보인다 */
|
|
4379
|
+
.chip-group.variant-tab .chip-group-count {
|
|
4380
|
+
min-width: var(--line-height-xsm);
|
|
4381
|
+
padding: 0 var(--spacing-6);
|
|
4382
|
+
border-radius: var(--radius-pill);
|
|
4383
|
+
background: var(--surface-muted);
|
|
4384
|
+
color: var(--text-tertiary);
|
|
4385
|
+
line-height: var(--line-height-xsm);
|
|
4386
|
+
font-weight: var(--font-weight-semibold);
|
|
4387
|
+
text-align: center;
|
|
4388
|
+
opacity: 1;
|
|
4389
|
+
}
|
|
4390
|
+
.chip-group.variant-tab .chip-group-chip[data-state='on'] .chip-group-count {
|
|
4391
|
+
background: var(--surface-inverse);
|
|
4392
|
+
color: var(--text-inverse);
|
|
4393
|
+
}
|
|
4394
|
+
/* toggle: 따로 켜고 끄는 보조 필터('…만 보기'). 쉴 때 점선과 회색 체크, 켜면 연한 주색 면에 실선·주색 체크 */
|
|
4395
|
+
.chip-group.variant-toggle .chip-group-chip {
|
|
4396
|
+
gap: var(--spacing-4);
|
|
4397
|
+
border-style: dashed;
|
|
4398
|
+
background: transparent;
|
|
4399
|
+
color: var(--text-secondary);
|
|
4400
|
+
}
|
|
4401
|
+
:is(.chip-group.variant-toggle .chip-group-chip) .chip-group-check {
|
|
4402
|
+
color: var(--icon-tertiary);
|
|
4403
|
+
}
|
|
4404
|
+
[data-state='on']:is(.chip-group.variant-toggle .chip-group-chip) {
|
|
4405
|
+
border-style: solid;
|
|
4406
|
+
border-color: var(--border-accent);
|
|
4407
|
+
background: var(--surface-brand-subtle);
|
|
4408
|
+
color: var(--text-brand);
|
|
4409
|
+
font-weight: var(--font-weight-medium);
|
|
4410
|
+
}
|
|
4411
|
+
[data-state='on']:is(.chip-group.variant-toggle .chip-group-chip) .chip-group-check {
|
|
4412
|
+
color: var(--icon-brand);
|
|
4413
|
+
}
|
|
4414
|
+
[data-disabled]:is(.chip-group.variant-toggle .chip-group-chip) {
|
|
4415
|
+
border-color: var(--border-disabled);
|
|
4416
|
+
color: var(--text-disabled);
|
|
4417
|
+
}
|
|
4418
|
+
[data-disabled]:is(.chip-group.variant-toggle .chip-group-chip) .chip-group-check {
|
|
4419
|
+
color: var(--text-disabled);
|
|
4420
|
+
}
|
|
4337
4421
|
/* filled(기본): 페이지 바탕 위. 연회색 바탕과 선, 고르면 보라 채움(무드 규칙 8) */
|
|
4338
4422
|
.chip-group-chip {
|
|
4339
4423
|
border: var(--hairline) solid var(--border-default);
|
|
@@ -4543,6 +4627,88 @@ p {
|
|
|
4543
4627
|
line-height: var(--line-height-base);
|
|
4544
4628
|
font-weight: var(--font-weight-bold);
|
|
4545
4629
|
}
|
|
4630
|
+
/* 값 옆 복사 버튼. 버튼(36) 이 글 한 줄 높이보다 커도 줄 높이를 늘리지 않게 위아래를 겹친다 */
|
|
4631
|
+
.description-list-item > dd.has-copy {
|
|
4632
|
+
/* 숨긴 알림 칸을 제 칸에 묶는다. 묶지 않으면 잘라 주는 조상 밖으로 나가 문서를 가로로 넓힌다 */
|
|
4633
|
+
position: relative;
|
|
4634
|
+
display: flex;
|
|
4635
|
+
align-items: center;
|
|
4636
|
+
justify-content: flex-end;
|
|
4637
|
+
gap: var(--spacing-4);
|
|
4638
|
+
}
|
|
4639
|
+
.description-list-value {
|
|
4640
|
+
min-width: 0;
|
|
4641
|
+
word-break: break-all;
|
|
4642
|
+
}
|
|
4643
|
+
.description-list-copy {
|
|
4644
|
+
flex: none;
|
|
4645
|
+
margin-block: calc((var(--line-height-sm) - var(--icon-button-size-s)) / 2);
|
|
4646
|
+
}
|
|
4647
|
+
/* 화면에 보이지 않고 화면 낭독기만 읽는 알림 자리 */
|
|
4648
|
+
.description-list-copy-status {
|
|
4649
|
+
position: absolute;
|
|
4650
|
+
width: var(--hairline);
|
|
4651
|
+
height: var(--hairline);
|
|
4652
|
+
overflow: hidden;
|
|
4653
|
+
clip-path: inset(50%);
|
|
4654
|
+
white-space: nowrap;
|
|
4655
|
+
}
|
|
4656
|
+
/* side: 고정 폭 이름 칸 옆에 값이 왼쪽부터 선다(정보 카드). 이름 칸 폭은 FormField 의 side 라벨 칸과 같다 */
|
|
4657
|
+
.description-list.layout-side {
|
|
4658
|
+
gap: var(--spacing-12);
|
|
4659
|
+
}
|
|
4660
|
+
.description-list.layout-side .description-list-item {
|
|
4661
|
+
display: grid;
|
|
4662
|
+
grid-template-columns: min(var(--form-label-width), 40%) minmax(0, 1fr);
|
|
4663
|
+
align-items: center;
|
|
4664
|
+
}
|
|
4665
|
+
.description-list.layout-side .description-list-item > dd {
|
|
4666
|
+
display: flex;
|
|
4667
|
+
flex-wrap: wrap;
|
|
4668
|
+
align-items: center;
|
|
4669
|
+
justify-content: flex-start;
|
|
4670
|
+
gap: var(--spacing-6);
|
|
4671
|
+
font-weight: var(--font-weight-regular);
|
|
4672
|
+
text-align: start;
|
|
4673
|
+
}
|
|
4674
|
+
/* grid: 회색 이름 칸과 값 칸이 번갈아 서는 4열 표. 줄(div)은 칸을 만들지 않고 dt·dd 가 바로 격자 칸이 된다 */
|
|
4675
|
+
.description-list.layout-grid {
|
|
4676
|
+
display: grid;
|
|
4677
|
+
grid-template-columns:
|
|
4678
|
+
var(--form-label-width) minmax(0, 1fr)
|
|
4679
|
+
var(--form-label-width) minmax(0, 1fr);
|
|
4680
|
+
gap: 0;
|
|
4681
|
+
border-top: var(--hairline) solid var(--border-default);
|
|
4682
|
+
|
|
4683
|
+
/* 좁은 화면은 이름 | 값 두 열로 접는다 */
|
|
4684
|
+
}
|
|
4685
|
+
@media (width < 768px) {
|
|
4686
|
+
.description-list.layout-grid {
|
|
4687
|
+
grid-template-columns: min(var(--form-label-width), 40%) minmax(0, 1fr);
|
|
4688
|
+
}
|
|
4689
|
+
}
|
|
4690
|
+
.description-list.layout-grid .description-list-item {
|
|
4691
|
+
display: contents;
|
|
4692
|
+
}
|
|
4693
|
+
.description-list.layout-grid .description-list-item > dt,.description-list.layout-grid .description-list-item > dd {
|
|
4694
|
+
display: flex;
|
|
4695
|
+
flex-wrap: wrap;
|
|
4696
|
+
align-items: center;
|
|
4697
|
+
gap: var(--spacing-6);
|
|
4698
|
+
min-width: 0;
|
|
4699
|
+
padding: var(--spacing-12) var(--spacing-16);
|
|
4700
|
+
border-bottom: var(--hairline) solid var(--border-subtle);
|
|
4701
|
+
}
|
|
4702
|
+
.description-list.layout-grid .description-list-item > dt {
|
|
4703
|
+
background-color: var(--surface-subtle);
|
|
4704
|
+
color: var(--text-secondary);
|
|
4705
|
+
font-weight: var(--font-weight-medium);
|
|
4706
|
+
}
|
|
4707
|
+
.description-list.layout-grid .description-list-item > dd {
|
|
4708
|
+
justify-content: flex-start;
|
|
4709
|
+
font-weight: var(--font-weight-regular);
|
|
4710
|
+
text-align: start;
|
|
4711
|
+
}
|
|
4546
4712
|
/* Title·Close 같은 조각도 base-drawer 를 달므로 상자 스타일은 overlay·content 에만 건다. */
|
|
4547
4713
|
.base-drawer:where(.overlay) {
|
|
4548
4714
|
position: fixed;
|
|
@@ -4716,6 +4882,10 @@ p {
|
|
|
4716
4882
|
.base-drop-down.content {
|
|
4717
4883
|
max-height: var(--radix-select-content-available-height);
|
|
4718
4884
|
}
|
|
4885
|
+
.base-drop-down:where(.item-indicator) {
|
|
4886
|
+
display: inline-flex;
|
|
4887
|
+
flex: none;
|
|
4888
|
+
}
|
|
4719
4889
|
/***************************************************************************************************
|
|
4720
4890
|
* *
|
|
4721
4891
|
* drop-down-single *
|
|
@@ -4754,14 +4924,42 @@ p {
|
|
|
4754
4924
|
}
|
|
4755
4925
|
.drop-down-single-trigger {
|
|
4756
4926
|
|
|
4927
|
+
/* 입력 상자와 같은 선(ADR 0021). 흰 바탕에 회색 1px, 마우스를 올리면 연보라, 포커스·열림이면 보라 2px.
|
|
4928
|
+
2px 는 1px border 에 안쪽 1px 그림자를 겹쳐 상자 크기가 흔들리지 않는다 */
|
|
4929
|
+
box-sizing: border-box;
|
|
4757
4930
|
border: var(--hairline) solid var(--border-default);
|
|
4758
4931
|
border-radius: var(--radius-control);
|
|
4759
4932
|
width: -moz-fit-content;
|
|
4760
4933
|
width: fit-content;
|
|
4761
4934
|
background-color: var(--surface-base);
|
|
4935
|
+
color: var(--text-primary);
|
|
4936
|
+
transition:
|
|
4937
|
+
border-color var(--motion-press-duration) var(--motion-press-ease),
|
|
4938
|
+
box-shadow var(--motion-press-duration) var(--motion-press-ease);
|
|
4762
4939
|
}
|
|
4763
|
-
.drop-down-single-trigger:focus {
|
|
4940
|
+
.drop-down-single-trigger:hover:not(:focus,[data-state='open'],[data-disabled],.error) {
|
|
4941
|
+
border-color: var(--border-accent-subtle);
|
|
4942
|
+
box-shadow: inset 0 0 0 var(--hairline) var(--border-accent-subtle);
|
|
4943
|
+
}
|
|
4944
|
+
.drop-down-single-trigger:focus,.drop-down-single-trigger[data-state='open'] {
|
|
4764
4945
|
border-color: var(--border-accent);
|
|
4946
|
+
box-shadow: inset 0 0 0 var(--hairline) var(--border-accent);
|
|
4947
|
+
}
|
|
4948
|
+
/* 포커스는 선이 보여 준다. 전역 포커스 링은 끈다 */
|
|
4949
|
+
.drop-down-single-trigger:focus-visible {
|
|
4950
|
+
outline: none;
|
|
4951
|
+
}
|
|
4952
|
+
.drop-down-single-trigger.error {
|
|
4953
|
+
border-color: var(--border-error);
|
|
4954
|
+
}
|
|
4955
|
+
.drop-down-single-trigger.error:focus,.drop-down-single-trigger.error[data-state='open'] {
|
|
4956
|
+
box-shadow: inset 0 0 0 var(--hairline) var(--border-error);
|
|
4957
|
+
}
|
|
4958
|
+
.drop-down-single-trigger[data-disabled] {
|
|
4959
|
+
border-color: var(--border-disabled);
|
|
4960
|
+
background-color: var(--surface-muted);
|
|
4961
|
+
color: var(--text-disabled);
|
|
4962
|
+
cursor: var(--cursor-disabled);
|
|
4765
4963
|
}
|
|
4766
4964
|
.drop-down-single-trigger[data-placeholder] .drop-down-single-icon {
|
|
4767
4965
|
color: var(--text-placeholder);
|
|
@@ -4787,7 +4985,7 @@ p {
|
|
|
4787
4985
|
.drop-down-single-value {
|
|
4788
4986
|
font-size: inherit;
|
|
4789
4987
|
line-height: inherit;
|
|
4790
|
-
font-weight: var(--font-weight-
|
|
4988
|
+
font-weight: var(--font-weight-regular);
|
|
4791
4989
|
|
|
4792
4990
|
text-align: left;
|
|
4793
4991
|
}
|
|
@@ -4797,42 +4995,69 @@ p {
|
|
|
4797
4995
|
.drop-down-single-value ::placeholder {
|
|
4798
4996
|
color: var(--text-placeholder);
|
|
4799
4997
|
}
|
|
4998
|
+
/* 목록 판: 흰 바탕·그림자, 위아래 안쪽 여백. 항목은 좌우로 들어간 둥근 행이다 */
|
|
4800
4999
|
.drop-down-single-content {
|
|
4801
5000
|
z-index: var(--z-popover);
|
|
5001
|
+
box-sizing: border-box;
|
|
4802
5002
|
min-width: var(--radix-select-trigger-width);
|
|
4803
5003
|
overflow: hidden;
|
|
5004
|
+
padding: var(--spacing-6) 0;
|
|
5005
|
+
border: var(--hairline) solid var(--border-default);
|
|
5006
|
+
background-color: var(--surface-base);
|
|
4804
5007
|
box-shadow: var(--shadow-popover);
|
|
4805
5008
|
border-radius: var(--radius-control);
|
|
4806
5009
|
|
|
4807
5010
|
/* 펼침(unfold)은 공용 .motion-unfold 클래스가 그린다. Radix Select 는 닫히면 목록을 바로 지워 퇴장 애니메이션을 둘 수 없다 */
|
|
4808
5011
|
}
|
|
4809
5012
|
.drop-down-single-item {
|
|
4810
|
-
|
|
4811
|
-
|
|
4812
|
-
|
|
5013
|
+
display: flex;
|
|
5014
|
+
align-items: center;
|
|
5015
|
+
justify-content: space-between;
|
|
5016
|
+
gap: var(--spacing-8);
|
|
5017
|
+
box-sizing: border-box;
|
|
5018
|
+
height: var(--menu-row-height-s);
|
|
5019
|
+
margin: 0 var(--spacing-6);
|
|
5020
|
+
padding: 0 var(--spacing-12);
|
|
5021
|
+
border-radius: var(--radius-mark);
|
|
5022
|
+
background-color: transparent;
|
|
4813
5023
|
|
|
4814
5024
|
font-size: var(--font-size-sm);
|
|
4815
5025
|
line-height: var(--line-height-sm);
|
|
4816
|
-
font-weight: var(--font-weight-
|
|
5026
|
+
font-weight: var(--font-weight-regular);
|
|
5027
|
+
color: var(--text-primary);
|
|
4817
5028
|
|
|
4818
5029
|
cursor: pointer;
|
|
5030
|
+
|
|
5031
|
+
/* 키보드 이동·호버는 Radix 가 단 data-highlighted 배경이 보여 준다. 주색이 아니라 중립 회색이다 */
|
|
4819
5032
|
}
|
|
4820
5033
|
.drop-down-single-item[data-highlighted] {
|
|
4821
|
-
background-color: var(--surface-
|
|
5034
|
+
background-color: var(--surface-muted);
|
|
5035
|
+
}
|
|
5036
|
+
/* 고른 항목은 굵게, 오른쪽에 체크가 붙는다 */
|
|
5037
|
+
.drop-down-single-item[data-state='checked'] {
|
|
5038
|
+
font-weight: var(--font-weight-semibold);
|
|
4822
5039
|
}
|
|
5040
|
+
.drop-down-single-item[data-state='checked'] .base-drop-down:where(.item-indicator) {
|
|
5041
|
+
color: var(--text-brand);
|
|
5042
|
+
}
|
|
4823
5043
|
/* 눌림은 딤만(press form dim). 행이 줄면 목록 가장자리에 틈이 보인다.
|
|
4824
|
-
딤 색은
|
|
5044
|
+
딤 색은 강조 배경과 같은 중립 회색 색조다 */
|
|
4825
5045
|
.drop-down-single-item.motion-press-dim::after {
|
|
4826
|
-
background: var(--surface-
|
|
5046
|
+
background: var(--surface-strong);
|
|
4827
5047
|
}
|
|
4828
5048
|
/* 키보드 이동은 data-highlighted 배경이 보여 준다. 전역 포커스 링은 끈다 */
|
|
4829
5049
|
.drop-down-single-item:focus-visible {
|
|
4830
5050
|
outline: none;
|
|
4831
5051
|
}
|
|
4832
|
-
.drop-down-single-item
|
|
4833
|
-
|
|
4834
|
-
|
|
4835
|
-
|
|
5052
|
+
.drop-down-single-item[data-disabled] {
|
|
5053
|
+
color: var(--text-disabled);
|
|
5054
|
+
cursor: var(--cursor-disabled);
|
|
5055
|
+
}
|
|
5056
|
+
/* 좁은 화면은 손가락으로 누른다. 행을 터치 높이까지 키운다 */
|
|
5057
|
+
@media (width < 768px) {
|
|
5058
|
+
.drop-down-single-item {
|
|
5059
|
+
height: var(--touch-target);
|
|
5060
|
+
}
|
|
4836
5061
|
}
|
|
4837
5062
|
.base-text:where(.xsm) {
|
|
4838
5063
|
font-size: var(--font-size-xsm);
|
|
@@ -5364,6 +5589,25 @@ p {
|
|
|
5364
5589
|
background-color: var(--surface-success-subtle);
|
|
5365
5590
|
color: var(--text-success);
|
|
5366
5591
|
}
|
|
5592
|
+
/* 표·블록 안의 작은 빈 자리. 제목도 회색이라 둘레 내용보다 앞에 나서지 않는다 */
|
|
5593
|
+
.empty-state.size-s {
|
|
5594
|
+
gap: var(--spacing-4);
|
|
5595
|
+
padding: var(--spacing-16) var(--spacing-12);
|
|
5596
|
+
}
|
|
5597
|
+
.empty-state.size-s .empty-state-icon {
|
|
5598
|
+
width: var(--empty-state-icon-box-s);
|
|
5599
|
+
height: var(--empty-state-icon-box-s);
|
|
5600
|
+
margin-bottom: var(--spacing-4);
|
|
5601
|
+
}
|
|
5602
|
+
.empty-state.size-s .empty-state-title {
|
|
5603
|
+
font-size: var(--font-size-sm);
|
|
5604
|
+
line-height: var(--line-height-sm);
|
|
5605
|
+
font-weight: var(--font-weight-medium);
|
|
5606
|
+
color: var(--text-secondary);
|
|
5607
|
+
}
|
|
5608
|
+
.empty-state.size-s .empty-state-action {
|
|
5609
|
+
margin-top: var(--spacing-4);
|
|
5610
|
+
}
|
|
5367
5611
|
/* figure 는 쓰는 쪽 그림을 크기 그대로 아이콘 원 자리에 둔다 */
|
|
5368
5612
|
.empty-state-figure {
|
|
5369
5613
|
display: flex;
|
|
@@ -5399,95 +5643,299 @@ p {
|
|
|
5399
5643
|
.empty-state-action {
|
|
5400
5644
|
margin-top: var(--spacing-8);
|
|
5401
5645
|
}
|
|
5402
|
-
/*
|
|
5403
|
-
.base-
|
|
5404
|
-
|
|
5405
|
-
|
|
5406
|
-
|
|
5407
|
-
|
|
5646
|
+
/* 컨트롤에 라벨·도움말을 붙이는 행. 조각: label · panel · columns */
|
|
5647
|
+
.base-form-field:where(.root) {
|
|
5648
|
+
min-width: 0;
|
|
5649
|
+
}
|
|
5650
|
+
.base-form-field:where(.columns) {
|
|
5651
|
+
display: grid;
|
|
5652
|
+
}
|
|
5408
5653
|
/***************************************************************************************************
|
|
5409
5654
|
* *
|
|
5410
|
-
*
|
|
5655
|
+
* form-field *
|
|
5411
5656
|
* *
|
|
5412
5657
|
***************************************************************************************************/
|
|
5413
|
-
|
|
5414
|
-
|
|
5415
|
-
--
|
|
5658
|
+
/* 라벨 칸 폭은 이 필드에만 둔다. 안에 겹친 FormField 는 제 기본값으로 돌아간다 */
|
|
5659
|
+
.form-field {
|
|
5660
|
+
--form-field-label-width: var(--form-label-width);
|
|
5416
5661
|
|
|
5417
|
-
|
|
5662
|
+
display: flex;
|
|
5663
|
+
flex-direction: column;
|
|
5664
|
+
/* 라벨과 컨트롤 사이는 TextField·TextArea 의 title 간격과 같다 */
|
|
5665
|
+
gap: var(--spacing-6);
|
|
5418
5666
|
|
|
5419
|
-
/*
|
|
5667
|
+
/* 왼쪽 고정 폭 라벨 칸. 라벨은 위에 붙어 있고 첫 줄 컨트롤(44px) 가운데에 맞는다.
|
|
5668
|
+
아래로 하위 패널이 길어져도 라벨은 위에 남는다 */
|
|
5420
5669
|
}
|
|
5421
|
-
.
|
|
5422
|
-
|
|
5423
|
-
|
|
5424
|
-
|
|
5425
|
-
|
|
5426
|
-
|
|
5427
|
-
|
|
5670
|
+
.form-field.layout-side {
|
|
5671
|
+
display: grid;
|
|
5672
|
+
grid-template-columns: var(--form-field-label-width) minmax(0, 1fr);
|
|
5673
|
+
align-items: start;
|
|
5674
|
+
gap: 0;
|
|
5675
|
+
|
|
5676
|
+
/* 자식 결합자로 좁힌다. Panel 안에 겹친 top 필드에 번지지 않게 한다 */
|
|
5428
5677
|
}
|
|
5429
|
-
.
|
|
5430
|
-
|
|
5431
|
-
|
|
5432
|
-
|
|
5433
|
-
|
|
5434
|
-
|
|
5435
|
-
|
|
5678
|
+
.form-field.layout-side > .form-field-head {
|
|
5679
|
+
align-content: center;
|
|
5680
|
+
min-height: var(--control-height-m);
|
|
5681
|
+
padding-inline-end: var(--spacing-16);
|
|
5682
|
+
}
|
|
5683
|
+
:is(.form-field.layout-side > .form-field-head) > .form-field-label {
|
|
5684
|
+
color: var(--text-body);
|
|
5685
|
+
}
|
|
5686
|
+
/* 좁은 화면에서는 라벨을 위로 쌓는다. grid 의 start 를 되돌려야 컨트롤이 폭을 채운다 */
|
|
5687
|
+
@media (width < 768px) {
|
|
5688
|
+
.form-field.layout-side {
|
|
5689
|
+
display: flex;
|
|
5690
|
+
align-items: stretch;
|
|
5691
|
+
gap: var(--spacing-6);
|
|
5436
5692
|
}
|
|
5437
|
-
|
|
5693
|
+
|
|
5694
|
+
.form-field.layout-side > .form-field-head {
|
|
5695
|
+
min-height: 0;
|
|
5696
|
+
padding-inline-end: 0;
|
|
5697
|
+
}
|
|
5698
|
+
}
|
|
5699
|
+
.form-field-head {
|
|
5438
5700
|
display: flex;
|
|
5439
|
-
flex:
|
|
5440
|
-
|
|
5441
|
-
|
|
5442
|
-
|
|
5443
|
-
padding: var(--spacing-30) var(--spacing-20) 0;
|
|
5701
|
+
flex-wrap: wrap;
|
|
5702
|
+
align-items: center;
|
|
5703
|
+
gap: var(--spacing-4) var(--spacing-8);
|
|
5704
|
+
min-width: 0;
|
|
5444
5705
|
}
|
|
5445
|
-
|
|
5446
|
-
|
|
5447
|
-
|
|
5448
|
-
|
|
5449
|
-
|
|
5450
|
-
|
|
5451
|
-
height: var(--result-screen-tile);
|
|
5452
|
-
border-radius: var(--radius-surface);
|
|
5453
|
-
animation: motion-result-pop var(--motion-result-strong-duration) var(--motion-result-strong-ease)
|
|
5454
|
-
var(--motion-result-figure-delay) both;
|
|
5706
|
+
.form-field-label {
|
|
5707
|
+
color: var(--text-secondary);
|
|
5708
|
+
font-size: var(--font-size-sm);
|
|
5709
|
+
line-height: var(--line-height-sm);
|
|
5710
|
+
font-weight: var(--font-weight-medium);
|
|
5711
|
+
overflow-wrap: anywhere;
|
|
5455
5712
|
}
|
|
5456
|
-
.
|
|
5457
|
-
|
|
5458
|
-
|
|
5459
|
-
|
|
5460
|
-
/* figure 는 쓰는 쪽 그림을 그대로. 같은 차례로 나타난다 */
|
|
5461
|
-
.result-screen-figure {
|
|
5462
|
-
animation: motion-result-pop var(--motion-result-strong-duration) var(--motion-result-strong-ease)
|
|
5463
|
-
var(--motion-result-figure-delay) both;
|
|
5713
|
+
.form-field-hint {
|
|
5714
|
+
color: var(--text-muted);
|
|
5715
|
+
font-size: var(--font-size-sm);
|
|
5716
|
+
line-height: var(--line-height-sm);
|
|
5464
5717
|
}
|
|
5465
|
-
|
|
5466
|
-
|
|
5467
|
-
fill: none;
|
|
5468
|
-
stroke: currentColor;
|
|
5469
|
-
stroke-width: 5;
|
|
5470
|
-
stroke-linecap: round;
|
|
5471
|
-
stroke-linejoin: round;
|
|
5472
|
-
stroke-dasharray: var(--result-stroke-length);
|
|
5473
|
-
animation: motion-result-draw var(--motion-result-duration) var(--motion-result-ease) var(--motion-result-glyph-delay)
|
|
5474
|
-
both;
|
|
5718
|
+
.form-field-label-action {
|
|
5719
|
+
display: inline-flex;
|
|
5475
5720
|
}
|
|
5476
|
-
.
|
|
5477
|
-
|
|
5721
|
+
.form-field-body {
|
|
5722
|
+
min-width: 0;
|
|
5478
5723
|
}
|
|
5479
|
-
/*
|
|
5480
|
-
.
|
|
5481
|
-
|
|
5482
|
-
|
|
5483
|
-
|
|
5484
|
-
|
|
5485
|
-
transform-box: fill-box;
|
|
5486
|
-
transform-origin: 10% 100%;
|
|
5487
|
-
animation: motion-result-latch var(--motion-result-strong-duration) var(--motion-result-strong-ease)
|
|
5488
|
-
var(--motion-result-glyph-delay) both;
|
|
5724
|
+
/* note 가 있을 때만 컨트롤과 한 줄이다. 컨트롤은 제 폭이고 note 가 넘치면 아래 줄로 내려간다 */
|
|
5725
|
+
.form-field-control-row {
|
|
5726
|
+
display: flex;
|
|
5727
|
+
flex-wrap: wrap;
|
|
5728
|
+
align-items: center;
|
|
5729
|
+
gap: var(--spacing-8) var(--spacing-12);
|
|
5489
5730
|
}
|
|
5490
|
-
|
|
5731
|
+
.form-field-control-row .form-field-control {
|
|
5732
|
+
flex: 0 1 auto;
|
|
5733
|
+
}
|
|
5734
|
+
.form-field-control {
|
|
5735
|
+
min-width: 0;
|
|
5736
|
+
}
|
|
5737
|
+
.form-field-note {
|
|
5738
|
+
display: flex;
|
|
5739
|
+
flex: 1 1 auto;
|
|
5740
|
+
align-items: center;
|
|
5741
|
+
gap: var(--spacing-4);
|
|
5742
|
+
min-width: 0;
|
|
5743
|
+
margin: 0;
|
|
5744
|
+
color: var(--text-muted);
|
|
5745
|
+
font-size: var(--font-size-sm);
|
|
5746
|
+
line-height: var(--line-height-sm);
|
|
5747
|
+
}
|
|
5748
|
+
.form-field-note-icon {
|
|
5749
|
+
flex: none;
|
|
5750
|
+
}
|
|
5751
|
+
/* live 영역은 늘 있다. 글이 있을 때만 컨트롤과 간격을 둔다 */
|
|
5752
|
+
.form-field-message:not(:empty) {
|
|
5753
|
+
margin-top: var(--spacing-6);
|
|
5754
|
+
}
|
|
5755
|
+
.form-field-message-text {
|
|
5756
|
+
margin: 0;
|
|
5757
|
+
color: var(--text-muted);
|
|
5758
|
+
font-size: var(--font-size-sm);
|
|
5759
|
+
line-height: var(--line-height-sm);
|
|
5760
|
+
}
|
|
5761
|
+
.form-field-message-text.error {
|
|
5762
|
+
color: var(--text-error);
|
|
5763
|
+
}
|
|
5764
|
+
/* 조건부 하위 필드 면. 흰 카드 위에서 한 단계 짙다. 앞 컨트롤과는 12 떨어진다 */
|
|
5765
|
+
.form-field-panel {
|
|
5766
|
+
display: flex;
|
|
5767
|
+
flex-direction: column;
|
|
5768
|
+
gap: var(--spacing-16);
|
|
5769
|
+
padding: var(--spacing-20);
|
|
5770
|
+
border-radius: var(--radius-control);
|
|
5771
|
+
background-color: var(--surface-subtle);
|
|
5772
|
+
}
|
|
5773
|
+
.form-field-panel:not(:first-child) {
|
|
5774
|
+
margin-top: var(--spacing-12);
|
|
5775
|
+
}
|
|
5776
|
+
/* 좁은 화면에서는 한 열이고 줄 간격은 둘레(FormSection·Panel)의 필드 간격을 이어받는다 */
|
|
5777
|
+
.form-field-columns {
|
|
5778
|
+
grid-template-columns: repeat(var(--form-field-columns), minmax(0, 1fr));
|
|
5779
|
+
gap: var(--spacing-12);
|
|
5780
|
+
}
|
|
5781
|
+
@media (width < 768px) {
|
|
5782
|
+
.form-field-columns {
|
|
5783
|
+
grid-template-columns: minmax(0, 1fr);
|
|
5784
|
+
row-gap: inherit;
|
|
5785
|
+
}
|
|
5786
|
+
}
|
|
5787
|
+
.base-form-section {
|
|
5788
|
+
display: flex;
|
|
5789
|
+
flex-direction: column;
|
|
5790
|
+
min-width: 0;
|
|
5791
|
+
}
|
|
5792
|
+
/***************************************************************************************************
|
|
5793
|
+
* *
|
|
5794
|
+
* form-section *
|
|
5795
|
+
* *
|
|
5796
|
+
***************************************************************************************************/
|
|
5797
|
+
/* 연회색 페이지 바탕 위 흰 면. 그림자·테두리가 없다(무드 규칙 2) */
|
|
5798
|
+
.form-section {
|
|
5799
|
+
gap: var(--spacing-20);
|
|
5800
|
+
padding: var(--spacing-24);
|
|
5801
|
+
border-radius: var(--radius-surface);
|
|
5802
|
+
background-color: var(--surface-base);
|
|
5803
|
+
}
|
|
5804
|
+
@media (width < 768px) {
|
|
5805
|
+
.form-section {
|
|
5806
|
+
padding: var(--spacing-20);
|
|
5807
|
+
}
|
|
5808
|
+
}
|
|
5809
|
+
.form-section-head {
|
|
5810
|
+
display: flex;
|
|
5811
|
+
align-items: flex-start;
|
|
5812
|
+
gap: var(--spacing-12);
|
|
5813
|
+
min-width: 0;
|
|
5814
|
+
}
|
|
5815
|
+
.form-section-heading {
|
|
5816
|
+
display: flex;
|
|
5817
|
+
flex: 1;
|
|
5818
|
+
flex-direction: column;
|
|
5819
|
+
gap: var(--spacing-4);
|
|
5820
|
+
min-width: 0;
|
|
5821
|
+
}
|
|
5822
|
+
/* 리셋 없이 쓰는 앱의 h2~h4 여백을 받지 않는다. lg 라 자간이 없다(ADR 0015) */
|
|
5823
|
+
.form-section-title {
|
|
5824
|
+
margin: 0;
|
|
5825
|
+
color: var(--text-primary);
|
|
5826
|
+
font-size: var(--font-size-lg);
|
|
5827
|
+
line-height: var(--line-height-lg);
|
|
5828
|
+
font-weight: var(--font-weight-bold);
|
|
5829
|
+
overflow-wrap: anywhere;
|
|
5830
|
+
}
|
|
5831
|
+
.form-section-description {
|
|
5832
|
+
margin: 0;
|
|
5833
|
+
color: var(--text-secondary);
|
|
5834
|
+
font-size: var(--font-size-sm);
|
|
5835
|
+
line-height: var(--line-height-sm);
|
|
5836
|
+
}
|
|
5837
|
+
.form-section-action {
|
|
5838
|
+
display: flex;
|
|
5839
|
+
flex: none;
|
|
5840
|
+
align-items: center;
|
|
5841
|
+
gap: var(--spacing-8);
|
|
5842
|
+
}
|
|
5843
|
+
/* 필드 사이를 넉넉히 띄운다. 안의 FormField.Columns 는 좁은 화면에서 이 간격을 이어받는다 */
|
|
5844
|
+
.form-section-body {
|
|
5845
|
+
display: flex;
|
|
5846
|
+
flex-direction: column;
|
|
5847
|
+
gap: var(--spacing-20);
|
|
5848
|
+
min-width: 0;
|
|
5849
|
+
}
|
|
5850
|
+
/* 결과 화면 전체 — 그림·글을 세로 가운데에, 주 버튼은 BottomCTA 로 아래에 고정한다 */
|
|
5851
|
+
.base-result-screen {
|
|
5852
|
+
display: flex;
|
|
5853
|
+
flex-direction: column;
|
|
5854
|
+
min-height: 100dvh;
|
|
5855
|
+
}
|
|
5856
|
+
/***************************************************************************************************
|
|
5857
|
+
* *
|
|
5858
|
+
* result-screen *
|
|
5859
|
+
* *
|
|
5860
|
+
***************************************************************************************************/
|
|
5861
|
+
.result-screen {
|
|
5862
|
+
/* 그림 안 선이 그려질 길이 — motion-result-draw 가 이 값에서 0 으로 간다 */
|
|
5863
|
+
--result-stroke-length: 60;
|
|
5864
|
+
|
|
5865
|
+
background-color: var(--surface-base);
|
|
5866
|
+
|
|
5867
|
+
/* variant 는 타일 바탕과 그림 색을 정한다 */
|
|
5868
|
+
}
|
|
5869
|
+
.result-screen.variant-success .result-screen-tile,.result-screen.variant-security .result-screen-tile {
|
|
5870
|
+
background-color: var(--surface-brand-subtle);
|
|
5871
|
+
color: var(--icon-brand);
|
|
5872
|
+
}
|
|
5873
|
+
.result-screen.variant-neutral .result-screen-tile,.result-screen.variant-farewell .result-screen-tile {
|
|
5874
|
+
background-color: var(--surface-muted);
|
|
5875
|
+
color: var(--icon-secondary);
|
|
5876
|
+
}
|
|
5877
|
+
.result-screen.variant-failure .result-screen-tile {
|
|
5878
|
+
background-color: var(--surface-danger-subtle);
|
|
5879
|
+
color: var(--text-danger);
|
|
5880
|
+
animation:
|
|
5881
|
+
motion-result-pop var(--motion-result-strong-duration) var(--motion-result-strong-ease)
|
|
5882
|
+
var(--motion-result-figure-delay) both,
|
|
5883
|
+
motion-result-shake var(--motion-reject-duration) var(--motion-reject-ease) var(--motion-result-title-delay);
|
|
5884
|
+
}
|
|
5885
|
+
.result-screen-content {
|
|
5886
|
+
display: flex;
|
|
5887
|
+
flex: 1;
|
|
5888
|
+
flex-direction: column;
|
|
5889
|
+
justify-content: center;
|
|
5890
|
+
gap: var(--spacing-28);
|
|
5891
|
+
padding: var(--spacing-30) var(--spacing-20) 0;
|
|
5892
|
+
}
|
|
5893
|
+
/* 그림 타일 — 모든 variant 가 같은 크기·모서리. 튀어 오르며 나타난다 */
|
|
5894
|
+
.result-screen-tile {
|
|
5895
|
+
position: relative;
|
|
5896
|
+
display: grid;
|
|
5897
|
+
place-items: center;
|
|
5898
|
+
width: var(--result-screen-tile);
|
|
5899
|
+
height: var(--result-screen-tile);
|
|
5900
|
+
border-radius: var(--radius-surface);
|
|
5901
|
+
animation: motion-result-pop var(--motion-result-strong-duration) var(--motion-result-strong-ease)
|
|
5902
|
+
var(--motion-result-figure-delay) both;
|
|
5903
|
+
}
|
|
5904
|
+
.result-screen-tile > svg {
|
|
5905
|
+
width: var(--result-screen-glyph);
|
|
5906
|
+
overflow: visible;
|
|
5907
|
+
}
|
|
5908
|
+
/* figure 는 쓰는 쪽 그림을 그대로. 같은 차례로 나타난다 */
|
|
5909
|
+
.result-screen-figure {
|
|
5910
|
+
animation: motion-result-pop var(--motion-result-strong-duration) var(--motion-result-strong-ease)
|
|
5911
|
+
var(--motion-result-figure-delay) both;
|
|
5912
|
+
}
|
|
5913
|
+
/* 선으로 그리는 표시(체크·입·느낌표) — 타일이 나타난 뒤 그려진다 */
|
|
5914
|
+
.result-screen-draw {
|
|
5915
|
+
fill: none;
|
|
5916
|
+
stroke: currentColor;
|
|
5917
|
+
stroke-width: 5;
|
|
5918
|
+
stroke-linecap: round;
|
|
5919
|
+
stroke-linejoin: round;
|
|
5920
|
+
stroke-dasharray: var(--result-stroke-length);
|
|
5921
|
+
animation: motion-result-draw var(--motion-result-duration) var(--motion-result-ease) var(--motion-result-glyph-delay)
|
|
5922
|
+
both;
|
|
5923
|
+
}
|
|
5924
|
+
.result-screen-fill {
|
|
5925
|
+
fill: currentColor;
|
|
5926
|
+
}
|
|
5927
|
+
/* security: 고리가 내려와 잠긴다. 회전축(왼쪽 아래)·두께는 tsx 의 viewBox 0 0 48 52 좌표에 맞춘 값이다 */
|
|
5928
|
+
.result-screen-shackle {
|
|
5929
|
+
fill: none;
|
|
5930
|
+
stroke: currentColor;
|
|
5931
|
+
stroke-width: 5;
|
|
5932
|
+
stroke-linecap: round;
|
|
5933
|
+
transform-box: fill-box;
|
|
5934
|
+
transform-origin: 10% 100%;
|
|
5935
|
+
animation: motion-result-latch var(--motion-result-strong-duration) var(--motion-result-strong-ease)
|
|
5936
|
+
var(--motion-result-glyph-delay) both;
|
|
5937
|
+
}
|
|
5938
|
+
/* 자물쇠 열쇠 구멍은 타일 바탕색으로 뚫는다 */
|
|
5491
5939
|
.result-screen-cutout {
|
|
5492
5940
|
fill: var(--surface-brand-subtle);
|
|
5493
5941
|
}
|
|
@@ -6929,6 +7377,53 @@ button.modal-with-double-button-close-button {
|
|
|
6929
7377
|
.modal-with-double-button-container.size-l {
|
|
6930
7378
|
width: var(--modal-width-l);
|
|
6931
7379
|
}
|
|
7380
|
+
.modal-with-double-button-container.size-xl {
|
|
7381
|
+
width: var(--modal-width-xl);
|
|
7382
|
+
}
|
|
7383
|
+
/* 제목·설명은 왼쪽, 두 버튼은 오른쪽 아래(토스 모달). 버튼 줄 왼쪽에 footerStart 자리가 있다 */
|
|
7384
|
+
.modal-with-double-button-container.align-start {
|
|
7385
|
+
align-items: stretch;
|
|
7386
|
+
}
|
|
7387
|
+
.modal-with-double-button-container.align-start .modal-with-double-button-title-icon {
|
|
7388
|
+
align-self: flex-start;
|
|
7389
|
+
}
|
|
7390
|
+
.modal-with-double-button-container.align-start .modal-with-double-button-title,.modal-with-double-button-container.align-start .modal-with-double-button-sub-title {
|
|
7391
|
+
text-align: start;
|
|
7392
|
+
}
|
|
7393
|
+
.modal-with-double-button-container.align-start .modal-with-double-button-close.row {
|
|
7394
|
+
flex-wrap: wrap;
|
|
7395
|
+
justify-content: flex-end;
|
|
7396
|
+
gap: var(--spacing-10);
|
|
7397
|
+
}
|
|
7398
|
+
:is(.modal-with-double-button-container.align-start .modal-with-double-button-close.row) > * {
|
|
7399
|
+
flex: none;
|
|
7400
|
+
}
|
|
7401
|
+
/* 좁은 화면에서는 두 버튼이 줄 폭을 반씩 나눈다 */
|
|
7402
|
+
@media (width < 768px) {
|
|
7403
|
+
:is(.modal-with-double-button-container.align-start .modal-with-double-button-close.row) > .modal-with-double-button-buttons {
|
|
7404
|
+
flex: 1 1 100%;
|
|
7405
|
+
}
|
|
7406
|
+
}
|
|
7407
|
+
.modal-with-double-button-container.align-start .modal-with-double-button-close.column > .modal-with-double-button-buttons {
|
|
7408
|
+
display: flex;
|
|
7409
|
+
flex-direction: column;
|
|
7410
|
+
gap: var(--spacing-10);
|
|
7411
|
+
width: 100%;
|
|
7412
|
+
}
|
|
7413
|
+
/* 버튼 줄 왼쪽 자리는 남는 폭을 차지해 버튼을 오른쪽으로 민다 */
|
|
7414
|
+
.modal-with-double-button-footer-start {
|
|
7415
|
+
display: flex;
|
|
7416
|
+
align-items: center;
|
|
7417
|
+
margin-inline-end: auto;
|
|
7418
|
+
min-width: 0;
|
|
7419
|
+
}
|
|
7420
|
+
/* 두 칸을 같은 폭(긴 쪽 글자 폭)으로 둔다 */
|
|
7421
|
+
.modal-with-double-button-buttons {
|
|
7422
|
+
display: grid;
|
|
7423
|
+
grid-auto-columns: minmax(0, 1fr);
|
|
7424
|
+
grid-auto-flow: column;
|
|
7425
|
+
gap: var(--spacing-10);
|
|
7426
|
+
}
|
|
6932
7427
|
.modal-with-double-button-title-icon {
|
|
6933
7428
|
margin-bottom: var(--spacing-20);
|
|
6934
7429
|
}
|
|
@@ -6995,6 +7490,9 @@ button.modal-with-double-button-close-button {
|
|
|
6995
7490
|
.modal.size-l {
|
|
6996
7491
|
width: var(--modal-width-l);
|
|
6997
7492
|
}
|
|
7493
|
+
.modal.size-xl {
|
|
7494
|
+
width: var(--modal-width-xl);
|
|
7495
|
+
}
|
|
6998
7496
|
.modal-header {
|
|
6999
7497
|
display: flex;
|
|
7000
7498
|
justify-content: space-between;
|
|
@@ -7028,10 +7526,18 @@ button.modal-with-double-button-close-button {
|
|
|
7028
7526
|
}
|
|
7029
7527
|
.modal-footer {
|
|
7030
7528
|
display: flex;
|
|
7529
|
+
flex-wrap: wrap;
|
|
7031
7530
|
justify-content: flex-end;
|
|
7032
7531
|
align-items: center;
|
|
7033
7532
|
gap: var(--spacing-10);
|
|
7034
7533
|
}
|
|
7534
|
+
/* 버튼 줄 왼쪽 자리는 남는 폭을 차지해 footer 버튼을 오른쪽으로 민다 */
|
|
7535
|
+
.modal-footer-start {
|
|
7536
|
+
display: flex;
|
|
7537
|
+
align-items: center;
|
|
7538
|
+
margin-inline-end: auto;
|
|
7539
|
+
min-width: 0;
|
|
7540
|
+
}
|
|
7035
7541
|
/* 한 줄 높이 자리에서 항목을 차례로 돌려 보여 주는 알림 줄. 비면 높이가 0 으로 접힌다 */
|
|
7036
7542
|
.base-nudge {
|
|
7037
7543
|
height: var(--nudge-height);
|
|
@@ -7414,7 +7920,6 @@ button.modal-with-double-button-close-button {
|
|
|
7414
7920
|
.pagination {
|
|
7415
7921
|
display: inline-flex;
|
|
7416
7922
|
align-items: center;
|
|
7417
|
-
gap: var(--spacing-4);
|
|
7418
7923
|
|
|
7419
7924
|
/* 넓은 화면은 siblingCount 목록, 좁은 화면은 이웃을 숨긴 7칸 목록을 보인다(pagination.tsx mergePageSlots) */
|
|
7420
7925
|
}
|
|
@@ -7422,11 +7927,6 @@ button.modal-with-double-button-close-button {
|
|
|
7422
7927
|
display: none;
|
|
7423
7928
|
}
|
|
7424
7929
|
@media (width < 768px) {
|
|
7425
|
-
.pagination {
|
|
7426
|
-
/* 7칸 × 44 = 308 이 양옆 여백 16 을 뺀 360 화면(328) 안에 들게 칸 사이를 없앤다 */
|
|
7427
|
-
gap: 0;
|
|
7428
|
-
}
|
|
7429
|
-
|
|
7430
7930
|
.pagination [data-shown-on='wide'] {
|
|
7431
7931
|
display: none;
|
|
7432
7932
|
}
|
|
@@ -7435,6 +7935,22 @@ button.modal-with-double-button-close-button {
|
|
|
7435
7935
|
display: inline-flex;
|
|
7436
7936
|
}
|
|
7437
7937
|
}
|
|
7938
|
+
/* 결과 수·페이지 크기가 붙은 표 아래 줄. 왼쪽 결과, 가운데 쪽 번호(토스 목록 T14) */
|
|
7939
|
+
.pagination.with-summary {
|
|
7940
|
+
display: grid;
|
|
7941
|
+
grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
|
|
7942
|
+
gap: var(--spacing-16);
|
|
7943
|
+
width: 100%;
|
|
7944
|
+
|
|
7945
|
+
/* 좁은 화면은 결과 줄(결과 수 왼쪽, 페이지 크기 오른쪽) 아래에 쪽 번호를 가운데로 쌓는다 */
|
|
7946
|
+
}
|
|
7947
|
+
@media (width < 768px) {
|
|
7948
|
+
.pagination.with-summary {
|
|
7949
|
+
grid-template-columns: minmax(0, 1fr);
|
|
7950
|
+
gap: var(--spacing-12);
|
|
7951
|
+
justify-items: center;
|
|
7952
|
+
}
|
|
7953
|
+
}
|
|
7438
7954
|
.pagination.size-s {
|
|
7439
7955
|
--pagination-item-size: var(--control-height-s);
|
|
7440
7956
|
--pagination-icon-size: var(--icon-size-s);
|
|
@@ -7447,12 +7963,52 @@ button.modal-with-double-button-close-button {
|
|
|
7447
7963
|
font-size: var(--font-size-sm);
|
|
7448
7964
|
line-height: var(--line-height-sm);
|
|
7449
7965
|
}
|
|
7966
|
+
.pagination-pages {
|
|
7967
|
+
display: inline-flex;
|
|
7968
|
+
align-items: center;
|
|
7969
|
+
gap: var(--spacing-4);
|
|
7970
|
+
|
|
7971
|
+
/* 7칸 × 44 = 308 이 양옆 여백 16 을 뺀 360 화면(328) 안에 들게 칸 사이를 없앤다 */
|
|
7972
|
+
}
|
|
7973
|
+
@media (width < 768px) {
|
|
7974
|
+
.pagination-pages {
|
|
7975
|
+
gap: 0;
|
|
7976
|
+
}
|
|
7977
|
+
}
|
|
7978
|
+
.pagination.with-summary > .pagination-pages {
|
|
7979
|
+
grid-column: 2;
|
|
7980
|
+
grid-row: 1;
|
|
7981
|
+
}
|
|
7982
|
+
@media (width < 768px) {
|
|
7983
|
+
.pagination.with-summary > .pagination-pages {
|
|
7984
|
+
grid-column: 1;
|
|
7985
|
+
grid-row: 2;
|
|
7986
|
+
}
|
|
7987
|
+
}
|
|
7988
|
+
.pagination-summary {
|
|
7989
|
+
grid-column: 1;
|
|
7990
|
+
grid-row: 1;
|
|
7991
|
+
display: flex;
|
|
7992
|
+
align-items: center;
|
|
7993
|
+
gap: var(--spacing-8);
|
|
7994
|
+
min-width: 0;
|
|
7995
|
+
}
|
|
7996
|
+
@media (width < 768px) {
|
|
7997
|
+
.pagination-summary {
|
|
7998
|
+
justify-content: space-between;
|
|
7999
|
+
width: 100%;
|
|
8000
|
+
}
|
|
8001
|
+
}
|
|
8002
|
+
.pagination-result {
|
|
8003
|
+
color: var(--text-secondary);
|
|
8004
|
+
white-space: nowrap;
|
|
8005
|
+
}
|
|
7450
8006
|
.pagination-item {
|
|
7451
8007
|
min-width: var(--pagination-item-size);
|
|
7452
8008
|
height: var(--pagination-item-size);
|
|
7453
8009
|
padding: 0 var(--spacing-4);
|
|
7454
|
-
border-radius: var(--radius-
|
|
7455
|
-
color: var(--text-
|
|
8010
|
+
border-radius: var(--radius-pill);
|
|
8011
|
+
color: var(--text-secondary);
|
|
7456
8012
|
font-size: inherit;
|
|
7457
8013
|
line-height: inherit;
|
|
7458
8014
|
font-weight: var(--font-weight-medium);
|
|
@@ -7461,15 +8017,17 @@ button.modal-with-double-button-close-button {
|
|
|
7461
8017
|
background-color var(--motion-press-duration) var(--motion-press-ease),
|
|
7462
8018
|
color var(--motion-press-duration) var(--motion-press-ease),
|
|
7463
8019
|
transform var(--motion-press-duration) var(--motion-press-ease);
|
|
8020
|
+
|
|
8021
|
+
/* 현재 쪽은 회색 원에 검정 글자다(토스 목록). 보라는 주 행동에만 쓴다 */
|
|
7464
8022
|
}
|
|
7465
8023
|
.pagination-item:not(:disabled):hover {
|
|
7466
|
-
background-color: var(--surface-
|
|
7467
|
-
color: var(--text-
|
|
8024
|
+
background-color: var(--surface-subtle);
|
|
8025
|
+
color: var(--text-primary);
|
|
7468
8026
|
}
|
|
7469
8027
|
.pagination-item[data-state='active'] {
|
|
7470
|
-
background-color: var(--surface-
|
|
7471
|
-
color: var(--text-
|
|
7472
|
-
font-weight: var(--font-weight-
|
|
8028
|
+
background-color: var(--surface-muted);
|
|
8029
|
+
color: var(--text-primary);
|
|
8030
|
+
font-weight: var(--font-weight-semibold);
|
|
7473
8031
|
}
|
|
7474
8032
|
.pagination-item:disabled {
|
|
7475
8033
|
background-color: transparent;
|
|
@@ -7478,7 +8036,9 @@ button.modal-with-double-button-close-button {
|
|
|
7478
8036
|
.pagination-ellipsis {
|
|
7479
8037
|
min-width: var(--pagination-item-size);
|
|
7480
8038
|
height: var(--pagination-item-size);
|
|
7481
|
-
color: var(--text-
|
|
8039
|
+
color: var(--text-tertiary);
|
|
8040
|
+
/* 토스 목록의 가운데 점 세 개(•••). 쪽 번호보다 한 단계 작게 둔다 */
|
|
8041
|
+
font-size: var(--font-size-xsm);
|
|
7482
8042
|
}
|
|
7483
8043
|
.pagination-icon {
|
|
7484
8044
|
width: var(--pagination-icon-size);
|
|
@@ -7628,6 +8188,10 @@ button.modal-with-double-button-close-button {
|
|
|
7628
8188
|
position: absolute;
|
|
7629
8189
|
inset: calc(-1 * var(--spacing-4)) 0;
|
|
7630
8190
|
}
|
|
8191
|
+
/* 칸(44)과 카드는 이미 터치 44 이상이라 ::after 를 넓히지 않고 .motion-press-dim 의 딤에 내준다 */
|
|
8192
|
+
.base-radio:where(.segment,.card) {
|
|
8193
|
+
position: relative;
|
|
8194
|
+
}
|
|
7631
8195
|
/***************************************************************************************************
|
|
7632
8196
|
* *
|
|
7633
8197
|
* radio *
|
|
@@ -7644,9 +8208,11 @@ button.modal-with-double-button-close-button {
|
|
|
7644
8208
|
align-items: flex-start;
|
|
7645
8209
|
gap: var(--spacing-10);
|
|
7646
8210
|
}
|
|
7647
|
-
/* Checkbox(filled) 와 같은 말: 꺼짐은
|
|
8211
|
+
/* Checkbox(filled) 와 같은 말: 꺼짐은 회색 선에 아주 연한 회색 바탕, 올리면 보라 선에 연보라 바탕,
|
|
8212
|
+
켜짐은 보라 채움에 흰 표시(ADR 0021).
|
|
7648
8213
|
채움은 색만 바뀌는 확정이라 confirm fade, 흰 점은 움직임이라 confirm 스프링이다 */
|
|
7649
|
-
|
|
8214
|
+
/* card 의 동그라미 표시(.radio-mark)도 같은 모양이다. 고름·disabled 는 카드의 data-* 로 아래에서 그린다 */
|
|
8215
|
+
.radio:where(.radio-button,.radio-mark) {
|
|
7650
8216
|
box-sizing: border-box;
|
|
7651
8217
|
display: flex;
|
|
7652
8218
|
align-items: center;
|
|
@@ -7655,17 +8221,24 @@ button.modal-with-double-button-close-button {
|
|
|
7655
8221
|
height: var(--radio-size);
|
|
7656
8222
|
flex-shrink: 0;
|
|
7657
8223
|
border-radius: var(--radius-circle);
|
|
7658
|
-
border: var(--border-width-strong) solid var(--border-
|
|
7659
|
-
background-color: var(--surface-
|
|
8224
|
+
border: var(--border-width-strong) solid var(--border-hover);
|
|
8225
|
+
background-color: var(--surface-subtle);
|
|
7660
8226
|
}
|
|
7661
8227
|
.radio.radio-button {
|
|
7662
8228
|
/* .motion-press 의 transform 전환을 같은 선언에 다시 적는다. 이 규칙이 뒤에 와서 그것을 덮기 때문이다 */
|
|
7663
8229
|
transition:
|
|
7664
8230
|
background-color var(--motion-confirm-fade-duration) var(--motion-confirm-fade-ease)
|
|
7665
8231
|
var(--confirm-delay, 0ms),
|
|
8232
|
+
border-color var(--motion-confirm-fade-duration) var(--motion-confirm-fade-ease)
|
|
8233
|
+
var(--confirm-delay, 0ms),
|
|
7666
8234
|
transform var(--motion-press-duration) var(--motion-press-ease);
|
|
7667
8235
|
}
|
|
8236
|
+
.radio.radio-button:hover:not([data-disabled],[data-state='checked']) {
|
|
8237
|
+
border-color: var(--border-accent);
|
|
8238
|
+
background-color: var(--surface-brand-subtle);
|
|
8239
|
+
}
|
|
7668
8240
|
.radio.radio-button[data-state='checked'] {
|
|
8241
|
+
border-color: var(--border-accent);
|
|
7669
8242
|
background-color: var(--surface-brand);
|
|
7670
8243
|
}
|
|
7671
8244
|
.radio:where(.radio-indicator) {
|
|
@@ -7739,6 +8312,192 @@ button.modal-with-double-button-close-button {
|
|
|
7739
8312
|
color: var(--text-disabled);
|
|
7740
8313
|
cursor: var(--cursor-disabled);
|
|
7741
8314
|
}
|
|
8315
|
+
/* button: 버튼 칸을 붙여 늘어놓는다. 기본은 내용 폭, .fill 이면 부모 폭을 똑같이 나눈다.
|
|
8316
|
+
이웃 칸이 선 하나를 나눠 쓰게 두 번째 칸부터 선 두께만큼 당긴다 */
|
|
8317
|
+
.radio.radio-group.variant-button {
|
|
8318
|
+
flex-direction: row;
|
|
8319
|
+
gap: 0;
|
|
8320
|
+
width: -moz-fit-content;
|
|
8321
|
+
width: fit-content;
|
|
8322
|
+
max-width: 100%;
|
|
8323
|
+
}
|
|
8324
|
+
.radio.radio-group.variant-button > .radio-option + .radio-option {
|
|
8325
|
+
margin-inline-start: calc(-1 * var(--hairline));
|
|
8326
|
+
}
|
|
8327
|
+
.radio.radio-group.variant-button.fill {
|
|
8328
|
+
width: 100%;
|
|
8329
|
+
}
|
|
8330
|
+
.radio.radio-group.variant-button.fill > .radio-option {
|
|
8331
|
+
flex: 1 1 0;
|
|
8332
|
+
min-width: 0;
|
|
8333
|
+
}
|
|
8334
|
+
.radio.radio-option:first-child > .radio-segment {
|
|
8335
|
+
border-start-start-radius: var(--radius-control);
|
|
8336
|
+
border-end-start-radius: var(--radius-control);
|
|
8337
|
+
}
|
|
8338
|
+
.radio.radio-option:last-child > .radio-segment {
|
|
8339
|
+
border-start-end-radius: var(--radius-control);
|
|
8340
|
+
border-end-end-radius: var(--radius-control);
|
|
8341
|
+
}
|
|
8342
|
+
/* .base-button 의 border·radius 초기화를 이기려고 .radio.radio-segment 로 건다. 바깥 모서리는 위 두 규칙이 둥글린다.
|
|
8343
|
+
고른 칸은 z-index 로 이웃 위에 올라 보라 테두리 네 변이 다 보인다. 포커스 링은 전역 규칙이 그린다 */
|
|
8344
|
+
.radio.radio-segment {
|
|
8345
|
+
flex: 1 1 auto;
|
|
8346
|
+
gap: var(--spacing-4);
|
|
8347
|
+
min-height: var(--control-height-m);
|
|
8348
|
+
padding: var(--spacing-10) var(--spacing-20);
|
|
8349
|
+
border: var(--hairline) solid var(--border-default);
|
|
8350
|
+
border-radius: 0;
|
|
8351
|
+
background-color: var(--surface-base);
|
|
8352
|
+
color: var(--text-primary);
|
|
8353
|
+
font-size: var(--font-size-sm);
|
|
8354
|
+
line-height: var(--line-height-sm);
|
|
8355
|
+
font-weight: var(--font-weight-medium);
|
|
8356
|
+
overflow-wrap: anywhere;
|
|
8357
|
+
transition:
|
|
8358
|
+
background-color var(--motion-confirm-fade-duration) var(--motion-confirm-fade-ease)
|
|
8359
|
+
var(--confirm-delay, 0ms),
|
|
8360
|
+
color var(--motion-confirm-fade-duration) var(--motion-confirm-fade-ease)
|
|
8361
|
+
var(--confirm-delay, 0ms),
|
|
8362
|
+
border-color var(--motion-confirm-fade-duration) var(--motion-confirm-fade-ease)
|
|
8363
|
+
var(--confirm-delay, 0ms);
|
|
8364
|
+
|
|
8365
|
+
/* 딤 색은 고른 칸의 보라 바탕과 같은 색조다 */
|
|
8366
|
+
}
|
|
8367
|
+
.radio.radio-segment.motion-press-dim::after {
|
|
8368
|
+
background: var(--surface-brand);
|
|
8369
|
+
}
|
|
8370
|
+
.radio.radio-segment:focus-visible {
|
|
8371
|
+
z-index: var(--z-raised);
|
|
8372
|
+
}
|
|
8373
|
+
.radio.radio-segment[data-state='checked'] {
|
|
8374
|
+
z-index: var(--z-raised);
|
|
8375
|
+
border-color: var(--border-accent-subtle);
|
|
8376
|
+
background-color: var(--surface-brand-subtle);
|
|
8377
|
+
color: var(--text-brand);
|
|
8378
|
+
font-weight: var(--font-weight-semibold);
|
|
8379
|
+
}
|
|
8380
|
+
.radio.radio-segment[data-state='unchecked'] .radio-segment-check {
|
|
8381
|
+
display: none;
|
|
8382
|
+
}
|
|
8383
|
+
.radio.radio-segment[data-disabled] {
|
|
8384
|
+
color: var(--text-disabled);
|
|
8385
|
+
cursor: var(--cursor-disabled);
|
|
8386
|
+
}
|
|
8387
|
+
/* 골라진 채 막힌 칸은 체크와 굵기로 고름을 남기고 색은 뺀다 */
|
|
8388
|
+
.radio.radio-segment[data-disabled][data-state='checked'] {
|
|
8389
|
+
border-color: var(--border-default);
|
|
8390
|
+
background-color: var(--surface-disabled);
|
|
8391
|
+
}
|
|
8392
|
+
/* card: 제목·설명 카드를 쌓는다. columns 가 --radio-columns 로 열 수를 준다 */
|
|
8393
|
+
.radio.radio-group.variant-card {
|
|
8394
|
+
display: grid;
|
|
8395
|
+
grid-template-columns: repeat(var(--radio-columns, 1), minmax(0, 1fr));
|
|
8396
|
+
gap: var(--spacing-8);
|
|
8397
|
+
}
|
|
8398
|
+
.radio.radio-group.variant-card > .radio-option {
|
|
8399
|
+
align-items: stretch;
|
|
8400
|
+
}
|
|
8401
|
+
/* .base-button 의 가운데 정렬·gap·border·radius 를 .radio.radio-card 로 덮는다. 포커스 링은 전역 규칙이 그린다 */
|
|
8402
|
+
.radio.radio-card {
|
|
8403
|
+
flex: 1 1 auto;
|
|
8404
|
+
justify-content: space-between;
|
|
8405
|
+
align-items: flex-start;
|
|
8406
|
+
gap: var(--spacing-12);
|
|
8407
|
+
padding: var(--spacing-16) var(--spacing-20);
|
|
8408
|
+
border: var(--hairline) solid var(--border-default);
|
|
8409
|
+
border-radius: var(--radius-control);
|
|
8410
|
+
background-color: var(--surface-base);
|
|
8411
|
+
color: var(--text-primary);
|
|
8412
|
+
text-align: start;
|
|
8413
|
+
transition:
|
|
8414
|
+
background-color var(--motion-confirm-fade-duration) var(--motion-confirm-fade-ease)
|
|
8415
|
+
var(--confirm-delay, 0ms),
|
|
8416
|
+
border-color var(--motion-confirm-fade-duration) var(--motion-confirm-fade-ease)
|
|
8417
|
+
var(--confirm-delay, 0ms);
|
|
8418
|
+
}
|
|
8419
|
+
.radio.radio-card.motion-press-dim::after {
|
|
8420
|
+
background: var(--surface-brand);
|
|
8421
|
+
}
|
|
8422
|
+
.radio.radio-card[data-state='checked'] {
|
|
8423
|
+
border-color: var(--border-accent);
|
|
8424
|
+
background-color: var(--surface-brand-subtle);
|
|
8425
|
+
}
|
|
8426
|
+
.radio.radio-card[data-state='checked'] .radio-card-title {
|
|
8427
|
+
color: var(--text-brand);
|
|
8428
|
+
}
|
|
8429
|
+
.radio.radio-card[data-state='checked'] .radio-mark {
|
|
8430
|
+
border-color: var(--border-accent);
|
|
8431
|
+
background-color: var(--surface-brand);
|
|
8432
|
+
}
|
|
8433
|
+
/* 골라진 채 막힌 카드는 동그라미의 흰 점으로만 고름을 남긴다 */
|
|
8434
|
+
.radio.radio-card[data-disabled] {
|
|
8435
|
+
border-color: var(--border-disabled);
|
|
8436
|
+
background-color: var(--surface-base);
|
|
8437
|
+
cursor: var(--cursor-disabled);
|
|
8438
|
+
}
|
|
8439
|
+
.radio.radio-card[data-disabled] :is(.radio-card-title,.radio-card-description) {
|
|
8440
|
+
color: var(--text-disabled);
|
|
8441
|
+
}
|
|
8442
|
+
.radio.radio-card[data-disabled] .radio-mark {
|
|
8443
|
+
border-color: var(--border-disabled);
|
|
8444
|
+
background-color: var(--surface-control);
|
|
8445
|
+
}
|
|
8446
|
+
.radio:where(.radio-card-text) {
|
|
8447
|
+
flex: 1 1 auto;
|
|
8448
|
+
display: flex;
|
|
8449
|
+
flex-direction: column;
|
|
8450
|
+
gap: var(--spacing-4);
|
|
8451
|
+
min-width: 0;
|
|
8452
|
+
}
|
|
8453
|
+
.radio:where(.radio-card-title) {
|
|
8454
|
+
font-size: var(--font-size-base);
|
|
8455
|
+
line-height: var(--line-height-base);
|
|
8456
|
+
font-weight: var(--font-weight-semibold);
|
|
8457
|
+
}
|
|
8458
|
+
.radio:where(.radio-card-description) {
|
|
8459
|
+
font-size: var(--font-size-sm);
|
|
8460
|
+
line-height: var(--line-height-sm);
|
|
8461
|
+
font-weight: var(--font-weight-regular);
|
|
8462
|
+
color: var(--text-muted);
|
|
8463
|
+
}
|
|
8464
|
+
/* 동그라미를 제목 첫 줄 가운데에 맞춘다 */
|
|
8465
|
+
.radio.radio-mark {
|
|
8466
|
+
margin-block-start: calc((var(--line-height-base) - var(--radio-size)) / 2);
|
|
8467
|
+
transition: background-color var(--motion-confirm-fade-duration) var(--motion-confirm-fade-ease)
|
|
8468
|
+
var(--confirm-delay, 0ms);
|
|
8469
|
+
}
|
|
8470
|
+
/* 좁은 화면: 칸이 셋 이상인 button 묶음은 떨어진 버튼 두 열이 되고 남는 한 칸은 줄을 다 쓴다. card 는 한 열이다 */
|
|
8471
|
+
@media (width < 768px) {
|
|
8472
|
+
.radio.radio-group.variant-button {
|
|
8473
|
+
width: 100%;
|
|
8474
|
+
}
|
|
8475
|
+
|
|
8476
|
+
.radio.radio-group.variant-button:has( > .radio-option:nth-child(3)) {
|
|
8477
|
+
display: grid;
|
|
8478
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
8479
|
+
gap: var(--spacing-8);
|
|
8480
|
+
width: 100%;
|
|
8481
|
+
}
|
|
8482
|
+
|
|
8483
|
+
.radio.radio-group.variant-button:has( > .radio-option:nth-child(3)) > .radio-option {
|
|
8484
|
+
min-width: 0;
|
|
8485
|
+
margin-inline-start: 0;
|
|
8486
|
+
}
|
|
8487
|
+
|
|
8488
|
+
.radio.radio-group.variant-button:has( > .radio-option:nth-child(3)) > .radio-option:last-child:nth-child(odd) {
|
|
8489
|
+
grid-column: 1 / -1;
|
|
8490
|
+
}
|
|
8491
|
+
|
|
8492
|
+
.radio.radio-group.variant-button:has( > .radio-option:nth-child(3)) .radio-segment {
|
|
8493
|
+
border-radius: var(--radius-control);
|
|
8494
|
+
white-space: normal;
|
|
8495
|
+
}
|
|
8496
|
+
|
|
8497
|
+
.radio.radio-group.variant-card {
|
|
8498
|
+
grid-template-columns: minmax(0, 1fr);
|
|
8499
|
+
}
|
|
8500
|
+
}
|
|
7742
8501
|
.base-rating:where(.root) {
|
|
7743
8502
|
position: relative;
|
|
7744
8503
|
display: inline-flex;
|
|
@@ -7841,7 +8600,7 @@ button.modal-with-double-button-close-button {
|
|
|
7841
8600
|
}
|
|
7842
8601
|
/***************************************************************************************************
|
|
7843
8602
|
* *
|
|
7844
|
-
*
|
|
8603
|
+
* search-field *
|
|
7845
8604
|
* *
|
|
7846
8605
|
***************************************************************************************************/
|
|
7847
8606
|
.search-field[data-fixed] {
|
|
@@ -7860,6 +8619,43 @@ button.modal-with-double-button-close-button {
|
|
|
7860
8619
|
height: 0;
|
|
7861
8620
|
overflow: visible;
|
|
7862
8621
|
}
|
|
8622
|
+
/* 기준 고르기. 상자는 바깥 입력 상자 하나가 그리고, 이 칸은 선·바탕 없이 글자와 꺾쇠만 둔다.
|
|
8623
|
+
.base-drop-down.trigger(앞에 불러온 drop-down CSS)의 간격을 같은 우선순위로 덮는다 */
|
|
8624
|
+
.search-field .search-field-criterion {
|
|
8625
|
+
align-self: stretch;
|
|
8626
|
+
flex: none;
|
|
8627
|
+
gap: var(--spacing-4);
|
|
8628
|
+
padding: 0;
|
|
8629
|
+
border: 0;
|
|
8630
|
+
background: transparent;
|
|
8631
|
+
color: var(--text-primary);
|
|
8632
|
+
font: inherit;
|
|
8633
|
+
white-space: nowrap;
|
|
8634
|
+
cursor: var(--cursor-button);
|
|
8635
|
+
}
|
|
8636
|
+
[data-disabled]:is(.search-field .search-field-criterion) {
|
|
8637
|
+
color: var(--text-disabled);
|
|
8638
|
+
cursor: var(--cursor-disabled);
|
|
8639
|
+
}
|
|
8640
|
+
:is(.search-field .search-field-criterion) .search-field-criterion-icon {
|
|
8641
|
+
color: var(--icon-tertiary);
|
|
8642
|
+
transition: transform var(--motion-expand-duration) var(--motion-expand-ease);
|
|
8643
|
+
}
|
|
8644
|
+
[data-state='open']:is(.search-field .search-field-criterion) .search-field-criterion-icon {
|
|
8645
|
+
transform: rotate(var(--motion-expand-rotate));
|
|
8646
|
+
}
|
|
8647
|
+
/* 기준과 검색어 사이 세로선 하나. 상자 높이보다 짧게 긋는다 */
|
|
8648
|
+
.search-field-divider {
|
|
8649
|
+
flex: none;
|
|
8650
|
+
align-self: stretch;
|
|
8651
|
+
margin-block: var(--spacing-8);
|
|
8652
|
+
border-left: var(--hairline) solid var(--border-default);
|
|
8653
|
+
}
|
|
8654
|
+
/* 기준 목록이 열리면 포커스가 목록으로 옮겨 가 :focus-within 이 풀린다. 열린 동안도 포커스와 같은 보라 2px 선을 둔다 */
|
|
8655
|
+
.search-field .text-field-input-wrapper:has(.search-field-criterion[data-state='open']) {
|
|
8656
|
+
border-color: var(--border-accent);
|
|
8657
|
+
box-shadow: inset 0 0 0 var(--hairline) var(--border-accent);
|
|
8658
|
+
}
|
|
7863
8659
|
.base-section-header {
|
|
7864
8660
|
display: flex;
|
|
7865
8661
|
align-items: center;
|
|
@@ -8018,6 +8814,20 @@ button.modal-with-double-button-close-button {
|
|
|
8018
8814
|
left var(--motion-indicate-spring-duration) var(--motion-indicate-spring-ease),
|
|
8019
8815
|
width var(--motion-indicate-spring-duration) var(--motion-indicate-spring-ease);
|
|
8020
8816
|
}
|
|
8817
|
+
/* neutral: 회색 바탕 위 흰 알약에 검정 글자. 판이 바탕과 같은 회색 계열이라 작은 그림자로 띄운다 */
|
|
8818
|
+
.motion-press-dim:is(.segmented-control.variant-neutral .segmented-control-item)::after {
|
|
8819
|
+
background: var(--surface-base);
|
|
8820
|
+
}
|
|
8821
|
+
[data-state='checked']:is(.segmented-control.variant-neutral .segmented-control-item) {
|
|
8822
|
+
color: var(--text-primary);
|
|
8823
|
+
}
|
|
8824
|
+
[data-disabled]:is(.segmented-control.variant-neutral .segmented-control-item) {
|
|
8825
|
+
color: var(--text-disabled);
|
|
8826
|
+
}
|
|
8827
|
+
.segmented-control.variant-neutral .segmented-control-indicator {
|
|
8828
|
+
background: var(--surface-base);
|
|
8829
|
+
box-shadow: var(--shadow-raised);
|
|
8830
|
+
}
|
|
8021
8831
|
/* 넘쳐 밀린 목록 위에 떠서 처음으로 되돌리는 화살표. 목록 밖에 두어 함께 밀리지 않는다(Tabs 와 같다) */
|
|
8022
8832
|
.segmented-control-scroll-start {
|
|
8023
8833
|
position: absolute;
|
|
@@ -8236,21 +9046,36 @@ button.modal-with-double-button-close-button {
|
|
|
8236
9046
|
text-align: center;
|
|
8237
9047
|
}
|
|
8238
9048
|
/* 앱 리셋이 없어도 dl·dt·dd 기본 여백을 받지 않는다 */
|
|
8239
|
-
.base-stat {
|
|
8240
|
-
|
|
8241
|
-
|
|
8242
|
-
|
|
8243
|
-
margin: 0;
|
|
8244
|
-
}
|
|
8245
|
-
.base-stat > :where(dt,dd) {
|
|
9049
|
+
.base-stat:where(dl) {
|
|
9050
|
+
display: grid;
|
|
9051
|
+
gap: var(--spacing-4);
|
|
9052
|
+
min-width: 0;
|
|
8246
9053
|
margin: 0;
|
|
8247
9054
|
}
|
|
9055
|
+
.base-stat:where(dl) > :where(dt,dd) {
|
|
9056
|
+
margin: 0;
|
|
9057
|
+
}
|
|
9058
|
+
.base-stat:where(.item) {
|
|
9059
|
+
position: relative;
|
|
9060
|
+
}
|
|
9061
|
+
.base-stat:where(.toggle) {
|
|
9062
|
+
position: absolute;
|
|
9063
|
+
inset: 0;
|
|
9064
|
+
padding: 0;
|
|
9065
|
+
border: 0;
|
|
9066
|
+
border-radius: inherit;
|
|
9067
|
+
background: transparent;
|
|
9068
|
+
cursor: var(--cursor-button);
|
|
9069
|
+
}
|
|
8248
9070
|
/***************************************************************************************************
|
|
8249
9071
|
* *
|
|
8250
9072
|
* stat *
|
|
8251
9073
|
* *
|
|
8252
9074
|
***************************************************************************************************/
|
|
8253
9075
|
.stat-label {
|
|
9076
|
+
display: flex;
|
|
9077
|
+
align-items: center;
|
|
9078
|
+
gap: var(--spacing-4);
|
|
8254
9079
|
color: var(--text-secondary);
|
|
8255
9080
|
font-size: var(--font-size-sm);
|
|
8256
9081
|
line-height: var(--line-height-sm);
|
|
@@ -8263,6 +9088,14 @@ button.modal-with-double-button-close-button {
|
|
|
8263
9088
|
font-variant-numeric: tabular-nums;
|
|
8264
9089
|
overflow-wrap: anywhere;
|
|
8265
9090
|
}
|
|
9091
|
+
.stat-value.tone-danger {
|
|
9092
|
+
color: var(--text-danger);
|
|
9093
|
+
}
|
|
9094
|
+
.stat.size-s .stat-value {
|
|
9095
|
+
font-size: var(--font-size-xl);
|
|
9096
|
+
line-height: var(--line-height-xl);
|
|
9097
|
+
letter-spacing: var(--letter-spacing-tight);
|
|
9098
|
+
}
|
|
8266
9099
|
.stat.size-m .stat-value {
|
|
8267
9100
|
font-size: var(--font-size-2xl);
|
|
8268
9101
|
line-height: var(--line-height-2xl);
|
|
@@ -8273,6 +9106,44 @@ button.modal-with-double-button-close-button {
|
|
|
8273
9106
|
line-height: var(--line-height-3xl);
|
|
8274
9107
|
letter-spacing: var(--letter-spacing-tighter);
|
|
8275
9108
|
}
|
|
9109
|
+
/* 아이콘 타일(Asset.Frame size s, 40px)은 라벨·숫자 두 줄의 왼쪽 가운데에 뜬다. 그 폭만큼 글을 민다 */
|
|
9110
|
+
.stat.has-icon {
|
|
9111
|
+
position: relative;
|
|
9112
|
+
min-height: var(--asset-square-s);
|
|
9113
|
+
padding-left: calc(var(--asset-square-s) + var(--spacing-12));
|
|
9114
|
+
align-content: center;
|
|
9115
|
+
}
|
|
9116
|
+
.stat-icon {
|
|
9117
|
+
position: absolute;
|
|
9118
|
+
top: 50%;
|
|
9119
|
+
left: 0;
|
|
9120
|
+
display: flex;
|
|
9121
|
+
transform: translateY(-50%);
|
|
9122
|
+
}
|
|
9123
|
+
/* 라벨 옆 ⓘ. 상태 요약 칸에서는 칸을 덮는 누르는 자리 위에 떠야 누를 수 있다 */
|
|
9124
|
+
.stat-help {
|
|
9125
|
+
position: relative;
|
|
9126
|
+
z-index: var(--z-raised);
|
|
9127
|
+
display: inline-flex;
|
|
9128
|
+
pointer-events: auto;
|
|
9129
|
+
padding: 0;
|
|
9130
|
+
border: 0;
|
|
9131
|
+
border-radius: var(--radius-circle);
|
|
9132
|
+
background: transparent;
|
|
9133
|
+
color: var(--icon-tertiary);
|
|
9134
|
+
cursor: var(--cursor-button);
|
|
9135
|
+
|
|
9136
|
+
/* 16px 아이콘의 누르는 자리를 터치 44 로 넓힌다 */
|
|
9137
|
+
}
|
|
9138
|
+
.stat-help::after {
|
|
9139
|
+
content: '';
|
|
9140
|
+
position: absolute;
|
|
9141
|
+
top: 50%;
|
|
9142
|
+
left: 50%;
|
|
9143
|
+
width: var(--touch-target);
|
|
9144
|
+
height: var(--touch-target);
|
|
9145
|
+
transform: translate(-50%, -50%);
|
|
9146
|
+
}
|
|
8276
9147
|
.stat-detail {
|
|
8277
9148
|
color: var(--text-secondary);
|
|
8278
9149
|
font-size: var(--font-size-sm);
|
|
@@ -8291,6 +9162,54 @@ button.modal-with-double-button-close-button {
|
|
|
8291
9162
|
.stat-delta.tone-neutral {
|
|
8292
9163
|
color: var(--text-secondary);
|
|
8293
9164
|
}
|
|
9165
|
+
/***************************************************************************************************
|
|
9166
|
+
* *
|
|
9167
|
+
* stat-group *
|
|
9168
|
+
* *
|
|
9169
|
+
***************************************************************************************************/
|
|
9170
|
+
/* 칸은 가장 긴 줄의 칸 수만큼 열을 나눈다. 좁으면 칸이 글자 폭 아래로 줄지 않고 묶음 안에서 가로로 민다 */
|
|
9171
|
+
.stat-group {
|
|
9172
|
+
display: grid;
|
|
9173
|
+
grid-template-columns: repeat(var(--stat-group-columns), minmax(max-content, 1fr));
|
|
9174
|
+
gap: var(--spacing-4) var(--spacing-8);
|
|
9175
|
+
max-width: 100%;
|
|
9176
|
+
overflow-x: auto;
|
|
9177
|
+
}
|
|
9178
|
+
.stat-group-item {
|
|
9179
|
+
padding: var(--spacing-12) var(--spacing-16);
|
|
9180
|
+
border-radius: var(--radius-control);
|
|
9181
|
+
transition: background-color var(--motion-confirm-fade-duration) var(--motion-confirm-fade-ease);
|
|
9182
|
+
}
|
|
9183
|
+
.stat-group-item.row-start {
|
|
9184
|
+
grid-column-start: 1;
|
|
9185
|
+
}
|
|
9186
|
+
/* 글(dl)이 칸을 덮는 Toggle 보다 뒤에 와서 위에 그려진다. 누름은 Toggle 로 보내고 ⓘ 만 다시 받는다 */
|
|
9187
|
+
.stat-group-item > .stat {
|
|
9188
|
+
pointer-events: none;
|
|
9189
|
+
}
|
|
9190
|
+
/* 같은 줄의 칸 사이 세로선. 열 사이 여백 가운데에 칸 높이보다 짧게 긋는다 */
|
|
9191
|
+
.stat-group-item:not(.row-start)::before {
|
|
9192
|
+
content: '';
|
|
9193
|
+
position: absolute;
|
|
9194
|
+
top: var(--spacing-16);
|
|
9195
|
+
bottom: var(--spacing-16);
|
|
9196
|
+
left: calc(-1 * var(--spacing-4));
|
|
9197
|
+
border-left: var(--hairline) solid var(--border-subtle);
|
|
9198
|
+
}
|
|
9199
|
+
.stat-group-item.pressable:hover:not([data-state='on']) {
|
|
9200
|
+
background-color: var(--surface-subtle);
|
|
9201
|
+
}
|
|
9202
|
+
/* 고른 칸은 연한 주색 면에 주색 글자. 처리할 숫자의 빨강은 그대로 둔다 */
|
|
9203
|
+
.stat-group-item[data-state='on'] {
|
|
9204
|
+
background-color: var(--surface-brand-subtle);
|
|
9205
|
+
}
|
|
9206
|
+
.stat-group-item[data-state='on'] .stat-label,.stat-group-item[data-state='on'] .stat-value:not(.tone-danger) {
|
|
9207
|
+
color: var(--text-brand);
|
|
9208
|
+
}
|
|
9209
|
+
/* 눌림 딤은 목록 행처럼 중립 회색이다 */
|
|
9210
|
+
.stat-group-toggle.motion-press-dim::after {
|
|
9211
|
+
background: var(--surface-strong);
|
|
9212
|
+
}
|
|
8294
9213
|
.base-platform-badge {
|
|
8295
9214
|
display: inline-flex;
|
|
8296
9215
|
flex-shrink: 0;
|
|
@@ -8477,6 +9396,10 @@ button.modal-with-double-button-close-button {
|
|
|
8477
9396
|
transition-timing-function: var(--motion-progress-ease);
|
|
8478
9397
|
}
|
|
8479
9398
|
/* 지금 단계 이름만 보인다. 다른 이름은 낭독기에는 남긴다 */
|
|
9399
|
+
/* 숨긴 이름을 제 칸에 묶는다. 묶지 않으면 잘라 주는 조상 밖으로 나가 문서를 가로로 넓힌다 */
|
|
9400
|
+
.step-progress.label-visibility-current .step-progress-step {
|
|
9401
|
+
position: relative;
|
|
9402
|
+
}
|
|
8480
9403
|
.step-progress.label-visibility-current .step-progress-step:not([data-state='current']) .step-progress-name {
|
|
8481
9404
|
position: absolute;
|
|
8482
9405
|
width: 1px; /* raw-px */
|
|
@@ -8619,22 +9542,74 @@ button.modal-with-double-button-close-button {
|
|
|
8619
9542
|
text-align: start;
|
|
8620
9543
|
vertical-align: middle;
|
|
8621
9544
|
}
|
|
9545
|
+
/* 두 줄 셀: 윗줄 이름, 아랫줄 작은 회색 보조 글(ID·옵션) */
|
|
9546
|
+
.base-table:where(.cell-text) {
|
|
9547
|
+
display: inline-flex;
|
|
9548
|
+
flex-direction: column;
|
|
9549
|
+
gap: var(--spacing-2);
|
|
9550
|
+
min-width: 0;
|
|
9551
|
+
}
|
|
9552
|
+
.base-table:where(.cell-text) .cell-text-title {
|
|
9553
|
+
font-size: var(--font-size-sm);
|
|
9554
|
+
line-height: var(--line-height-sm);
|
|
9555
|
+
color: var(--text-primary);
|
|
9556
|
+
}
|
|
9557
|
+
.base-table:where(.cell-text) .cell-text-description {
|
|
9558
|
+
font-size: var(--font-size-xsm);
|
|
9559
|
+
line-height: var(--line-height-xsm);
|
|
9560
|
+
color: var(--text-muted);
|
|
9561
|
+
}
|
|
9562
|
+
/* 줄 행동: 마우스를 올린 행·포커스가 들어간 행에만 보인다. 숨길 때도 opacity 라 Tab 으로 들어갈 수 있다 */
|
|
9563
|
+
.base-table:where(.hover-actions) {
|
|
9564
|
+
display: inline-flex;
|
|
9565
|
+
align-items: center;
|
|
9566
|
+
gap: var(--spacing-4);
|
|
9567
|
+
vertical-align: middle;
|
|
9568
|
+
opacity: 0;
|
|
9569
|
+
}
|
|
9570
|
+
@media (width < 768px) {
|
|
9571
|
+
.base-table:where(.hover-actions) {
|
|
9572
|
+
opacity: 1;
|
|
9573
|
+
}
|
|
9574
|
+
}
|
|
9575
|
+
.base-table:where(.row):hover .base-table:where(.hover-actions),
|
|
9576
|
+
.base-table:where(.row):focus-within .base-table:where(.hover-actions) {
|
|
9577
|
+
opacity: 1;
|
|
9578
|
+
}
|
|
8622
9579
|
/***************************************************************************************************
|
|
8623
9580
|
* *
|
|
8624
9581
|
* data-table *
|
|
8625
9582
|
* *
|
|
8626
9583
|
***************************************************************************************************/
|
|
8627
9584
|
/* 넓은 화면에서는 overflow 가 visible 이라 머리행 sticky 가 지금처럼 페이지에 붙는다.
|
|
8628
|
-
늘 켜 두지 않는 이유: overflow-x: auto 는 세로로도 스크롤 칸을 만들어 sticky 가 감싸개에
|
|
9585
|
+
늘 켜 두지 않는 이유: overflow-x: auto 는 세로로도 스크롤 칸을 만들어 sticky 가 감싸개에 붙는다. scrollX 를 준 표만 넓은 화면에서도 켠다 */
|
|
8629
9586
|
.data-table-scroll {
|
|
8630
9587
|
width: 100%;
|
|
8631
9588
|
}
|
|
9589
|
+
.data-table-scroll.scroll-x {
|
|
9590
|
+
overflow-x: auto;
|
|
9591
|
+
overscroll-behavior-x: contain;
|
|
9592
|
+
|
|
9593
|
+
/* 열 width 를 줄이지 않고 지킨다. 폭 100% 표는 넘칠 때 열을 min-content 까지 줄여 스크롤이 생기지 않는다 */
|
|
9594
|
+
}
|
|
9595
|
+
.data-table-scroll.scroll-x > .data-table {
|
|
9596
|
+
width: -moz-max-content;
|
|
9597
|
+
width: max-content;
|
|
9598
|
+
min-width: 100%;
|
|
9599
|
+
}
|
|
8632
9600
|
@media (width < 768px) {
|
|
8633
9601
|
.data-table-scroll {
|
|
8634
9602
|
overflow-x: auto;
|
|
8635
9603
|
overscroll-behavior-x: contain;
|
|
8636
9604
|
}
|
|
8637
9605
|
}
|
|
9606
|
+
/* 가려진 쪽이 있을 때만 고정 열 경계에 그림자를 드리운다(data-table.tsx syncScrollEdges) */
|
|
9607
|
+
.data-table-scroll[data-overflow-start] .fixed-last {
|
|
9608
|
+
box-shadow: var(--shadow-pinned-start);
|
|
9609
|
+
}
|
|
9610
|
+
.data-table-scroll[data-overflow-end] .fixed-end-first {
|
|
9611
|
+
box-shadow: var(--shadow-pinned-end);
|
|
9612
|
+
}
|
|
8638
9613
|
.data-table {
|
|
8639
9614
|
position: relative;
|
|
8640
9615
|
width: 100%;
|
|
@@ -8663,6 +9638,69 @@ button.modal-with-double-button-close-button {
|
|
|
8663
9638
|
line-height: var(--line-height-sm);
|
|
8664
9639
|
color: var(--data-table-cell-color, var(--text-body));
|
|
8665
9640
|
}
|
|
9641
|
+
/* tinted: 회색 머리 행. 고정 칸도 같은 바탕이라 스크롤 중에 비치지 않는다 */
|
|
9642
|
+
.data-table.header-tinted .data-table-header .cell {
|
|
9643
|
+
background-color: var(--surface-subtle);
|
|
9644
|
+
}
|
|
9645
|
+
/* 숫자·금액 열. 자릿수가 위아래로 맞게 고정폭 숫자를 쓴다 */
|
|
9646
|
+
.data-table .align-end {
|
|
9647
|
+
text-align: end;
|
|
9648
|
+
font-variant-numeric: tabular-nums;
|
|
9649
|
+
}
|
|
9650
|
+
.data-table .align-center {
|
|
9651
|
+
text-align: center;
|
|
9652
|
+
}
|
|
9653
|
+
/* 머리 글과 ⓘ 를 한 줄로 묶는다. inline 이라 칸의 text-align 을 따른다 */
|
|
9654
|
+
.data-table-header-label {
|
|
9655
|
+
display: inline-flex;
|
|
9656
|
+
align-items: center;
|
|
9657
|
+
gap: var(--spacing-4);
|
|
9658
|
+
vertical-align: middle;
|
|
9659
|
+
}
|
|
9660
|
+
.data-table-header-info {
|
|
9661
|
+
position: relative;
|
|
9662
|
+
display: inline-flex;
|
|
9663
|
+
padding: 0;
|
|
9664
|
+
border: none;
|
|
9665
|
+
background-color: transparent;
|
|
9666
|
+
color: var(--icon-tertiary);
|
|
9667
|
+
cursor: var(--cursor-button);
|
|
9668
|
+
|
|
9669
|
+
/* 16px 아이콘의 누르는 자리를 세로 44 까지 넓힌다. 가로로 넓히면 옆 머리 글을 덮는다 */
|
|
9670
|
+
}
|
|
9671
|
+
.data-table-header-info::before {
|
|
9672
|
+
content: '';
|
|
9673
|
+
position: absolute;
|
|
9674
|
+
top: 50%;
|
|
9675
|
+
left: 0;
|
|
9676
|
+
right: 0;
|
|
9677
|
+
height: var(--touch-target);
|
|
9678
|
+
transform: translateY(-50%);
|
|
9679
|
+
}
|
|
9680
|
+
/* 행 선택 열. 폭은 체크박스만큼이다 */
|
|
9681
|
+
.data-table .data-table-select {
|
|
9682
|
+
width: 0;
|
|
9683
|
+
padding-inline: var(--spacing-12);
|
|
9684
|
+
}
|
|
9685
|
+
/* 0건 문구. 본문 자리 가운데 회색 글, 줄바꿈(\n)을 그대로 줄로 쓴다 */
|
|
9686
|
+
.data-table .data-table-empty {
|
|
9687
|
+
height: var(--data-table-empty-height);
|
|
9688
|
+
padding-inline: 0;
|
|
9689
|
+
text-align: center;
|
|
9690
|
+
white-space: pre-line;
|
|
9691
|
+
font-size: var(--font-size-sm);
|
|
9692
|
+
line-height: var(--line-height-sm);
|
|
9693
|
+
color: var(--text-muted);
|
|
9694
|
+
}
|
|
9695
|
+
/* 표가 감싸개보다 넓으면 가운데가 화면 밖에 놓인다. 보이는 폭만큼의 칸을 왼쪽에 붙여 그 안에서 가운데에 둔다 */
|
|
9696
|
+
.data-table-empty-message {
|
|
9697
|
+
position: sticky;
|
|
9698
|
+
inset-inline-start: 0;
|
|
9699
|
+
display: block;
|
|
9700
|
+
box-sizing: border-box;
|
|
9701
|
+
width: var(--data-table-scroll-width, 100%);
|
|
9702
|
+
padding-inline: var(--spacing-16);
|
|
9703
|
+
}
|
|
8666
9704
|
/* 마지막 고정 열의 경계선. border-collapse 표의 border 는 sticky 셀과 함께 움직이지 않아 그림자로 셀 안에 그린다 */
|
|
8667
9705
|
:where(.data-table.variant-padded) .fixed-last {
|
|
8668
9706
|
box-shadow: inset calc(var(--hairline) * -1) 0 0 var(--border-subtle);
|
|
@@ -8671,21 +9709,28 @@ button.modal-with-double-button-close-button {
|
|
|
8671
9709
|
position: relative;
|
|
8672
9710
|
border-bottom: var(--hairline) solid var(--border-subtle);
|
|
8673
9711
|
}
|
|
8674
|
-
.data-table-row .fixed {
|
|
9712
|
+
.data-table-row .fixed,.data-table-row .fixed-end {
|
|
8675
9713
|
position: sticky;
|
|
8676
9714
|
background-color: var(--surface-base);
|
|
8677
9715
|
z-index: var(--z-sticky);
|
|
8678
9716
|
}
|
|
8679
|
-
:is(.data-table-row .fixed) > * {
|
|
9717
|
+
:is(.data-table-row .fixed,.data-table-row .fixed-end) > * {
|
|
8680
9718
|
position: relative;
|
|
8681
9719
|
z-index: var(--z-raised);
|
|
8682
9720
|
}
|
|
8683
|
-
.body .data-table-row:hover {
|
|
9721
|
+
.body .data-table-row:not(.data-table-empty-row):hover {
|
|
8684
9722
|
background-color: var(--surface-muted);
|
|
8685
9723
|
}
|
|
8686
|
-
:is(.body .data-table-row:hover) .fixed {
|
|
9724
|
+
:is(.body .data-table-row:not(.data-table-empty-row):hover) .fixed,:is(.body .data-table-row:not(.data-table-empty-row):hover) .fixed-end {
|
|
8687
9725
|
background-color: var(--surface-muted);
|
|
8688
9726
|
}
|
|
9727
|
+
/* 고른 행. 마우스를 올려도 고른 색이 남는다 */
|
|
9728
|
+
.body .data-table-row[data-state='selected'] {
|
|
9729
|
+
background-color: var(--surface-brand-subtle);
|
|
9730
|
+
}
|
|
9731
|
+
:is(.body .data-table-row[data-state='selected']) .fixed,:is(.body .data-table-row[data-state='selected']) .fixed-end {
|
|
9732
|
+
background-color: var(--surface-brand-subtle);
|
|
9733
|
+
}
|
|
8689
9734
|
.fixed-cell {
|
|
8690
9735
|
position: sticky;
|
|
8691
9736
|
left: 0;
|
|
@@ -8887,7 +9932,7 @@ button.modal-with-double-button-close-button {
|
|
|
8887
9932
|
outline: none;
|
|
8888
9933
|
background-color: transparent;
|
|
8889
9934
|
font-family: inherit;
|
|
8890
|
-
font-weight: var(--font-weight-
|
|
9935
|
+
font-weight: var(--font-weight-regular);
|
|
8891
9936
|
color: var(--text-primary);
|
|
8892
9937
|
}
|
|
8893
9938
|
.base-text-area:where(.textarea)::-moz-placeholder {
|
|
@@ -8899,6 +9944,19 @@ button.modal-with-double-button-close-button {
|
|
|
8899
9944
|
.base-text-area[data-disabled]:where(.textarea) {
|
|
8900
9945
|
cursor: var(--cursor-disabled);
|
|
8901
9946
|
}
|
|
9947
|
+
.base-text-area:where(.label) {
|
|
9948
|
+
display: block;
|
|
9949
|
+
width: -moz-fit-content;
|
|
9950
|
+
width: fit-content;
|
|
9951
|
+
font-size: var(--font-size-sm);
|
|
9952
|
+
line-height: var(--line-height-sm);
|
|
9953
|
+
font-weight: var(--font-weight-medium);
|
|
9954
|
+
}
|
|
9955
|
+
.base-text-area:where(.helper-text) {
|
|
9956
|
+
font-size: var(--font-size-sm);
|
|
9957
|
+
line-height: var(--line-height-sm);
|
|
9958
|
+
font-weight: var(--font-weight-regular);
|
|
9959
|
+
}
|
|
8902
9960
|
/* 상자 안 아이콘 버튼(TextField 와 같은 크기). 누르는 자리는 터치 44 로 넓힌다 */
|
|
8903
9961
|
.base-text-area:where(.action) {
|
|
8904
9962
|
position: relative;
|
|
@@ -8934,49 +9992,76 @@ button.modal-with-double-button-close-button {
|
|
|
8934
9992
|
height: fit-content;
|
|
8935
9993
|
}
|
|
8936
9994
|
.text-area-title {
|
|
8937
|
-
margin-bottom: var(--spacing-
|
|
9995
|
+
margin-bottom: var(--spacing-6);
|
|
9996
|
+
color: var(--text-secondary);
|
|
8938
9997
|
}
|
|
8939
9998
|
/* 높이는 rows 가 정한다. size 는 글자 크기와 안쪽 여백만 바꾼다 */
|
|
8940
9999
|
.text-area-input-wrapper {
|
|
8941
10000
|
display: flex;
|
|
8942
|
-
|
|
10001
|
+
/* 글자 수는 다음 줄 오른쪽에 놓인다 */
|
|
10002
|
+
flex-wrap: wrap;
|
|
8943
10003
|
|
|
8944
|
-
/* 입력 상자 공통 모양(TextField·TextArea
|
|
8945
|
-
|
|
8946
|
-
|
|
10004
|
+
/* 입력 상자 공통 모양(TextField·TextArea 같음, ADR 0021). 모서리는 버튼과 같은 control.
|
|
10005
|
+
outline(기본)은 흰 바탕에 회색 1px 선이다. 마우스를 올리면 연보라, 포커스면 보라 2px 선이 된다.
|
|
10006
|
+
2px 는 1px border 에 안쪽 1px 그림자를 겹쳐 그려 상자 크기가 흔들리지 않는다. 바깥 후광은 없다.
|
|
10007
|
+
오류는 빨간 선(포커스면 2px), 읽기 전용은 회색 면에 포커스에도 선이 굵어지지 않는다, disabled 는 회색 면에 흐린 글자.
|
|
8947
10008
|
아이콘은 상자의 color 를 따른다. 상태 색 전환은 다른 상태 피드백처럼 press 토큰을 쓴다 */
|
|
8948
10009
|
box-sizing: border-box;
|
|
8949
10010
|
border-radius: var(--radius-control);
|
|
8950
|
-
border: var(--hairline) solid
|
|
8951
|
-
background-color: var(--surface-
|
|
10011
|
+
border: var(--hairline) solid var(--border-default);
|
|
10012
|
+
background-color: var(--surface-base);
|
|
8952
10013
|
color: var(--text-muted);
|
|
8953
10014
|
transition:
|
|
8954
10015
|
border-color var(--motion-press-duration) var(--motion-press-ease),
|
|
8955
10016
|
box-shadow var(--motion-press-duration) var(--motion-press-ease),
|
|
8956
10017
|
background-color var(--motion-press-duration) var(--motion-press-ease);
|
|
10018
|
+
|
|
10019
|
+
/* 줄을 바꿀 수 있는 상자라 폭 100% 대신 남는 폭을 채운다. 지우기 버튼이 같은 줄에 남는다 */
|
|
8957
10020
|
}
|
|
8958
10021
|
.text-area-input-wrapper > textarea {
|
|
10022
|
+
flex: 1 1 0;
|
|
10023
|
+
min-width: 0;
|
|
8959
10024
|
color: var(--text-primary);
|
|
8960
10025
|
}
|
|
8961
|
-
|
|
8962
|
-
|
|
8963
|
-
|
|
10026
|
+
.text-area-input-wrapper:hover:not(:focus-within,.error,:has( > textarea:disabled),:has( > textarea[readonly])) {
|
|
10027
|
+
border-color: var(--border-accent-subtle);
|
|
10028
|
+
box-shadow: inset 0 0 0 var(--hairline) var(--border-accent-subtle);
|
|
8964
10029
|
}
|
|
8965
10030
|
.text-area-input-wrapper:focus-within {
|
|
8966
10031
|
border-color: var(--border-accent);
|
|
8967
|
-
|
|
8968
|
-
box-shadow: 0 0 0 var(--field-focus-halo) var(--focus-halo-color);
|
|
10032
|
+
box-shadow: inset 0 0 0 var(--hairline) var(--border-accent);
|
|
8969
10033
|
color: var(--text-secondary);
|
|
8970
10034
|
}
|
|
8971
10035
|
.text-area-input-wrapper.error {
|
|
8972
10036
|
border-color: var(--border-error);
|
|
8973
10037
|
}
|
|
8974
10038
|
.text-area-input-wrapper.error:focus-within {
|
|
8975
|
-
box-shadow: 0 0 0 var(--
|
|
10039
|
+
box-shadow: inset 0 0 0 var(--hairline) var(--border-error);
|
|
8976
10040
|
}
|
|
8977
|
-
|
|
10041
|
+
/* fill: 쉴 때 선 없는 연회색 면. 마우스를 올리면 면이 한 단계 짙어지고 포커스에서 흰 바탕과 보라 2px 선이 된다 */
|
|
10042
|
+
.text-area-input-wrapper.variant-fill {
|
|
10043
|
+
border-color: transparent;
|
|
8978
10044
|
background-color: var(--surface-subtle);
|
|
8979
10045
|
}
|
|
10046
|
+
.text-area-input-wrapper.variant-fill:hover:not(:focus-within,.error,:has( > textarea:disabled),:has( > textarea[readonly])) {
|
|
10047
|
+
border-color: transparent;
|
|
10048
|
+
box-shadow: none;
|
|
10049
|
+
background-color: var(--surface-muted);
|
|
10050
|
+
}
|
|
10051
|
+
.text-area-input-wrapper.variant-fill:focus-within {
|
|
10052
|
+
border-color: var(--border-accent);
|
|
10053
|
+
background-color: var(--surface-base);
|
|
10054
|
+
}
|
|
10055
|
+
.text-area-input-wrapper.variant-fill.error {
|
|
10056
|
+
border-color: var(--border-error);
|
|
10057
|
+
}
|
|
10058
|
+
/* 읽기 전용은 회색 면. 포커스는 선 색만 바뀌고 굵어지지 않는다 */
|
|
10059
|
+
.text-area-input-wrapper:has( > textarea[readonly]:not(:disabled)) {
|
|
10060
|
+
background-color: var(--surface-muted);
|
|
10061
|
+
}
|
|
10062
|
+
.text-area-input-wrapper:has( > textarea[readonly]:not(:disabled)):focus-within {
|
|
10063
|
+
box-shadow: none;
|
|
10064
|
+
}
|
|
8980
10065
|
.text-area-input-wrapper:has( > textarea:disabled) {
|
|
8981
10066
|
border-color: var(--border-disabled);
|
|
8982
10067
|
background-color: var(--surface-muted);
|
|
@@ -8984,7 +10069,7 @@ button.modal-with-double-button-close-button {
|
|
|
8984
10069
|
cursor: var(--cursor-disabled);
|
|
8985
10070
|
}
|
|
8986
10071
|
.text-area-input-wrapper:has( > textarea:disabled) > textarea {
|
|
8987
|
-
color: var(--text-
|
|
10072
|
+
color: var(--text-disabled);
|
|
8988
10073
|
cursor: var(--cursor-disabled);
|
|
8989
10074
|
}
|
|
8990
10075
|
.text-area-input-wrapper.size-s > textarea {
|
|
@@ -9013,6 +10098,21 @@ button.modal-with-double-button-close-button {
|
|
|
9013
10098
|
.text-area-input-wrapper.size-m > .text-area-action {
|
|
9014
10099
|
margin: var(--spacing-14) var(--spacing-14) 0 0;
|
|
9015
10100
|
}
|
|
10101
|
+
/* 글자 수는 상자 안 오른쪽 아래. 아래·오른쪽 여백은 size 마다 textarea 안쪽 여백과 같다 */
|
|
10102
|
+
.text-area-input-wrapper > .text-area-count {
|
|
10103
|
+
flex-basis: 100%;
|
|
10104
|
+
text-align: right;
|
|
10105
|
+
font-size: var(--font-size-xsm);
|
|
10106
|
+
line-height: var(--line-height-xsm);
|
|
10107
|
+
font-variant-numeric: tabular-nums;
|
|
10108
|
+
color: var(--text-muted);
|
|
10109
|
+
}
|
|
10110
|
+
.text-area-input-wrapper.size-s > .text-area-count {
|
|
10111
|
+
padding: 0 var(--spacing-14) var(--spacing-10);
|
|
10112
|
+
}
|
|
10113
|
+
.text-area-input-wrapper.size-m > .text-area-count {
|
|
10114
|
+
padding: 0 var(--spacing-14) var(--spacing-14);
|
|
10115
|
+
}
|
|
9016
10116
|
.text-area-helper-text {
|
|
9017
10117
|
margin-top: var(--spacing-6);
|
|
9018
10118
|
color: var(--text-muted);
|
|
@@ -9090,7 +10190,7 @@ button.modal-with-double-button-close-button {
|
|
|
9090
10190
|
|
|
9091
10191
|
font-size: inherit;
|
|
9092
10192
|
line-height: inherit;
|
|
9093
|
-
font-weight: var(--font-weight-
|
|
10193
|
+
font-weight: var(--font-weight-regular);
|
|
9094
10194
|
}
|
|
9095
10195
|
.base-text-field.input::-moz-placeholder {
|
|
9096
10196
|
color: var(--text-placeholder);
|
|
@@ -9104,6 +10204,19 @@ button.modal-with-double-button-close-button {
|
|
|
9104
10204
|
-webkit-transition: background-color 5000s ease-in-out 0s;
|
|
9105
10205
|
transition: background-color 5000s ease-in-out 0s; /* raw-value */
|
|
9106
10206
|
}
|
|
10207
|
+
.base-text-field:where(.label) {
|
|
10208
|
+
display: block;
|
|
10209
|
+
width: -moz-fit-content;
|
|
10210
|
+
width: fit-content;
|
|
10211
|
+
font-size: var(--font-size-sm);
|
|
10212
|
+
line-height: var(--line-height-sm);
|
|
10213
|
+
font-weight: var(--font-weight-medium);
|
|
10214
|
+
}
|
|
10215
|
+
.base-text-field:where(.helper-text) {
|
|
10216
|
+
font-size: var(--font-size-sm);
|
|
10217
|
+
line-height: var(--line-height-sm);
|
|
10218
|
+
font-weight: var(--font-weight-regular);
|
|
10219
|
+
}
|
|
9107
10220
|
.base-text-field:where(.prefix,.suffix) {
|
|
9108
10221
|
flex: none;
|
|
9109
10222
|
white-space: nowrap;
|
|
@@ -9146,7 +10259,8 @@ button.modal-with-double-button-close-button {
|
|
|
9146
10259
|
height: fit-content;
|
|
9147
10260
|
}
|
|
9148
10261
|
.text-field-title {
|
|
9149
|
-
margin-bottom: var(--spacing-
|
|
10262
|
+
margin-bottom: var(--spacing-6);
|
|
10263
|
+
color: var(--text-secondary);
|
|
9150
10264
|
}
|
|
9151
10265
|
.text-field-input-wrapper {
|
|
9152
10266
|
display: flex;
|
|
@@ -9156,14 +10270,15 @@ button.modal-with-double-button-close-button {
|
|
|
9156
10270
|
|
|
9157
10271
|
/* 높이는 버튼과 같은 --control-height-* 축, 좌우 여백·글자는 size 마다 버튼과 같은 단계 */
|
|
9158
10272
|
|
|
9159
|
-
/* 입력 상자 공통 모양(TextField·TextArea
|
|
9160
|
-
|
|
9161
|
-
|
|
10273
|
+
/* 입력 상자 공통 모양(TextField·TextArea 같음, ADR 0021). 모서리는 버튼과 같은 control.
|
|
10274
|
+
outline(기본)은 흰 바탕에 회색 1px 선이다. 마우스를 올리면 연보라, 포커스면 보라 2px 선이 된다.
|
|
10275
|
+
2px 는 1px border 에 안쪽 1px 그림자를 겹쳐 그려 상자 크기가 흔들리지 않는다. 바깥 후광은 없다.
|
|
10276
|
+
오류는 빨간 선(포커스면 2px), 읽기 전용은 회색 면에 포커스에도 선이 굵어지지 않는다, disabled 는 회색 면에 흐린 글자.
|
|
9162
10277
|
아이콘은 상자의 color 를 따른다. 상태 색 전환은 다른 상태 피드백처럼 press 토큰을 쓴다 */
|
|
9163
10278
|
box-sizing: border-box;
|
|
9164
10279
|
border-radius: var(--radius-control);
|
|
9165
|
-
border: var(--hairline) solid
|
|
9166
|
-
background-color: var(--surface-
|
|
10280
|
+
border: var(--hairline) solid var(--border-default);
|
|
10281
|
+
background-color: var(--surface-base);
|
|
9167
10282
|
color: var(--text-muted);
|
|
9168
10283
|
transition:
|
|
9169
10284
|
border-color var(--motion-press-duration) var(--motion-press-ease),
|
|
@@ -9205,25 +10320,45 @@ button.modal-with-double-button-close-button {
|
|
|
9205
10320
|
width: 100%;
|
|
9206
10321
|
min-width: 0;
|
|
9207
10322
|
}
|
|
9208
|
-
|
|
9209
|
-
|
|
9210
|
-
|
|
10323
|
+
.text-field-input-wrapper:hover:not(:focus-within,.error,:has( > input:disabled),:has( > input[readonly])) {
|
|
10324
|
+
border-color: var(--border-accent-subtle);
|
|
10325
|
+
box-shadow: inset 0 0 0 var(--hairline) var(--border-accent-subtle);
|
|
9211
10326
|
}
|
|
9212
10327
|
.text-field-input-wrapper:focus-within {
|
|
9213
10328
|
border-color: var(--border-accent);
|
|
9214
|
-
|
|
9215
|
-
box-shadow: 0 0 0 var(--field-focus-halo) var(--focus-halo-color);
|
|
10329
|
+
box-shadow: inset 0 0 0 var(--hairline) var(--border-accent);
|
|
9216
10330
|
color: var(--text-secondary);
|
|
9217
10331
|
}
|
|
9218
10332
|
.text-field-input-wrapper.error {
|
|
9219
10333
|
border-color: var(--border-error);
|
|
9220
10334
|
}
|
|
9221
10335
|
.text-field-input-wrapper.error:focus-within {
|
|
9222
|
-
box-shadow: 0 0 0 var(--
|
|
10336
|
+
box-shadow: inset 0 0 0 var(--hairline) var(--border-error);
|
|
9223
10337
|
}
|
|
9224
|
-
|
|
10338
|
+
/* fill: 쉴 때 선 없는 연회색 면. 마우스를 올리면 면이 한 단계 짙어지고 포커스에서 흰 바탕과 보라 2px 선이 된다 */
|
|
10339
|
+
.text-field-input-wrapper.variant-fill {
|
|
10340
|
+
border-color: transparent;
|
|
9225
10341
|
background-color: var(--surface-subtle);
|
|
9226
10342
|
}
|
|
10343
|
+
.text-field-input-wrapper.variant-fill:hover:not(:focus-within,.error,:has( > input:disabled),:has( > input[readonly])) {
|
|
10344
|
+
border-color: transparent;
|
|
10345
|
+
box-shadow: none;
|
|
10346
|
+
background-color: var(--surface-muted);
|
|
10347
|
+
}
|
|
10348
|
+
.text-field-input-wrapper.variant-fill:focus-within {
|
|
10349
|
+
border-color: var(--border-accent);
|
|
10350
|
+
background-color: var(--surface-base);
|
|
10351
|
+
}
|
|
10352
|
+
.text-field-input-wrapper.variant-fill.error {
|
|
10353
|
+
border-color: var(--border-error);
|
|
10354
|
+
}
|
|
10355
|
+
/* 읽기 전용은 회색 면. 포커스는 선 색만 바뀌고 굵어지지 않는다 */
|
|
10356
|
+
.text-field-input-wrapper:has( > input[readonly]:not(:disabled)) {
|
|
10357
|
+
background-color: var(--surface-muted);
|
|
10358
|
+
}
|
|
10359
|
+
.text-field-input-wrapper:has( > input[readonly]:not(:disabled)):focus-within {
|
|
10360
|
+
box-shadow: none;
|
|
10361
|
+
}
|
|
9227
10362
|
.text-field-input-wrapper:has( > input:disabled) {
|
|
9228
10363
|
border-color: var(--border-disabled);
|
|
9229
10364
|
background-color: var(--surface-muted);
|
|
@@ -9231,10 +10366,18 @@ button.modal-with-double-button-close-button {
|
|
|
9231
10366
|
cursor: var(--cursor-disabled);
|
|
9232
10367
|
}
|
|
9233
10368
|
.text-field-input-wrapper:has( > input:disabled) > input {
|
|
9234
|
-
color: var(--text-
|
|
10369
|
+
color: var(--text-disabled);
|
|
9235
10370
|
cursor: var(--cursor-disabled);
|
|
9236
10371
|
}
|
|
9237
10372
|
/* prefix·suffix·버튼이 붙어도 input 이 제 기본 폭을 고집해 상자를 넘지 않게 한다 */
|
|
10373
|
+
/* 글자 수. 칠 때마다 읽지 않게 aria-hidden 이다 */
|
|
10374
|
+
.text-field-count {
|
|
10375
|
+
flex: none;
|
|
10376
|
+
font-size: var(--font-size-xsm);
|
|
10377
|
+
line-height: var(--line-height-xsm);
|
|
10378
|
+
color: var(--text-muted);
|
|
10379
|
+
font-variant-numeric: tabular-nums;
|
|
10380
|
+
}
|
|
9238
10381
|
.text-field-helper-text {
|
|
9239
10382
|
margin-top: var(--spacing-6);
|
|
9240
10383
|
color: var(--text-muted);
|
|
@@ -9292,6 +10435,12 @@ button.modal-with-double-button-close-button {
|
|
|
9292
10435
|
right: 0;
|
|
9293
10436
|
--motion-slide-offset: translateY(calc(-1 * var(--spacing-16)));
|
|
9294
10437
|
}
|
|
10438
|
+
.base-toast.position-top-center:where(.viewport) {
|
|
10439
|
+
top: 0;
|
|
10440
|
+
left: 50%;
|
|
10441
|
+
transform: translateX(-50%);
|
|
10442
|
+
--motion-slide-offset: translateY(calc(-1 * var(--spacing-16)));
|
|
10443
|
+
}
|
|
9295
10444
|
.base-toast.position-bottom-right:where(.viewport) {
|
|
9296
10445
|
right: 0;
|
|
9297
10446
|
bottom: 0;
|
|
@@ -9304,7 +10453,7 @@ button.modal-with-double-button-close-button {
|
|
|
9304
10453
|
/* 좁은 화면은 모서리 대신 화면 폭을 채운다. 위·아래는 position 을 따른다.
|
|
9305
10454
|
:is 로 위 position 규칙과 특이도를 맞추고 뒤에 둬서 left·transform 을 덮는다 */
|
|
9306
10455
|
@media (width < 768px) {
|
|
9307
|
-
.base-toast:where(.viewport):is(.position-top-right,.position-bottom-right,.position-bottom-center) {
|
|
10456
|
+
.base-toast:where(.viewport):is(.position-top-right,.position-top-center,.position-bottom-right,.position-bottom-center) {
|
|
9308
10457
|
left: 0;
|
|
9309
10458
|
right: 0;
|
|
9310
10459
|
width: auto;
|
|
@@ -9378,6 +10527,50 @@ button.modal-with-double-button-close-button {
|
|
|
9378
10527
|
.toast.variant-error .toast-description {
|
|
9379
10528
|
color: var(--toast-error-description);
|
|
9380
10529
|
}
|
|
10530
|
+
/* 흰 카드: 판은 바탕과 같은 흰색이라 그림자로 띄운다. variant 색은 아이콘 뒤 원에만 남는다.
|
|
10531
|
+
다크에서는 --surface-elevated 가 바탕보다 밝아 그림자 없이도 판이 갈린다. variant 규칙 뒤에 둬서 바탕·글자색을 덮는다 */
|
|
10532
|
+
.toast.surface-card {
|
|
10533
|
+
width: -moz-fit-content;
|
|
10534
|
+
width: fit-content;
|
|
10535
|
+
max-width: 100%;
|
|
10536
|
+
box-sizing: border-box;
|
|
10537
|
+
background-color: var(--surface-elevated);
|
|
10538
|
+
box-shadow: var(--shadow-floating);
|
|
10539
|
+
color: var(--text-primary);
|
|
10540
|
+
}
|
|
10541
|
+
.toast.surface-card .toast-title {
|
|
10542
|
+
color: var(--text-primary);
|
|
10543
|
+
}
|
|
10544
|
+
.toast.surface-card .toast-description {
|
|
10545
|
+
color: var(--text-tertiary);
|
|
10546
|
+
}
|
|
10547
|
+
.toast.surface-card .toast-close {
|
|
10548
|
+
color: var(--icon-tertiary);
|
|
10549
|
+
}
|
|
10550
|
+
.toast.surface-card .toast-icon {
|
|
10551
|
+
width: var(--icon-size-m);
|
|
10552
|
+
height: var(--icon-size-m);
|
|
10553
|
+
padding: var(--spacing-4);
|
|
10554
|
+
box-sizing: border-box;
|
|
10555
|
+
border-radius: var(--radius-circle);
|
|
10556
|
+
color: var(--text-on-brand);
|
|
10557
|
+
}
|
|
10558
|
+
.toast.surface-card.variant-success .toast-icon {
|
|
10559
|
+
background-color: var(--toast-success-background);
|
|
10560
|
+
}
|
|
10561
|
+
.toast.surface-card.variant-warning .toast-icon {
|
|
10562
|
+
background-color: var(--toast-warning-background);
|
|
10563
|
+
}
|
|
10564
|
+
.toast.surface-card.variant-error .toast-icon {
|
|
10565
|
+
background-color: var(--toast-error-background);
|
|
10566
|
+
}
|
|
10567
|
+
/* 카드는 글자 폭만큼이라 자리(position)의 가장자리에 붙인다 */
|
|
10568
|
+
.base-toast:where(.viewport):is(.position-top-center,.position-bottom-center) > .toast.surface-card {
|
|
10569
|
+
align-self: center;
|
|
10570
|
+
}
|
|
10571
|
+
.base-toast:where(.viewport):is(.position-top-right,.position-bottom-right) > .toast.surface-card {
|
|
10572
|
+
align-self: flex-end;
|
|
10573
|
+
}
|
|
9381
10574
|
/* success·warning·error 는 앞에 상태 아이콘을 둔다. SVG 에 박힌 색을 글자색으로 맞춘다 */
|
|
9382
10575
|
.toast-icon {
|
|
9383
10576
|
flex-shrink: 0;
|