style(B03): 본문 흰→초록 그러데이션 바탕 걷음 — 틀 페이지 바탕(--color-bg) 위 흰 카드 (PLAN 556-1)
- B04 · B05 · B06 · A00_Common/design 은 틀(c3e83a637)로 바탕 반영 · 카드 · 그림 판 그대로
- 지킴 시험 test_556_1_page_bg 에 B03 줄
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
.b03-file {
|
||||
min-height: calc(100dvh - var(--app-header-height, 0px));
|
||||
background: linear-gradient(180deg, var(--color-canvas) 0%, var(--color-accent-soft) 100%);
|
||||
padding: 0 var(--spacing-24) var(--spacing-48) var(--spacing-24); /* 상단 여백은 main-layout 마진으로 조정하므로 padding-top은 0 */
|
||||
}
|
||||
|
||||
|
||||
@@ -22,3 +22,8 @@ def test_workflow_main_uses_page_bg():
|
||||
def test_general_layout_uses_page_bg():
|
||||
css = (ROOT / "ui_template/ui_template_general_layout.css").read_text(encoding="utf-8")
|
||||
assert "background: var(--color-bg)" in _rule(css, ".ui-general-layout")
|
||||
|
||||
|
||||
def test_b03_page_has_no_own_bg():
|
||||
css = (ROOT / "B03_FileInput/B03_FileInput_UI_Style.css").read_text(encoding="utf-8")
|
||||
assert "background" not in _rule(css, ".b03-file")
|
||||
|
||||
Reference in New Issue
Block a user