Files
Unified_Dashboard_Suite_Go/web/image-manipulator/styles.css
T

1691 lines
42 KiB
CSS
Raw Normal View History

/* ═══════════════════════════════════════════════════════════════════
IMAGEPRO · PHOTOSHOP LITE · BLACK OBSIDIAN LIQUID GLASS
GPU-accelerated 120 FPS hardware compositing, fluid reflections,
and precision Photoshop-inspired ergonomics.
═══════════════════════════════════════════════════════════════════ */
:root {
--bg-void: #000000;
--bg-smoke: rgba(10, 10, 14, 0.78);
--bg-smoke-heavy: rgba(6, 6, 9, 0.92);
--bg-card: rgba(14, 14, 20, 0.68);
--bg-card-hover: rgba(22, 22, 32, 0.84);
--bg-input: rgba(18, 18, 26, 0.75);
--bg-input-focus: rgba(26, 26, 38, 0.95);
/* Primary Brand: Obsidian Electric Violet & Liquid Ice Caustics */
--primary: #8b5cf6;
--primary-hover: #a78bfa;
--primary-dark: #7c3aed;
--primary-alpha: rgba(139, 92, 246, 0.16);
--primary-alpha2: rgba(139, 92, 246, 0.32);
--primary-glow: rgba(139, 92, 246, 0.50);
--accent-cyan: #38bdf8;
--accent-cyan-hover: #7dd3fc;
--accent-cyan-alpha: rgba(56, 189, 248, 0.16);
--accent-cyan-glow: rgba(56, 189, 248, 0.40);
--accent-emerald: #10b981;
--accent-emerald-alpha: rgba(16, 185, 129, 0.18);
--accent-purple: #c084fc;
--accent-purple-alpha: rgba(192, 132, 252, 0.18);
--text-1: #ffffff;
--text-2: #cbd5e1;
--text-3: #94a3b8;
--text-muted: #64748b;
--border-1: rgba(255, 255, 255, 0.08);
--border-2: rgba(255, 255, 255, 0.15);
--border-3: rgba(255, 255, 255, 0.28);
--border-focus: rgba(139, 92, 246, 0.70);
--border-cyan: rgba(56, 189, 248, 0.50);
--r-sm: 6px;
--r-md: 10px;
--r-lg: 16px;
--r-xl: 22px;
--r-full: 9999px;
/* Liquid Glass Shadow Tokens */
--sh-liquid:
0 1px 0 rgba(255, 255, 255, 0.38) inset,
0 -1px 0 rgba(0, 0, 0, 0.70) inset,
0 18px 48px rgba(0, 0, 0, 0.75);
--sh-liquid-hover:
0 1.5px 0 rgba(255, 255, 255, 0.55) inset,
0 -1px 0 rgba(0, 0, 0, 0.80) inset,
0 24px 60px rgba(0, 0, 0, 0.85),
0 0 30px var(--primary-glow);
--sh-glass:
0 1px 0 rgba(255, 255, 255, 0.20) inset,
0 -1px 0 rgba(0, 0, 0, 0.60) inset,
0 8px 24px rgba(0, 0, 0, 0.55);
--font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
--font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}
*, *::before, *::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html, body {
width: 100%;
height: 100%;
overflow: hidden;
background-color: var(--bg-void);
color: var(--text-1);
font-family: var(--font-main);
font-size: 13px;
line-height: 1.45;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
user-select: none;
}
/* Ambient Obsidian Caustics */
.ambient-canvas {
position: fixed;
inset: 0;
pointer-events: none;
z-index: 0;
overflow: hidden;
background:
radial-gradient(circle at 12% 16%, rgba(139, 92, 246, 0.12) 0%, transparent 45%),
radial-gradient(circle at 88% 84%, rgba(56, 189, 248, 0.09) 0%, transparent 50%),
radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.05) 0%, transparent 60%),
#050608;
}
/* ═══════════════════════════════════════════════════════════════════
APP ROOT LAYOUT
═══════════════════════════════════════════════════════════════════ */
.ps-app-root {
display: flex;
flex-direction: column;
width: 100vw;
height: 100vh;
position: relative;
z-index: 1;
overflow: hidden;
}
/* ═══════════════════════════════════════════════════════════════════
TOP APPLICATION BAR & CONTEXTUAL OPTIONS STRIP
═══════════════════════════════════════════════════════════════════ */
.ps-app-header {
height: 52px;
min-height: 52px;
background: var(--bg-smoke-heavy);
backdrop-filter: blur(24px) saturate(190%);
-webkit-backdrop-filter: blur(24px) saturate(190%);
border-bottom: 1px solid var(--border-2);
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 16px;
gap: 16px;
position: relative;
z-index: 50;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}
.ps-header-left {
display: flex;
align-items: center;
gap: 12px;
flex-shrink: 0;
}
.ps-brand-badge {
display: flex;
align-items: center;
gap: 8px;
cursor: pointer;
}
.ps-logo-icon {
width: 32px;
height: 32px;
border-radius: var(--r-md);
background: linear-gradient(135deg, rgba(139, 92, 246, 0.45) 0%, rgba(56, 189, 248, 0.28) 100%);
border: 1px solid rgba(139, 92, 246, 0.55);
box-shadow: 0 0 16px var(--primary-glow), inset 0 1px 1px rgba(255, 255, 255, 0.35);
display: flex;
align-items: center;
justify-content: center;
font-family: var(--font-mono);
font-weight: 800;
font-size: 15px;
color: #ffffff;
letter-spacing: -0.5px;
}
.ps-brand-text {
display: flex;
flex-direction: column;
}
.ps-brand-text h1 {
font-size: 13.5px;
font-weight: 700;
color: var(--text-1);
letter-spacing: -0.01em;
display: flex;
align-items: center;
gap: 6px;
}
.ps-brand-text span {
font-size: 9.5px;
font-weight: 600;
color: var(--accent-cyan);
text-transform: uppercase;
letter-spacing: 0.08em;
}
.ps-menu-divider {
width: 1px;
height: 22px;
background: var(--border-2);
}
.ps-file-btns {
display: flex;
align-items: center;
gap: 6px;
}
/* Contextual Tool Options Strip (Center Header) */
.ps-tool-options-strip {
flex: 1;
display: flex;
align-items: center;
gap: 12px;
overflow-x: auto;
padding: 4px 0;
scrollbar-width: none;
}
.ps-tool-options-strip::-webkit-scrollbar {
display: none;
}
.ps-options-group {
display: flex;
align-items: center;
gap: 8px;
padding: 3px 10px;
background: rgba(255, 255, 255, 0.03);
border: 1px solid var(--border-1);
border-radius: var(--r-md);
white-space: nowrap;
}
.ps-options-label {
font-size: 11px;
font-weight: 600;
color: var(--text-3);
text-transform: uppercase;
letter-spacing: 0.04em;
}
.ps-header-right {
display: flex;
align-items: center;
gap: 10px;
flex-shrink: 0;
}
.ps-counter-pill {
font-family: var(--font-mono);
font-size: 11px;
font-weight: 600;
color: var(--text-2);
padding: 5px 10px;
background: rgba(255, 255, 255, 0.04);
border: 1px solid var(--border-1);
border-radius: var(--r-full);
display: flex;
align-items: center;
gap: 6px;
}
.ps-counter-pill.has-files {
border-color: var(--primary-alpha2);
color: var(--primary);
background: var(--primary-alpha);
box-shadow: 0 0 12px var(--primary-alpha);
}
/* ═══════════════════════════════════════════════════════════════════
MAIN WORKSPACE LAYOUT (Tool Dock + Canvas Stage + Inspector)
═══════════════════════════════════════════════════════════════════ */
.ps-main-body {
flex: 1;
display: flex;
position: relative;
overflow: hidden;
height: calc(100vh - 52px);
}
/* ═══════════════════════════════════════════════════════════════════
LEFT OBSIDIAN LIQUID GLASS TOOL PALETTE
═══════════════════════════════════════════════════════════════════ */
.ps-tool-dock {
width: 196px;
height: 100%;
background: var(--bg-smoke-heavy);
backdrop-filter: blur(32px) saturate(210%);
-webkit-backdrop-filter: blur(32px) saturate(210%);
border-right: 1px solid var(--border-1);
box-shadow: 6px 0 28px rgba(0, 0, 0, 0.75), inset -1px 0 0 rgba(255, 255, 255, 0.04);
display: flex;
flex-direction: column;
padding: 12px 8px 16px;
gap: 3px;
position: relative;
z-index: 40;
flex-shrink: 0;
overflow-y: auto;
overflow-x: hidden;
scrollbar-width: thin;
scrollbar-color: rgba(255, 255, 255, 0.12) transparent;
}
.ps-tool-dock::-webkit-scrollbar {
width: 4px;
}
.ps-tool-dock::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.14);
border-radius: var(--r-full);
}
.ps-dock-section-title {
font-size: 9px;
font-weight: 700;
letter-spacing: 0.1em;
color: var(--text-muted);
padding: 8px 10px 4px;
text-transform: uppercase;
user-select: none;
}
.ps-dock-divider {
width: calc(100% - 16px);
height: 1px;
background: var(--border-1);
margin: 6px 8px;
}
.ps-tool-btn {
width: 100%;
height: 36px;
border-radius: var(--r-md);
border: 1px solid transparent;
background: transparent;
color: var(--text-2);
display: flex;
align-items: center;
padding: 0 10px;
gap: 10px;
cursor: pointer;
position: relative;
transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
font-size: 13px;
outline: none;
text-align: left;
user-select: none;
}
.ps-tool-btn:hover {
background: rgba(255, 255, 255, 0.05);
color: #ffffff;
border-color: rgba(255, 255, 255, 0.10);
transform: translateX(2px);
}
.ps-tool-btn.active {
background: linear-gradient(135deg, rgba(139, 92, 246, 0.28) 0%, rgba(139, 92, 246, 0.08) 100%);
color: #ffffff;
border-color: var(--primary-alpha2);
box-shadow:
0 1px 0 rgba(255, 255, 255, 0.30) inset,
0 0 16px var(--primary-alpha);
}
.ps-tool-btn.active::before {
content: '';
position: absolute;
left: -1px;
top: 7px;
bottom: 7px;
width: 3px;
border-radius: 0 var(--r-sm) var(--r-sm) 0;
background: var(--primary);
box-shadow: 0 0 10px var(--primary-glow);
}
.ps-tool-icon-wrap {
width: 22px;
height: 22px;
display: flex;
align-items: center;
justify-content: center;
font-size: 13.5px;
color: var(--text-3);
flex-shrink: 0;
transition: all 0.18s ease;
}
.ps-tool-btn:hover .ps-tool-icon-wrap {
color: var(--primary-hover);
transform: scale(1.12);
}
.ps-tool-btn.active .ps-tool-icon-wrap {
color: #c084fc;
filter: drop-shadow(0 0 8px var(--primary-glow));
}
.ps-tool-name {
font-size: 12px;
font-weight: 500;
letter-spacing: -0.01em;
color: var(--text-2);
flex: 1;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
transition: color 0.18s ease;
}
.ps-tool-btn:hover .ps-tool-name {
color: #ffffff;
}
.ps-tool-btn.active .ps-tool-name {
color: #ffffff;
font-weight: 600;
text-shadow: 0 0 12px rgba(139, 92, 246, 0.40);
}
.ps-tool-kbd {
font-size: 9.5px;
font-family: var(--font-mono);
font-weight: 600;
color: var(--text-muted);
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.08);
padding: 1px 5px;
border-radius: 4px;
flex-shrink: 0;
transition: all 0.18s ease;
}
.ps-tool-btn:hover .ps-tool-kbd {
color: var(--text-2);
border-color: rgba(255, 255, 255, 0.16);
}
.ps-tool-btn.active .ps-tool-kbd {
background: rgba(139, 92, 246, 0.25);
border-color: rgba(139, 92, 246, 0.50);
color: #e9d5ff;
box-shadow: 0 0 8px rgba(139, 92, 246, 0.35);
}
/* Tooltip on hover */
[data-tooltip] {
position: relative;
}
[data-tooltip]::after {
content: attr(data-tooltip);
position: absolute;
left: 68px;
top: 50%;
transform: translateY(-50%) scale(0.95);
background: rgba(14, 14, 20, 0.94);
backdrop-filter: blur(14px);
color: #ffffff;
border: 1px solid var(--border-2);
padding: 4px 9px;
border-radius: var(--r-sm);
font-size: 11px;
font-weight: 500;
white-space: nowrap;
pointer-events: none;
opacity: 0;
transition: opacity 0.15s ease, transform 0.15s ease;
z-index: 100;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8);
}
[data-tooltip]:hover::after {
opacity: 1;
transform: translateY(-50%) scale(1);
}
/* ═══════════════════════════════════════════════════════════════════
CENTER WORKSPACE & VIEWPORT (Photoshop Canvas Stage)
═══════════════════════════════════════════════════════════════════ */
.ps-workspace {
flex: 1;
height: 100%;
display: flex;
flex-direction: column;
position: relative;
overflow: hidden;
background: radial-gradient(circle at center, #111116 0%, #050507 100%);
}
.ps-viewport {
flex: 1;
position: relative;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
background-image:
linear-gradient(45deg, #0e0e14 25%, transparent 25%),
linear-gradient(-45deg, #0e0e14 25%, transparent 25%),
linear-gradient(45deg, transparent 75%, #0e0e14 75%),
linear-gradient(-45deg, transparent 75%, #0e0e14 75%);
background-size: 24px 24px;
background-position: 0 0, 0 12px, 12px -12px, -12px 0px;
}
/* Empty State Dropzone */
.ps-dropzone-empty {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
max-width: 580px;
width: 90%;
padding: 48px 36px;
background: var(--bg-smoke);
backdrop-filter: blur(28px) saturate(180%);
-webkit-backdrop-filter: blur(28px) saturate(180%);
border: 2px dashed var(--border-2);
border-radius: var(--r-xl);
box-shadow: var(--sh-liquid);
cursor: pointer;
transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
text-align: center;
position: relative;
}
.ps-dropzone-empty:hover, .ps-dropzone-empty.dragover {
border-color: var(--primary);
background: var(--primary-alpha);
box-shadow: var(--sh-liquid-hover);
transform: translateY(-2px);
}
.ps-dropzone-icon {
width: 68px;
height: 68px;
border-radius: 50%;
background: var(--primary-alpha);
border: 1px solid var(--primary-alpha2);
display: flex;
align-items: center;
justify-content: center;
font-size: 30px;
color: var(--primary);
margin-bottom: 18px;
box-shadow: 0 0 28px var(--primary-glow);
}
.ps-dropzone-empty h2 {
font-size: 18px;
font-weight: 700;
color: var(--text-1);
}
.ps-dropzone-empty p {
font-size: 12.5px;
color: var(--text-3);
margin-top: 6px;
}
.ps-dropzone-actions {
display: flex;
gap: 12px;
margin-top: 24px;
}
/* Image Canvas Stage */
.ps-stage-container {
position: relative;
display: inline-flex;
align-items: center;
justify-content: center;
max-width: calc(100% - 48px);
max-height: calc(100% - 48px);
box-shadow: 0 16px 48px rgba(0, 0, 0, 0.85);
border-radius: var(--r-md);
overflow: visible;
transition: transform 0.1s ease-out;
}
.ps-active-img {
max-width: 100%;
max-height: calc(100vh - 200px);
display: block;
object-fit: contain;
border-radius: var(--r-md);
border: 1px solid var(--border-2);
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7);
user-select: none;
pointer-events: none;
}
/* Zoom / Viewport HUD Controls */
.ps-viewport-hud {
position: absolute;
bottom: 16px;
right: 18px;
display: flex;
align-items: center;
gap: 6px;
background: rgba(14, 14, 20, 0.88);
backdrop-filter: blur(16px);
border: 1px solid var(--border-2);
border-radius: var(--r-full);
padding: 4px 8px;
z-index: 30;
box-shadow: var(--sh-glass);
}
.ps-hud-btn {
background: none;
border: none;
color: var(--text-2);
width: 26px;
height: 26px;
border-radius: 50%;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
font-size: 11px;
transition: background 0.15s ease, color 0.15s ease;
}
.ps-hud-btn-text {
width: auto;
padding: 0 10px;
border-radius: var(--r-full);
gap: 5px;
font-size: 11px;
font-weight: 600;
}
.ps-hud-btn:hover {
background: rgba(255, 255, 255, 0.1);
color: #fff;
}
.ps-hud-val {
font-family: var(--font-mono);
font-size: 11px;
font-weight: 600;
color: var(--text-1);
min-width: 44px;
text-align: center;
}
/* ═══════════════════════════════════════════════════════════════════
VISUAL INTERACTIVE CROPPER OVERLAY (Photoshop Marquee Cropper)
═══════════════════════════════════════════════════════════════════ */
.ps-crop-overlay {
position: absolute;
inset: 0;
pointer-events: auto;
z-index: 25;
user-select: none;
overflow: hidden;
}
/* Darkened Scrims Outside the Active Crop Box */
.crop-scrim {
position: absolute;
background: rgba(0, 0, 0, 0.65);
pointer-events: auto;
transition: background 0.15s ease;
}
.crop-scrim-top { top: 0; left: 0; right: 0; }
.crop-scrim-bottom { bottom: 0; left: 0; right: 0; }
.crop-scrim-left { top: 0; bottom: 0; left: 0; }
.crop-scrim-right { top: 0; bottom: 0; right: 0; }
/* The Crop Rectangle Box */
.crop-box {
position: absolute;
border: 1.5px solid var(--accent-cyan);
box-shadow:
0 0 0 1px rgba(0, 0, 0, 0.8),
0 0 16px var(--accent-cyan-glow);
cursor: move;
pointer-events: auto;
z-index: 28;
}
/* Rule of Thirds Grid Lines inside Crop Box */
.crop-grid {
position: absolute;
inset: 0;
pointer-events: none;
}
.crop-grid-h1, .crop-grid-h2 {
position: absolute;
left: 0;
right: 0;
height: 1px;
background: rgba(255, 255, 255, 0.35);
box-shadow: 0 0 2px rgba(0, 0, 0, 0.6);
}
.crop-grid-h1 { top: 33.333%; }
.crop-grid-h2 { top: 66.666%; }
.crop-grid-v1, .crop-grid-v2 {
position: absolute;
top: 0;
bottom: 0;
width: 1px;
background: rgba(255, 255, 255, 0.35);
box-shadow: 0 0 2px rgba(0, 0, 0, 0.6);
}
.crop-grid-v1 { left: 33.333%; }
.crop-grid-v2 { left: 66.666%; }
/* Live Dimension Tag Above Crop Box */
.crop-dim-badge {
position: absolute;
top: -28px;
left: 50%;
transform: translateX(-50%);
background: rgba(10, 10, 16, 0.92);
border: 1px solid var(--accent-cyan);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.7);
padding: 3px 8px;
border-radius: var(--r-sm);
font-family: var(--font-mono);
font-size: 11px;
font-weight: 700;
color: var(--accent-cyan);
white-space: nowrap;
pointer-events: none;
z-index: 30;
}
/* 8 Resizing Handles */
.crop-handle {
position: absolute;
width: 10px;
height: 10px;
background: #ffffff;
border: 1.5px solid #000000;
box-shadow: 0 0 6px var(--accent-cyan);
border-radius: 2px;
z-index: 32;
}
.crop-handle-nw { top: -5px; left: -5px; cursor: nwse-resize; }
.crop-handle-n { top: -5px; left: calc(50% - 5px); cursor: ns-resize; width: 14px; }
.crop-handle-ne { top: -5px; right: -5px; cursor: nesw-resize; }
.crop-handle-e { top: calc(50% - 5px); right: -5px; cursor: ew-resize; height: 14px; }
.crop-handle-se { bottom: -5px; right: -5px; cursor: nwse-resize; }
.crop-handle-s { bottom: -5px; left: calc(50% - 5px); cursor: ns-resize; width: 14px; }
.crop-handle-sw { bottom: -5px; left: -5px; cursor: nesw-resize; }
.crop-handle-w { top: calc(50% - 5px); left: -5px; cursor: ew-resize; height: 14px; }
/* ═══════════════════════════════════════════════════════════════════
MASK CANVAS OVERLAY & LIVE BRUSH CURSOR
═══════════════════════════════════════════════════════════════════ */
.ps-mask-canvas {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
cursor: crosshair;
z-index: 26;
opacity: 0.82;
touch-action: none;
}
#brush-cursor-ring {
position: fixed;
pointer-events: none;
border: 1.5px solid rgba(244, 63, 94, 0.95);
border-radius: 50%;
transform: translate(-50%, -50%);
display: none;
z-index: 9999;
box-shadow: 0 0 12px rgba(244, 63, 94, 0.55), inset 0 0 4px rgba(244, 63, 94, 0.35);
}
#brush-cursor-ring::after {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 3px;
height: 3px;
background: #ffffff;
border-radius: 50%;
transform: translate(-50%, -50%);
box-shadow: 0 0 4px #000;
}
/* ═══════════════════════════════════════════════════════════════════
BOTTOM FILMSTRIP / QUEUE TRAY (Multi-File Bar)
═══════════════════════════════════════════════════════════════════ */
.ps-filmstrip {
height: 82px;
min-height: 82px;
background: var(--bg-smoke-heavy);
backdrop-filter: blur(24px) saturate(190%);
-webkit-backdrop-filter: blur(24px) saturate(190%);
border-top: 1px solid var(--border-2);
display: flex;
align-items: center;
padding: 0 16px;
gap: 12px;
position: relative;
z-index: 35;
box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}
.ps-filmstrip-left {
display: flex;
align-items: center;
gap: 8px;
flex-shrink: 0;
border-right: 1px solid var(--border-1);
padding-right: 12px;
}
.ps-filmstrip-scroll {
flex: 1;
display: flex;
align-items: center;
gap: 8px;
overflow-x: auto;
padding: 4px 0;
scrollbar-width: thin;
scrollbar-color: var(--border-2) transparent;
}
.ps-filmstrip-scroll::-webkit-scrollbar {
height: 5px;
}
.ps-filmstrip-scroll::-webkit-scrollbar-thumb {
background: var(--border-2);
border-radius: var(--r-full);
}
.ps-thumb-card {
height: 64px;
min-width: 140px;
max-width: 180px;
display: flex;
align-items: center;
gap: 8px;
padding: 6px 8px;
background: var(--bg-input);
border: 1px solid var(--border-1);
border-radius: var(--r-md);
cursor: pointer;
position: relative;
transition: all 0.18s ease;
flex-shrink: 0;
}
.ps-thumb-card:hover {
background: var(--bg-card-hover);
border-color: var(--border-2);
transform: translateY(-2px);
}
.ps-thumb-card.active {
background: linear-gradient(135deg, rgba(139, 92, 246, 0.22) 0%, rgba(139, 92, 246, 0.06) 100%);
border-color: var(--primary);
box-shadow: 0 0 12px var(--primary-alpha);
}
.ps-thumb-img {
width: 48px;
height: 48px;
border-radius: var(--r-sm);
object-fit: cover;
background: #000;
border: 1px solid var(--border-1);
flex-shrink: 0;
}
.ps-thumb-meta {
display: flex;
flex-direction: column;
overflow: hidden;
gap: 2px;
}
.ps-thumb-name {
font-size: 11px;
font-weight: 600;
color: var(--text-1);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.ps-thumb-size {
font-size: 10px;
font-family: var(--font-mono);
color: var(--text-3);
}
.ps-thumb-close {
position: absolute;
top: 3px;
right: 4px;
width: 16px;
height: 16px;
border-radius: 50%;
background: rgba(0, 0, 0, 0.7);
border: 1px solid var(--border-1);
color: var(--text-3);
display: none;
align-items: center;
justify-content: center;
font-size: 9px;
cursor: pointer;
}
.ps-thumb-card:hover .ps-thumb-close {
display: flex;
}
.ps-thumb-close:hover {
background: #ef4444;
color: #fff;
}
/* ═══════════════════════════════════════════════════════════════════
RIGHT INSPECTOR PANEL (Photoshop Properties & Batch Hub)
═══════════════════════════════════════════════════════════════════ */
.ps-inspector {
width: 320px;
height: 100%;
background: var(--bg-smoke-heavy);
backdrop-filter: blur(28px) saturate(190%);
-webkit-backdrop-filter: blur(28px) saturate(190%);
border-left: 1px solid var(--border-1);
box-shadow: -6px 0 24px rgba(0, 0, 0, 0.65);
display: flex;
flex-direction: column;
position: relative;
z-index: 40;
flex-shrink: 0;
}
.ps-inspector-tabs {
display: flex;
border-bottom: 1px solid var(--border-1);
padding: 0 8px;
background: rgba(0, 0, 0, 0.2);
}
.ps-inspector-tab {
flex: 1;
padding: 12px 6px;
text-align: center;
font-size: 11.5px;
font-weight: 600;
color: var(--text-3);
cursor: pointer;
border-bottom: 2px solid transparent;
transition: all 0.2s ease;
user-select: none;
}
.ps-inspector-tab:hover {
color: var(--text-1);
}
.ps-inspector-tab.active {
color: var(--primary);
border-bottom-color: var(--primary);
}
.ps-inspector-content {
flex: 1;
overflow-y: auto;
padding: 18px 20px;
display: flex;
flex-direction: column;
gap: 16px;
}
.ps-section-title {
font-size: 10.5px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.08em;
color: var(--text-muted);
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 4px;
}
.ps-action-footer {
padding: 16px 20px;
border-top: 1px solid var(--border-1);
background: rgba(0, 0, 0, 0.3);
display: flex;
flex-direction: column;
gap: 10px;
}
/* ═══════════════════════════════════════════════════════════════════
FORM CONTROLS & RANGE SLIDERS
═══════════════════════════════════════════════════════════════════ */
.input-group {
display: flex;
flex-direction: column;
margin-bottom: 12px;
}
.input-group label {
font-size: 11.5px;
font-weight: 600;
color: var(--text-2);
margin-bottom: 6px;
display: flex;
align-items: center;
justify-content: space-between;
}
.label-val {
font-family: var(--font-mono);
font-size: 11px;
color: var(--primary);
font-weight: 700;
}
input[type="text"],
input[type="number"],
input[type="color"],
select,
textarea {
width: 100%;
height: 36px;
padding: 0 12px;
background: var(--bg-input);
border: 1px solid var(--border-2);
border-radius: var(--r-md);
color: var(--text-1);
font-family: var(--font-main);
font-size: 12.5px;
outline: none;
transition: all 0.2s ease;
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
}
input[type="text"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
border-color: var(--border-focus);
background: var(--bg-input-focus);
box-shadow: 0 0 0 1px var(--primary-alpha2), 0 0 16px var(--primary-alpha);
}
select {
cursor: pointer;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.6)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 12px center;
padding-right: 32px;
appearance: none;
-webkit-appearance: none;
}
select option {
background: #121218;
color: var(--text-1);
}
/* Custom Range Sliders */
input[type="range"] {
-webkit-appearance: none;
width: 100%;
height: 5px;
border-radius: var(--r-full);
background: rgba(255, 255, 255, 0.12);
outline: none;
cursor: pointer;
margin: 8px 0;
}
input[type="range"]::-webkit-slider-thumb {
-webkit-appearance: none;
width: 16px;
height: 16px;
border-radius: 50%;
background: var(--primary);
border: 2px solid #ffffff;
box-shadow: 0 0 10px var(--primary-glow);
cursor: pointer;
transition: transform 0.15s ease;
}
input[type="range"]::-webkit-slider-thumb:hover {
transform: scale(1.25);
}
/* Segment Pill Buttons */
.seg-pills-row {
display: flex;
gap: 6px;
flex-wrap: wrap;
margin-top: 4px;
}
.seg-pill {
padding: 5px 10px;
background: var(--bg-input);
border: 1px solid var(--border-2);
border-radius: var(--r-md);
font-size: 11px;
font-weight: 600;
color: var(--text-2);
cursor: pointer;
transition: all 0.18s ease;
user-select: none;
}
.seg-pill:hover {
background: rgba(255, 255, 255, 0.08);
color: var(--text-1);
border-color: var(--border-3);
}
.seg-pill.active {
background: var(--primary-alpha);
border-color: var(--primary-alpha2);
color: var(--primary);
box-shadow: 0 0 12px var(--primary-alpha);
}
/* Color Swatches */
.color-swatches-row {
display: flex;
gap: 8px;
align-items: center;
margin-top: 6px;
}
.color-swatch {
width: 24px;
height: 24px;
border-radius: 50%;
border: 2px solid rgba(255, 255, 255, 0.2);
cursor: pointer;
transition: transform 0.15s ease, border-color 0.15s ease;
}
.color-swatch:hover {
transform: scale(1.2);
border-color: #ffffff;
}
/* ═══════════════════════════════════════════════════════════════════
BUTTONS
═══════════════════════════════════════════════════════════════════ */
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
height: 38px;
padding: 0 16px;
background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
color: #ffffff;
font-family: var(--font-main);
font-size: 12.5px;
font-weight: 600;
border-radius: var(--r-md);
border: 1px solid rgba(255, 255, 255, 0.25);
cursor: pointer;
transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
box-shadow:
0 1px 0 rgba(255, 255, 255, 0.40) inset,
0 -1px 0 rgba(0, 0, 0, 0.50) inset,
0 8px 20px var(--primary-glow);
text-decoration: none;
user-select: none;
white-space: nowrap;
}
.btn:hover {
transform: translateY(-2px);
box-shadow:
0 1.5px 0 rgba(255, 255, 255, 0.60) inset,
0 12px 28px var(--primary-glow);
filter: brightness(1.08);
}
.btn:active {
transform: translateY(0);
}
.btn-secondary {
background: var(--bg-card);
border: 1px solid var(--border-2);
color: var(--text-2);
box-shadow: var(--sh-glass);
}
.btn-secondary:hover {
background: var(--bg-card-hover);
color: var(--text-1);
border-color: var(--border-3);
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}
.btn-cyan {
background: linear-gradient(135deg, var(--accent-cyan) 0%, #0072ff 100%);
box-shadow:
0 1px 0 rgba(255, 255, 255, 0.40) inset,
0 8px 20px var(--accent-cyan-glow);
color: #000000;
font-weight: 700;
}
.btn-cyan:hover {
box-shadow:
0 1.5px 0 rgba(255, 255, 255, 0.60) inset,
0 12px 28px var(--accent-cyan-glow);
filter: brightness(1.1);
}
.btn-sm {
height: 30px;
padding: 0 10px;
font-size: 11.5px;
}
.btn-icon-only {
width: 32px;
height: 32px;
padding: 0;
border-radius: var(--r-md);
}
/* ═══════════════════════════════════════════════════════════════════
BATCH PROGRESS MODAL & GLASS HUD
═══════════════════════════════════════════════════════════════════ */
.ps-modal-backdrop {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.82);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
z-index: 2000;
display: flex;
align-items: center;
justify-content: center;
}
.ps-modal-card {
width: 90%;
max-width: 540px;
background: var(--bg-smoke-heavy);
border: 1px solid var(--border-3);
border-radius: var(--r-xl);
padding: 28px 32px;
box-shadow: var(--sh-liquid-hover);
display: flex;
flex-direction: column;
gap: 18px;
position: relative;
}
.ps-progress-header {
display: flex;
align-items: center;
justify-content: space-between;
}
.ps-progress-header h3 {
font-size: 16px;
font-weight: 700;
color: var(--text-1);
display: flex;
align-items: center;
gap: 8px;
}
.ps-progress-pct {
font-family: var(--font-mono);
font-size: 18px;
font-weight: 800;
color: var(--primary);
}
.ps-progress-track {
width: 100%;
height: 8px;
background: rgba(255, 255, 255, 0.08);
border-radius: var(--r-full);
overflow: hidden;
position: relative;
}
.ps-progress-fill {
height: 100%;
width: 0%;
background: linear-gradient(90deg, var(--primary) 0%, var(--accent-cyan) 100%);
border-radius: var(--r-full);
transition: width 0.2s ease;
box-shadow: 0 0 16px var(--primary-glow);
}
.ps-progress-stats {
display: flex;
align-items: center;
justify-content: space-between;
font-family: var(--font-mono);
font-size: 11.5px;
color: var(--text-3);
}
.ps-progress-speed {
color: var(--accent-cyan);
font-weight: 600;
}
.ps-console-box {
max-height: 140px;
overflow-y: auto;
background: rgba(0, 0, 0, 0.6);
border: 1px solid var(--border-1);
border-radius: var(--r-md);
padding: 10px 14px;
font-family: var(--font-mono);
font-size: 11px;
color: var(--text-3);
display: flex;
flex-direction: column;
gap: 4px;
}
.ps-console-line {
white-space: pre-wrap;
word-break: break-all;
}
.ps-console-line.error {
color: #ef4444;
}
.ps-console-line.success {
color: var(--accent-emerald);
}
/* ═══════════════════════════════════════════════════════════════════
TOAST NOTIFICATIONS
═══════════════════════════════════════════════════════════════════ */
.toast-container {
position: fixed;
bottom: 24px;
right: 24px;
z-index: 9999;
display: flex;
flex-direction: column;
gap: 10px;
pointer-events: none;
}
.toast {
pointer-events: auto;
padding: 12px 18px;
background: rgba(14, 14, 20, 0.95);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border: 1px solid var(--border-2);
border-radius: var(--r-lg);
box-shadow: var(--sh-liquid);
display: flex;
align-items: center;
gap: 10px;
font-size: 12.5px;
font-weight: 500;
color: var(--text-1);
transform: translateY(20px);
opacity: 0;
animation: toastIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes toastIn {
to {
transform: translateY(0);
opacity: 1;
}
}
.toast.success {
border-color: rgba(16, 185, 129, 0.4);
}
.toast.success i {
color: var(--accent-emerald);
}
.toast.error {
border-color: rgba(239, 68, 68, 0.4);
}
.toast.error i {
color: #ef4444;
}
/* ═══════════════════════════════════════════════════════════════════
SPLIT VIEW BEFORE / AFTER COMPARISON SLIDER
═══════════════════════════════════════════════════════════════════ */
.ps-split-container {
position: absolute;
inset: 0;
pointer-events: auto;
z-index: 24;
overflow: hidden;
user-select: none;
border-radius: var(--r-md);
}
.ps-split-clip-wrap {
position: absolute;
top: 0;
left: 0;
bottom: 0;
width: 50%;
overflow: hidden;
border-right: 2px solid var(--accent-cyan);
box-shadow: 2px 0 16px rgba(56, 189, 248, 0.45);
pointer-events: none;
}
.ps-split-img {
position: absolute;
top: 0;
left: 0;
max-width: none;
height: 100%;
display: block;
object-fit: contain;
}
.ps-split-bar {
position: absolute;
top: 0;
bottom: 0;
left: 50%;
width: 3px;
background: var(--accent-cyan);
cursor: ew-resize;
z-index: 28;
transform: translateX(-50%);
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 0 12px var(--accent-cyan-glow);
}
.ps-split-knob {
width: 28px;
height: 28px;
border-radius: 50%;
background: rgba(10, 12, 18, 0.95);
border: 1.5px solid var(--accent-cyan);
color: var(--accent-cyan);
display: flex;
align-items: center;
justify-content: center;
font-size: 11px;
box-shadow: 0 0 16px rgba(0, 0, 0, 0.8), 0 0 10px var(--accent-cyan-glow);
cursor: ew-resize;
pointer-events: none;
}
.ps-split-tag {
position: absolute;
top: 14px;
padding: 4px 10px;
border-radius: var(--r-full);
font-family: var(--font-mono);
font-size: 10px;
font-weight: 700;
letter-spacing: 0.08em;
text-transform: uppercase;
pointer-events: none;
backdrop-filter: blur(12px);
z-index: 27;
}
.ps-split-tag-before {
left: 14px;
background: rgba(139, 92, 246, 0.35);
border: 1px solid rgba(139, 92, 246, 0.55);
color: #ffffff;
box-shadow: 0 0 12px rgba(139, 92, 246, 0.4);
}
.ps-split-tag-after {
right: 14px;
background: rgba(56, 189, 248, 0.35);
border: 1px solid rgba(56, 189, 248, 0.55);
color: #ffffff;
box-shadow: 0 0 12px rgba(56, 189, 248, 0.4);
}
/* ═══════════════════════════════════════════════════════════════════
HISTORY TIMELINE PANEL
═══════════════════════════════════════════════════════════════════ */
.ps-history-item {
display: flex;
align-items: center;
justify-content: space-between;
padding: 9px 12px;
background: var(--bg-input);
border: 1px solid var(--border-1);
border-radius: var(--r-md);
cursor: pointer;
transition: all 0.18s ease;
}
.ps-history-item:hover {
background: var(--bg-card-hover);
border-color: var(--border-2);
transform: translateX(2px);
}
.ps-history-item.active {
background: linear-gradient(135deg, rgba(139, 92, 246, 0.25) 0%, rgba(139, 92, 246, 0.08) 100%);
border-color: var(--primary);
box-shadow: 0 0 12px var(--primary-alpha);
}
.ps-history-name {
font-size: 11.5px;
font-weight: 600;
color: var(--text-1);
display: flex;
align-items: center;
gap: 8px;
}
.ps-history-time {
font-family: var(--font-mono);
font-size: 10px;
color: var(--text-muted);
}
/* ═══════════════════════════════════════════════════════════════════
ENTERPRISE BACKGROUND JOBS HUB
═══════════════════════════════════════════════════════════════════ */
.ps-job-counter {
font-size: 9px;
font-family: var(--font-mono);
background: var(--primary);
color: #fff;
padding: 1px 5px;
border-radius: var(--r-full);
margin-left: 4px;
}
.ps-job-card {
background: var(--bg-input);
border: 1px solid var(--border-2);
border-radius: var(--r-md);
padding: 12px 14px;
display: flex;
flex-direction: column;
gap: 8px;
transition: all 0.2s ease;
box-shadow: var(--sh-glass);
}
.ps-job-header {
display: flex;
align-items: center;
justify-content: space-between;
}
.ps-job-id {
font-family: var(--font-mono);
font-size: 11px;
font-weight: 700;
color: #fff;
}
.ps-job-badge {
font-size: 9.5px;
font-family: var(--font-mono);
font-weight: 700;
padding: 2px 7px;
border-radius: 4px;
text-transform: uppercase;
}
.ps-job-badge.processing {
background: rgba(56, 189, 248, 0.20);
border: 1px solid rgba(56, 189, 248, 0.50);
color: #38bdf8;
animation: pulse 1.8s infinite;
}
.ps-job-badge.completed {
background: rgba(16, 185, 129, 0.20);
border: 1px solid rgba(16, 185, 129, 0.50);
color: #10b981;
}
.ps-job-badge.timed_out {
background: rgba(239, 68, 68, 0.20);
border: 1px solid rgba(239, 68, 68, 0.50);
color: #ef4444;
}
.ps-job-badge.cancelled {
background: rgba(148, 163, 184, 0.20);
border: 1px solid rgba(148, 163, 184, 0.40);
color: #94a3b8;
}
.ps-job-timer {
display: flex;
align-items: center;
justify-content: space-between;
font-size: 10.5px;
font-family: var(--font-mono);
color: var(--text-3);
}
.ps-job-actions {
display: flex;
gap: 8px;
margin-top: 4px;
}
/* ═══════════════════════════════════════════════════════════════════
PRESETS MODAL
═══════════════════════════════════════════════════════════════════ */
.ps-presets-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 10px;
margin-top: 8px;
}
.ps-preset-card {
display: flex;
align-items: center;
gap: 12px;
padding: 10px 14px;
background: var(--bg-card);
border: 1px solid var(--border-2);
border-radius: var(--r-md);
cursor: pointer;
transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.ps-preset-card:hover {
background: var(--bg-card-hover);
border-color: var(--primary);
transform: translateY(-2px);
box-shadow: 0 8px 24px var(--primary-alpha);
}
.ps-preset-icon {
width: 34px;
height: 34px;
border-radius: var(--r-md);
background: rgba(139, 92, 246, 0.18);
border: 1px solid rgba(139, 92, 246, 0.35);
color: #c084fc;
display: flex;
align-items: center;
justify-content: center;
font-size: 16px;
flex-shrink: 0;
}
.ps-preset-info {
display: flex;
flex-direction: column;
gap: 2px;
overflow: hidden;
}
.ps-preset-title {
font-size: 12px;
font-weight: 600;
color: #ffffff;
}
.ps-preset-dims {
font-family: var(--font-mono);
font-size: 10.5px;
color: var(--accent-cyan);
}