- 부품 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>
59 lines
1.4 KiB
CSS
59 lines
1.4 KiB
CSS
/* 띠 알림(552-3) — 왼쪽 색 띠 · 옅은 바탕 · 갈래 넷 */
|
|
.ui-banner {
|
|
--banner-tone: var(--color-info);
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: var(--spacing-8);
|
|
min-height: 32px;
|
|
padding: var(--spacing-8) var(--spacing-12);
|
|
border: 1px solid var(--color-border);
|
|
border-left: 3px solid var(--banner-tone);
|
|
border-radius: var(--radius-lg);
|
|
background: color-mix(in srgb, var(--banner-tone) 8%, var(--color-surface-raised));
|
|
color: var(--color-text);
|
|
font-size: 13px;
|
|
line-height: 1.45;
|
|
}
|
|
/* 숨김 — display 가 [hidden] 을 덮지 않게(공용 기본 꼴이 안 실린 곳 · 페이지 꾸밈 위에서도) */
|
|
:is(.ui-banner, .ui-banner__body, .ui-banner__actions)[hidden] {
|
|
display: none !important;
|
|
}
|
|
.ui-banner--warning {
|
|
--banner-tone: var(--color-warning);
|
|
}
|
|
.ui-banner--danger {
|
|
--banner-tone: var(--color-danger);
|
|
}
|
|
.ui-banner--success {
|
|
--banner-tone: var(--color-success);
|
|
}
|
|
.ui-banner__body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
.ui-banner__title {
|
|
color: var(--banner-tone);
|
|
font-weight: 700;
|
|
}
|
|
.ui-banner__text {
|
|
overflow-wrap: anywhere;
|
|
white-space: pre-line;
|
|
}
|
|
.ui-banner__details > summary {
|
|
color: var(--color-text-secondary);
|
|
font-size: var(--text-caption);
|
|
cursor: pointer;
|
|
}
|
|
.ui-banner__actions {
|
|
display: flex;
|
|
flex: none;
|
|
align-items: center;
|
|
gap: var(--spacing-8);
|
|
}
|
|
.ui-banner__close {
|
|
flex: none;
|
|
}
|