diff --git a/src/index.html b/src/index.html index 7acc23c..4d322fd 100644 --- a/src/index.html +++ b/src/index.html @@ -505,12 +505,13 @@ body.dark .appModeTab.active { color: #fff; } - body.app-designer .template-only { display: none !important; } body.app-template .designer-only { display: none !important; } + body.app-designer .template-only { display: none !important; } body.app-designer label[for="layerTarget"], body.app-designer #layerTarget { display: none !important; } /* Layers panel hides in Template tab when in disc-sheet mode — disc layers live in the Designer */ - body.app-template.template-disc #layersFieldset { display: none !important; } + body.app-template.template-disc #layersFieldset, + body.app-template.template-jewel #layersFieldset { display: none !important; } /* Designer single-disc preview */ body.app-designer .sheetWrap { display: none !important; } @@ -829,10 +830,43 @@ display: none !important; } - /* Layers: disc position targeting only matters in disc mode */ - body.template-jewel .layer-controls, - body.template-cover .layer-controls { - display: none !important; + .templateLayerPanels { + display: grid; + gap: 10px; + margin-top: 10px; + } + + .templateLayerPanel { + border: 1px solid var(--line); + border-radius: 0px; + padding: 10px; + background: rgba(127,127,127,.05); + display: grid; + gap: 8px; + } + + .templateLayerPanelHead { + display: flex; + justify-content: space-between; + gap: 10px; + align-items: center; + font-size: .82rem; + font-weight: 800; + } + + .templateLayerPanelHead span:last-child { + color: var(--muted); + font-weight: 700; + } + + .templateLayerPanelList { + display: grid; + gap: 6px; + } + + .templateLayerPanelActions { + display: grid; + gap: 6px; } .discSlot { @@ -1331,11 +1365,40 @@ .rangeLine { display: grid; - grid-template-columns: 1fr 48px; + grid-template-columns: 1fr auto 56px; gap: 8px; align-items: center; } + .rangeLine button.rangeReset { + padding: 5px 8px; + font-size: .72rem; + line-height: 1; + white-space: nowrap; + border: 1px solid var(--line); + border-radius: 0px; + background: #f8fafc; + color: var(--muted); + cursor: pointer; + transition: background .15s, color .15s; + } + + .rangeLine button.rangeReset:hover { + background: #e2e8f0; + color: var(--ink); + } + + body.dark .rangeLine button.rangeReset { + background: #1e293b; + border-color: var(--line); + color: var(--muted); + } + + body.dark .rangeLine button.rangeReset:hover { + background: #334155; + color: var(--ink); + } + .rangeLine output { font-size: .74rem; color: var(--muted); @@ -1718,6 +1781,7 @@