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,