From 15de38cb7439370f6ebcd31bafe35dfe8d5c7d6e Mon Sep 17 00:00:00 2001 From: king Date: Wed, 2 Sep 2026 14:48:51 +0900 Subject: [PATCH] =?UTF-8?q?style(cupang):=20=EB=8B=AC=EB=A0=A5=20=EB=8B=A4?= =?UTF-8?q?=EB=93=AC=EA=B8=B0=20=E2=80=94=20=EC=9D=B4=EC=A0=84/=EB=8B=A4?= =?UTF-8?q?=EC=9D=8C=20=EB=8B=AC=20=EB=8D=94=20=ED=9D=90=EB=A6=AC=EA=B2=8C?= =?UTF-8?q?,=20=EC=97=B0=EB=8F=84=EB=A5=BC=20=EC=9B=94=20=EC=9C=84?= =?UTF-8?q?=EB=A1=9C,=20=EC=98=A4=EB=8A=98=20=EB=B2=84=ED=8A=BC=20?= =?UTF-8?q?=EA=B5=B5=EA=B2=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 다른 달 칸 opacity .5 → .28 - 달 머리글 세로 배치: 연도(작게, 위) + 월(크게, 아래) - "오늘" 버튼 글자 굵게 + 테두리 2px 검정 Co-Authored-By: Claude Opus 5 --- .../cupang/templates/cupang/box_calc.html | 2 +- .../cupang/templates/cupang/box_rules.html | 2 +- app/modules/cupang/templates/cupang/index.html | 4 ++-- .../cupang/templates/cupang/products.html | 2 +- app/modules/cupang/templates/cupang/view.html | 2 +- app/static/cupang.css | 16 ++++++++++------ 6 files changed, 16 insertions(+), 12 deletions(-) diff --git a/app/modules/cupang/templates/cupang/box_calc.html b/app/modules/cupang/templates/cupang/box_calc.html index 4f03fa8..9183147 100644 --- a/app/modules/cupang/templates/cupang/box_calc.html +++ b/app/modules/cupang/templates/cupang/box_calc.html @@ -1,6 +1,6 @@ {% extends "erp_base.html" %} -{% block head_extra %}{% endblock %} +{% block head_extra %}{% endblock %} {% block content %}
diff --git a/app/modules/cupang/templates/cupang/box_rules.html b/app/modules/cupang/templates/cupang/box_rules.html index 82a85e0..446bef4 100644 --- a/app/modules/cupang/templates/cupang/box_rules.html +++ b/app/modules/cupang/templates/cupang/box_rules.html @@ -1,6 +1,6 @@ {% extends "erp_base.html" %} -{% block head_extra %}{% endblock %} +{% block head_extra %}{% endblock %} {% block content %}
diff --git a/app/modules/cupang/templates/cupang/index.html b/app/modules/cupang/templates/cupang/index.html index 5e731d4..b40dafa 100644 --- a/app/modules/cupang/templates/cupang/index.html +++ b/app/modules/cupang/templates/cupang/index.html @@ -1,6 +1,6 @@ {% extends "erp_base.html" %} -{% block head_extra %}{% endblock %} +{% block head_extra %}{% endblock %} {% block content %}
@@ -41,8 +41,8 @@ {% for m in months %}
- {{ m.month }}월 {{ m.year }} + {{ m.month }}월 {% if m.ship_total %} 출고 {{ m.ship_total }}건 {% endif %} diff --git a/app/modules/cupang/templates/cupang/products.html b/app/modules/cupang/templates/cupang/products.html index f2f6477..a297f47 100644 --- a/app/modules/cupang/templates/cupang/products.html +++ b/app/modules/cupang/templates/cupang/products.html @@ -1,6 +1,6 @@ {% extends "erp_base.html" %} -{% block head_extra %}{% endblock %} +{% block head_extra %}{% endblock %} {% block content %}
diff --git a/app/modules/cupang/templates/cupang/view.html b/app/modules/cupang/templates/cupang/view.html index 9bc6968..f5bf29f 100644 --- a/app/modules/cupang/templates/cupang/view.html +++ b/app/modules/cupang/templates/cupang/view.html @@ -1,6 +1,6 @@ {% extends "erp_base.html" %} -{% block head_extra %}{% endblock %} +{% block head_extra %}{% endblock %} {% block content %} {# 출고 묶음 보기 — 상자 계산 화면과 같은 3열 구성. 읽기 전용(수정 없음). #} diff --git a/app/static/cupang.css b/app/static/cupang.css index 916f8fe..31090d0 100644 --- a/app/static/cupang.css +++ b/app/static/cupang.css @@ -1064,8 +1064,9 @@ body.cpg-dragging { cursor: grabbing; user-select: none; } position: absolute; top: 2px; left: 50%; transform: translateX(-50%); z-index: 2; padding: 5px 16px; border-radius: 999px; - border: 1px solid var(--color-subtle-ash); background: #fff; - font-size: 13px; color: var(--color-rich-black); text-decoration: none; + border: 2px solid var(--color-deep-black); background: #fff; + font-size: 13px; font-weight: 700; + color: var(--color-deep-black); text-decoration: none; } .cpg-mcal-todaybtn:hover { background: var(--color-ghost-gray); border-color: var(--color-midtone-gray); } @@ -1085,11 +1086,14 @@ body.cpg-dragging { cursor: grabbing; user-select: none; } /* 달 머리글 — 가운데 정렬, 출고 건수는 오른쪽 끝에 겹쳐 놓는다 */ .cpg-mcal-h { position: relative; - display: flex; align-items: baseline; justify-content: center; gap: 8px; + display: flex; flex-direction: column; align-items: center; gap: 0; padding: 0 2px 10px; } -.cpg-mcal-mname { font-size: 30px; font-weight: 800; letter-spacing: -0.5px; } -.cpg-mcal-myear { font-size: 24px; font-weight: 800; color: var(--color-midtone-gray); font-family: var(--font-geist-mono); } +.cpg-mcal-mname { font-size: 30px; font-weight: 800; letter-spacing: -0.5px; line-height: 1.15; } +.cpg-mcal-myear { + font-size: 15px; font-weight: 700; letter-spacing: .5px; + color: var(--color-midtone-gray); font-family: var(--font-geist-mono); +} .cpg-mcal-total { position: absolute; right: 2px; top: 8px; font-size: 11px; padding: 2px 8px; border-radius: 999px; @@ -1146,7 +1150,7 @@ body.cpg-dragging { cursor: grabbing; user-select: none; } .cpg-mcal-cell.is-red .cpg-mcal-day { color: var(--color-callout-red); } .cpg-mcal-cell.is-blue .cpg-mcal-day { color: #2b5bc2; } /* 이번 달이 아닌 날 — 흐리게 */ -.cpg-mcal-cell.is-out { background: var(--color-ghost-gray); opacity: .5; } +.cpg-mcal-cell.is-out { background: var(--color-ghost-gray); opacity: .28; } /* 오늘 — 검은 원 */ .cpg-mcal-cell.is-today .cpg-mcal-day { background: var(--color-deep-black); color: #fff; font-weight: 700;