- 부품 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>
74 lines
1.8 KiB
CSS
74 lines
1.8 KiB
CSS
/* 부품 「탭」(552-2) — 밑줄 탭 = 대시보드 `.b01-pg-tabs` 꼴 · 보조 탭 = 작은 알약 · 단 값은 ui_template_button.css */
|
|
.ui-tabs {
|
|
display: flex;
|
|
align-items: flex-end;
|
|
gap: 4px;
|
|
border-bottom: 1px solid var(--color-border);
|
|
}
|
|
.ui-tabs__tab {
|
|
flex: none;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
height: var(--ui-size-h);
|
|
padding: 0 12px;
|
|
margin-bottom: -1px;
|
|
border: 0;
|
|
border-bottom: 2px solid transparent;
|
|
background: none;
|
|
color: var(--color-text-secondary);
|
|
font: inherit;
|
|
font-size: var(--ui-size-font);
|
|
font-weight: var(--font-weight-bold);
|
|
line-height: 1;
|
|
white-space: nowrap;
|
|
cursor: pointer;
|
|
}
|
|
.ui-tabs__tab:is(:hover, [data-state="hover"]):not(:disabled) {
|
|
color: var(--color-text);
|
|
}
|
|
.ui-tabs__tab.is-active {
|
|
color: var(--color-accent);
|
|
border-bottom-color: var(--color-accent);
|
|
}
|
|
.ui-tabs__tab:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
/* 보조 탭 — 밑줄 없음 · 고른 칸 = 강조 바탕 · 글 */
|
|
.ui-tabs--pill {
|
|
align-items: center;
|
|
border-bottom: 0;
|
|
}
|
|
.ui-tabs--pill > .ui-btn {
|
|
flex: none;
|
|
white-space: nowrap;
|
|
color: var(--color-text-secondary);
|
|
}
|
|
.ui-tabs--pill > .ui-btn.is-active {
|
|
color: var(--color-accent);
|
|
font-weight: var(--font-weight-bold);
|
|
}
|
|
|
|
/* 수 배지 — 빨강 동그라미 */
|
|
.ui-tabs__count {
|
|
min-width: 18px;
|
|
padding: 0 5px;
|
|
border-radius: 9px;
|
|
background: var(--color-danger-fill);
|
|
color: var(--color-canvas);
|
|
font-size: 11px;
|
|
font-weight: var(--font-weight-medium);
|
|
line-height: 18px;
|
|
text-align: center;
|
|
}
|
|
.ui-tabs__count[hidden] {
|
|
display: none !important;
|
|
}
|
|
|
|
/* 숨김 — display 가 [hidden] 을 덮지 않게(공용 기본 꼴이 안 실린 곳 · 페이지 꾸밈 위에서도) */
|
|
:is(.ui-tabs, .ui-tabs__tab)[hidden] {
|
|
display: none !important;
|
|
}
|