diff --git a/apps/manacore/apps/web/src/lib/components/page-carousel/PageShell.svelte b/apps/manacore/apps/web/src/lib/components/page-carousel/PageShell.svelte index 931e9d38a..f8c76b565 100644 --- a/apps/manacore/apps/web/src/lib/components/page-carousel/PageShell.svelte +++ b/apps/manacore/apps/web/src/lib/components/page-carousel/PageShell.svelte @@ -140,6 +140,45 @@ {/if} +
+ {#if onMinimize} + + {/if} + {#if onMaximize} + + {/if} + +
{#if onMoveRight} - {/if} - {#if onMaximize} - - {/if} - - @@ -370,8 +390,7 @@ .page-header { display: flex; align-items: center; - justify-content: space-between; - padding: 0.5rem 1rem; + padding: 0.375rem 1rem; } .header-left { display: flex; @@ -398,31 +417,51 @@ color: #f3f4f6; } - .header-actions { + .window-actions { + position: absolute; + right: 2rem; + top: 50%; + transform: translateY(-50%); display: flex; align-items: center; gap: 0.125rem; + opacity: 0; + transition: opacity 0.15s; } - .header-btn { + .drag-handle-bar:hover .window-actions { + opacity: 1; + } + .window-btn { display: flex; align-items: center; justify-content: center; - width: 24px; - height: 24px; - border-radius: 0.25rem; + width: 18px; + height: 18px; + border-radius: 50%; border: none; background: transparent; - color: #9ca3af; + color: #d1d5db; cursor: pointer; transition: all 0.15s; } - .header-btn:hover { - background: rgba(0, 0, 0, 0.06); - color: #374151; + .window-btn:hover { + background: rgba(0, 0, 0, 0.08); + color: #6b7280; } - :global(.dark) .header-btn:hover { + .window-btn-close:hover { + background: rgba(239, 68, 68, 0.15); + color: #ef4444; + } + :global(.dark) .window-btn { + color: #3f3b38; + } + :global(.dark) .window-btn:hover { background: rgba(255, 255, 255, 0.1); - color: #f3f4f6; + color: #9ca3af; + } + :global(.dark) .window-btn-close:hover { + background: rgba(239, 68, 68, 0.2); + color: #ef4444; } /* Body */