feat(image-manipulator): obsidian liquid glass theme, remove orange accents, and add text labels to all tool dock and utility buttons
This commit is contained in:
@@ -923,11 +923,11 @@ function renderToolOptions() {
|
||||
<div class="ps-options-group">
|
||||
<button class="btn btn-secondary btn-sm" onclick="triggerWatermarkPicker()"><i class="fa-solid fa-upload"></i> ${toolState.watermark.fileName || 'Choose Logo'}</button>
|
||||
<span class="ps-options-label">Anchor:</span>
|
||||
<button class="seg-pill ${toolState.watermark.position==='top_left'?'active':''}" onclick="setWmPos('top_left')">TL</button>
|
||||
<button class="seg-pill ${toolState.watermark.position==='top_right'?'active':''}" onclick="setWmPos('top_right')">TR</button>
|
||||
<button class="seg-pill ${toolState.watermark.position==='top_left'?'active':''}" onclick="setWmPos('top_left')">Top-Left</button>
|
||||
<button class="seg-pill ${toolState.watermark.position==='top_right'?'active':''}" onclick="setWmPos('top_right')">Top-Right</button>
|
||||
<button class="seg-pill ${toolState.watermark.position==='center'?'active':''}" onclick="setWmPos('center')">Center</button>
|
||||
<button class="seg-pill ${toolState.watermark.position==='bottom_left'?'active':''}" onclick="setWmPos('bottom_left')">BL</button>
|
||||
<button class="seg-pill ${toolState.watermark.position==='bottom_right'?'active':''}" onclick="setWmPos('bottom_right')">BR</button>
|
||||
<button class="seg-pill ${toolState.watermark.position==='bottom_left'?'active':''}" onclick="setWmPos('bottom_left')">Bottom-Left</button>
|
||||
<button class="seg-pill ${toolState.watermark.position==='bottom_right'?'active':''}" onclick="setWmPos('bottom_right')">Bottom-Right</button>
|
||||
</div>
|
||||
`,
|
||||
masker: `
|
||||
@@ -1101,8 +1101,8 @@ function renderToolControls() {
|
||||
<div class="color-swatches-row">
|
||||
<div class="color-swatch" style="background:#ffffff;" onclick="setCustomBorderColor('#ffffff')"></div>
|
||||
<div class="color-swatch" style="background:#000000;" onclick="setCustomBorderColor('#000000')"></div>
|
||||
<div class="color-swatch" style="background:#ff6c37;" onclick="setCustomBorderColor('#ff6c37')"></div>
|
||||
<div class="color-swatch" style="background:#00f2fe;" onclick="setCustomBorderColor('#00f2fe')"></div>
|
||||
<div class="color-swatch" style="background:#8b5cf6;" onclick="setCustomBorderColor('#8b5cf6')"></div>
|
||||
<div class="color-swatch" style="background:#38bdf8;" onclick="setCustomBorderColor('#38bdf8')"></div>
|
||||
<div class="color-swatch" style="background:#a855f7;" onclick="setCustomBorderColor('#a855f7')"></div>
|
||||
<div class="color-swatch" style="background:#10b981;" onclick="setCustomBorderColor('#10b981')"></div>
|
||||
</div>
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
<i class="fa-solid fa-folder-tree"></i> Open Folder
|
||||
</button>
|
||||
<button class="btn btn-secondary btn-sm" onclick="resetWorkspace()" title="Clear workspace">
|
||||
<i class="fa-solid fa-rotate-left"></i>
|
||||
<i class="fa-solid fa-rotate-left"></i> Reset
|
||||
</button>
|
||||
</div>
|
||||
|
||||
@@ -76,56 +76,70 @@
|
||||
<div class="ps-main-body">
|
||||
<!-- Left Slim Tool Dock -->
|
||||
<nav class="ps-tool-dock" id="ps-dock">
|
||||
<button class="ps-tool-btn active" data-tool="crop" data-tooltip="Visual Crop (C)" onclick="selectTool('crop', this)">
|
||||
<i class="fa-solid fa-crop-simple"></i>
|
||||
<span class="ps-tool-shortcut">C</span>
|
||||
<div class="ps-dock-section-title">CREATIVE TOOLS</div>
|
||||
<button class="ps-tool-btn active" data-tool="crop" onclick="selectTool('crop', this)" title="Visual Interactive Cropper (C)">
|
||||
<div class="ps-tool-icon-wrap"><i class="fa-solid fa-crop-simple"></i></div>
|
||||
<span class="ps-tool-name">Visual Crop</span>
|
||||
<kbd class="ps-tool-kbd">C</kbd>
|
||||
</button>
|
||||
<button class="ps-tool-btn" data-tool="resize" data-tooltip="Resize & Canvas (M)" onclick="selectTool('resize', this)">
|
||||
<i class="fa-solid fa-ruler-combined"></i>
|
||||
<span class="ps-tool-shortcut">M</span>
|
||||
<button class="ps-tool-btn" data-tool="resize" onclick="selectTool('resize', this)" title="Resize & Canvas Dimensions (M)">
|
||||
<div class="ps-tool-icon-wrap"><i class="fa-solid fa-ruler-combined"></i></div>
|
||||
<span class="ps-tool-name">Resize Canvas</span>
|
||||
<kbd class="ps-tool-kbd">M</kbd>
|
||||
</button>
|
||||
<button class="ps-tool-btn" data-tool="rotate" data-tooltip="Rotate & Straighten (R)" onclick="selectTool('rotate', this)">
|
||||
<i class="fa-solid fa-arrows-rotate"></i>
|
||||
<span class="ps-tool-shortcut">R</span>
|
||||
<button class="ps-tool-btn" data-tool="rotate" onclick="selectTool('rotate', this)" title="Rotate & Flip (R)">
|
||||
<div class="ps-tool-icon-wrap"><i class="fa-solid fa-arrows-rotate"></i></div>
|
||||
<span class="ps-tool-name">Rotate & Flip</span>
|
||||
<kbd class="ps-tool-kbd">R</kbd>
|
||||
</button>
|
||||
<button class="ps-tool-btn" data-tool="adjust" data-tooltip="Color Grading (A)" onclick="selectTool('adjust', this)">
|
||||
<i class="fa-solid fa-sliders"></i>
|
||||
<span class="ps-tool-shortcut">A</span>
|
||||
<button class="ps-tool-btn" data-tool="adjust" onclick="selectTool('adjust', this)" title="Color Grading & Tone (A)">
|
||||
<div class="ps-tool-icon-wrap"><i class="fa-solid fa-sliders"></i></div>
|
||||
<span class="ps-tool-name">Color Grading</span>
|
||||
<kbd class="ps-tool-kbd">A</kbd>
|
||||
</button>
|
||||
<button class="ps-tool-btn" data-tool="filter" data-tooltip="Artistic Filters (F)" onclick="selectTool('filter', this)">
|
||||
<i class="fa-solid fa-wand-magic-sparkles"></i>
|
||||
<span class="ps-tool-shortcut">F</span>
|
||||
<button class="ps-tool-btn" data-tool="filter" onclick="selectTool('filter', this)" title="Artistic FX Filters (F)">
|
||||
<div class="ps-tool-icon-wrap"><i class="fa-solid fa-wand-magic-sparkles"></i></div>
|
||||
<span class="ps-tool-name">Artistic Filter</span>
|
||||
<kbd class="ps-tool-kbd">F</kbd>
|
||||
</button>
|
||||
<button class="ps-tool-btn" data-tool="round_corners" data-tooltip="Round / Avatar (O)" onclick="selectTool('round_corners', this)">
|
||||
<i class="fa-solid fa-circle-notch"></i>
|
||||
<span class="ps-tool-shortcut">O</span>
|
||||
<button class="ps-tool-btn" data-tool="round_corners" onclick="selectTool('round_corners', this)" title="Rounded Corners & Circular Avatar (O)">
|
||||
<div class="ps-tool-icon-wrap"><i class="fa-solid fa-circle-notch"></i></div>
|
||||
<span class="ps-tool-name">Round & Avatar</span>
|
||||
<kbd class="ps-tool-kbd">O</kbd>
|
||||
</button>
|
||||
<button class="ps-tool-btn" data-tool="border" data-tooltip="Border & Canvas (D)" onclick="selectTool('border', this)">
|
||||
<i class="fa-regular fa-square"></i>
|
||||
<span class="ps-tool-shortcut">D</span>
|
||||
<button class="ps-tool-btn" data-tool="border" onclick="selectTool('border', this)" title="Border Width & Canvas Padding (D)">
|
||||
<div class="ps-tool-icon-wrap"><i class="fa-regular fa-square"></i></div>
|
||||
<span class="ps-tool-name">Border & Pad</span>
|
||||
<kbd class="ps-tool-kbd">D</kbd>
|
||||
</button>
|
||||
<button class="ps-tool-btn" data-tool="watermark" data-tooltip="Watermark Stamp (T)" onclick="selectTool('watermark', this)">
|
||||
<i class="fa-solid fa-stamp"></i>
|
||||
<span class="ps-tool-shortcut">T</span>
|
||||
<button class="ps-tool-btn" data-tool="watermark" onclick="selectTool('watermark', this)" title="Watermark Stamp Overlay (T)">
|
||||
<div class="ps-tool-icon-wrap"><i class="fa-solid fa-stamp"></i></div>
|
||||
<span class="ps-tool-name">Watermark</span>
|
||||
<kbd class="ps-tool-kbd">T</kbd>
|
||||
</button>
|
||||
<button class="ps-tool-btn" data-tool="masker" data-tooltip="Inpaint Mask Brush (B)" onclick="selectTool('masker', this)">
|
||||
<i class="fa-solid fa-paintbrush"></i>
|
||||
<span class="ps-tool-shortcut">B</span>
|
||||
<button class="ps-tool-btn" data-tool="masker" onclick="selectTool('masker', this)" title="Inpainting Mask Brush (B)">
|
||||
<div class="ps-tool-icon-wrap"><i class="fa-solid fa-paintbrush"></i></div>
|
||||
<span class="ps-tool-name">Inpaint Mask</span>
|
||||
<kbd class="ps-tool-kbd">B</kbd>
|
||||
</button>
|
||||
|
||||
<div class="ps-dock-divider"></div>
|
||||
<div class="ps-dock-section-title">OPTIMIZE & EXPORT</div>
|
||||
|
||||
<button class="ps-tool-btn" data-tool="convert" data-tooltip="Transcode / Export (E)" onclick="selectTool('convert', this)">
|
||||
<i class="fa-solid fa-repeat"></i>
|
||||
<span class="ps-tool-shortcut">E</span>
|
||||
<button class="ps-tool-btn" data-tool="convert" onclick="selectTool('convert', this)" title="Transcode Format (E)">
|
||||
<div class="ps-tool-icon-wrap"><i class="fa-solid fa-repeat"></i></div>
|
||||
<span class="ps-tool-name">Transcode</span>
|
||||
<kbd class="ps-tool-kbd">E</kbd>
|
||||
</button>
|
||||
<button class="ps-tool-btn" data-tool="compress" data-tooltip="Optimize Compress (Z)" onclick="selectTool('compress', this)">
|
||||
<i class="fa-solid fa-file-zipper"></i>
|
||||
<span class="ps-tool-shortcut">Z</span>
|
||||
<button class="ps-tool-btn" data-tool="compress" onclick="selectTool('compress', this)" title="Optimize & Compress (Z)">
|
||||
<div class="ps-tool-icon-wrap"><i class="fa-solid fa-file-zipper"></i></div>
|
||||
<span class="ps-tool-name">Compress Size</span>
|
||||
<kbd class="ps-tool-kbd">Z</kbd>
|
||||
</button>
|
||||
<button class="ps-tool-btn" data-tool="strip_metadata" data-tooltip="EXIF Privacy Strip (S)" onclick="selectTool('strip_metadata', this)">
|
||||
<i class="fa-solid fa-shield-halved"></i>
|
||||
<span class="ps-tool-shortcut">S</span>
|
||||
<button class="ps-tool-btn" data-tool="strip_metadata" onclick="selectTool('strip_metadata', this)" title="EXIF Privacy Cleaner (S)">
|
||||
<div class="ps-tool-icon-wrap"><i class="fa-solid fa-shield-halved"></i></div>
|
||||
<span class="ps-tool-name">Strip EXIF</span>
|
||||
<kbd class="ps-tool-kbd">S</kbd>
|
||||
</button>
|
||||
</nav>
|
||||
|
||||
@@ -188,8 +202,8 @@
|
||||
<button class="ps-hud-btn" onclick="zoomViewport(-0.15)" title="Zoom Out (-)"><i class="fa-solid fa-minus"></i></button>
|
||||
<span class="ps-hud-val" id="ps-zoom-val">100%</span>
|
||||
<button class="ps-hud-btn" onclick="zoomViewport(0.15)" title="Zoom In (+)"><i class="fa-solid fa-plus"></i></button>
|
||||
<button class="ps-hud-btn" onclick="resetZoom()" title="Fit Screen (Ctrl+0)"><i class="fa-solid fa-expand"></i></button>
|
||||
<button class="ps-hud-btn" onclick="actualSizeZoom()" title="100% Actual Size"><i class="fa-solid fa-compress"></i></button>
|
||||
<button class="ps-hud-btn ps-hud-btn-text" onclick="resetZoom()" title="Fit Screen (Ctrl+0)"><i class="fa-solid fa-expand"></i> Fit</button>
|
||||
<button class="ps-hud-btn ps-hud-btn-text" onclick="actualSizeZoom()" title="100% Actual Size"><i class="fa-solid fa-compress"></i> 100%</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -197,10 +211,10 @@
|
||||
<div class="ps-filmstrip" id="ps-filmstrip" style="display: none;">
|
||||
<div class="ps-filmstrip-left">
|
||||
<button class="btn btn-secondary btn-sm" onclick="document.getElementById('file-input-multi').click()" title="Add more images">
|
||||
<i class="fa-solid fa-plus"></i> Add
|
||||
<i class="fa-solid fa-plus"></i> Add Files
|
||||
</button>
|
||||
<button class="btn btn-secondary btn-sm" onclick="resetWorkspace()" title="Clear all loaded images">
|
||||
<i class="fa-solid fa-trash-can"></i>
|
||||
<i class="fa-solid fa-trash-can"></i> Clear All
|
||||
</button>
|
||||
</div>
|
||||
<div class="ps-filmstrip-scroll" id="ps-filmstrip-tray">
|
||||
|
||||
@@ -13,23 +13,23 @@
|
||||
--bg-input: rgba(18, 18, 26, 0.75);
|
||||
--bg-input-focus: rgba(26, 26, 38, 0.95);
|
||||
|
||||
/* Primary Brand: Obsidian Flame & Cyan Caustics */
|
||||
--primary: #ff6c37;
|
||||
--primary-hover: #ff8252;
|
||||
--primary-dark: #e5531d;
|
||||
--primary-alpha: rgba(255, 108, 55, 0.18);
|
||||
--primary-alpha2: rgba(255, 108, 55, 0.35);
|
||||
--primary-glow: rgba(255, 108, 55, 0.45);
|
||||
/* 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: #00f2fe;
|
||||
--accent-cyan-hover: #38f9d7;
|
||||
--accent-cyan-alpha: rgba(0, 242, 254, 0.16);
|
||||
--accent-cyan-glow: rgba(0, 242, 254, 0.40);
|
||||
--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: #a855f7;
|
||||
--accent-purple-alpha: rgba(168, 85, 247, 0.18);
|
||||
--accent-purple: #c084fc;
|
||||
--accent-purple-alpha: rgba(192, 132, 252, 0.18);
|
||||
|
||||
--text-1: #ffffff;
|
||||
--text-2: #cbd5e1;
|
||||
@@ -39,8 +39,8 @@
|
||||
--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(255, 108, 55, 0.65);
|
||||
--border-cyan: rgba(0, 242, 254, 0.50);
|
||||
--border-focus: rgba(139, 92, 246, 0.70);
|
||||
--border-cyan: rgba(56, 189, 248, 0.50);
|
||||
|
||||
--r-sm: 6px;
|
||||
--r-md: 10px;
|
||||
@@ -95,10 +95,10 @@ html, body {
|
||||
z-index: 0;
|
||||
overflow: hidden;
|
||||
background:
|
||||
radial-gradient(circle at 10% 15%, rgba(255, 108, 55, 0.09) 0%, transparent 45%),
|
||||
radial-gradient(circle at 90% 85%, rgba(0, 242, 254, 0.07) 0%, transparent 50%),
|
||||
radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.04) 0%, transparent 60%),
|
||||
#000000;
|
||||
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;
|
||||
}
|
||||
|
||||
/* ═══════════════════════════════════════════════════════════════════
|
||||
@@ -152,9 +152,9 @@ html, body {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
border-radius: var(--r-md);
|
||||
background: linear-gradient(135deg, rgba(255, 108, 55, 0.35) 0%, rgba(0, 242, 254, 0.25) 100%);
|
||||
border: 1px solid var(--border-cyan);
|
||||
box-shadow: 0 0 16px var(--accent-cyan-alpha), 0 0 12px var(--primary-alpha);
|
||||
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;
|
||||
@@ -274,56 +274,87 @@ html, body {
|
||||
}
|
||||
|
||||
/* ═══════════════════════════════════════════════════════════════════
|
||||
LEFT SLIM TOOL DOCK (Photoshop Iconic Palette)
|
||||
LEFT OBSIDIAN LIQUID GLASS TOOL PALETTE
|
||||
═══════════════════════════════════════════════════════════════════ */
|
||||
.ps-tool-dock {
|
||||
width: 58px;
|
||||
width: 196px;
|
||||
height: 100%;
|
||||
background: var(--bg-smoke-heavy);
|
||||
backdrop-filter: blur(28px) saturate(190%);
|
||||
-webkit-backdrop-filter: blur(28px) saturate(190%);
|
||||
backdrop-filter: blur(32px) saturate(210%);
|
||||
-webkit-backdrop-filter: blur(32px) saturate(210%);
|
||||
border-right: 1px solid var(--border-1);
|
||||
box-shadow: 6px 0 24px rgba(0, 0, 0, 0.65);
|
||||
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;
|
||||
align-items: center;
|
||||
padding: 12px 0 16px;
|
||||
gap: 5px;
|
||||
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: 42px;
|
||||
height: 42px;
|
||||
width: 100%;
|
||||
height: 36px;
|
||||
border-radius: var(--r-md);
|
||||
border: 1px solid transparent;
|
||||
background: transparent;
|
||||
color: var(--text-3);
|
||||
color: var(--text-2);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 0 10px;
|
||||
gap: 10px;
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
|
||||
font-size: 16px;
|
||||
font-size: 13px;
|
||||
outline: none;
|
||||
text-align: left;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.ps-tool-btn:hover {
|
||||
background: rgba(255, 255, 255, 0.06);
|
||||
color: var(--text-1);
|
||||
border-color: var(--border-1);
|
||||
transform: translateY(-1px);
|
||||
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(255, 108, 55, 0.28) 0%, rgba(255, 108, 55, 0.08) 100%);
|
||||
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.40) inset,
|
||||
0 1px 0 rgba(255, 255, 255, 0.30) inset,
|
||||
0 0 16px var(--primary-alpha);
|
||||
}
|
||||
|
||||
@@ -331,44 +362,81 @@ html, body {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: -1px;
|
||||
top: 10px;
|
||||
bottom: 10px;
|
||||
top: 7px;
|
||||
bottom: 7px;
|
||||
width: 3px;
|
||||
border-radius: 0 var(--r-sm) var(--r-sm) 0;
|
||||
background: var(--primary);
|
||||
box-shadow: 0 0 8px var(--primary);
|
||||
box-shadow: 0 0 10px var(--primary-glow);
|
||||
}
|
||||
|
||||
.ps-tool-btn i {
|
||||
transition: transform 0.18s ease;
|
||||
.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 i {
|
||||
transform: scale(1.15);
|
||||
.ps-tool-btn:hover .ps-tool-icon-wrap {
|
||||
color: var(--primary-hover);
|
||||
transform: scale(1.12);
|
||||
}
|
||||
|
||||
.ps-tool-btn.active i {
|
||||
color: var(--primary);
|
||||
.ps-tool-btn.active .ps-tool-icon-wrap {
|
||||
color: #c084fc;
|
||||
filter: drop-shadow(0 0 8px var(--primary-glow));
|
||||
}
|
||||
|
||||
.ps-tool-shortcut {
|
||||
position: absolute;
|
||||
bottom: 3px;
|
||||
right: 4px;
|
||||
font-size: 8px;
|
||||
font-family: var(--font-mono);
|
||||
font-weight: 700;
|
||||
color: var(--text-muted);
|
||||
pointer-events: none;
|
||||
opacity: 0.6;
|
||||
.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-dock-divider {
|
||||
width: 30px;
|
||||
height: 1px;
|
||||
background: var(--border-1);
|
||||
margin: 6px 0;
|
||||
.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 */
|
||||
@@ -455,7 +523,7 @@ html, body {
|
||||
|
||||
.ps-dropzone-empty:hover, .ps-dropzone-empty.dragover {
|
||||
border-color: var(--primary);
|
||||
background: rgba(255, 108, 55, 0.08);
|
||||
background: var(--primary-alpha);
|
||||
box-shadow: var(--sh-liquid-hover);
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
@@ -551,6 +619,15 @@ html, body {
|
||||
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;
|
||||
@@ -768,7 +845,7 @@ html, body {
|
||||
}
|
||||
|
||||
.ps-thumb-card.active {
|
||||
background: linear-gradient(135deg, rgba(255, 108, 55, 0.22) 0%, rgba(255, 108, 55, 0.06) 100%);
|
||||
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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user