From f9c1dc140b04c904eeef4c02f73e6b69fc67065f Mon Sep 17 00:00:00 2001 From: king Date: Sat, 30 May 2026 04:35:35 +0900 Subject: [PATCH] =?UTF-8?q?ui:=20=EC=9E=85=EA=B3=A0=EC=84=BC=ED=84=B0=20?= =?UTF-8?q?=EB=93=9C=EB=A1=AD=EB=8B=A4=EC=9A=B4=20=EA=B0=80=EB=82=98?= =?UTF-8?q?=EB=8B=A4=EC=88=9C,=20=EC=82=AC=EC=9D=B4=EB=93=9C=EB=B0=94=20ho?= =?UTF-8?q?ver=20=EA=B0=9C=EC=84=A0,=20=EB=8B=AC=EB=A0=A5=20=EB=B2=84?= =?UTF-8?q?=ED=8A=BC=20=EA=B0=95=EC=A1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 출고 폼 입고센터 드롭다운 이름 오름차순 정렬 - 사이드바: is-active 메뉴는 hover 무변화, 그 외 진한 회색(#d9d9d9) - 설정/센터/박스 페이지 "← 달력" → "◀◀ 달력", 검정 배경 흰 글씨(primary) Co-Authored-By: Claude Opus 4.8 --- app/modules/cupang/router.py | 2 +- app/modules/cupang/templates/cupang/box_rules.html | 2 +- app/modules/cupang/templates/cupang/centers.html | 2 +- app/modules/cupang/templates/cupang/products.html | 2 +- app/static/erp-shell.css | 3 ++- 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/app/modules/cupang/router.py b/app/modules/cupang/router.py index 4d3e1bf..7814054 100644 --- a/app/modules/cupang/router.py +++ b/app/modules/cupang/router.py @@ -214,7 +214,7 @@ def _form_context(request: Request, store: Any, user: dict[str, Any]) -> dict[st "user": user, "is_admin": is_admin(user), "nav_items": build_erp_nav(user, active="cupang"), - "centers": store.list_centers(), + "centers": sorted(store.list_centers(), key=lambda c: c["name"]), "box_rules": store.list_box_rules(), "products": store.list_products(), "ship_methods": list(SHIP_METHODS), diff --git a/app/modules/cupang/templates/cupang/box_rules.html b/app/modules/cupang/templates/cupang/box_rules.html index 5061cc8..23e5528 100644 --- a/app/modules/cupang/templates/cupang/box_rules.html +++ b/app/modules/cupang/templates/cupang/box_rules.html @@ -6,7 +6,7 @@
diff --git a/app/modules/cupang/templates/cupang/centers.html b/app/modules/cupang/templates/cupang/centers.html index 6fce5f9..d21af93 100644 --- a/app/modules/cupang/templates/cupang/centers.html +++ b/app/modules/cupang/templates/cupang/centers.html @@ -6,7 +6,7 @@
diff --git a/app/modules/cupang/templates/cupang/products.html b/app/modules/cupang/templates/cupang/products.html index 908ca6f..7ea052d 100644 --- a/app/modules/cupang/templates/cupang/products.html +++ b/app/modules/cupang/templates/cupang/products.html @@ -6,7 +6,7 @@
diff --git a/app/static/erp-shell.css b/app/static/erp-shell.css index cf9177f..ab00b47 100644 --- a/app/static/erp-shell.css +++ b/app/static/erp-shell.css @@ -85,7 +85,8 @@ body.erp-app-body { background: var(--color-canvas-white); min-height: 100vh; } text-decoration: none; white-space: nowrap; } -.erp-sidebar-item:hover:not(.is-disabled) { background: var(--color-ghost-gray); } +/* 실행중(is-active) 메뉴는 hover 시 변화 없음. 그 외 메뉴만 진한 회색. */ +.erp-sidebar-item:hover:not(.is-disabled):not(.is-active) { background: #d9d9d9; } .erp-sidebar-item.is-active { background: var(--color-deep-black); color: var(--color-canvas-white);