From f12027316092c4e62844b7bdee78e88b397bd9f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EB=B3=B4=EA=B3=A4?= Date: Sun, 8 Mar 2026 09:19:18 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20[planning-design]=20=EC=9E=91=EC=97=85?= =?UTF-8?q?=20=EC=98=81=EC=97=AD=20=EA=B7=B9=EB=8C=80=ED=99=94=20(?= =?UTF-8?q?=ED=8C=A8=EB=84=90=20=EC=A0=91=EA=B8=B0/=ED=8E=BC=EC=B9=98?= =?UTF-8?q?=EA=B8=B0)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 좌측 메뉴트리 패널 접기/펼치기 토글 버튼 추가 - Description 패널 접기/펼치기 토글 바 추가 - 사이드바 접힘 시 스토리보드 페이지 폭 1100→1400px 자동 확장 - sb-editor padding 24→12px 축소 --- .../views/rd/planning-design/index.blade.php | 122 +++++++++++------- 1 file changed, 77 insertions(+), 45 deletions(-) diff --git a/resources/views/rd/planning-design/index.blade.php b/resources/views/rd/planning-design/index.blade.php index 652f6f2c..0f0fcf1a 100644 --- a/resources/views/rd/planning-design/index.blade.php +++ b/resources/views/rd/planning-design/index.blade.php @@ -552,14 +552,22 @@ .sb-page-thumb:hover { border-color: #cbd5e1; } .sb-page-thumb.active { border-color: var(--pc-indigo); background: #eef2ff; color: #4338ca; } .sb-page-thumb-num { font-weight: 700; font-size: 11px; color: #374151; } -.sb-editor { flex: 1; overflow: auto; padding: 24px; display: flex; justify-content: center; } +.sb-editor { flex: 1; overflow: auto; padding: 12px; display: flex; justify-content: center; } /* Storyboard Page (A4-like) */ .sb-page { - width: 1100px; min-height: 750px; background: #fff; border-radius: 4px; + width: 1100px; max-width: 100%; min-height: 750px; background: #fff; border-radius: 4px; box-shadow: 0 2px 12px rgba(0,0,0,0.1); display: flex; flex-direction: column; - flex-shrink: 0; + flex-shrink: 0; transition: width 0.2s; } +/* 메뉴트리 패널 접기 토글 */ +.sb-menu-toggle { + width: 18px; flex-shrink: 0; cursor: pointer; + display: flex; align-items: center; justify-content: center; + background: #f1f5f9; border: none; color: #94a3b8; + transition: all 0.15s; border-left: 1px solid #e2e8f0; +} +.sb-menu-toggle:hover { background: #e2e8f0; color: #475569; } .sb-page-header { display: grid; grid-template-columns: 1fr auto auto auto auto auto; border-bottom: 2px solid #1e293b; font-size: 10px; @@ -616,8 +624,16 @@ } .sb-wireframe-content:focus { border-color: var(--pc-indigo); } .sb-wireframe-img { max-width: 100%; border-radius: 8px; } +.sb-desc-toggle-bar { + height: 24px; flex-shrink: 0; cursor: pointer; + display: flex; align-items: center; justify-content: center; gap: 6px; + background: #1e293b; color: #94a3b8; font-size: 9px; font-weight: 600; + text-transform: uppercase; letter-spacing: 0.5px; transition: background 0.15s; +} +.sb-desc-toggle-bar:hover { background: #334155; color: #e2e8f0; } +.sb-desc-toggle-label { color: inherit; } .sb-desc-resizer { - height: 5px; flex-shrink: 0; cursor: row-resize; background: #1e293b; + height: 5px; flex-shrink: 0; cursor: row-resize; background: #334155; transition: background .15s; } .sb-desc-resizer:hover, .sb-desc-resizer.active { background: #818cf8; } @@ -625,10 +641,6 @@ padding: 12px 16px; background: #fafbfc; overflow-y: auto; flex-shrink: 0; } -.sb-desc-title { - font-size: 10px; font-weight: 700; color: #1e293b; margin-bottom: 8px; - text-transform: uppercase; letter-spacing: 0.5px; -} .sb-desc-item { display: flex; gap: 10px; padding: 6px 0; border-bottom: 1px solid #f1f5f9; font-size: 12px; line-height: 1.6; @@ -1625,7 +1637,7 @@ {{-- Page Editor --}}
- {{-- Desc Resizer --}} -
- {{-- Description Panel --}} -
-
Description
- -
+ Description 항목 추가
+ {{-- Desc Toggle + Resizer --}} +
+ Description + + +
+ + {{-- Description Panel --}} +
@@ -2341,6 +2371,8 @@ function planningCanvas() { _sbResize: null, // { blk, dir, startX, startY, origW, origH } _sbClipboard: null, // copied block data sbMenuWidth: 160, + sbMenuOpen: true, + sbDescOpen: true, sbDescHeight: 200, sbMarkerNum: '01', _sbMenuResize: null,