- 부품 CSS 37 파일: display 를 주는 ui-* 클래스마다 같은 파일에 [hidden] { display: none !important } (공용 기본 꼴 없는 곳 · 페이지 꾸밈 위에서도) · 옛 숨김 규칙 일곱 파일 !important 로 · 접이 카드 머리는 collapsible.css
- 모달 머리: 제목 한 줄 말줄임(전체 글 = title) · [닫기] · 머리 단추 flex: none · nowrap
- 부품 모음 모달 견본에 긴 제목 24rem 한 칸
- 지킴 시험 test_552_6_part_fixes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
55 lines
1.6 KiB
CSS
55 lines
1.6 KiB
CSS
/* 부품 「분할 고르기」(552-2) — 대시보드 `.b01-sys-seg` 꼴 · 단 값은 ui_template_button.css */
|
|
.ui-segment {
|
|
display: inline-flex;
|
|
height: var(--ui-size-h);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: var(--ui-size-radius);
|
|
overflow: hidden;
|
|
}
|
|
.ui-segment__item {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: var(--ui-size-gap);
|
|
padding: 0 var(--ui-size-px);
|
|
border: 0;
|
|
background: var(--color-surface-raised);
|
|
color: var(--color-text-secondary);
|
|
font: inherit;
|
|
font-size: var(--ui-size-font);
|
|
line-height: 1;
|
|
white-space: nowrap;
|
|
cursor: pointer;
|
|
transition:
|
|
background-color var(--transition-fast),
|
|
color var(--transition-fast);
|
|
}
|
|
.ui-segment__item + .ui-segment__item {
|
|
border-left: 1px solid var(--color-border);
|
|
}
|
|
.ui-segment__item svg {
|
|
width: var(--ui-size-icon);
|
|
height: var(--ui-size-icon);
|
|
}
|
|
.ui-segment__item:is(:hover, [data-state="hover"]):not(:disabled) {
|
|
background: var(--color-hover);
|
|
color: var(--color-text);
|
|
}
|
|
.ui-segment__item[aria-checked="true"] {
|
|
background: var(--color-accent-soft);
|
|
color: var(--color-accent);
|
|
font-weight: var(--font-weight-bold);
|
|
}
|
|
.ui-segment__item:is(:active, [data-state="active"]):not(:disabled) {
|
|
box-shadow: inset 0 1px 2px var(--color-scrim);
|
|
}
|
|
.ui-segment__item:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
/* 숨김 — display 가 [hidden] 을 덮지 않게(공용 기본 꼴이 안 실린 곳 · 페이지 꾸밈 위에서도) */
|
|
:is(.ui-segment, .ui-segment__item)[hidden] {
|
|
display: none !important;
|
|
}
|