@nurihaus/web-design-system 3.26.1 → 3.28.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 +707 -80
- 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 +21 -8
- package/dist/avatar.js +37 -5
- 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/asset/asset.d.ts +3 -3
- package/dist/components/asset/asset.stories.d.ts +3 -3
- package/dist/components/avatar/avatar-type.d.ts +3 -0
- package/dist/components/avatar/avatar.stories.d.ts +4 -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 +297 -5
- 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 +2 -2
- package/dist/components/list/list-row.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 +2 -2
- 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 +1612 -123
- 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 +2105 -500
- package/dist/loading.js +6 -6
- 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 +1383 -154
- 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/primitive.d.ts +1 -0
- package/dist/tokens/generated/semantic-admin.d.ts +1 -0
- package/dist/tokens/generated/semantic-app.d.ts +2 -4
- package/dist/tokens.css +33 -9
- package/dist/tokens.js +5 -5
- package/package.json +13 -1
package/dist/components.css
CHANGED
|
@@ -185,6 +185,20 @@
|
|
|
185
185
|
outline-offset: var(--focus-ring-offset);
|
|
186
186
|
}
|
|
187
187
|
|
|
188
|
+
/* 필수 입력 표시. 라벨 글 바로 뒤에 붙는 작은 빨간 점이다(별표 대신).
|
|
189
|
+
점은 aria-hidden 으로 두고, 필수라는 사실은 input 의 required 가 알린다 */
|
|
190
|
+
|
|
191
|
+
.nuri-required-dot {
|
|
192
|
+
display: inline-block;
|
|
193
|
+
flex: none;
|
|
194
|
+
width: var(--required-dot-size);
|
|
195
|
+
height: var(--required-dot-size);
|
|
196
|
+
margin-left: var(--spacing-2);
|
|
197
|
+
vertical-align: top;
|
|
198
|
+
border-radius: var(--radius-circle);
|
|
199
|
+
background-color: var(--text-error);
|
|
200
|
+
}
|
|
201
|
+
|
|
188
202
|
/* 공용 키프레임. 컴포넌트 CSS 보다 앞에 둔다 */
|
|
189
203
|
|
|
190
204
|
/*
|
|
@@ -1274,6 +1288,39 @@
|
|
|
1274
1288
|
height: 100%;
|
|
1275
1289
|
}
|
|
1276
1290
|
|
|
1291
|
+
/* 사진 대신 이름 첫 글자 */
|
|
1292
|
+
|
|
1293
|
+
.base-avatar .avatar-initial {
|
|
1294
|
+
display: flex;
|
|
1295
|
+
align-items: center;
|
|
1296
|
+
justify-content: center;
|
|
1297
|
+
background: var(--gradient-avatar-initial);
|
|
1298
|
+
box-shadow: var(--avatar-initial-shade);
|
|
1299
|
+
color: var(--text-on-brand);
|
|
1300
|
+
font-weight: var(--font-weight-extrabold);
|
|
1301
|
+
letter-spacing: var(--letter-spacing-tighter);
|
|
1302
|
+
line-height: 1;
|
|
1303
|
+
-webkit-user-select: none;
|
|
1304
|
+
-moz-user-select: none;
|
|
1305
|
+
user-select: none;
|
|
1306
|
+
}
|
|
1307
|
+
|
|
1308
|
+
.base-avatar.size-s .avatar-initial {
|
|
1309
|
+
font-size: var(--avatar-initial-font-size-s);
|
|
1310
|
+
}
|
|
1311
|
+
|
|
1312
|
+
.base-avatar.size-m .avatar-initial {
|
|
1313
|
+
font-size: var(--avatar-initial-font-size-m);
|
|
1314
|
+
}
|
|
1315
|
+
|
|
1316
|
+
.base-avatar.size-l .avatar-initial {
|
|
1317
|
+
font-size: var(--avatar-initial-font-size-l);
|
|
1318
|
+
}
|
|
1319
|
+
|
|
1320
|
+
.base-avatar.size-xl .avatar-initial {
|
|
1321
|
+
font-size: var(--avatar-initial-font-size-xl);
|
|
1322
|
+
}
|
|
1323
|
+
|
|
1277
1324
|
/***************************************************************************************************
|
|
1278
1325
|
* *
|
|
1279
1326
|
* avatar *
|
|
@@ -3574,14 +3621,30 @@
|
|
|
3574
3621
|
transform: translate(-50%, -50%);
|
|
3575
3622
|
}
|
|
3576
3623
|
|
|
3624
|
+
.check-box:hover:not([data-disabled]) > .check-box-indicator.wrapper:not(.variant-outlined) {
|
|
3625
|
+
border-color: var(--border-accent);
|
|
3626
|
+
background-color: var(--surface-brand-subtle);
|
|
3627
|
+
}
|
|
3628
|
+
|
|
3629
|
+
.check-box:is([data-state='checked'],[data-state='indeterminate']) > .check-box-indicator.wrapper {
|
|
3630
|
+
border-color: var(--border-accent);
|
|
3631
|
+
}
|
|
3632
|
+
|
|
3633
|
+
/* 꺼짐은 회색 선에 아주 연한 회색 바탕, 마우스를 올리면 보라 선에 연보라 바탕, 켜짐은 보라 채움(ADR 0021).
|
|
3634
|
+
transform 은 .motion-press 의 눌림이라 함께 적는다 */
|
|
3635
|
+
|
|
3577
3636
|
.check-box-indicator.wrapper {
|
|
3578
3637
|
display: flex;
|
|
3579
3638
|
align-items: center;
|
|
3580
3639
|
justify-content: center;
|
|
3581
3640
|
border-radius: var(--radius-mark);
|
|
3582
|
-
border: var(--border-width-strong) solid var(--border-
|
|
3583
|
-
background-color: var(--surface-
|
|
3641
|
+
border: var(--border-width-strong) solid var(--border-hover);
|
|
3642
|
+
background-color: var(--surface-subtle);
|
|
3584
3643
|
overflow: hidden;
|
|
3644
|
+
transition:
|
|
3645
|
+
transform var(--motion-press-duration) var(--motion-press-ease),
|
|
3646
|
+
border-color var(--motion-press-duration) var(--motion-press-ease),
|
|
3647
|
+
background-color var(--motion-press-duration) var(--motion-press-ease);
|
|
3585
3648
|
}
|
|
3586
3649
|
|
|
3587
3650
|
.check-box-indicator {
|
|
@@ -3607,7 +3670,7 @@
|
|
|
3607
3670
|
color: var(--text-on-brand);
|
|
3608
3671
|
}
|
|
3609
3672
|
|
|
3610
|
-
.check-box-indicator[data-state='checked']:not(.wrapper) {
|
|
3673
|
+
.check-box-indicator[data-state='checked']:not(.wrapper),.check-box-indicator[data-state='indeterminate']:not(.wrapper) {
|
|
3611
3674
|
opacity: 1;
|
|
3612
3675
|
}
|
|
3613
3676
|
|
|
@@ -3756,19 +3819,73 @@
|
|
|
3756
3819
|
color: var(--text-brand);
|
|
3757
3820
|
}
|
|
3758
3821
|
|
|
3759
|
-
/* ghost: 촘촘하거나 보조 필터. 선도 바탕도 없다가 고르면 회색
|
|
3822
|
+
/* ghost: 촘촘하거나 보조 필터. 선도 바탕도 없다가 고르면 회색 면.
|
|
3823
|
+
tab: 같은 목록의 상태 거르기 칩 탭. 고르는 모양은 ghost 와 같고 개수가 알약이다 */
|
|
3760
3824
|
|
|
3761
|
-
.chip-group.variant-ghost .chip-group-chip {
|
|
3825
|
+
.chip-group:is(.variant-ghost,.variant-tab) .chip-group-chip {
|
|
3762
3826
|
border-color: transparent;
|
|
3763
3827
|
background: transparent;
|
|
3764
3828
|
}
|
|
3765
3829
|
|
|
3766
|
-
[data-state='on']:is(.chip-group.variant-ghost .chip-group-chip) {
|
|
3830
|
+
[data-state='on']:is(.chip-group:is(.variant-ghost,.variant-tab) .chip-group-chip) {
|
|
3767
3831
|
border-color: transparent;
|
|
3768
3832
|
background: var(--surface-muted);
|
|
3769
3833
|
color: var(--text-primary);
|
|
3770
3834
|
}
|
|
3771
3835
|
|
|
3836
|
+
/* 개수 알약은 쉴 때 회색 면, 고른 칩에서는 뒤집은 진한 면이라 회색 알약 위에서도 보인다 */
|
|
3837
|
+
|
|
3838
|
+
.chip-group.variant-tab .chip-group-count {
|
|
3839
|
+
min-width: var(--line-height-xsm);
|
|
3840
|
+
padding: 0 var(--spacing-6);
|
|
3841
|
+
border-radius: var(--radius-pill);
|
|
3842
|
+
background: var(--surface-muted);
|
|
3843
|
+
color: var(--text-tertiary);
|
|
3844
|
+
line-height: var(--line-height-xsm);
|
|
3845
|
+
font-weight: var(--font-weight-semibold);
|
|
3846
|
+
text-align: center;
|
|
3847
|
+
opacity: 1;
|
|
3848
|
+
}
|
|
3849
|
+
|
|
3850
|
+
.chip-group.variant-tab .chip-group-chip[data-state='on'] .chip-group-count {
|
|
3851
|
+
background: var(--surface-inverse);
|
|
3852
|
+
color: var(--text-inverse);
|
|
3853
|
+
}
|
|
3854
|
+
|
|
3855
|
+
/* toggle: 따로 켜고 끄는 보조 필터('…만 보기'). 쉴 때 점선과 회색 체크, 켜면 연한 주색 면에 실선·주색 체크 */
|
|
3856
|
+
|
|
3857
|
+
.chip-group.variant-toggle .chip-group-chip {
|
|
3858
|
+
gap: var(--spacing-4);
|
|
3859
|
+
border-style: dashed;
|
|
3860
|
+
background: transparent;
|
|
3861
|
+
color: var(--text-secondary);
|
|
3862
|
+
}
|
|
3863
|
+
|
|
3864
|
+
:is(.chip-group.variant-toggle .chip-group-chip) .chip-group-check {
|
|
3865
|
+
color: var(--icon-tertiary);
|
|
3866
|
+
}
|
|
3867
|
+
|
|
3868
|
+
[data-state='on']:is(.chip-group.variant-toggle .chip-group-chip) {
|
|
3869
|
+
border-style: solid;
|
|
3870
|
+
border-color: var(--border-accent);
|
|
3871
|
+
background: var(--surface-brand-subtle);
|
|
3872
|
+
color: var(--text-brand);
|
|
3873
|
+
font-weight: var(--font-weight-medium);
|
|
3874
|
+
}
|
|
3875
|
+
|
|
3876
|
+
[data-state='on']:is(.chip-group.variant-toggle .chip-group-chip) .chip-group-check {
|
|
3877
|
+
color: var(--icon-brand);
|
|
3878
|
+
}
|
|
3879
|
+
|
|
3880
|
+
[data-disabled]:is(.chip-group.variant-toggle .chip-group-chip) {
|
|
3881
|
+
border-color: var(--border-disabled);
|
|
3882
|
+
color: var(--text-disabled);
|
|
3883
|
+
}
|
|
3884
|
+
|
|
3885
|
+
[data-disabled]:is(.chip-group.variant-toggle .chip-group-chip) .chip-group-check {
|
|
3886
|
+
color: var(--text-disabled);
|
|
3887
|
+
}
|
|
3888
|
+
|
|
3772
3889
|
/* filled(기본): 페이지 바탕 위. 연회색 바탕과 선, 고르면 보라 채움(무드 규칙 8) */
|
|
3773
3890
|
|
|
3774
3891
|
.chip-group-chip {
|
|
@@ -4021,6 +4138,106 @@
|
|
|
4021
4138
|
font-weight: var(--font-weight-bold);
|
|
4022
4139
|
}
|
|
4023
4140
|
|
|
4141
|
+
/* 값 옆 복사 버튼. 버튼(36) 이 글 한 줄 높이보다 커도 줄 높이를 늘리지 않게 위아래를 겹친다 */
|
|
4142
|
+
|
|
4143
|
+
.description-list-item > dd.has-copy {
|
|
4144
|
+
/* 숨긴 알림 칸을 제 칸에 묶는다. 묶지 않으면 잘라 주는 조상 밖으로 나가 문서를 가로로 넓힌다 */
|
|
4145
|
+
position: relative;
|
|
4146
|
+
display: flex;
|
|
4147
|
+
align-items: center;
|
|
4148
|
+
justify-content: flex-end;
|
|
4149
|
+
gap: var(--spacing-4);
|
|
4150
|
+
}
|
|
4151
|
+
|
|
4152
|
+
.description-list-value {
|
|
4153
|
+
min-width: 0;
|
|
4154
|
+
word-break: break-all;
|
|
4155
|
+
}
|
|
4156
|
+
|
|
4157
|
+
.description-list-copy {
|
|
4158
|
+
flex: none;
|
|
4159
|
+
margin-block: calc((var(--line-height-sm) - var(--icon-button-size-s)) / 2);
|
|
4160
|
+
}
|
|
4161
|
+
|
|
4162
|
+
/* 화면에 보이지 않고 화면 낭독기만 읽는 알림 자리 */
|
|
4163
|
+
|
|
4164
|
+
.description-list-copy-status {
|
|
4165
|
+
position: absolute;
|
|
4166
|
+
width: var(--hairline);
|
|
4167
|
+
height: var(--hairline);
|
|
4168
|
+
overflow: hidden;
|
|
4169
|
+
clip-path: inset(50%);
|
|
4170
|
+
white-space: nowrap;
|
|
4171
|
+
}
|
|
4172
|
+
|
|
4173
|
+
/* side: 고정 폭 이름 칸 옆에 값이 왼쪽부터 선다(정보 카드). 이름 칸 폭은 FormField 의 side 라벨 칸과 같다 */
|
|
4174
|
+
|
|
4175
|
+
.description-list.layout-side {
|
|
4176
|
+
gap: var(--spacing-12);
|
|
4177
|
+
}
|
|
4178
|
+
|
|
4179
|
+
.description-list.layout-side .description-list-item {
|
|
4180
|
+
display: grid;
|
|
4181
|
+
grid-template-columns: min(var(--form-label-width), 40%) minmax(0, 1fr);
|
|
4182
|
+
align-items: center;
|
|
4183
|
+
}
|
|
4184
|
+
|
|
4185
|
+
.description-list.layout-side .description-list-item > dd {
|
|
4186
|
+
display: flex;
|
|
4187
|
+
flex-wrap: wrap;
|
|
4188
|
+
align-items: center;
|
|
4189
|
+
justify-content: flex-start;
|
|
4190
|
+
gap: var(--spacing-6);
|
|
4191
|
+
font-weight: var(--font-weight-regular);
|
|
4192
|
+
text-align: start;
|
|
4193
|
+
}
|
|
4194
|
+
|
|
4195
|
+
/* grid: 회색 이름 칸과 값 칸이 번갈아 서는 4열 표. 줄(div)은 칸을 만들지 않고 dt·dd 가 바로 격자 칸이 된다 */
|
|
4196
|
+
|
|
4197
|
+
.description-list.layout-grid {
|
|
4198
|
+
display: grid;
|
|
4199
|
+
grid-template-columns:
|
|
4200
|
+
var(--form-label-width) minmax(0, 1fr)
|
|
4201
|
+
var(--form-label-width) minmax(0, 1fr);
|
|
4202
|
+
gap: 0;
|
|
4203
|
+
border-top: var(--hairline) solid var(--border-default);
|
|
4204
|
+
|
|
4205
|
+
/* 좁은 화면은 이름 | 값 두 열로 접는다 */
|
|
4206
|
+
}
|
|
4207
|
+
|
|
4208
|
+
@media (width < 768px) {
|
|
4209
|
+
|
|
4210
|
+
.description-list.layout-grid {
|
|
4211
|
+
grid-template-columns: min(var(--form-label-width), 40%) minmax(0, 1fr);
|
|
4212
|
+
}
|
|
4213
|
+
}
|
|
4214
|
+
|
|
4215
|
+
.description-list.layout-grid .description-list-item {
|
|
4216
|
+
display: contents;
|
|
4217
|
+
}
|
|
4218
|
+
|
|
4219
|
+
.description-list.layout-grid .description-list-item > dt,.description-list.layout-grid .description-list-item > dd {
|
|
4220
|
+
display: flex;
|
|
4221
|
+
flex-wrap: wrap;
|
|
4222
|
+
align-items: center;
|
|
4223
|
+
gap: var(--spacing-6);
|
|
4224
|
+
min-width: 0;
|
|
4225
|
+
padding: var(--spacing-12) var(--spacing-16);
|
|
4226
|
+
border-bottom: var(--hairline) solid var(--border-subtle);
|
|
4227
|
+
}
|
|
4228
|
+
|
|
4229
|
+
.description-list.layout-grid .description-list-item > dt {
|
|
4230
|
+
background-color: var(--surface-subtle);
|
|
4231
|
+
color: var(--text-secondary);
|
|
4232
|
+
font-weight: var(--font-weight-medium);
|
|
4233
|
+
}
|
|
4234
|
+
|
|
4235
|
+
.description-list.layout-grid .description-list-item > dd {
|
|
4236
|
+
justify-content: flex-start;
|
|
4237
|
+
font-weight: var(--font-weight-regular);
|
|
4238
|
+
text-align: start;
|
|
4239
|
+
}
|
|
4240
|
+
|
|
4024
4241
|
/* Title·Close 같은 조각도 base-drawer 를 달므로 상자 스타일은 overlay·content 에만 건다. */
|
|
4025
4242
|
|
|
4026
4243
|
.base-drawer:where(.overlay) {
|
|
@@ -4229,6 +4446,11 @@
|
|
|
4229
4446
|
max-height: var(--radix-select-content-available-height);
|
|
4230
4447
|
}
|
|
4231
4448
|
|
|
4449
|
+
.base-drop-down:where(.item-indicator) {
|
|
4450
|
+
display: inline-flex;
|
|
4451
|
+
flex: none;
|
|
4452
|
+
}
|
|
4453
|
+
|
|
4232
4454
|
/***************************************************************************************************
|
|
4233
4455
|
* *
|
|
4234
4456
|
* drop-down-single *
|
|
@@ -4274,15 +4496,49 @@
|
|
|
4274
4496
|
|
|
4275
4497
|
.drop-down-single-trigger {
|
|
4276
4498
|
|
|
4499
|
+
/* 입력 상자와 같은 선(ADR 0021). 흰 바탕에 회색 1px, 마우스를 올리면 연보라, 포커스·열림이면 보라 2px.
|
|
4500
|
+
2px 는 1px border 에 안쪽 1px 그림자를 겹쳐 상자 크기가 흔들리지 않는다 */
|
|
4501
|
+
box-sizing: border-box;
|
|
4277
4502
|
border: var(--hairline) solid var(--border-default);
|
|
4278
4503
|
border-radius: var(--radius-control);
|
|
4279
4504
|
width: -moz-fit-content;
|
|
4280
4505
|
width: fit-content;
|
|
4281
4506
|
background-color: var(--surface-base);
|
|
4507
|
+
color: var(--text-primary);
|
|
4508
|
+
transition:
|
|
4509
|
+
border-color var(--motion-press-duration) var(--motion-press-ease),
|
|
4510
|
+
box-shadow var(--motion-press-duration) var(--motion-press-ease);
|
|
4282
4511
|
}
|
|
4283
4512
|
|
|
4284
|
-
.drop-down-single-trigger:focus {
|
|
4513
|
+
.drop-down-single-trigger:hover:not(:focus,[data-state='open'],[data-disabled],.error) {
|
|
4514
|
+
border-color: var(--border-accent-subtle);
|
|
4515
|
+
box-shadow: inset 0 0 0 var(--hairline) var(--border-accent-subtle);
|
|
4516
|
+
}
|
|
4517
|
+
|
|
4518
|
+
.drop-down-single-trigger:focus,.drop-down-single-trigger[data-state='open'] {
|
|
4285
4519
|
border-color: var(--border-accent);
|
|
4520
|
+
box-shadow: inset 0 0 0 var(--hairline) var(--border-accent);
|
|
4521
|
+
}
|
|
4522
|
+
|
|
4523
|
+
/* 포커스는 선이 보여 준다. 전역 포커스 링은 끈다 */
|
|
4524
|
+
|
|
4525
|
+
.drop-down-single-trigger:focus-visible {
|
|
4526
|
+
outline: none;
|
|
4527
|
+
}
|
|
4528
|
+
|
|
4529
|
+
.drop-down-single-trigger.error {
|
|
4530
|
+
border-color: var(--border-error);
|
|
4531
|
+
}
|
|
4532
|
+
|
|
4533
|
+
.drop-down-single-trigger.error:focus,.drop-down-single-trigger.error[data-state='open'] {
|
|
4534
|
+
box-shadow: inset 0 0 0 var(--hairline) var(--border-error);
|
|
4535
|
+
}
|
|
4536
|
+
|
|
4537
|
+
.drop-down-single-trigger[data-disabled] {
|
|
4538
|
+
border-color: var(--border-disabled);
|
|
4539
|
+
background-color: var(--surface-muted);
|
|
4540
|
+
color: var(--text-disabled);
|
|
4541
|
+
cursor: var(--cursor-disabled);
|
|
4286
4542
|
}
|
|
4287
4543
|
|
|
4288
4544
|
.drop-down-single-trigger[data-placeholder] .drop-down-single-icon {
|
|
@@ -4316,7 +4572,7 @@
|
|
|
4316
4572
|
.drop-down-single-value {
|
|
4317
4573
|
font-size: inherit;
|
|
4318
4574
|
line-height: inherit;
|
|
4319
|
-
font-weight: var(--font-weight-
|
|
4575
|
+
font-weight: var(--font-weight-regular);
|
|
4320
4576
|
|
|
4321
4577
|
text-align: left;
|
|
4322
4578
|
}
|
|
@@ -4329,10 +4585,16 @@
|
|
|
4329
4585
|
color: var(--text-placeholder);
|
|
4330
4586
|
}
|
|
4331
4587
|
|
|
4588
|
+
/* 목록 판: 흰 바탕·그림자, 위아래 안쪽 여백. 항목은 좌우로 들어간 둥근 행이다 */
|
|
4589
|
+
|
|
4332
4590
|
.drop-down-single-content {
|
|
4333
4591
|
z-index: var(--z-popover);
|
|
4592
|
+
box-sizing: border-box;
|
|
4334
4593
|
min-width: var(--radix-select-trigger-width);
|
|
4335
4594
|
overflow: hidden;
|
|
4595
|
+
padding: var(--spacing-6) 0;
|
|
4596
|
+
border: var(--hairline) solid var(--border-default);
|
|
4597
|
+
background-color: var(--surface-base);
|
|
4336
4598
|
box-shadow: var(--shadow-popover);
|
|
4337
4599
|
border-radius: var(--radius-control);
|
|
4338
4600
|
|
|
@@ -4340,26 +4602,46 @@
|
|
|
4340
4602
|
}
|
|
4341
4603
|
|
|
4342
4604
|
.drop-down-single-item {
|
|
4343
|
-
|
|
4344
|
-
|
|
4345
|
-
|
|
4605
|
+
display: flex;
|
|
4606
|
+
align-items: center;
|
|
4607
|
+
justify-content: space-between;
|
|
4608
|
+
gap: var(--spacing-8);
|
|
4609
|
+
box-sizing: border-box;
|
|
4610
|
+
height: var(--menu-row-height-s);
|
|
4611
|
+
margin: 0 var(--spacing-6);
|
|
4612
|
+
padding: 0 var(--spacing-12);
|
|
4613
|
+
border-radius: var(--radius-mark);
|
|
4614
|
+
background-color: transparent;
|
|
4346
4615
|
|
|
4347
4616
|
font-size: var(--font-size-sm);
|
|
4348
4617
|
line-height: var(--line-height-sm);
|
|
4349
|
-
font-weight: var(--font-weight-
|
|
4618
|
+
font-weight: var(--font-weight-regular);
|
|
4619
|
+
color: var(--text-primary);
|
|
4350
4620
|
|
|
4351
4621
|
cursor: pointer;
|
|
4622
|
+
|
|
4623
|
+
/* 키보드 이동·호버는 Radix 가 단 data-highlighted 배경이 보여 준다. 주색이 아니라 중립 회색이다 */
|
|
4352
4624
|
}
|
|
4353
4625
|
|
|
4354
4626
|
.drop-down-single-item[data-highlighted] {
|
|
4355
|
-
background-color: var(--surface-
|
|
4627
|
+
background-color: var(--surface-muted);
|
|
4628
|
+
}
|
|
4629
|
+
|
|
4630
|
+
/* 고른 항목은 굵게, 오른쪽에 체크가 붙는다 */
|
|
4631
|
+
|
|
4632
|
+
.drop-down-single-item[data-state='checked'] {
|
|
4633
|
+
font-weight: var(--font-weight-semibold);
|
|
4356
4634
|
}
|
|
4357
4635
|
|
|
4636
|
+
.drop-down-single-item[data-state='checked'] .base-drop-down:where(.item-indicator) {
|
|
4637
|
+
color: var(--text-brand);
|
|
4638
|
+
}
|
|
4639
|
+
|
|
4358
4640
|
/* 눌림은 딤만(press form dim). 행이 줄면 목록 가장자리에 틈이 보인다.
|
|
4359
|
-
딤 색은
|
|
4641
|
+
딤 색은 강조 배경과 같은 중립 회색 색조다 */
|
|
4360
4642
|
|
|
4361
4643
|
.drop-down-single-item.motion-press-dim::after {
|
|
4362
|
-
background: var(--surface-
|
|
4644
|
+
background: var(--surface-strong);
|
|
4363
4645
|
}
|
|
4364
4646
|
|
|
4365
4647
|
/* 키보드 이동은 data-highlighted 배경이 보여 준다. 전역 포커스 링은 끈다 */
|
|
@@ -4368,10 +4650,18 @@
|
|
|
4368
4650
|
outline: none;
|
|
4369
4651
|
}
|
|
4370
4652
|
|
|
4371
|
-
.drop-down-single-item
|
|
4372
|
-
|
|
4373
|
-
|
|
4374
|
-
|
|
4653
|
+
.drop-down-single-item[data-disabled] {
|
|
4654
|
+
color: var(--text-disabled);
|
|
4655
|
+
cursor: var(--cursor-disabled);
|
|
4656
|
+
}
|
|
4657
|
+
|
|
4658
|
+
/* 좁은 화면은 손가락으로 누른다. 행을 터치 높이까지 키운다 */
|
|
4659
|
+
|
|
4660
|
+
@media (width < 768px) {
|
|
4661
|
+
|
|
4662
|
+
.drop-down-single-item {
|
|
4663
|
+
height: var(--touch-target);
|
|
4664
|
+
}
|
|
4375
4665
|
}
|
|
4376
4666
|
|
|
4377
4667
|
.base-text:where(.xsm) {
|
|
@@ -5074,6 +5364,30 @@
|
|
|
5074
5364
|
color: var(--text-success);
|
|
5075
5365
|
}
|
|
5076
5366
|
|
|
5367
|
+
/* 표·블록 안의 작은 빈 자리. 제목도 회색이라 둘레 내용보다 앞에 나서지 않는다 */
|
|
5368
|
+
|
|
5369
|
+
.empty-state.size-s {
|
|
5370
|
+
gap: var(--spacing-4);
|
|
5371
|
+
padding: var(--spacing-16) var(--spacing-12);
|
|
5372
|
+
}
|
|
5373
|
+
|
|
5374
|
+
.empty-state.size-s .empty-state-icon {
|
|
5375
|
+
width: var(--empty-state-icon-box-s);
|
|
5376
|
+
height: var(--empty-state-icon-box-s);
|
|
5377
|
+
margin-bottom: var(--spacing-4);
|
|
5378
|
+
}
|
|
5379
|
+
|
|
5380
|
+
.empty-state.size-s .empty-state-title {
|
|
5381
|
+
font-size: var(--font-size-sm);
|
|
5382
|
+
line-height: var(--line-height-sm);
|
|
5383
|
+
font-weight: var(--font-weight-medium);
|
|
5384
|
+
color: var(--text-secondary);
|
|
5385
|
+
}
|
|
5386
|
+
|
|
5387
|
+
.empty-state.size-s .empty-state-action {
|
|
5388
|
+
margin-top: var(--spacing-4);
|
|
5389
|
+
}
|
|
5390
|
+
|
|
5077
5391
|
/* figure 는 쓰는 쪽 그림을 크기 그대로 아이콘 원 자리에 둔다 */
|
|
5078
5392
|
|
|
5079
5393
|
.empty-state-figure {
|
|
@@ -5116,43 +5430,295 @@
|
|
|
5116
5430
|
margin-top: var(--spacing-8);
|
|
5117
5431
|
}
|
|
5118
5432
|
|
|
5119
|
-
/*
|
|
5433
|
+
/* 컨트롤에 라벨·도움말을 붙이는 행. 조각: label · panel · columns */
|
|
5120
5434
|
|
|
5121
|
-
.base-
|
|
5122
|
-
|
|
5123
|
-
|
|
5124
|
-
|
|
5125
|
-
|
|
5435
|
+
.base-form-field:where(.root) {
|
|
5436
|
+
min-width: 0;
|
|
5437
|
+
}
|
|
5438
|
+
|
|
5439
|
+
.base-form-field:where(.columns) {
|
|
5440
|
+
display: grid;
|
|
5441
|
+
}
|
|
5126
5442
|
|
|
5127
5443
|
/***************************************************************************************************
|
|
5128
5444
|
* *
|
|
5129
|
-
*
|
|
5445
|
+
* form-field *
|
|
5130
5446
|
* *
|
|
5131
5447
|
***************************************************************************************************/
|
|
5132
5448
|
|
|
5133
|
-
|
|
5134
|
-
/* 그림 안 선이 그려질 길이 — motion-result-draw 가 이 값에서 0 으로 간다 */
|
|
5135
|
-
--result-stroke-length: 60;
|
|
5449
|
+
/* 라벨 칸 폭은 이 필드에만 둔다. 안에 겹친 FormField 는 제 기본값으로 돌아간다 */
|
|
5136
5450
|
|
|
5137
|
-
|
|
5451
|
+
.form-field {
|
|
5452
|
+
--form-field-label-width: var(--form-label-width);
|
|
5138
5453
|
|
|
5139
|
-
|
|
5454
|
+
display: flex;
|
|
5455
|
+
flex-direction: column;
|
|
5456
|
+
/* 라벨과 컨트롤 사이는 TextField·TextArea 의 title 간격과 같다 */
|
|
5457
|
+
gap: var(--spacing-6);
|
|
5458
|
+
|
|
5459
|
+
/* 왼쪽 고정 폭 라벨 칸. 라벨은 위에 붙어 있고 첫 줄 컨트롤(44px) 가운데에 맞는다.
|
|
5460
|
+
아래로 하위 패널이 길어져도 라벨은 위에 남는다 */
|
|
5140
5461
|
}
|
|
5141
5462
|
|
|
5142
|
-
.
|
|
5143
|
-
|
|
5144
|
-
|
|
5145
|
-
|
|
5463
|
+
.form-field.layout-side {
|
|
5464
|
+
display: grid;
|
|
5465
|
+
grid-template-columns: var(--form-field-label-width) minmax(0, 1fr);
|
|
5466
|
+
align-items: start;
|
|
5467
|
+
gap: 0;
|
|
5146
5468
|
|
|
5147
|
-
|
|
5148
|
-
background-color: var(--surface-muted);
|
|
5149
|
-
color: var(--icon-secondary);
|
|
5469
|
+
/* 자식 결합자로 좁힌다. Panel 안에 겹친 top 필드에 번지지 않게 한다 */
|
|
5150
5470
|
}
|
|
5151
5471
|
|
|
5152
|
-
.
|
|
5153
|
-
|
|
5154
|
-
|
|
5155
|
-
|
|
5472
|
+
.form-field.layout-side > .form-field-head {
|
|
5473
|
+
align-content: center;
|
|
5474
|
+
min-height: var(--control-height-m);
|
|
5475
|
+
padding-inline-end: var(--spacing-16);
|
|
5476
|
+
}
|
|
5477
|
+
|
|
5478
|
+
:is(.form-field.layout-side > .form-field-head) > .form-field-label {
|
|
5479
|
+
color: var(--text-body);
|
|
5480
|
+
}
|
|
5481
|
+
|
|
5482
|
+
/* 좁은 화면에서는 라벨을 위로 쌓는다. grid 의 start 를 되돌려야 컨트롤이 폭을 채운다 */
|
|
5483
|
+
|
|
5484
|
+
@media (width < 768px) {
|
|
5485
|
+
|
|
5486
|
+
.form-field.layout-side {
|
|
5487
|
+
display: flex;
|
|
5488
|
+
align-items: stretch;
|
|
5489
|
+
gap: var(--spacing-6);
|
|
5490
|
+
}
|
|
5491
|
+
|
|
5492
|
+
.form-field.layout-side > .form-field-head {
|
|
5493
|
+
min-height: 0;
|
|
5494
|
+
padding-inline-end: 0;
|
|
5495
|
+
}
|
|
5496
|
+
}
|
|
5497
|
+
|
|
5498
|
+
.form-field-head {
|
|
5499
|
+
display: flex;
|
|
5500
|
+
flex-wrap: wrap;
|
|
5501
|
+
align-items: center;
|
|
5502
|
+
gap: var(--spacing-4) var(--spacing-8);
|
|
5503
|
+
min-width: 0;
|
|
5504
|
+
}
|
|
5505
|
+
|
|
5506
|
+
.form-field-label {
|
|
5507
|
+
color: var(--text-secondary);
|
|
5508
|
+
font-size: var(--font-size-sm);
|
|
5509
|
+
line-height: var(--line-height-sm);
|
|
5510
|
+
font-weight: var(--font-weight-medium);
|
|
5511
|
+
overflow-wrap: anywhere;
|
|
5512
|
+
}
|
|
5513
|
+
|
|
5514
|
+
.form-field-hint {
|
|
5515
|
+
color: var(--text-muted);
|
|
5516
|
+
font-size: var(--font-size-sm);
|
|
5517
|
+
line-height: var(--line-height-sm);
|
|
5518
|
+
}
|
|
5519
|
+
|
|
5520
|
+
.form-field-label-action {
|
|
5521
|
+
display: inline-flex;
|
|
5522
|
+
}
|
|
5523
|
+
|
|
5524
|
+
.form-field-body {
|
|
5525
|
+
min-width: 0;
|
|
5526
|
+
}
|
|
5527
|
+
|
|
5528
|
+
/* note 가 있을 때만 컨트롤과 한 줄이다. 컨트롤은 제 폭이고 note 가 넘치면 아래 줄로 내려간다 */
|
|
5529
|
+
|
|
5530
|
+
.form-field-control-row {
|
|
5531
|
+
display: flex;
|
|
5532
|
+
flex-wrap: wrap;
|
|
5533
|
+
align-items: center;
|
|
5534
|
+
gap: var(--spacing-8) var(--spacing-12);
|
|
5535
|
+
}
|
|
5536
|
+
|
|
5537
|
+
.form-field-control-row .form-field-control {
|
|
5538
|
+
flex: 0 1 auto;
|
|
5539
|
+
}
|
|
5540
|
+
|
|
5541
|
+
.form-field-control {
|
|
5542
|
+
min-width: 0;
|
|
5543
|
+
}
|
|
5544
|
+
|
|
5545
|
+
.form-field-note {
|
|
5546
|
+
display: flex;
|
|
5547
|
+
flex: 1 1 auto;
|
|
5548
|
+
align-items: center;
|
|
5549
|
+
gap: var(--spacing-4);
|
|
5550
|
+
min-width: 0;
|
|
5551
|
+
margin: 0;
|
|
5552
|
+
color: var(--text-muted);
|
|
5553
|
+
font-size: var(--font-size-sm);
|
|
5554
|
+
line-height: var(--line-height-sm);
|
|
5555
|
+
}
|
|
5556
|
+
|
|
5557
|
+
.form-field-note-icon {
|
|
5558
|
+
flex: none;
|
|
5559
|
+
}
|
|
5560
|
+
|
|
5561
|
+
/* live 영역은 늘 있다. 글이 있을 때만 컨트롤과 간격을 둔다 */
|
|
5562
|
+
|
|
5563
|
+
.form-field-message:not(:empty) {
|
|
5564
|
+
margin-top: var(--spacing-6);
|
|
5565
|
+
}
|
|
5566
|
+
|
|
5567
|
+
.form-field-message-text {
|
|
5568
|
+
margin: 0;
|
|
5569
|
+
color: var(--text-muted);
|
|
5570
|
+
font-size: var(--font-size-sm);
|
|
5571
|
+
line-height: var(--line-height-sm);
|
|
5572
|
+
}
|
|
5573
|
+
|
|
5574
|
+
.form-field-message-text.error {
|
|
5575
|
+
color: var(--text-error);
|
|
5576
|
+
}
|
|
5577
|
+
|
|
5578
|
+
/* 조건부 하위 필드 면. 흰 카드 위에서 한 단계 짙다. 앞 컨트롤과는 12 떨어진다 */
|
|
5579
|
+
|
|
5580
|
+
.form-field-panel {
|
|
5581
|
+
display: flex;
|
|
5582
|
+
flex-direction: column;
|
|
5583
|
+
gap: var(--spacing-16);
|
|
5584
|
+
padding: var(--spacing-20);
|
|
5585
|
+
border-radius: var(--radius-control);
|
|
5586
|
+
background-color: var(--surface-subtle);
|
|
5587
|
+
}
|
|
5588
|
+
|
|
5589
|
+
.form-field-panel:not(:first-child) {
|
|
5590
|
+
margin-top: var(--spacing-12);
|
|
5591
|
+
}
|
|
5592
|
+
|
|
5593
|
+
/* 좁은 화면에서는 한 열이고 줄 간격은 둘레(FormSection·Panel)의 필드 간격을 이어받는다 */
|
|
5594
|
+
|
|
5595
|
+
.form-field-columns {
|
|
5596
|
+
grid-template-columns: repeat(var(--form-field-columns), minmax(0, 1fr));
|
|
5597
|
+
gap: var(--spacing-12);
|
|
5598
|
+
}
|
|
5599
|
+
|
|
5600
|
+
@media (width < 768px) {
|
|
5601
|
+
|
|
5602
|
+
.form-field-columns {
|
|
5603
|
+
grid-template-columns: minmax(0, 1fr);
|
|
5604
|
+
row-gap: inherit;
|
|
5605
|
+
}
|
|
5606
|
+
}
|
|
5607
|
+
|
|
5608
|
+
.base-form-section {
|
|
5609
|
+
display: flex;
|
|
5610
|
+
flex-direction: column;
|
|
5611
|
+
min-width: 0;
|
|
5612
|
+
}
|
|
5613
|
+
|
|
5614
|
+
/***************************************************************************************************
|
|
5615
|
+
* *
|
|
5616
|
+
* form-section *
|
|
5617
|
+
* *
|
|
5618
|
+
***************************************************************************************************/
|
|
5619
|
+
|
|
5620
|
+
/* 연회색 페이지 바탕 위 흰 면. 그림자·테두리가 없다(무드 규칙 2) */
|
|
5621
|
+
|
|
5622
|
+
.form-section {
|
|
5623
|
+
gap: var(--spacing-20);
|
|
5624
|
+
padding: var(--spacing-24);
|
|
5625
|
+
border-radius: var(--radius-surface);
|
|
5626
|
+
background-color: var(--surface-base);
|
|
5627
|
+
}
|
|
5628
|
+
|
|
5629
|
+
@media (width < 768px) {
|
|
5630
|
+
|
|
5631
|
+
.form-section {
|
|
5632
|
+
padding: var(--spacing-20);
|
|
5633
|
+
}
|
|
5634
|
+
}
|
|
5635
|
+
|
|
5636
|
+
.form-section-head {
|
|
5637
|
+
display: flex;
|
|
5638
|
+
align-items: flex-start;
|
|
5639
|
+
gap: var(--spacing-12);
|
|
5640
|
+
min-width: 0;
|
|
5641
|
+
}
|
|
5642
|
+
|
|
5643
|
+
.form-section-heading {
|
|
5644
|
+
display: flex;
|
|
5645
|
+
flex: 1;
|
|
5646
|
+
flex-direction: column;
|
|
5647
|
+
gap: var(--spacing-4);
|
|
5648
|
+
min-width: 0;
|
|
5649
|
+
}
|
|
5650
|
+
|
|
5651
|
+
/* 리셋 없이 쓰는 앱의 h2~h4 여백을 받지 않는다. lg 라 자간이 없다(ADR 0015) */
|
|
5652
|
+
|
|
5653
|
+
.form-section-title {
|
|
5654
|
+
margin: 0;
|
|
5655
|
+
color: var(--text-primary);
|
|
5656
|
+
font-size: var(--font-size-lg);
|
|
5657
|
+
line-height: var(--line-height-lg);
|
|
5658
|
+
font-weight: var(--font-weight-bold);
|
|
5659
|
+
overflow-wrap: anywhere;
|
|
5660
|
+
}
|
|
5661
|
+
|
|
5662
|
+
.form-section-description {
|
|
5663
|
+
margin: 0;
|
|
5664
|
+
color: var(--text-secondary);
|
|
5665
|
+
font-size: var(--font-size-sm);
|
|
5666
|
+
line-height: var(--line-height-sm);
|
|
5667
|
+
}
|
|
5668
|
+
|
|
5669
|
+
.form-section-action {
|
|
5670
|
+
display: flex;
|
|
5671
|
+
flex: none;
|
|
5672
|
+
align-items: center;
|
|
5673
|
+
gap: var(--spacing-8);
|
|
5674
|
+
}
|
|
5675
|
+
|
|
5676
|
+
/* 필드 사이를 넉넉히 띄운다. 안의 FormField.Columns 는 좁은 화면에서 이 간격을 이어받는다 */
|
|
5677
|
+
|
|
5678
|
+
.form-section-body {
|
|
5679
|
+
display: flex;
|
|
5680
|
+
flex-direction: column;
|
|
5681
|
+
gap: var(--spacing-20);
|
|
5682
|
+
min-width: 0;
|
|
5683
|
+
}
|
|
5684
|
+
|
|
5685
|
+
/* 결과 화면 전체 — 그림·글을 세로 가운데에, 주 버튼은 BottomCTA 로 아래에 고정한다 */
|
|
5686
|
+
|
|
5687
|
+
.base-result-screen {
|
|
5688
|
+
display: flex;
|
|
5689
|
+
flex-direction: column;
|
|
5690
|
+
min-height: 100dvh;
|
|
5691
|
+
}
|
|
5692
|
+
|
|
5693
|
+
/***************************************************************************************************
|
|
5694
|
+
* *
|
|
5695
|
+
* result-screen *
|
|
5696
|
+
* *
|
|
5697
|
+
***************************************************************************************************/
|
|
5698
|
+
|
|
5699
|
+
.result-screen {
|
|
5700
|
+
/* 그림 안 선이 그려질 길이 — motion-result-draw 가 이 값에서 0 으로 간다 */
|
|
5701
|
+
--result-stroke-length: 60;
|
|
5702
|
+
|
|
5703
|
+
background-color: var(--surface-base);
|
|
5704
|
+
|
|
5705
|
+
/* variant 는 타일 바탕과 그림 색을 정한다 */
|
|
5706
|
+
}
|
|
5707
|
+
|
|
5708
|
+
.result-screen.variant-success .result-screen-tile,.result-screen.variant-security .result-screen-tile {
|
|
5709
|
+
background-color: var(--surface-brand-subtle);
|
|
5710
|
+
color: var(--icon-brand);
|
|
5711
|
+
}
|
|
5712
|
+
|
|
5713
|
+
.result-screen.variant-neutral .result-screen-tile,.result-screen.variant-farewell .result-screen-tile {
|
|
5714
|
+
background-color: var(--surface-muted);
|
|
5715
|
+
color: var(--icon-secondary);
|
|
5716
|
+
}
|
|
5717
|
+
|
|
5718
|
+
.result-screen.variant-failure .result-screen-tile {
|
|
5719
|
+
background-color: var(--surface-danger-subtle);
|
|
5720
|
+
color: var(--text-danger);
|
|
5721
|
+
animation:
|
|
5156
5722
|
motion-result-pop var(--motion-result-strong-duration) var(--motion-result-strong-ease)
|
|
5157
5723
|
var(--motion-result-figure-delay) both,
|
|
5158
5724
|
motion-result-shake var(--motion-reject-duration) var(--motion-reject-ease) var(--motion-result-title-delay);
|
|
@@ -6976,6 +7542,67 @@ button.modal-with-double-button-close-button {
|
|
|
6976
7542
|
width: var(--modal-width-l);
|
|
6977
7543
|
}
|
|
6978
7544
|
|
|
7545
|
+
.modal-with-double-button-container.size-xl {
|
|
7546
|
+
width: var(--modal-width-xl);
|
|
7547
|
+
}
|
|
7548
|
+
|
|
7549
|
+
/* 제목·설명은 왼쪽, 두 버튼은 오른쪽 아래(토스 모달). 버튼 줄 왼쪽에 footerStart 자리가 있다 */
|
|
7550
|
+
|
|
7551
|
+
.modal-with-double-button-container.align-start {
|
|
7552
|
+
align-items: stretch;
|
|
7553
|
+
}
|
|
7554
|
+
|
|
7555
|
+
.modal-with-double-button-container.align-start .modal-with-double-button-title-icon {
|
|
7556
|
+
align-self: flex-start;
|
|
7557
|
+
}
|
|
7558
|
+
|
|
7559
|
+
.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 {
|
|
7560
|
+
text-align: start;
|
|
7561
|
+
}
|
|
7562
|
+
|
|
7563
|
+
.modal-with-double-button-container.align-start .modal-with-double-button-close.row {
|
|
7564
|
+
flex-wrap: wrap;
|
|
7565
|
+
justify-content: flex-end;
|
|
7566
|
+
gap: var(--spacing-10);
|
|
7567
|
+
}
|
|
7568
|
+
|
|
7569
|
+
:is(.modal-with-double-button-container.align-start .modal-with-double-button-close.row) > * {
|
|
7570
|
+
flex: none;
|
|
7571
|
+
}
|
|
7572
|
+
|
|
7573
|
+
/* 좁은 화면에서는 두 버튼이 줄 폭을 반씩 나눈다 */
|
|
7574
|
+
|
|
7575
|
+
@media (width < 768px) {
|
|
7576
|
+
:is(.modal-with-double-button-container.align-start .modal-with-double-button-close.row) > .modal-with-double-button-buttons {
|
|
7577
|
+
flex: 1 1 100%;
|
|
7578
|
+
}
|
|
7579
|
+
}
|
|
7580
|
+
|
|
7581
|
+
.modal-with-double-button-container.align-start .modal-with-double-button-close.column > .modal-with-double-button-buttons {
|
|
7582
|
+
display: flex;
|
|
7583
|
+
flex-direction: column;
|
|
7584
|
+
gap: var(--spacing-10);
|
|
7585
|
+
width: 100%;
|
|
7586
|
+
}
|
|
7587
|
+
|
|
7588
|
+
/* 버튼 줄 왼쪽 자리는 남는 폭을 차지해 버튼을 오른쪽으로 민다 */
|
|
7589
|
+
|
|
7590
|
+
.modal-with-double-button-footer-start {
|
|
7591
|
+
display: flex;
|
|
7592
|
+
align-items: center;
|
|
7593
|
+
margin-inline-end: auto;
|
|
7594
|
+
min-width: 0;
|
|
7595
|
+
}
|
|
7596
|
+
|
|
7597
|
+
/* 두 칸을 같은 폭(긴 쪽 글자 폭)으로 둔다 */
|
|
7598
|
+
|
|
7599
|
+
.modal-with-double-button-buttons {
|
|
7600
|
+
display: grid;
|
|
7601
|
+
grid-auto-columns: minmax(0, 1fr);
|
|
7602
|
+
grid-auto-flow: column;
|
|
7603
|
+
gap: var(--spacing-10);
|
|
7604
|
+
}
|
|
7605
|
+
|
|
6979
7606
|
.modal-with-double-button-title-icon {
|
|
6980
7607
|
margin-bottom: var(--spacing-20);
|
|
6981
7608
|
}
|
|
@@ -7056,6 +7683,10 @@ button.modal-with-double-button-close-button {
|
|
|
7056
7683
|
width: var(--modal-width-l);
|
|
7057
7684
|
}
|
|
7058
7685
|
|
|
7686
|
+
.modal.size-xl {
|
|
7687
|
+
width: var(--modal-width-xl);
|
|
7688
|
+
}
|
|
7689
|
+
|
|
7059
7690
|
.modal-header {
|
|
7060
7691
|
display: flex;
|
|
7061
7692
|
justify-content: space-between;
|
|
@@ -7094,11 +7725,21 @@ button.modal-with-double-button-close-button {
|
|
|
7094
7725
|
|
|
7095
7726
|
.modal-footer {
|
|
7096
7727
|
display: flex;
|
|
7728
|
+
flex-wrap: wrap;
|
|
7097
7729
|
justify-content: flex-end;
|
|
7098
7730
|
align-items: center;
|
|
7099
7731
|
gap: var(--spacing-10);
|
|
7100
7732
|
}
|
|
7101
7733
|
|
|
7734
|
+
/* 버튼 줄 왼쪽 자리는 남는 폭을 차지해 footer 버튼을 오른쪽으로 민다 */
|
|
7735
|
+
|
|
7736
|
+
.modal-footer-start {
|
|
7737
|
+
display: flex;
|
|
7738
|
+
align-items: center;
|
|
7739
|
+
margin-inline-end: auto;
|
|
7740
|
+
min-width: 0;
|
|
7741
|
+
}
|
|
7742
|
+
|
|
7102
7743
|
/* 한 줄 높이 자리에서 항목을 차례로 돌려 보여 주는 알림 줄. 비면 높이가 0 으로 접힌다 */
|
|
7103
7744
|
|
|
7104
7745
|
.base-nudge {
|
|
@@ -7559,7 +8200,6 @@ button.modal-with-double-button-close-button {
|
|
|
7559
8200
|
.pagination {
|
|
7560
8201
|
display: inline-flex;
|
|
7561
8202
|
align-items: center;
|
|
7562
|
-
gap: var(--spacing-4);
|
|
7563
8203
|
|
|
7564
8204
|
/* 넓은 화면은 siblingCount 목록, 좁은 화면은 이웃을 숨긴 7칸 목록을 보인다(pagination.tsx mergePageSlots) */
|
|
7565
8205
|
}
|
|
@@ -7569,12 +8209,6 @@ button.modal-with-double-button-close-button {
|
|
|
7569
8209
|
}
|
|
7570
8210
|
|
|
7571
8211
|
@media (width < 768px) {
|
|
7572
|
-
|
|
7573
|
-
.pagination {
|
|
7574
|
-
/* 7칸 × 44 = 308 이 양옆 여백 16 을 뺀 360 화면(328) 안에 들게 칸 사이를 없앤다 */
|
|
7575
|
-
gap: 0;
|
|
7576
|
-
}
|
|
7577
|
-
|
|
7578
8212
|
.pagination [data-shown-on='wide'] {
|
|
7579
8213
|
display: none;
|
|
7580
8214
|
}
|
|
@@ -7584,6 +8218,26 @@ button.modal-with-double-button-close-button {
|
|
|
7584
8218
|
}
|
|
7585
8219
|
}
|
|
7586
8220
|
|
|
8221
|
+
/* 결과 수·페이지 크기가 붙은 표 아래 줄. 왼쪽 결과, 가운데 쪽 번호(토스 목록 T14) */
|
|
8222
|
+
|
|
8223
|
+
.pagination.with-summary {
|
|
8224
|
+
display: grid;
|
|
8225
|
+
grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
|
|
8226
|
+
gap: var(--spacing-16);
|
|
8227
|
+
width: 100%;
|
|
8228
|
+
|
|
8229
|
+
/* 좁은 화면은 결과 줄(결과 수 왼쪽, 페이지 크기 오른쪽) 아래에 쪽 번호를 가운데로 쌓는다 */
|
|
8230
|
+
}
|
|
8231
|
+
|
|
8232
|
+
@media (width < 768px) {
|
|
8233
|
+
|
|
8234
|
+
.pagination.with-summary {
|
|
8235
|
+
grid-template-columns: minmax(0, 1fr);
|
|
8236
|
+
gap: var(--spacing-12);
|
|
8237
|
+
justify-items: center;
|
|
8238
|
+
}
|
|
8239
|
+
}
|
|
8240
|
+
|
|
7587
8241
|
.pagination.size-s {
|
|
7588
8242
|
--pagination-item-size: var(--control-height-s);
|
|
7589
8243
|
--pagination-icon-size: var(--icon-size-s);
|
|
@@ -7598,12 +8252,62 @@ button.modal-with-double-button-close-button {
|
|
|
7598
8252
|
line-height: var(--line-height-sm);
|
|
7599
8253
|
}
|
|
7600
8254
|
|
|
7601
|
-
.pagination-
|
|
7602
|
-
|
|
7603
|
-
|
|
8255
|
+
.pagination-pages {
|
|
8256
|
+
display: inline-flex;
|
|
8257
|
+
align-items: center;
|
|
8258
|
+
gap: var(--spacing-4);
|
|
8259
|
+
|
|
8260
|
+
/* 7칸 × 44 = 308 이 양옆 여백 16 을 뺀 360 화면(328) 안에 들게 칸 사이를 없앤다 */
|
|
8261
|
+
}
|
|
8262
|
+
|
|
8263
|
+
@media (width < 768px) {
|
|
8264
|
+
|
|
8265
|
+
.pagination-pages {
|
|
8266
|
+
gap: 0;
|
|
8267
|
+
}
|
|
8268
|
+
}
|
|
8269
|
+
|
|
8270
|
+
.pagination.with-summary > .pagination-pages {
|
|
8271
|
+
grid-column: 2;
|
|
8272
|
+
grid-row: 1;
|
|
8273
|
+
}
|
|
8274
|
+
|
|
8275
|
+
@media (width < 768px) {
|
|
8276
|
+
|
|
8277
|
+
.pagination.with-summary > .pagination-pages {
|
|
8278
|
+
grid-column: 1;
|
|
8279
|
+
grid-row: 2;
|
|
8280
|
+
}
|
|
8281
|
+
}
|
|
8282
|
+
|
|
8283
|
+
.pagination-summary {
|
|
8284
|
+
grid-column: 1;
|
|
8285
|
+
grid-row: 1;
|
|
8286
|
+
display: flex;
|
|
8287
|
+
align-items: center;
|
|
8288
|
+
gap: var(--spacing-8);
|
|
8289
|
+
min-width: 0;
|
|
8290
|
+
}
|
|
8291
|
+
|
|
8292
|
+
@media (width < 768px) {
|
|
8293
|
+
|
|
8294
|
+
.pagination-summary {
|
|
8295
|
+
justify-content: space-between;
|
|
8296
|
+
width: 100%;
|
|
8297
|
+
}
|
|
8298
|
+
}
|
|
8299
|
+
|
|
8300
|
+
.pagination-result {
|
|
8301
|
+
color: var(--text-secondary);
|
|
8302
|
+
white-space: nowrap;
|
|
8303
|
+
}
|
|
8304
|
+
|
|
8305
|
+
.pagination-item {
|
|
8306
|
+
min-width: var(--pagination-item-size);
|
|
8307
|
+
height: var(--pagination-item-size);
|
|
7604
8308
|
padding: 0 var(--spacing-4);
|
|
7605
|
-
border-radius: var(--radius-
|
|
7606
|
-
color: var(--text-
|
|
8309
|
+
border-radius: var(--radius-pill);
|
|
8310
|
+
color: var(--text-secondary);
|
|
7607
8311
|
font-size: inherit;
|
|
7608
8312
|
line-height: inherit;
|
|
7609
8313
|
font-weight: var(--font-weight-medium);
|
|
@@ -7612,17 +8316,19 @@ button.modal-with-double-button-close-button {
|
|
|
7612
8316
|
background-color var(--motion-press-duration) var(--motion-press-ease),
|
|
7613
8317
|
color var(--motion-press-duration) var(--motion-press-ease),
|
|
7614
8318
|
transform var(--motion-press-duration) var(--motion-press-ease);
|
|
8319
|
+
|
|
8320
|
+
/* 현재 쪽은 회색 원에 검정 글자다(토스 목록). 보라는 주 행동에만 쓴다 */
|
|
7615
8321
|
}
|
|
7616
8322
|
|
|
7617
8323
|
.pagination-item:not(:disabled):hover {
|
|
7618
|
-
background-color: var(--surface-
|
|
7619
|
-
color: var(--text-
|
|
8324
|
+
background-color: var(--surface-subtle);
|
|
8325
|
+
color: var(--text-primary);
|
|
7620
8326
|
}
|
|
7621
8327
|
|
|
7622
8328
|
.pagination-item[data-state='active'] {
|
|
7623
|
-
background-color: var(--surface-
|
|
7624
|
-
color: var(--text-
|
|
7625
|
-
font-weight: var(--font-weight-
|
|
8329
|
+
background-color: var(--surface-muted);
|
|
8330
|
+
color: var(--text-primary);
|
|
8331
|
+
font-weight: var(--font-weight-semibold);
|
|
7626
8332
|
}
|
|
7627
8333
|
|
|
7628
8334
|
.pagination-item:disabled {
|
|
@@ -7633,7 +8339,9 @@ button.modal-with-double-button-close-button {
|
|
|
7633
8339
|
.pagination-ellipsis {
|
|
7634
8340
|
min-width: var(--pagination-item-size);
|
|
7635
8341
|
height: var(--pagination-item-size);
|
|
7636
|
-
color: var(--text-
|
|
8342
|
+
color: var(--text-tertiary);
|
|
8343
|
+
/* 토스 목록의 가운데 점 세 개(•••). 쪽 번호보다 한 단계 작게 둔다 */
|
|
8344
|
+
font-size: var(--font-size-xsm);
|
|
7637
8345
|
}
|
|
7638
8346
|
|
|
7639
8347
|
.pagination-icon {
|
|
@@ -7822,6 +8530,12 @@ button.modal-with-double-button-close-button {
|
|
|
7822
8530
|
inset: calc(-1 * var(--spacing-4)) 0;
|
|
7823
8531
|
}
|
|
7824
8532
|
|
|
8533
|
+
/* 칸(44)과 카드는 이미 터치 44 이상이라 ::after 를 넓히지 않고 .motion-press-dim 의 딤에 내준다 */
|
|
8534
|
+
|
|
8535
|
+
.base-radio:where(.segment,.card) {
|
|
8536
|
+
position: relative;
|
|
8537
|
+
}
|
|
8538
|
+
|
|
7825
8539
|
/***************************************************************************************************
|
|
7826
8540
|
* *
|
|
7827
8541
|
* radio *
|
|
@@ -7842,10 +8556,13 @@ button.modal-with-double-button-close-button {
|
|
|
7842
8556
|
gap: var(--spacing-10);
|
|
7843
8557
|
}
|
|
7844
8558
|
|
|
7845
|
-
/* Checkbox(filled) 와 같은 말: 꺼짐은
|
|
8559
|
+
/* Checkbox(filled) 와 같은 말: 꺼짐은 회색 선에 아주 연한 회색 바탕, 올리면 보라 선에 연보라 바탕,
|
|
8560
|
+
켜짐은 보라 채움에 흰 표시(ADR 0021).
|
|
7846
8561
|
채움은 색만 바뀌는 확정이라 confirm fade, 흰 점은 움직임이라 confirm 스프링이다 */
|
|
7847
8562
|
|
|
7848
|
-
|
|
8563
|
+
/* card 의 동그라미 표시(.radio-mark)도 같은 모양이다. 고름·disabled 는 카드의 data-* 로 아래에서 그린다 */
|
|
8564
|
+
|
|
8565
|
+
.radio:where(.radio-button,.radio-mark) {
|
|
7849
8566
|
box-sizing: border-box;
|
|
7850
8567
|
display: flex;
|
|
7851
8568
|
align-items: center;
|
|
@@ -7854,8 +8571,8 @@ button.modal-with-double-button-close-button {
|
|
|
7854
8571
|
height: var(--radio-size);
|
|
7855
8572
|
flex-shrink: 0;
|
|
7856
8573
|
border-radius: var(--radius-circle);
|
|
7857
|
-
border: var(--border-width-strong) solid var(--border-
|
|
7858
|
-
background-color: var(--surface-
|
|
8574
|
+
border: var(--border-width-strong) solid var(--border-hover);
|
|
8575
|
+
background-color: var(--surface-subtle);
|
|
7859
8576
|
}
|
|
7860
8577
|
|
|
7861
8578
|
.radio.radio-button {
|
|
@@ -7863,10 +8580,18 @@ button.modal-with-double-button-close-button {
|
|
|
7863
8580
|
transition:
|
|
7864
8581
|
background-color var(--motion-confirm-fade-duration) var(--motion-confirm-fade-ease)
|
|
7865
8582
|
var(--confirm-delay, 0ms),
|
|
8583
|
+
border-color var(--motion-confirm-fade-duration) var(--motion-confirm-fade-ease)
|
|
8584
|
+
var(--confirm-delay, 0ms),
|
|
7866
8585
|
transform var(--motion-press-duration) var(--motion-press-ease);
|
|
7867
8586
|
}
|
|
7868
8587
|
|
|
8588
|
+
.radio.radio-button:hover:not([data-disabled],[data-state='checked']) {
|
|
8589
|
+
border-color: var(--border-accent);
|
|
8590
|
+
background-color: var(--surface-brand-subtle);
|
|
8591
|
+
}
|
|
8592
|
+
|
|
7869
8593
|
.radio.radio-button[data-state='checked'] {
|
|
8594
|
+
border-color: var(--border-accent);
|
|
7870
8595
|
background-color: var(--surface-brand);
|
|
7871
8596
|
}
|
|
7872
8597
|
|
|
@@ -7956,6 +8681,228 @@ button.modal-with-double-button-close-button {
|
|
|
7956
8681
|
cursor: var(--cursor-disabled);
|
|
7957
8682
|
}
|
|
7958
8683
|
|
|
8684
|
+
/* button: 버튼 칸을 붙여 늘어놓는다. 기본은 내용 폭, .fill 이면 부모 폭을 똑같이 나눈다.
|
|
8685
|
+
이웃 칸이 선 하나를 나눠 쓰게 두 번째 칸부터 선 두께만큼 당긴다 */
|
|
8686
|
+
|
|
8687
|
+
.radio.radio-group.variant-button {
|
|
8688
|
+
flex-direction: row;
|
|
8689
|
+
gap: 0;
|
|
8690
|
+
width: -moz-fit-content;
|
|
8691
|
+
width: fit-content;
|
|
8692
|
+
max-width: 100%;
|
|
8693
|
+
}
|
|
8694
|
+
|
|
8695
|
+
.radio.radio-group.variant-button > .radio-option + .radio-option {
|
|
8696
|
+
margin-inline-start: calc(-1 * var(--hairline));
|
|
8697
|
+
}
|
|
8698
|
+
|
|
8699
|
+
.radio.radio-group.variant-button.fill {
|
|
8700
|
+
width: 100%;
|
|
8701
|
+
}
|
|
8702
|
+
|
|
8703
|
+
.radio.radio-group.variant-button.fill > .radio-option {
|
|
8704
|
+
flex: 1 1 0;
|
|
8705
|
+
min-width: 0;
|
|
8706
|
+
}
|
|
8707
|
+
|
|
8708
|
+
.radio.radio-option:first-child > .radio-segment {
|
|
8709
|
+
border-start-start-radius: var(--radius-control);
|
|
8710
|
+
border-end-start-radius: var(--radius-control);
|
|
8711
|
+
}
|
|
8712
|
+
|
|
8713
|
+
.radio.radio-option:last-child > .radio-segment {
|
|
8714
|
+
border-start-end-radius: var(--radius-control);
|
|
8715
|
+
border-end-end-radius: var(--radius-control);
|
|
8716
|
+
}
|
|
8717
|
+
|
|
8718
|
+
/* .base-button 의 border·radius 초기화를 이기려고 .radio.radio-segment 로 건다. 바깥 모서리는 위 두 규칙이 둥글린다.
|
|
8719
|
+
고른 칸은 z-index 로 이웃 위에 올라 보라 테두리 네 변이 다 보인다. 포커스 링은 전역 규칙이 그린다 */
|
|
8720
|
+
|
|
8721
|
+
.radio.radio-segment {
|
|
8722
|
+
flex: 1 1 auto;
|
|
8723
|
+
gap: var(--spacing-4);
|
|
8724
|
+
min-height: var(--control-height-m);
|
|
8725
|
+
padding: var(--spacing-10) var(--spacing-20);
|
|
8726
|
+
border: var(--hairline) solid var(--border-default);
|
|
8727
|
+
border-radius: 0;
|
|
8728
|
+
background-color: var(--surface-base);
|
|
8729
|
+
color: var(--text-primary);
|
|
8730
|
+
font-size: var(--font-size-sm);
|
|
8731
|
+
line-height: var(--line-height-sm);
|
|
8732
|
+
font-weight: var(--font-weight-medium);
|
|
8733
|
+
overflow-wrap: anywhere;
|
|
8734
|
+
transition:
|
|
8735
|
+
background-color var(--motion-confirm-fade-duration) var(--motion-confirm-fade-ease)
|
|
8736
|
+
var(--confirm-delay, 0ms),
|
|
8737
|
+
color var(--motion-confirm-fade-duration) var(--motion-confirm-fade-ease)
|
|
8738
|
+
var(--confirm-delay, 0ms),
|
|
8739
|
+
border-color var(--motion-confirm-fade-duration) var(--motion-confirm-fade-ease)
|
|
8740
|
+
var(--confirm-delay, 0ms);
|
|
8741
|
+
|
|
8742
|
+
/* 딤 색은 고른 칸의 보라 바탕과 같은 색조다 */
|
|
8743
|
+
}
|
|
8744
|
+
|
|
8745
|
+
.radio.radio-segment.motion-press-dim::after {
|
|
8746
|
+
background: var(--surface-brand);
|
|
8747
|
+
}
|
|
8748
|
+
|
|
8749
|
+
.radio.radio-segment:focus-visible {
|
|
8750
|
+
z-index: var(--z-raised);
|
|
8751
|
+
}
|
|
8752
|
+
|
|
8753
|
+
.radio.radio-segment[data-state='checked'] {
|
|
8754
|
+
z-index: var(--z-raised);
|
|
8755
|
+
border-color: var(--border-accent-subtle);
|
|
8756
|
+
background-color: var(--surface-brand-subtle);
|
|
8757
|
+
color: var(--text-brand);
|
|
8758
|
+
font-weight: var(--font-weight-semibold);
|
|
8759
|
+
}
|
|
8760
|
+
|
|
8761
|
+
.radio.radio-segment[data-state='unchecked'] .radio-segment-check {
|
|
8762
|
+
display: none;
|
|
8763
|
+
}
|
|
8764
|
+
|
|
8765
|
+
.radio.radio-segment[data-disabled] {
|
|
8766
|
+
color: var(--text-disabled);
|
|
8767
|
+
cursor: var(--cursor-disabled);
|
|
8768
|
+
}
|
|
8769
|
+
|
|
8770
|
+
/* 골라진 채 막힌 칸은 체크와 굵기로 고름을 남기고 색은 뺀다 */
|
|
8771
|
+
|
|
8772
|
+
.radio.radio-segment[data-disabled][data-state='checked'] {
|
|
8773
|
+
border-color: var(--border-default);
|
|
8774
|
+
background-color: var(--surface-disabled);
|
|
8775
|
+
}
|
|
8776
|
+
|
|
8777
|
+
/* card: 제목·설명 카드를 쌓는다. columns 가 --radio-columns 로 열 수를 준다 */
|
|
8778
|
+
|
|
8779
|
+
.radio.radio-group.variant-card {
|
|
8780
|
+
display: grid;
|
|
8781
|
+
grid-template-columns: repeat(var(--radio-columns, 1), minmax(0, 1fr));
|
|
8782
|
+
gap: var(--spacing-8);
|
|
8783
|
+
}
|
|
8784
|
+
|
|
8785
|
+
.radio.radio-group.variant-card > .radio-option {
|
|
8786
|
+
align-items: stretch;
|
|
8787
|
+
}
|
|
8788
|
+
|
|
8789
|
+
/* .base-button 의 가운데 정렬·gap·border·radius 를 .radio.radio-card 로 덮는다. 포커스 링은 전역 규칙이 그린다 */
|
|
8790
|
+
|
|
8791
|
+
.radio.radio-card {
|
|
8792
|
+
flex: 1 1 auto;
|
|
8793
|
+
justify-content: space-between;
|
|
8794
|
+
align-items: flex-start;
|
|
8795
|
+
gap: var(--spacing-12);
|
|
8796
|
+
padding: var(--spacing-16) var(--spacing-20);
|
|
8797
|
+
border: var(--hairline) solid var(--border-default);
|
|
8798
|
+
border-radius: var(--radius-control);
|
|
8799
|
+
background-color: var(--surface-base);
|
|
8800
|
+
color: var(--text-primary);
|
|
8801
|
+
text-align: start;
|
|
8802
|
+
transition:
|
|
8803
|
+
background-color var(--motion-confirm-fade-duration) var(--motion-confirm-fade-ease)
|
|
8804
|
+
var(--confirm-delay, 0ms),
|
|
8805
|
+
border-color var(--motion-confirm-fade-duration) var(--motion-confirm-fade-ease)
|
|
8806
|
+
var(--confirm-delay, 0ms);
|
|
8807
|
+
}
|
|
8808
|
+
|
|
8809
|
+
.radio.radio-card.motion-press-dim::after {
|
|
8810
|
+
background: var(--surface-brand);
|
|
8811
|
+
}
|
|
8812
|
+
|
|
8813
|
+
.radio.radio-card[data-state='checked'] {
|
|
8814
|
+
border-color: var(--border-accent);
|
|
8815
|
+
background-color: var(--surface-brand-subtle);
|
|
8816
|
+
}
|
|
8817
|
+
|
|
8818
|
+
.radio.radio-card[data-state='checked'] .radio-card-title {
|
|
8819
|
+
color: var(--text-brand);
|
|
8820
|
+
}
|
|
8821
|
+
|
|
8822
|
+
.radio.radio-card[data-state='checked'] .radio-mark {
|
|
8823
|
+
border-color: var(--border-accent);
|
|
8824
|
+
background-color: var(--surface-brand);
|
|
8825
|
+
}
|
|
8826
|
+
|
|
8827
|
+
/* 골라진 채 막힌 카드는 동그라미의 흰 점으로만 고름을 남긴다 */
|
|
8828
|
+
|
|
8829
|
+
.radio.radio-card[data-disabled] {
|
|
8830
|
+
border-color: var(--border-disabled);
|
|
8831
|
+
background-color: var(--surface-base);
|
|
8832
|
+
cursor: var(--cursor-disabled);
|
|
8833
|
+
}
|
|
8834
|
+
|
|
8835
|
+
.radio.radio-card[data-disabled] :is(.radio-card-title,.radio-card-description) {
|
|
8836
|
+
color: var(--text-disabled);
|
|
8837
|
+
}
|
|
8838
|
+
|
|
8839
|
+
.radio.radio-card[data-disabled] .radio-mark {
|
|
8840
|
+
border-color: var(--border-disabled);
|
|
8841
|
+
background-color: var(--surface-control);
|
|
8842
|
+
}
|
|
8843
|
+
|
|
8844
|
+
.radio:where(.radio-card-text) {
|
|
8845
|
+
flex: 1 1 auto;
|
|
8846
|
+
display: flex;
|
|
8847
|
+
flex-direction: column;
|
|
8848
|
+
gap: var(--spacing-4);
|
|
8849
|
+
min-width: 0;
|
|
8850
|
+
}
|
|
8851
|
+
|
|
8852
|
+
.radio:where(.radio-card-title) {
|
|
8853
|
+
font-size: var(--font-size-base);
|
|
8854
|
+
line-height: var(--line-height-base);
|
|
8855
|
+
font-weight: var(--font-weight-semibold);
|
|
8856
|
+
}
|
|
8857
|
+
|
|
8858
|
+
.radio:where(.radio-card-description) {
|
|
8859
|
+
font-size: var(--font-size-sm);
|
|
8860
|
+
line-height: var(--line-height-sm);
|
|
8861
|
+
font-weight: var(--font-weight-regular);
|
|
8862
|
+
color: var(--text-muted);
|
|
8863
|
+
}
|
|
8864
|
+
|
|
8865
|
+
/* 동그라미를 제목 첫 줄 가운데에 맞춘다 */
|
|
8866
|
+
|
|
8867
|
+
.radio.radio-mark {
|
|
8868
|
+
margin-block-start: calc((var(--line-height-base) - var(--radio-size)) / 2);
|
|
8869
|
+
transition: background-color var(--motion-confirm-fade-duration) var(--motion-confirm-fade-ease)
|
|
8870
|
+
var(--confirm-delay, 0ms);
|
|
8871
|
+
}
|
|
8872
|
+
|
|
8873
|
+
/* 좁은 화면: 칸이 셋 이상인 button 묶음은 떨어진 버튼 두 열이 되고 남는 한 칸은 줄을 다 쓴다. card 는 한 열이다 */
|
|
8874
|
+
|
|
8875
|
+
@media (width < 768px) {
|
|
8876
|
+
.radio.radio-group.variant-button {
|
|
8877
|
+
width: 100%;
|
|
8878
|
+
}
|
|
8879
|
+
|
|
8880
|
+
.radio.radio-group.variant-button:has( > .radio-option:nth-child(3)) {
|
|
8881
|
+
display: grid;
|
|
8882
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
8883
|
+
gap: var(--spacing-8);
|
|
8884
|
+
width: 100%;
|
|
8885
|
+
}
|
|
8886
|
+
|
|
8887
|
+
.radio.radio-group.variant-button:has( > .radio-option:nth-child(3)) > .radio-option {
|
|
8888
|
+
min-width: 0;
|
|
8889
|
+
margin-inline-start: 0;
|
|
8890
|
+
}
|
|
8891
|
+
|
|
8892
|
+
.radio.radio-group.variant-button:has( > .radio-option:nth-child(3)) > .radio-option:last-child:nth-child(odd) {
|
|
8893
|
+
grid-column: 1 / -1;
|
|
8894
|
+
}
|
|
8895
|
+
|
|
8896
|
+
.radio.radio-group.variant-button:has( > .radio-option:nth-child(3)) .radio-segment {
|
|
8897
|
+
border-radius: var(--radius-control);
|
|
8898
|
+
white-space: normal;
|
|
8899
|
+
}
|
|
8900
|
+
|
|
8901
|
+
.radio.radio-group.variant-card {
|
|
8902
|
+
grid-template-columns: minmax(0, 1fr);
|
|
8903
|
+
}
|
|
8904
|
+
}
|
|
8905
|
+
|
|
7959
8906
|
.base-rating:where(.root) {
|
|
7960
8907
|
position: relative;
|
|
7961
8908
|
display: inline-flex;
|
|
@@ -8082,7 +9029,7 @@ button.modal-with-double-button-close-button {
|
|
|
8082
9029
|
|
|
8083
9030
|
/***************************************************************************************************
|
|
8084
9031
|
* *
|
|
8085
|
-
*
|
|
9032
|
+
* search-field *
|
|
8086
9033
|
* *
|
|
8087
9034
|
***************************************************************************************************/
|
|
8088
9035
|
|
|
@@ -8106,6 +9053,52 @@ button.modal-with-double-button-close-button {
|
|
|
8106
9053
|
overflow: visible;
|
|
8107
9054
|
}
|
|
8108
9055
|
|
|
9056
|
+
/* 기준 고르기. 상자는 바깥 입력 상자 하나가 그리고, 이 칸은 선·바탕 없이 글자와 꺾쇠만 둔다.
|
|
9057
|
+
.base-drop-down.trigger(앞에 불러온 drop-down CSS)의 간격을 같은 우선순위로 덮는다 */
|
|
9058
|
+
|
|
9059
|
+
.search-field .search-field-criterion {
|
|
9060
|
+
align-self: stretch;
|
|
9061
|
+
flex: none;
|
|
9062
|
+
gap: var(--spacing-4);
|
|
9063
|
+
padding: 0;
|
|
9064
|
+
border: 0;
|
|
9065
|
+
background: transparent;
|
|
9066
|
+
color: var(--text-primary);
|
|
9067
|
+
font: inherit;
|
|
9068
|
+
white-space: nowrap;
|
|
9069
|
+
cursor: var(--cursor-button);
|
|
9070
|
+
}
|
|
9071
|
+
|
|
9072
|
+
[data-disabled]:is(.search-field .search-field-criterion) {
|
|
9073
|
+
color: var(--text-disabled);
|
|
9074
|
+
cursor: var(--cursor-disabled);
|
|
9075
|
+
}
|
|
9076
|
+
|
|
9077
|
+
:is(.search-field .search-field-criterion) .search-field-criterion-icon {
|
|
9078
|
+
color: var(--icon-tertiary);
|
|
9079
|
+
transition: transform var(--motion-expand-duration) var(--motion-expand-ease);
|
|
9080
|
+
}
|
|
9081
|
+
|
|
9082
|
+
[data-state='open']:is(.search-field .search-field-criterion) .search-field-criterion-icon {
|
|
9083
|
+
transform: rotate(var(--motion-expand-rotate));
|
|
9084
|
+
}
|
|
9085
|
+
|
|
9086
|
+
/* 기준과 검색어 사이 세로선 하나. 상자 높이보다 짧게 긋는다 */
|
|
9087
|
+
|
|
9088
|
+
.search-field-divider {
|
|
9089
|
+
flex: none;
|
|
9090
|
+
align-self: stretch;
|
|
9091
|
+
margin-block: var(--spacing-8);
|
|
9092
|
+
border-left: var(--hairline) solid var(--border-default);
|
|
9093
|
+
}
|
|
9094
|
+
|
|
9095
|
+
/* 기준 목록이 열리면 포커스가 목록으로 옮겨 가 :focus-within 이 풀린다. 열린 동안도 포커스와 같은 보라 2px 선을 둔다 */
|
|
9096
|
+
|
|
9097
|
+
.search-field .text-field-input-wrapper:has(.search-field-criterion[data-state='open']) {
|
|
9098
|
+
border-color: var(--border-accent);
|
|
9099
|
+
box-shadow: inset 0 0 0 var(--hairline) var(--border-accent);
|
|
9100
|
+
}
|
|
9101
|
+
|
|
8109
9102
|
.base-section-header {
|
|
8110
9103
|
display: flex;
|
|
8111
9104
|
align-items: center;
|
|
@@ -8295,6 +9288,25 @@ button.modal-with-double-button-close-button {
|
|
|
8295
9288
|
width var(--motion-indicate-spring-duration) var(--motion-indicate-spring-ease);
|
|
8296
9289
|
}
|
|
8297
9290
|
|
|
9291
|
+
/* neutral: 회색 바탕 위 흰 알약에 검정 글자. 판이 바탕과 같은 회색 계열이라 작은 그림자로 띄운다 */
|
|
9292
|
+
|
|
9293
|
+
.motion-press-dim:is(.segmented-control.variant-neutral .segmented-control-item)::after {
|
|
9294
|
+
background: var(--surface-base);
|
|
9295
|
+
}
|
|
9296
|
+
|
|
9297
|
+
[data-state='checked']:is(.segmented-control.variant-neutral .segmented-control-item) {
|
|
9298
|
+
color: var(--text-primary);
|
|
9299
|
+
}
|
|
9300
|
+
|
|
9301
|
+
[data-disabled]:is(.segmented-control.variant-neutral .segmented-control-item) {
|
|
9302
|
+
color: var(--text-disabled);
|
|
9303
|
+
}
|
|
9304
|
+
|
|
9305
|
+
.segmented-control.variant-neutral .segmented-control-indicator {
|
|
9306
|
+
background: var(--surface-base);
|
|
9307
|
+
box-shadow: var(--shadow-raised);
|
|
9308
|
+
}
|
|
9309
|
+
|
|
8298
9310
|
/* 넘쳐 밀린 목록 위에 떠서 처음으로 되돌리는 화살표. 목록 밖에 두어 함께 밀리지 않는다(Tabs 와 같다) */
|
|
8299
9311
|
|
|
8300
9312
|
.segmented-control-scroll-start {
|
|
@@ -8558,17 +9570,31 @@ button.modal-with-double-button-close-button {
|
|
|
8558
9570
|
|
|
8559
9571
|
/* 앱 리셋이 없어도 dl·dt·dd 기본 여백을 받지 않는다 */
|
|
8560
9572
|
|
|
8561
|
-
.base-stat {
|
|
8562
|
-
|
|
8563
|
-
|
|
8564
|
-
|
|
8565
|
-
margin: 0;
|
|
8566
|
-
}
|
|
8567
|
-
|
|
8568
|
-
.base-stat > :where(dt,dd) {
|
|
9573
|
+
.base-stat:where(dl) {
|
|
9574
|
+
display: grid;
|
|
9575
|
+
gap: var(--spacing-4);
|
|
9576
|
+
min-width: 0;
|
|
8569
9577
|
margin: 0;
|
|
8570
9578
|
}
|
|
8571
9579
|
|
|
9580
|
+
.base-stat:where(dl) > :where(dt,dd) {
|
|
9581
|
+
margin: 0;
|
|
9582
|
+
}
|
|
9583
|
+
|
|
9584
|
+
.base-stat:where(.item) {
|
|
9585
|
+
position: relative;
|
|
9586
|
+
}
|
|
9587
|
+
|
|
9588
|
+
.base-stat:where(.toggle) {
|
|
9589
|
+
position: absolute;
|
|
9590
|
+
inset: 0;
|
|
9591
|
+
padding: 0;
|
|
9592
|
+
border: 0;
|
|
9593
|
+
border-radius: inherit;
|
|
9594
|
+
background: transparent;
|
|
9595
|
+
cursor: var(--cursor-button);
|
|
9596
|
+
}
|
|
9597
|
+
|
|
8572
9598
|
/***************************************************************************************************
|
|
8573
9599
|
* *
|
|
8574
9600
|
* stat *
|
|
@@ -8576,6 +9602,9 @@ button.modal-with-double-button-close-button {
|
|
|
8576
9602
|
***************************************************************************************************/
|
|
8577
9603
|
|
|
8578
9604
|
.stat-label {
|
|
9605
|
+
display: flex;
|
|
9606
|
+
align-items: center;
|
|
9607
|
+
gap: var(--spacing-4);
|
|
8579
9608
|
color: var(--text-secondary);
|
|
8580
9609
|
font-size: var(--font-size-sm);
|
|
8581
9610
|
line-height: var(--line-height-sm);
|
|
@@ -8591,6 +9620,16 @@ button.modal-with-double-button-close-button {
|
|
|
8591
9620
|
overflow-wrap: anywhere;
|
|
8592
9621
|
}
|
|
8593
9622
|
|
|
9623
|
+
.stat-value.tone-danger {
|
|
9624
|
+
color: var(--text-danger);
|
|
9625
|
+
}
|
|
9626
|
+
|
|
9627
|
+
.stat.size-s .stat-value {
|
|
9628
|
+
font-size: var(--font-size-xl);
|
|
9629
|
+
line-height: var(--line-height-xl);
|
|
9630
|
+
letter-spacing: var(--letter-spacing-tight);
|
|
9631
|
+
}
|
|
9632
|
+
|
|
8594
9633
|
.stat.size-m .stat-value {
|
|
8595
9634
|
font-size: var(--font-size-2xl);
|
|
8596
9635
|
line-height: var(--line-height-2xl);
|
|
@@ -8603,6 +9642,50 @@ button.modal-with-double-button-close-button {
|
|
|
8603
9642
|
letter-spacing: var(--letter-spacing-tighter);
|
|
8604
9643
|
}
|
|
8605
9644
|
|
|
9645
|
+
/* 아이콘 타일(Asset.Frame size s, 40px)은 라벨·숫자 두 줄의 왼쪽 가운데에 뜬다. 그 폭만큼 글을 민다 */
|
|
9646
|
+
|
|
9647
|
+
.stat.has-icon {
|
|
9648
|
+
position: relative;
|
|
9649
|
+
min-height: var(--asset-square-s);
|
|
9650
|
+
padding-left: calc(var(--asset-square-s) + var(--spacing-12));
|
|
9651
|
+
align-content: center;
|
|
9652
|
+
}
|
|
9653
|
+
|
|
9654
|
+
.stat-icon {
|
|
9655
|
+
position: absolute;
|
|
9656
|
+
top: 50%;
|
|
9657
|
+
left: 0;
|
|
9658
|
+
display: flex;
|
|
9659
|
+
transform: translateY(-50%);
|
|
9660
|
+
}
|
|
9661
|
+
|
|
9662
|
+
/* 라벨 옆 ⓘ. 상태 요약 칸에서는 칸을 덮는 누르는 자리 위에 떠야 누를 수 있다 */
|
|
9663
|
+
|
|
9664
|
+
.stat-help {
|
|
9665
|
+
position: relative;
|
|
9666
|
+
z-index: var(--z-raised);
|
|
9667
|
+
display: inline-flex;
|
|
9668
|
+
pointer-events: auto;
|
|
9669
|
+
padding: 0;
|
|
9670
|
+
border: 0;
|
|
9671
|
+
border-radius: var(--radius-circle);
|
|
9672
|
+
background: transparent;
|
|
9673
|
+
color: var(--icon-tertiary);
|
|
9674
|
+
cursor: var(--cursor-button);
|
|
9675
|
+
|
|
9676
|
+
/* 16px 아이콘의 누르는 자리를 터치 44 로 넓힌다 */
|
|
9677
|
+
}
|
|
9678
|
+
|
|
9679
|
+
.stat-help::after {
|
|
9680
|
+
content: '';
|
|
9681
|
+
position: absolute;
|
|
9682
|
+
top: 50%;
|
|
9683
|
+
left: 50%;
|
|
9684
|
+
width: var(--touch-target);
|
|
9685
|
+
height: var(--touch-target);
|
|
9686
|
+
transform: translate(-50%, -50%);
|
|
9687
|
+
}
|
|
9688
|
+
|
|
8606
9689
|
.stat-detail {
|
|
8607
9690
|
color: var(--text-secondary);
|
|
8608
9691
|
font-size: var(--font-size-sm);
|
|
@@ -8626,6 +9709,69 @@ button.modal-with-double-button-close-button {
|
|
|
8626
9709
|
color: var(--text-secondary);
|
|
8627
9710
|
}
|
|
8628
9711
|
|
|
9712
|
+
/***************************************************************************************************
|
|
9713
|
+
* *
|
|
9714
|
+
* stat-group *
|
|
9715
|
+
* *
|
|
9716
|
+
***************************************************************************************************/
|
|
9717
|
+
|
|
9718
|
+
/* 칸은 가장 긴 줄의 칸 수만큼 열을 나눈다. 좁으면 칸이 글자 폭 아래로 줄지 않고 묶음 안에서 가로로 민다 */
|
|
9719
|
+
|
|
9720
|
+
.stat-group {
|
|
9721
|
+
display: grid;
|
|
9722
|
+
grid-template-columns: repeat(var(--stat-group-columns), minmax(max-content, 1fr));
|
|
9723
|
+
gap: var(--spacing-4) var(--spacing-8);
|
|
9724
|
+
max-width: 100%;
|
|
9725
|
+
overflow-x: auto;
|
|
9726
|
+
}
|
|
9727
|
+
|
|
9728
|
+
.stat-group-item {
|
|
9729
|
+
padding: var(--spacing-12) var(--spacing-16);
|
|
9730
|
+
border-radius: var(--radius-control);
|
|
9731
|
+
transition: background-color var(--motion-confirm-fade-duration) var(--motion-confirm-fade-ease);
|
|
9732
|
+
}
|
|
9733
|
+
|
|
9734
|
+
.stat-group-item.row-start {
|
|
9735
|
+
grid-column-start: 1;
|
|
9736
|
+
}
|
|
9737
|
+
|
|
9738
|
+
/* 글(dl)이 칸을 덮는 Toggle 보다 뒤에 와서 위에 그려진다. 누름은 Toggle 로 보내고 ⓘ 만 다시 받는다 */
|
|
9739
|
+
|
|
9740
|
+
.stat-group-item > .stat {
|
|
9741
|
+
pointer-events: none;
|
|
9742
|
+
}
|
|
9743
|
+
|
|
9744
|
+
/* 같은 줄의 칸 사이 세로선. 열 사이 여백 가운데에 칸 높이보다 짧게 긋는다 */
|
|
9745
|
+
|
|
9746
|
+
.stat-group-item:not(.row-start)::before {
|
|
9747
|
+
content: '';
|
|
9748
|
+
position: absolute;
|
|
9749
|
+
top: var(--spacing-16);
|
|
9750
|
+
bottom: var(--spacing-16);
|
|
9751
|
+
left: calc(-1 * var(--spacing-4));
|
|
9752
|
+
border-left: var(--hairline) solid var(--border-subtle);
|
|
9753
|
+
}
|
|
9754
|
+
|
|
9755
|
+
.stat-group-item.pressable:hover:not([data-state='on']) {
|
|
9756
|
+
background-color: var(--surface-subtle);
|
|
9757
|
+
}
|
|
9758
|
+
|
|
9759
|
+
/* 고른 칸은 연한 주색 면에 주색 글자. 처리할 숫자의 빨강은 그대로 둔다 */
|
|
9760
|
+
|
|
9761
|
+
.stat-group-item[data-state='on'] {
|
|
9762
|
+
background-color: var(--surface-brand-subtle);
|
|
9763
|
+
}
|
|
9764
|
+
|
|
9765
|
+
.stat-group-item[data-state='on'] .stat-label,.stat-group-item[data-state='on'] .stat-value:not(.tone-danger) {
|
|
9766
|
+
color: var(--text-brand);
|
|
9767
|
+
}
|
|
9768
|
+
|
|
9769
|
+
/* 눌림 딤은 목록 행처럼 중립 회색이다 */
|
|
9770
|
+
|
|
9771
|
+
.stat-group-toggle.motion-press-dim::after {
|
|
9772
|
+
background: var(--surface-strong);
|
|
9773
|
+
}
|
|
9774
|
+
|
|
8629
9775
|
.base-platform-badge {
|
|
8630
9776
|
display: inline-flex;
|
|
8631
9777
|
flex-shrink: 0;
|
|
@@ -8853,6 +9999,12 @@ button.modal-with-double-button-close-button {
|
|
|
8853
9999
|
|
|
8854
10000
|
/* 지금 단계 이름만 보인다. 다른 이름은 낭독기에는 남긴다 */
|
|
8855
10001
|
|
|
10002
|
+
/* 숨긴 이름을 제 칸에 묶는다. 묶지 않으면 잘라 주는 조상 밖으로 나가 문서를 가로로 넓힌다 */
|
|
10003
|
+
|
|
10004
|
+
.step-progress.label-visibility-current .step-progress-step {
|
|
10005
|
+
position: relative;
|
|
10006
|
+
}
|
|
10007
|
+
|
|
8856
10008
|
.step-progress.label-visibility-current .step-progress-step:not([data-state='current']) .step-progress-name {
|
|
8857
10009
|
position: absolute;
|
|
8858
10010
|
width: 1px; /* raw-px */
|
|
@@ -9006,20 +10158,63 @@ button.modal-with-double-button-close-button {
|
|
|
9006
10158
|
font-weight: var(--font-weight-medium);
|
|
9007
10159
|
}
|
|
9008
10160
|
|
|
9009
|
-
.base-table {
|
|
9010
|
-
/* 진짜 테이블 레이아웃을 쓴다. 행을 flex 로 두면 헤더와 본문의 열 폭이 따로 놀아 고정열 경계가 어긋난다 */
|
|
9011
|
-
width: -moz-fit-content;
|
|
9012
|
-
width: fit-content;
|
|
9013
|
-
border-collapse: collapse;
|
|
9014
|
-
border-spacing: 0;
|
|
9015
|
-
table-layout: auto;
|
|
9016
|
-
}
|
|
10161
|
+
.base-table {
|
|
10162
|
+
/* 진짜 테이블 레이아웃을 쓴다. 행을 flex 로 두면 헤더와 본문의 열 폭이 따로 놀아 고정열 경계가 어긋난다 */
|
|
10163
|
+
width: -moz-fit-content;
|
|
10164
|
+
width: fit-content;
|
|
10165
|
+
border-collapse: collapse;
|
|
10166
|
+
border-spacing: 0;
|
|
10167
|
+
table-layout: auto;
|
|
10168
|
+
}
|
|
10169
|
+
|
|
10170
|
+
.base-table .cell {
|
|
10171
|
+
padding: 0;
|
|
10172
|
+
text-align: start;
|
|
10173
|
+
vertical-align: middle;
|
|
10174
|
+
}
|
|
10175
|
+
|
|
10176
|
+
/* 두 줄 셀: 윗줄 이름, 아랫줄 작은 회색 보조 글(ID·옵션) */
|
|
10177
|
+
|
|
10178
|
+
.base-table:where(.cell-text) {
|
|
10179
|
+
display: inline-flex;
|
|
10180
|
+
flex-direction: column;
|
|
10181
|
+
gap: var(--spacing-2);
|
|
10182
|
+
min-width: 0;
|
|
10183
|
+
}
|
|
10184
|
+
|
|
10185
|
+
.base-table:where(.cell-text) .cell-text-title {
|
|
10186
|
+
font-size: var(--font-size-sm);
|
|
10187
|
+
line-height: var(--line-height-sm);
|
|
10188
|
+
color: var(--text-primary);
|
|
10189
|
+
}
|
|
10190
|
+
|
|
10191
|
+
.base-table:where(.cell-text) .cell-text-description {
|
|
10192
|
+
font-size: var(--font-size-xsm);
|
|
10193
|
+
line-height: var(--line-height-xsm);
|
|
10194
|
+
color: var(--text-muted);
|
|
10195
|
+
}
|
|
10196
|
+
|
|
10197
|
+
/* 줄 행동: 마우스를 올린 행·포커스가 들어간 행에만 보인다. 숨길 때도 opacity 라 Tab 으로 들어갈 수 있다 */
|
|
9017
10198
|
|
|
9018
|
-
.base-table
|
|
9019
|
-
|
|
9020
|
-
|
|
10199
|
+
.base-table:where(.hover-actions) {
|
|
10200
|
+
display: inline-flex;
|
|
10201
|
+
align-items: center;
|
|
10202
|
+
gap: var(--spacing-4);
|
|
9021
10203
|
vertical-align: middle;
|
|
10204
|
+
opacity: 0;
|
|
10205
|
+
}
|
|
10206
|
+
|
|
10207
|
+
@media (width < 768px) {
|
|
10208
|
+
|
|
10209
|
+
.base-table:where(.hover-actions) {
|
|
10210
|
+
opacity: 1;
|
|
9022
10211
|
}
|
|
10212
|
+
}
|
|
10213
|
+
|
|
10214
|
+
.base-table:where(.row):hover .base-table:where(.hover-actions),
|
|
10215
|
+
.base-table:where(.row):focus-within .base-table:where(.hover-actions) {
|
|
10216
|
+
opacity: 1;
|
|
10217
|
+
}
|
|
9023
10218
|
|
|
9024
10219
|
/***************************************************************************************************
|
|
9025
10220
|
* *
|
|
@@ -9028,12 +10223,25 @@ button.modal-with-double-button-close-button {
|
|
|
9028
10223
|
***************************************************************************************************/
|
|
9029
10224
|
|
|
9030
10225
|
/* 넓은 화면에서는 overflow 가 visible 이라 머리행 sticky 가 지금처럼 페이지에 붙는다.
|
|
9031
|
-
늘 켜 두지 않는 이유: overflow-x: auto 는 세로로도 스크롤 칸을 만들어 sticky 가 감싸개에
|
|
10226
|
+
늘 켜 두지 않는 이유: overflow-x: auto 는 세로로도 스크롤 칸을 만들어 sticky 가 감싸개에 붙는다. scrollX 를 준 표만 넓은 화면에서도 켠다 */
|
|
9032
10227
|
|
|
9033
10228
|
.data-table-scroll {
|
|
9034
10229
|
width: 100%;
|
|
9035
10230
|
}
|
|
9036
10231
|
|
|
10232
|
+
.data-table-scroll.scroll-x {
|
|
10233
|
+
overflow-x: auto;
|
|
10234
|
+
overscroll-behavior-x: contain;
|
|
10235
|
+
|
|
10236
|
+
/* 열 width 를 줄이지 않고 지킨다. 폭 100% 표는 넘칠 때 열을 min-content 까지 줄여 스크롤이 생기지 않는다 */
|
|
10237
|
+
}
|
|
10238
|
+
|
|
10239
|
+
.data-table-scroll.scroll-x > .data-table {
|
|
10240
|
+
width: -moz-max-content;
|
|
10241
|
+
width: max-content;
|
|
10242
|
+
min-width: 100%;
|
|
10243
|
+
}
|
|
10244
|
+
|
|
9037
10245
|
@media (width < 768px) {
|
|
9038
10246
|
|
|
9039
10247
|
.data-table-scroll {
|
|
@@ -9042,6 +10250,16 @@ button.modal-with-double-button-close-button {
|
|
|
9042
10250
|
}
|
|
9043
10251
|
}
|
|
9044
10252
|
|
|
10253
|
+
/* 가려진 쪽이 있을 때만 고정 열 경계에 그림자를 드리운다(data-table.tsx syncScrollEdges) */
|
|
10254
|
+
|
|
10255
|
+
.data-table-scroll[data-overflow-start] .fixed-last {
|
|
10256
|
+
box-shadow: var(--shadow-pinned-start);
|
|
10257
|
+
}
|
|
10258
|
+
|
|
10259
|
+
.data-table-scroll[data-overflow-end] .fixed-end-first {
|
|
10260
|
+
box-shadow: var(--shadow-pinned-end);
|
|
10261
|
+
}
|
|
10262
|
+
|
|
9045
10263
|
.data-table {
|
|
9046
10264
|
position: relative;
|
|
9047
10265
|
width: 100%;
|
|
@@ -9075,6 +10293,84 @@ button.modal-with-double-button-close-button {
|
|
|
9075
10293
|
color: var(--data-table-cell-color, var(--text-body));
|
|
9076
10294
|
}
|
|
9077
10295
|
|
|
10296
|
+
/* tinted: 회색 머리 행. 고정 칸도 같은 바탕이라 스크롤 중에 비치지 않는다 */
|
|
10297
|
+
|
|
10298
|
+
.data-table.header-tinted .data-table-header .cell {
|
|
10299
|
+
background-color: var(--surface-subtle);
|
|
10300
|
+
}
|
|
10301
|
+
|
|
10302
|
+
/* 숫자·금액 열. 자릿수가 위아래로 맞게 고정폭 숫자를 쓴다 */
|
|
10303
|
+
|
|
10304
|
+
.data-table .align-end {
|
|
10305
|
+
text-align: end;
|
|
10306
|
+
font-variant-numeric: tabular-nums;
|
|
10307
|
+
}
|
|
10308
|
+
|
|
10309
|
+
.data-table .align-center {
|
|
10310
|
+
text-align: center;
|
|
10311
|
+
}
|
|
10312
|
+
|
|
10313
|
+
/* 머리 글과 ⓘ 를 한 줄로 묶는다. inline 이라 칸의 text-align 을 따른다 */
|
|
10314
|
+
|
|
10315
|
+
.data-table-header-label {
|
|
10316
|
+
display: inline-flex;
|
|
10317
|
+
align-items: center;
|
|
10318
|
+
gap: var(--spacing-4);
|
|
10319
|
+
vertical-align: middle;
|
|
10320
|
+
}
|
|
10321
|
+
|
|
10322
|
+
.data-table-header-info {
|
|
10323
|
+
position: relative;
|
|
10324
|
+
display: inline-flex;
|
|
10325
|
+
padding: 0;
|
|
10326
|
+
border: none;
|
|
10327
|
+
background-color: transparent;
|
|
10328
|
+
color: var(--icon-tertiary);
|
|
10329
|
+
cursor: var(--cursor-button);
|
|
10330
|
+
|
|
10331
|
+
/* 16px 아이콘의 누르는 자리를 세로 44 까지 넓힌다. 가로로 넓히면 옆 머리 글을 덮는다 */
|
|
10332
|
+
}
|
|
10333
|
+
|
|
10334
|
+
.data-table-header-info::before {
|
|
10335
|
+
content: '';
|
|
10336
|
+
position: absolute;
|
|
10337
|
+
top: 50%;
|
|
10338
|
+
left: 0;
|
|
10339
|
+
right: 0;
|
|
10340
|
+
height: var(--touch-target);
|
|
10341
|
+
transform: translateY(-50%);
|
|
10342
|
+
}
|
|
10343
|
+
|
|
10344
|
+
/* 행 선택 열. 폭은 체크박스만큼이다 */
|
|
10345
|
+
|
|
10346
|
+
.data-table .data-table-select {
|
|
10347
|
+
width: 0;
|
|
10348
|
+
padding-inline: var(--spacing-12);
|
|
10349
|
+
}
|
|
10350
|
+
|
|
10351
|
+
/* 0건 문구. 본문 자리 가운데 회색 글, 줄바꿈(\n)을 그대로 줄로 쓴다 */
|
|
10352
|
+
|
|
10353
|
+
.data-table .data-table-empty {
|
|
10354
|
+
height: var(--data-table-empty-height);
|
|
10355
|
+
padding-inline: 0;
|
|
10356
|
+
text-align: center;
|
|
10357
|
+
white-space: pre-line;
|
|
10358
|
+
font-size: var(--font-size-sm);
|
|
10359
|
+
line-height: var(--line-height-sm);
|
|
10360
|
+
color: var(--text-muted);
|
|
10361
|
+
}
|
|
10362
|
+
|
|
10363
|
+
/* 표가 감싸개보다 넓으면 가운데가 화면 밖에 놓인다. 보이는 폭만큼의 칸을 왼쪽에 붙여 그 안에서 가운데에 둔다 */
|
|
10364
|
+
|
|
10365
|
+
.data-table-empty-message {
|
|
10366
|
+
position: sticky;
|
|
10367
|
+
inset-inline-start: 0;
|
|
10368
|
+
display: block;
|
|
10369
|
+
box-sizing: border-box;
|
|
10370
|
+
width: var(--data-table-scroll-width, 100%);
|
|
10371
|
+
padding-inline: var(--spacing-16);
|
|
10372
|
+
}
|
|
10373
|
+
|
|
9078
10374
|
/* 마지막 고정 열의 경계선. border-collapse 표의 border 는 sticky 셀과 함께 움직이지 않아 그림자로 셀 안에 그린다 */
|
|
9079
10375
|
|
|
9080
10376
|
:where(.data-table.variant-padded) .fixed-last {
|
|
@@ -9086,25 +10382,35 @@ button.modal-with-double-button-close-button {
|
|
|
9086
10382
|
border-bottom: var(--hairline) solid var(--border-subtle);
|
|
9087
10383
|
}
|
|
9088
10384
|
|
|
9089
|
-
.data-table-row .fixed {
|
|
10385
|
+
.data-table-row .fixed,.data-table-row .fixed-end {
|
|
9090
10386
|
position: sticky;
|
|
9091
10387
|
background-color: var(--surface-base);
|
|
9092
10388
|
z-index: var(--z-sticky);
|
|
9093
10389
|
}
|
|
9094
10390
|
|
|
9095
|
-
:is(.data-table-row .fixed) > * {
|
|
10391
|
+
:is(.data-table-row .fixed,.data-table-row .fixed-end) > * {
|
|
9096
10392
|
position: relative;
|
|
9097
10393
|
z-index: var(--z-raised);
|
|
9098
10394
|
}
|
|
9099
10395
|
|
|
9100
|
-
.body .data-table-row:hover {
|
|
10396
|
+
.body .data-table-row:not(.data-table-empty-row):hover {
|
|
9101
10397
|
background-color: var(--surface-muted);
|
|
9102
10398
|
}
|
|
9103
10399
|
|
|
9104
|
-
:is(.body .data-table-row:hover) .fixed {
|
|
10400
|
+
: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 {
|
|
9105
10401
|
background-color: var(--surface-muted);
|
|
9106
10402
|
}
|
|
9107
10403
|
|
|
10404
|
+
/* 고른 행. 마우스를 올려도 고른 색이 남는다 */
|
|
10405
|
+
|
|
10406
|
+
.body .data-table-row[data-state='selected'] {
|
|
10407
|
+
background-color: var(--surface-brand-subtle);
|
|
10408
|
+
}
|
|
10409
|
+
|
|
10410
|
+
:is(.body .data-table-row[data-state='selected']) .fixed,:is(.body .data-table-row[data-state='selected']) .fixed-end {
|
|
10411
|
+
background-color: var(--surface-brand-subtle);
|
|
10412
|
+
}
|
|
10413
|
+
|
|
9108
10414
|
.fixed-cell {
|
|
9109
10415
|
position: sticky;
|
|
9110
10416
|
left: 0;
|
|
@@ -9345,7 +10651,7 @@ button.modal-with-double-button-close-button {
|
|
|
9345
10651
|
outline: none;
|
|
9346
10652
|
background-color: transparent;
|
|
9347
10653
|
font-family: inherit;
|
|
9348
|
-
font-weight: var(--font-weight-
|
|
10654
|
+
font-weight: var(--font-weight-regular);
|
|
9349
10655
|
color: var(--text-primary);
|
|
9350
10656
|
}
|
|
9351
10657
|
|
|
@@ -9361,6 +10667,21 @@ button.modal-with-double-button-close-button {
|
|
|
9361
10667
|
cursor: var(--cursor-disabled);
|
|
9362
10668
|
}
|
|
9363
10669
|
|
|
10670
|
+
.base-text-area:where(.label) {
|
|
10671
|
+
display: block;
|
|
10672
|
+
width: -moz-fit-content;
|
|
10673
|
+
width: fit-content;
|
|
10674
|
+
font-size: var(--font-size-sm);
|
|
10675
|
+
line-height: var(--line-height-sm);
|
|
10676
|
+
font-weight: var(--font-weight-medium);
|
|
10677
|
+
}
|
|
10678
|
+
|
|
10679
|
+
.base-text-area:where(.helper-text) {
|
|
10680
|
+
font-size: var(--font-size-sm);
|
|
10681
|
+
line-height: var(--line-height-sm);
|
|
10682
|
+
font-weight: var(--font-weight-regular);
|
|
10683
|
+
}
|
|
10684
|
+
|
|
9364
10685
|
/* 상자 안 아이콘 버튼(TextField 와 같은 크기). 누르는 자리는 터치 44 로 넓힌다 */
|
|
9365
10686
|
|
|
9366
10687
|
.base-text-area:where(.action) {
|
|
@@ -9401,44 +10722,49 @@ button.modal-with-double-button-close-button {
|
|
|
9401
10722
|
}
|
|
9402
10723
|
|
|
9403
10724
|
.text-area-title {
|
|
9404
|
-
margin-bottom: var(--spacing-
|
|
10725
|
+
margin-bottom: var(--spacing-6);
|
|
10726
|
+
color: var(--text-secondary);
|
|
9405
10727
|
}
|
|
9406
10728
|
|
|
9407
10729
|
/* 높이는 rows 가 정한다. size 는 글자 크기와 안쪽 여백만 바꾼다 */
|
|
9408
10730
|
|
|
9409
10731
|
.text-area-input-wrapper {
|
|
9410
10732
|
display: flex;
|
|
9411
|
-
|
|
10733
|
+
/* 글자 수는 다음 줄 오른쪽에 놓인다 */
|
|
10734
|
+
flex-wrap: wrap;
|
|
9412
10735
|
|
|
9413
|
-
/* 입력 상자 공통 모양(TextField·TextArea
|
|
9414
|
-
|
|
9415
|
-
|
|
10736
|
+
/* 입력 상자 공통 모양(TextField·TextArea 같음, ADR 0021). 모서리는 버튼과 같은 control.
|
|
10737
|
+
outline(기본)은 흰 바탕에 회색 1px 선이다. 마우스를 올리면 연보라, 포커스면 보라 2px 선이 된다.
|
|
10738
|
+
2px 는 1px border 에 안쪽 1px 그림자를 겹쳐 그려 상자 크기가 흔들리지 않는다. 바깥 후광은 없다.
|
|
10739
|
+
오류는 빨간 선(포커스면 2px), 읽기 전용은 회색 면에 포커스에도 선이 굵어지지 않는다, disabled 는 회색 면에 흐린 글자.
|
|
9416
10740
|
아이콘은 상자의 color 를 따른다. 상태 색 전환은 다른 상태 피드백처럼 press 토큰을 쓴다 */
|
|
9417
10741
|
box-sizing: border-box;
|
|
9418
10742
|
border-radius: var(--radius-control);
|
|
9419
|
-
border: var(--hairline) solid
|
|
9420
|
-
background-color: var(--surface-
|
|
10743
|
+
border: var(--hairline) solid var(--border-default);
|
|
10744
|
+
background-color: var(--surface-base);
|
|
9421
10745
|
color: var(--text-muted);
|
|
9422
10746
|
transition:
|
|
9423
10747
|
border-color var(--motion-press-duration) var(--motion-press-ease),
|
|
9424
10748
|
box-shadow var(--motion-press-duration) var(--motion-press-ease),
|
|
9425
10749
|
background-color var(--motion-press-duration) var(--motion-press-ease);
|
|
10750
|
+
|
|
10751
|
+
/* 줄을 바꿀 수 있는 상자라 폭 100% 대신 남는 폭을 채운다. 지우기 버튼이 같은 줄에 남는다 */
|
|
9426
10752
|
}
|
|
9427
10753
|
|
|
9428
10754
|
.text-area-input-wrapper > textarea {
|
|
10755
|
+
flex: 1 1 0;
|
|
10756
|
+
min-width: 0;
|
|
9429
10757
|
color: var(--text-primary);
|
|
9430
10758
|
}
|
|
9431
10759
|
|
|
9432
|
-
|
|
9433
|
-
|
|
9434
|
-
|
|
9435
|
-
background-color: var(--surface-muted);
|
|
10760
|
+
.text-area-input-wrapper:hover:not(:focus-within,.error,:has( > textarea:disabled),:has( > textarea[readonly])) {
|
|
10761
|
+
border-color: var(--border-accent-subtle);
|
|
10762
|
+
box-shadow: inset 0 0 0 var(--hairline) var(--border-accent-subtle);
|
|
9436
10763
|
}
|
|
9437
10764
|
|
|
9438
10765
|
.text-area-input-wrapper:focus-within {
|
|
9439
10766
|
border-color: var(--border-accent);
|
|
9440
|
-
|
|
9441
|
-
box-shadow: 0 0 0 var(--field-focus-halo) var(--focus-halo-color);
|
|
10767
|
+
box-shadow: inset 0 0 0 var(--hairline) var(--border-accent);
|
|
9442
10768
|
color: var(--text-secondary);
|
|
9443
10769
|
}
|
|
9444
10770
|
|
|
@@ -9447,13 +10773,41 @@ button.modal-with-double-button-close-button {
|
|
|
9447
10773
|
}
|
|
9448
10774
|
|
|
9449
10775
|
.text-area-input-wrapper.error:focus-within {
|
|
9450
|
-
box-shadow: 0 0 0 var(--
|
|
10776
|
+
box-shadow: inset 0 0 0 var(--hairline) var(--border-error);
|
|
9451
10777
|
}
|
|
9452
10778
|
|
|
9453
|
-
|
|
10779
|
+
/* fill: 쉴 때 선 없는 연회색 면. 마우스를 올리면 면이 한 단계 짙어지고 포커스에서 흰 바탕과 보라 2px 선이 된다 */
|
|
10780
|
+
|
|
10781
|
+
.text-area-input-wrapper.variant-fill {
|
|
10782
|
+
border-color: transparent;
|
|
9454
10783
|
background-color: var(--surface-subtle);
|
|
9455
10784
|
}
|
|
9456
10785
|
|
|
10786
|
+
.text-area-input-wrapper.variant-fill:hover:not(:focus-within,.error,:has( > textarea:disabled),:has( > textarea[readonly])) {
|
|
10787
|
+
border-color: transparent;
|
|
10788
|
+
box-shadow: none;
|
|
10789
|
+
background-color: var(--surface-muted);
|
|
10790
|
+
}
|
|
10791
|
+
|
|
10792
|
+
.text-area-input-wrapper.variant-fill:focus-within {
|
|
10793
|
+
border-color: var(--border-accent);
|
|
10794
|
+
background-color: var(--surface-base);
|
|
10795
|
+
}
|
|
10796
|
+
|
|
10797
|
+
.text-area-input-wrapper.variant-fill.error {
|
|
10798
|
+
border-color: var(--border-error);
|
|
10799
|
+
}
|
|
10800
|
+
|
|
10801
|
+
/* 읽기 전용은 회색 면. 포커스는 선 색만 바뀌고 굵어지지 않는다 */
|
|
10802
|
+
|
|
10803
|
+
.text-area-input-wrapper:has( > textarea[readonly]:not(:disabled)) {
|
|
10804
|
+
background-color: var(--surface-muted);
|
|
10805
|
+
}
|
|
10806
|
+
|
|
10807
|
+
.text-area-input-wrapper:has( > textarea[readonly]:not(:disabled)):focus-within {
|
|
10808
|
+
box-shadow: none;
|
|
10809
|
+
}
|
|
10810
|
+
|
|
9457
10811
|
.text-area-input-wrapper:has( > textarea:disabled) {
|
|
9458
10812
|
border-color: var(--border-disabled);
|
|
9459
10813
|
background-color: var(--surface-muted);
|
|
@@ -9462,7 +10816,7 @@ button.modal-with-double-button-close-button {
|
|
|
9462
10816
|
}
|
|
9463
10817
|
|
|
9464
10818
|
.text-area-input-wrapper:has( > textarea:disabled) > textarea {
|
|
9465
|
-
color: var(--text-
|
|
10819
|
+
color: var(--text-disabled);
|
|
9466
10820
|
cursor: var(--cursor-disabled);
|
|
9467
10821
|
}
|
|
9468
10822
|
|
|
@@ -9500,6 +10854,25 @@ button.modal-with-double-button-close-button {
|
|
|
9500
10854
|
margin: var(--spacing-14) var(--spacing-14) 0 0;
|
|
9501
10855
|
}
|
|
9502
10856
|
|
|
10857
|
+
/* 글자 수는 상자 안 오른쪽 아래. 아래·오른쪽 여백은 size 마다 textarea 안쪽 여백과 같다 */
|
|
10858
|
+
|
|
10859
|
+
.text-area-input-wrapper > .text-area-count {
|
|
10860
|
+
flex-basis: 100%;
|
|
10861
|
+
text-align: right;
|
|
10862
|
+
font-size: var(--font-size-xsm);
|
|
10863
|
+
line-height: var(--line-height-xsm);
|
|
10864
|
+
font-variant-numeric: tabular-nums;
|
|
10865
|
+
color: var(--text-muted);
|
|
10866
|
+
}
|
|
10867
|
+
|
|
10868
|
+
.text-area-input-wrapper.size-s > .text-area-count {
|
|
10869
|
+
padding: 0 var(--spacing-14) var(--spacing-10);
|
|
10870
|
+
}
|
|
10871
|
+
|
|
10872
|
+
.text-area-input-wrapper.size-m > .text-area-count {
|
|
10873
|
+
padding: 0 var(--spacing-14) var(--spacing-14);
|
|
10874
|
+
}
|
|
10875
|
+
|
|
9503
10876
|
.text-area-helper-text {
|
|
9504
10877
|
margin-top: var(--spacing-6);
|
|
9505
10878
|
color: var(--text-muted);
|
|
@@ -9592,7 +10965,7 @@ button.modal-with-double-button-close-button {
|
|
|
9592
10965
|
|
|
9593
10966
|
font-size: inherit;
|
|
9594
10967
|
line-height: inherit;
|
|
9595
|
-
font-weight: var(--font-weight-
|
|
10968
|
+
font-weight: var(--font-weight-regular);
|
|
9596
10969
|
}
|
|
9597
10970
|
|
|
9598
10971
|
.base-text-field.input::-moz-placeholder {
|
|
@@ -9610,6 +10983,21 @@ button.modal-with-double-button-close-button {
|
|
|
9610
10983
|
transition: background-color 5000s ease-in-out 0s; /* raw-value */
|
|
9611
10984
|
}
|
|
9612
10985
|
|
|
10986
|
+
.base-text-field:where(.label) {
|
|
10987
|
+
display: block;
|
|
10988
|
+
width: -moz-fit-content;
|
|
10989
|
+
width: fit-content;
|
|
10990
|
+
font-size: var(--font-size-sm);
|
|
10991
|
+
line-height: var(--line-height-sm);
|
|
10992
|
+
font-weight: var(--font-weight-medium);
|
|
10993
|
+
}
|
|
10994
|
+
|
|
10995
|
+
.base-text-field:where(.helper-text) {
|
|
10996
|
+
font-size: var(--font-size-sm);
|
|
10997
|
+
line-height: var(--line-height-sm);
|
|
10998
|
+
font-weight: var(--font-weight-regular);
|
|
10999
|
+
}
|
|
11000
|
+
|
|
9613
11001
|
.base-text-field:where(.prefix,.suffix) {
|
|
9614
11002
|
flex: none;
|
|
9615
11003
|
white-space: nowrap;
|
|
@@ -9659,7 +11047,8 @@ button.modal-with-double-button-close-button {
|
|
|
9659
11047
|
}
|
|
9660
11048
|
|
|
9661
11049
|
.text-field-title {
|
|
9662
|
-
margin-bottom: var(--spacing-
|
|
11050
|
+
margin-bottom: var(--spacing-6);
|
|
11051
|
+
color: var(--text-secondary);
|
|
9663
11052
|
}
|
|
9664
11053
|
|
|
9665
11054
|
.text-field-input-wrapper {
|
|
@@ -9670,14 +11059,15 @@ button.modal-with-double-button-close-button {
|
|
|
9670
11059
|
|
|
9671
11060
|
/* 높이는 버튼과 같은 --control-height-* 축, 좌우 여백·글자는 size 마다 버튼과 같은 단계 */
|
|
9672
11061
|
|
|
9673
|
-
/* 입력 상자 공통 모양(TextField·TextArea
|
|
9674
|
-
|
|
9675
|
-
|
|
11062
|
+
/* 입력 상자 공통 모양(TextField·TextArea 같음, ADR 0021). 모서리는 버튼과 같은 control.
|
|
11063
|
+
outline(기본)은 흰 바탕에 회색 1px 선이다. 마우스를 올리면 연보라, 포커스면 보라 2px 선이 된다.
|
|
11064
|
+
2px 는 1px border 에 안쪽 1px 그림자를 겹쳐 그려 상자 크기가 흔들리지 않는다. 바깥 후광은 없다.
|
|
11065
|
+
오류는 빨간 선(포커스면 2px), 읽기 전용은 회색 면에 포커스에도 선이 굵어지지 않는다, disabled 는 회색 면에 흐린 글자.
|
|
9676
11066
|
아이콘은 상자의 color 를 따른다. 상태 색 전환은 다른 상태 피드백처럼 press 토큰을 쓴다 */
|
|
9677
11067
|
box-sizing: border-box;
|
|
9678
11068
|
border-radius: var(--radius-control);
|
|
9679
|
-
border: var(--hairline) solid
|
|
9680
|
-
background-color: var(--surface-
|
|
11069
|
+
border: var(--hairline) solid var(--border-default);
|
|
11070
|
+
background-color: var(--surface-base);
|
|
9681
11071
|
color: var(--text-muted);
|
|
9682
11072
|
transition:
|
|
9683
11073
|
border-color var(--motion-press-duration) var(--motion-press-ease),
|
|
@@ -9726,16 +11116,14 @@ button.modal-with-double-button-close-button {
|
|
|
9726
11116
|
min-width: 0;
|
|
9727
11117
|
}
|
|
9728
11118
|
|
|
9729
|
-
|
|
9730
|
-
|
|
9731
|
-
|
|
9732
|
-
background-color: var(--surface-muted);
|
|
11119
|
+
.text-field-input-wrapper:hover:not(:focus-within,.error,:has( > input:disabled),:has( > input[readonly])) {
|
|
11120
|
+
border-color: var(--border-accent-subtle);
|
|
11121
|
+
box-shadow: inset 0 0 0 var(--hairline) var(--border-accent-subtle);
|
|
9733
11122
|
}
|
|
9734
11123
|
|
|
9735
11124
|
.text-field-input-wrapper:focus-within {
|
|
9736
11125
|
border-color: var(--border-accent);
|
|
9737
|
-
|
|
9738
|
-
box-shadow: 0 0 0 var(--field-focus-halo) var(--focus-halo-color);
|
|
11126
|
+
box-shadow: inset 0 0 0 var(--hairline) var(--border-accent);
|
|
9739
11127
|
color: var(--text-secondary);
|
|
9740
11128
|
}
|
|
9741
11129
|
|
|
@@ -9744,13 +11132,41 @@ button.modal-with-double-button-close-button {
|
|
|
9744
11132
|
}
|
|
9745
11133
|
|
|
9746
11134
|
.text-field-input-wrapper.error:focus-within {
|
|
9747
|
-
box-shadow: 0 0 0 var(--
|
|
11135
|
+
box-shadow: inset 0 0 0 var(--hairline) var(--border-error);
|
|
9748
11136
|
}
|
|
9749
11137
|
|
|
9750
|
-
|
|
11138
|
+
/* fill: 쉴 때 선 없는 연회색 면. 마우스를 올리면 면이 한 단계 짙어지고 포커스에서 흰 바탕과 보라 2px 선이 된다 */
|
|
11139
|
+
|
|
11140
|
+
.text-field-input-wrapper.variant-fill {
|
|
11141
|
+
border-color: transparent;
|
|
9751
11142
|
background-color: var(--surface-subtle);
|
|
9752
11143
|
}
|
|
9753
11144
|
|
|
11145
|
+
.text-field-input-wrapper.variant-fill:hover:not(:focus-within,.error,:has( > input:disabled),:has( > input[readonly])) {
|
|
11146
|
+
border-color: transparent;
|
|
11147
|
+
box-shadow: none;
|
|
11148
|
+
background-color: var(--surface-muted);
|
|
11149
|
+
}
|
|
11150
|
+
|
|
11151
|
+
.text-field-input-wrapper.variant-fill:focus-within {
|
|
11152
|
+
border-color: var(--border-accent);
|
|
11153
|
+
background-color: var(--surface-base);
|
|
11154
|
+
}
|
|
11155
|
+
|
|
11156
|
+
.text-field-input-wrapper.variant-fill.error {
|
|
11157
|
+
border-color: var(--border-error);
|
|
11158
|
+
}
|
|
11159
|
+
|
|
11160
|
+
/* 읽기 전용은 회색 면. 포커스는 선 색만 바뀌고 굵어지지 않는다 */
|
|
11161
|
+
|
|
11162
|
+
.text-field-input-wrapper:has( > input[readonly]:not(:disabled)) {
|
|
11163
|
+
background-color: var(--surface-muted);
|
|
11164
|
+
}
|
|
11165
|
+
|
|
11166
|
+
.text-field-input-wrapper:has( > input[readonly]:not(:disabled)):focus-within {
|
|
11167
|
+
box-shadow: none;
|
|
11168
|
+
}
|
|
11169
|
+
|
|
9754
11170
|
.text-field-input-wrapper:has( > input:disabled) {
|
|
9755
11171
|
border-color: var(--border-disabled);
|
|
9756
11172
|
background-color: var(--surface-muted);
|
|
@@ -9759,12 +11175,22 @@ button.modal-with-double-button-close-button {
|
|
|
9759
11175
|
}
|
|
9760
11176
|
|
|
9761
11177
|
.text-field-input-wrapper:has( > input:disabled) > input {
|
|
9762
|
-
color: var(--text-
|
|
11178
|
+
color: var(--text-disabled);
|
|
9763
11179
|
cursor: var(--cursor-disabled);
|
|
9764
11180
|
}
|
|
9765
11181
|
|
|
9766
11182
|
/* prefix·suffix·버튼이 붙어도 input 이 제 기본 폭을 고집해 상자를 넘지 않게 한다 */
|
|
9767
11183
|
|
|
11184
|
+
/* 글자 수. 칠 때마다 읽지 않게 aria-hidden 이다 */
|
|
11185
|
+
|
|
11186
|
+
.text-field-count {
|
|
11187
|
+
flex: none;
|
|
11188
|
+
font-size: var(--font-size-xsm);
|
|
11189
|
+
line-height: var(--line-height-xsm);
|
|
11190
|
+
color: var(--text-muted);
|
|
11191
|
+
font-variant-numeric: tabular-nums;
|
|
11192
|
+
}
|
|
11193
|
+
|
|
9768
11194
|
.text-field-helper-text {
|
|
9769
11195
|
margin-top: var(--spacing-6);
|
|
9770
11196
|
color: var(--text-muted);
|
|
@@ -9833,6 +11259,13 @@ button.modal-with-double-button-close-button {
|
|
|
9833
11259
|
--motion-slide-offset: translateY(calc(-1 * var(--spacing-16)));
|
|
9834
11260
|
}
|
|
9835
11261
|
|
|
11262
|
+
.base-toast.position-top-center:where(.viewport) {
|
|
11263
|
+
top: 0;
|
|
11264
|
+
left: 50%;
|
|
11265
|
+
transform: translateX(-50%);
|
|
11266
|
+
--motion-slide-offset: translateY(calc(-1 * var(--spacing-16)));
|
|
11267
|
+
}
|
|
11268
|
+
|
|
9836
11269
|
.base-toast.position-bottom-right:where(.viewport) {
|
|
9837
11270
|
right: 0;
|
|
9838
11271
|
bottom: 0;
|
|
@@ -9848,7 +11281,7 @@ button.modal-with-double-button-close-button {
|
|
|
9848
11281
|
:is 로 위 position 규칙과 특이도를 맞추고 뒤에 둬서 left·transform 을 덮는다 */
|
|
9849
11282
|
|
|
9850
11283
|
@media (width < 768px) {
|
|
9851
|
-
.base-toast:where(.viewport):is(.position-top-right,.position-bottom-right,.position-bottom-center) {
|
|
11284
|
+
.base-toast:where(.viewport):is(.position-top-right,.position-top-center,.position-bottom-right,.position-bottom-center) {
|
|
9852
11285
|
left: 0;
|
|
9853
11286
|
right: 0;
|
|
9854
11287
|
width: auto;
|
|
@@ -9940,6 +11373,62 @@ button.modal-with-double-button-close-button {
|
|
|
9940
11373
|
color: var(--toast-error-description);
|
|
9941
11374
|
}
|
|
9942
11375
|
|
|
11376
|
+
/* 흰 카드: 판은 바탕과 같은 흰색이라 그림자로 띄운다. variant 색은 아이콘 뒤 원에만 남는다.
|
|
11377
|
+
다크에서는 --surface-elevated 가 바탕보다 밝아 그림자 없이도 판이 갈린다. variant 규칙 뒤에 둬서 바탕·글자색을 덮는다 */
|
|
11378
|
+
|
|
11379
|
+
.toast.surface-card {
|
|
11380
|
+
width: -moz-fit-content;
|
|
11381
|
+
width: fit-content;
|
|
11382
|
+
max-width: 100%;
|
|
11383
|
+
box-sizing: border-box;
|
|
11384
|
+
background-color: var(--surface-elevated);
|
|
11385
|
+
box-shadow: var(--shadow-floating);
|
|
11386
|
+
color: var(--text-primary);
|
|
11387
|
+
}
|
|
11388
|
+
|
|
11389
|
+
.toast.surface-card .toast-title {
|
|
11390
|
+
color: var(--text-primary);
|
|
11391
|
+
}
|
|
11392
|
+
|
|
11393
|
+
.toast.surface-card .toast-description {
|
|
11394
|
+
color: var(--text-tertiary);
|
|
11395
|
+
}
|
|
11396
|
+
|
|
11397
|
+
.toast.surface-card .toast-close {
|
|
11398
|
+
color: var(--icon-tertiary);
|
|
11399
|
+
}
|
|
11400
|
+
|
|
11401
|
+
.toast.surface-card .toast-icon {
|
|
11402
|
+
width: var(--icon-size-m);
|
|
11403
|
+
height: var(--icon-size-m);
|
|
11404
|
+
padding: var(--spacing-4);
|
|
11405
|
+
box-sizing: border-box;
|
|
11406
|
+
border-radius: var(--radius-circle);
|
|
11407
|
+
color: var(--text-on-brand);
|
|
11408
|
+
}
|
|
11409
|
+
|
|
11410
|
+
.toast.surface-card.variant-success .toast-icon {
|
|
11411
|
+
background-color: var(--toast-success-background);
|
|
11412
|
+
}
|
|
11413
|
+
|
|
11414
|
+
.toast.surface-card.variant-warning .toast-icon {
|
|
11415
|
+
background-color: var(--toast-warning-background);
|
|
11416
|
+
}
|
|
11417
|
+
|
|
11418
|
+
.toast.surface-card.variant-error .toast-icon {
|
|
11419
|
+
background-color: var(--toast-error-background);
|
|
11420
|
+
}
|
|
11421
|
+
|
|
11422
|
+
/* 카드는 글자 폭만큼이라 자리(position)의 가장자리에 붙인다 */
|
|
11423
|
+
|
|
11424
|
+
.base-toast:where(.viewport):is(.position-top-center,.position-bottom-center) > .toast.surface-card {
|
|
11425
|
+
align-self: center;
|
|
11426
|
+
}
|
|
11427
|
+
|
|
11428
|
+
.base-toast:where(.viewport):is(.position-top-right,.position-bottom-right) > .toast.surface-card {
|
|
11429
|
+
align-self: flex-end;
|
|
11430
|
+
}
|
|
11431
|
+
|
|
9943
11432
|
/* success·warning·error 는 앞에 상태 아이콘을 둔다. SVG 에 박힌 색을 글자색으로 맞춘다 */
|
|
9944
11433
|
|
|
9945
11434
|
.toast-icon {
|