From b290f8ec435278c140e51ed9f0a62b6e3b416db8 Mon Sep 17 00:00:00 2001 From: umsangdon Date: Sat, 17 Oct 2026 22:09:34 +0900 Subject: [PATCH] =?UTF-8?q?fix(B05=20=ED=8F=89=EB=A9=B4=20=ED=91=9C?= =?UTF-8?q?=EC=A7=80=20=EC=B8=B5):=20=EA=B3=A1=EC=84=A0=20R=20=EC=B0=BD=20?= =?UTF-8?q?=C2=B7=20=EB=93=B1=EA=B3=A0=EC=84=A0=20=EC=9E=90=EB=AC=BC?= =?UTF-8?q?=EC=87=A0=20=EC=B8=B5=203=20=E2=86=92=201=20=E2=80=94=20?= =?UTF-8?q?=EB=8F=84=EA=B5=AC=EC=A4=84=20=C2=B7=20=ED=9A=A1=EB=8B=A8=20?= =?UTF-8?q?=ED=8C=90(2)=20=EB=B0=91=20=C2=B7=20[=EB=90=98=EB=8F=8C?= =?UTF-8?q?=EB=A6=AC=EA=B8=B0]=20=EB=88=84=EB=A6=84=20=EC=95=88=20?= =?UTF-8?q?=EA=B0=80=EB=A1=9C=EC=B1=94=20(401-3)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01Se7ytqbohmBQnfYpwYFnYf --- .../B05_Profile_UI_Style_RouteEdit.css | 2 +- ...Profile_UI_Style_RouteEdit_ContourLock.css | 2 +- .../test_401_3_plan_label_under_tools.py | 25 +++++++++++++++++++ 3 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 resources/tester/test_401_3_plan_label_under_tools.py diff --git a/B05_Profile/B05_Profile_UI_Style_RouteEdit.css b/B05_Profile/B05_Profile_UI_Style_RouteEdit.css index 6ca353168..135c686ac 100644 --- a/B05_Profile/B05_Profile_UI_Style_RouteEdit.css +++ b/B05_Profile/B05_Profile_UI_Style_RouteEdit.css @@ -410,7 +410,7 @@ .b05-routeedit__label { /* 편집 칸 안 절대 위치(345-3) — 자리는 지도 칸 안으로 가둔다(`_Label`). */ position: absolute; - z-index: 3; + z-index: 1; /* 지도 위 표지 층 — 도구줄 · 횡단 판(2) 밑(401-3) */ display: flex; flex-direction: column; gap: 4px; diff --git a/B05_Profile/B05_Profile_UI_Style_RouteEdit_ContourLock.css b/B05_Profile/B05_Profile_UI_Style_RouteEdit_ContourLock.css index 6a2f493b0..29be25d6e 100644 --- a/B05_Profile/B05_Profile_UI_Style_RouteEdit_ContourLock.css +++ b/B05_Profile/B05_Profile_UI_Style_RouteEdit_ContourLock.css @@ -1,7 +1,7 @@ /* 평면 등고선 자물쇠(353-2) — 커서 옆에 뜨는 작은 단추 · 자리는 `_ContourLock.ts` 가 잡음. */ .b05-contourlock { position: absolute; - z-index: 3; + z-index: 1; /* 지도 위 표지 층 — 도구줄 · 횡단 판(2) 밑(401-3) */ display: inline-flex; align-items: center; justify-content: center; diff --git a/resources/tester/test_401_3_plan_label_under_tools.py b/resources/tester/test_401_3_plan_label_under_tools.py new file mode 100644 index 000000000..b5900ae63 --- /dev/null +++ b/resources/tester/test_401_3_plan_label_under_tools.py @@ -0,0 +1,25 @@ +"""401-3 평면 곡선 R 창 · 등고선 자물쇠가 도구줄 [되돌리기] 를 덮어 누름이 안 가던 것. + +지도 위 표지 층(1) < 도구줄 · 횡단 판 층(2) — 표지가 도구줄 · 판 손잡이 누름을 안 가로챔. +./venv/Scripts/python.exe -m pytest resources/tester/test_401_3_plan_label_under_tools.py -q +""" + +import re +from pathlib import Path + +B05 = Path(__file__).resolve().parents[2] / "B05_Profile" + + +def _z(css_name: str, selector: str) -> int: + css = (B05 / css_name).read_text(encoding="utf-8") + block = css.split(selector + " {", 1)[1].split("}", 1)[0] + return int(re.search(r"z-index:\s*(\d+)", block).group(1)) + + +def test_표지는_도구줄_판_밑(): + tools = _z("B05_Profile_UI_Style.css", ".b05-route__view-controls") + side = _z("B05_Profile_UI_Style_RouteEdit.css", ".b05-routeedit__side-wrap") + label = _z("B05_Profile_UI_Style_RouteEdit.css", ".b05-routeedit__label") + lock = _z("B05_Profile_UI_Style_RouteEdit_ContourLock.css", ".b05-contourlock") + assert label < tools and lock < tools + assert label < side and lock < side