Files
Hellion-NewTab/src/css/main.css
T
JonKazama-Hellion 198171b6c2 feat(app): Onboarding, Settings-Redesign und Docs für v1.9.0
- Onboarding mit Widget-Toolbar Slide und Gaming Starter Board
- Settings in Darstellung-Modal und schlankes Settings-Panel
- About-Block als fixierten Footer im Settings-Panel
- Dropdown-Optionen an Theme-Farben anpassen
- Projekt-Dokumentation (Architektur, Widget-Schema, Patterns)
- Firefox Update-URL für Store-Veröffentlichung
- Versions-Bump auf 1.9.0 in allen Manifests
2026-03-22 13:12:24 +01:00

1937 lines
59 KiB
CSS

/* =============================================
HELLION Dashboard — Theme System
Themes: nebula | crescent | event-horizon | merchantman | julia-jin | sc-sunset | hellion-hud | hellion-energy
============================================= */
/* =============================================
Lokale Schriftarten
(für schnelleren Zugriff und Offline-Verfügbarkeit sowie DSGVO-Konformität)
- Rajdhani: Hauptschriftart für Überschriften und UI-Elemente
- Inter: Fließtext und allgemeine Lesbarkeit
- Cinzel: Alternative Display-Schriftart für bestimmte Themes
============================================= */
/* Rajdhani - Lokal */
@font-face {
font-family: 'Rajdhani';
src: url('../../assets/fonts/Rajdhani-Regular.woff2') format('woff2');
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Rajdhani';
src: url('../../assets/fonts/Rajdhani-Bold.woff2') format('woff2');
font-weight: 700;
font-style: normal;
font-display: swap;
}
/* Inter - Lokal */
@font-face {
font-family: 'Inter';
src: url('../../assets/fonts/Inter-VariableFont_opsz,wght.woff2') format('woff2');
font-weight: 300 700;
font-style: normal;
font-display: swap;
}
/* Cinzel - Lokal */
@font-face {
font-family: 'Cinzel';
src: url('../../assets/fonts/Cinzel-VariableFont_wght.woff2') format('woff2');
font-weight: 400 900;
font-style: normal;
font-display: swap;
}
/* ---- BASE VARIABLES (Nebula = Default) ---- */
:root {
--accent: #b359ff;
--accent-dim: rgba(179, 89, 255, 0.12);
--accent-glow: rgba(179, 89, 255, 0.05);
--border-accent: rgba(179, 92, 255, 0.25);
--bg-primary: #050308;
--bg-board: rgba(10, 6, 14, 0.55);
--border: rgba(255, 255, 255, 0.06);
--text-primary: #e5dff2;
--text-secondary: #a395b8;
--text-muted: #5a4a75;
--danger: #e05555;
--font-display: 'Rajdhani', sans-serif;
--font-body: 'Inter', sans-serif;
--radius: 8px;
--radius-sm: 5px;
--board-width: 240px;
--spacing: 10px;
--spacing-compact: 5px;
--overlay-bg: radial-gradient(circle at center, rgba(10,6,14,0.3) 0%, rgba(5,3,8,0.85) 100%);
--header-bg: rgba(10,6,14,0.90);
--board-hover-border: rgba(179,89,255,0.18);
--toggle-on-bg: rgba(214,92,255,0.22);
--logo-shadow: rgba(179,89,255,0.35);
}
/* ============================================
THEME: NEBULA (magenta / cosmic nebula)
============================================ */
[data-theme="nebula"] {
--accent: #b359ff;
--accent-dim: rgba(179, 89, 255, 0.12);
--accent-glow: rgba(179, 89, 255, 0.05);
--border-accent: rgba(179, 92, 255, 0.25);
--bg-primary: #050308;
--bg-board: rgba(10, 6, 14, 0.55);
--border: rgba(255, 255, 255, 0.055);
--text-primary: #e5dff2;
--text-secondary: #a395b8;
--text-muted: #5a4a75;
--font-display: 'Rajdhani', sans-serif;
--font-body: 'Inter', sans-serif;
--overlay-bg: radial-gradient(circle at center, rgba(10,6,14,0.3) 0%, rgba(5,3,8,0.85) 100%);
--header-bg: rgba(10,6,14,0.92);
--board-hover-border: rgba(179,89,255,0.18);
--toggle-on-bg: rgba(214,92,255,0.22);
--logo-shadow: rgba(179,89,255,0.35);
}
[data-theme="nebula"] .board { border-color: rgba(214,92,255,0.10); }
[data-theme="nebula"] .bm-item:hover { background: rgba(214,92,255,0.05); }
/* ============================================
THEME: CRESCENT (gold / minimalist night)
============================================ */
[data-theme="crescent"] {
--accent: #d4bd8a;
--accent-dim: rgba(212, 189, 138, 0.12);
--accent-glow: rgba(212, 189, 138, 0.05);
--border-accent: rgba(212, 189, 138, 0.25);
--bg-primary: #06080f;
--bg-board: rgba(8, 12, 22, 0.45);
--border: rgba(212, 189, 138, 0.10);
--text-primary: #e2e6f0;
--text-secondary: #7a84a5;
--text-muted: #3d4563;
--font-display: 'Cinzel', serif;
--font-body: 'Inter', sans-serif;
--overlay-bg: radial-gradient(circle at center, rgba(6,8,15,0.2) 0%, rgba(6,8,15,0.9) 100%);
--header-bg: rgba(6,8,15,0.95);
--board-hover-border: rgba(212, 189, 138, 0.20);
--toggle-on-bg: rgba(200,168,74,0.22);
--logo-shadow: rgba(212, 189, 138, 0.40);
letter-spacing: 0.5px;
}
[data-theme="crescent"] .logo { font-family: 'Cinzel', serif; letter-spacing: 4px; }
[data-theme="crescent"] .clock { font-family: 'Cinzel', serif; }
[data-theme="crescent"] .board-title { letter-spacing: 2px; }
[data-theme="crescent"] .bm-item:hover { background: rgba(200,168,74,0.05); }
[data-theme="crescent"] .board { border-color: rgba(200,168,74,0.10); }
/* ============================================
THEME: EVENT HORIZON (Cosmic Purple / deep space)
============================================ */
[data-theme="event-horizon"] {
--accent: #9d5cff;
--accent-dim: rgba(157, 92, 255, 0.12);
--accent-glow: rgba(157, 92, 255, 0.08);
--border-accent: rgba(157, 92, 255, 0.28);
--bg-primary: #040308;
--bg-board: rgba(8, 5, 15, 0.45);
--border: rgba(157, 92, 255, 0.12);
--text-primary: #e6e0f5;
--text-secondary: #9284b0;
--text-muted: #4a3d66;
--font-display: 'Rajdhani', sans-serif;
--font-body: 'Inter', sans-serif;
--overlay-bg: radial-gradient(circle at center, rgba(4,3,8,0.2) 0%, rgba(4,3,8,0.95) 100%);
--header-bg: rgba(4,3,8,0.96);
--board-hover-border: rgba(157, 92, 255, 0.22);
--toggle-on-bg: rgba(224,128,48,0.22);
--logo-shadow: rgba(157, 92, 255, 0.45);
}
[data-theme="event-horizon"] .board { border-color: rgba(157, 92, 255, 0.15); }
[data-theme="event-horizon"] .bm-item:hover { background: rgba(157, 92, 255, 0.08); }
/* ============================================
THEME: MERCHANTMAN (Emerald / industrial sci-fi)
============================================ */
[data-theme="merchantman"] {
--accent: #2eb8b8;
--accent-dim: rgba(46, 184, 184, 0.12);
--accent-glow: rgba(46, 184, 184, 0.06);
--border-accent: rgba(46, 184, 184, 0.25);
--bg-primary: #040808;
--bg-board: rgba(6, 10, 10, 0.58);
--border: rgba(46, 184, 184, 0.10);
--text-primary: #d1e8e8;
--text-secondary: #6a8f8f;
--text-muted: #344f4f;
--font-display: 'Rajdhani', sans-serif;
--font-body: 'Inter', sans-serif;
--overlay-bg: radial-gradient(circle at 30% 40%, rgba(4,8,8,0.2) 0%, rgba(4,8,8,0.92) 100%);
--header-bg: rgba(4,8,8,0.95);
--board-hover-border: rgba(46, 184, 184, 0.20);
--toggle-on-bg: rgba(78,207,207,0.22);
--logo-shadow: rgba(46, 184, 184, 0.45);
}
[data-theme="merchantman"] .board { border-color: rgba(46, 184, 184, 0.12); }
[data-theme="merchantman"] .bm-item:hover { background: rgba(46, 184, 184, 0.06); }
/* ============================================
THEME: JULIA & JIN (Aetherial Night / FFXIV)
============================================ */
[data-theme="julia-jin"] {
--accent: #7db3ff;
--accent-dim: rgba(125, 179, 255, 0.12);
--accent-glow: rgba(125, 179, 255, 0.08);
--border-accent: rgba(125, 179, 255, 0.30);
--bg-primary: #03050a;
--bg-board: rgba(7, 10, 20, 0.60);
--border: rgba(125, 179, 255, 0.12);
--text-primary: #eef2ff;
--text-secondary: #8ba0d1;
--text-muted: #465685;
--font-display: 'Cinzel', serif;
--font-body: 'Inter', sans-serif;
--overlay-bg: linear-gradient(180deg, rgba(3,5,10,0.85) 0%, rgba(3,5,10,0.25) 50%, rgba(3,5,10,0.92) 100%);
--header-bg: rgba(3,5,10,0.94);
--board-hover-border: rgba(125, 179, 255, 0.22);
--toggle-on-bg: rgba(91,159,255,0.22);
--logo-shadow: rgba(125, 179, 255, 0.50);
}
[data-theme="julia-jin"] .logo { font-family: 'Cinzel', serif; letter-spacing: 5px; text-transform: uppercase; }
[data-theme="julia-jin"] .clock { font-family: 'Cinzel', serif; font-weight: 600; }
[data-theme="julia-jin"] .board-title { letter-spacing: 2px; font-weight: 500; }
[data-theme="julia-jin"] .board { border-color: rgba(125, 179, 255, 0.15); backdrop-filter: blur(4px); }
[data-theme="julia-jin"] .bm-item:hover { background: rgba(125, 179, 255, 0.08); }
/* ============================================
THEME: SC Sunset - Horizon Glow
============================================ */
[data-theme="sc-sunset"] {
--accent: #ff8c3d;
--accent-dim: rgba(255, 140, 61, 0.12);
--accent-glow: rgba(255, 140, 61, 0.08);
--border-accent: rgba(255, 140, 61, 0.28);
--bg-primary: #080503;
--bg-board: rgba(15, 10, 8, 0.55);
--border: rgba(255, 140, 61, 0.10);
--text-primary: #fce8d5;
--text-secondary: #b08568;
--text-muted: #634a3a;
--font-display: 'Rajdhani', sans-serif;
--font-body: 'Inter', sans-serif;
--overlay-bg: radial-gradient(circle at 50% 60%, rgba(8,5,3,0.1) 0%, rgba(8,5,3,0.92) 100%);
--header-bg: rgba(8,5,3,0.94);
--board-hover-border: rgba(255, 140, 61, 0.22);
--toggle-on-bg: rgba(240,124,48,0.22);
--logo-shadow: rgba(255, 140, 61, 0.45);
}
[data-theme="sc-sunset"] .board {
border-color: rgba(255, 140, 61, 0.15);
backdrop-filter: blur(6px);}
[data-theme="sc-sunset"] .bm-item:hover {
background: rgba(255, 140, 61, 0.08); }
/* ============================================
THEME: HELLION HUD (circuit board / red+green)
============================================ */
[data-theme="hellion-hud"] {
--accent: #32ff6a;
--accent-dim: rgba(50, 255, 106, 0.10);
--accent-glow: rgba(50, 255, 106, 0.05);
--border-accent: rgba(50, 255, 106, 0.25);
--bg-primary: #030503;
--bg-board: rgba(5, 8, 5, 0.65);
--border: rgba(50, 255, 106, 0.12);
--text-primary: #d4ffd9;
--text-secondary: #6e9975;
--text-muted: #334d38;
--font-display: 'Rajdhani', sans-serif;
--font-body: 'Inter', sans-serif;
--overlay-bg: radial-gradient(circle at center, rgba(3,5,3,0.15) 0%, rgba(3,5,3,0.95) 100%);
--header-bg: rgba(3,5,3,0.96);
--board-hover-border: rgba(50, 255, 106, 0.20);
--toggle-on-bg: rgba(34,204,68,0.20);
--logo-shadow: rgba(50, 255, 106, 0.40);
--danger: #ff4d4d;
}
[data-theme="hellion-hud"] .board {
border-color: rgba(50, 255, 106, 0.15);
backdrop-filter: blur(8px) brightness(1.1);
}
[data-theme="hellion-hud"] .clock {
font-family: 'Rajdhani', sans-serif;
font-weight: 700;
text-shadow: 0 0 10px var(--accent-glow);
}
/* ============================================
THEME: HELLION ENERGY (matrix / tactical green)
============================================ */
[data-theme="hellion-energy"] {
--accent: #1eff8e;
--accent-dim: rgba(30, 255, 142, 0.12);
--accent-glow: rgba(30, 255, 142, 0.08);
--border-accent: rgba(30, 255, 142, 0.30);
--bg-primary: #020503;
--bg-board: rgba(4, 7, 5, 0.60);
--border: rgba(30, 255, 142, 0.12);
--text-primary: #e0ffef;
--text-secondary: #5e997a;
--text-muted: #2a4d3a;
--font-display: 'Rajdhani', sans-serif;
--font-body: 'Inter', sans-serif;
--overlay-bg: radial-gradient(circle at center, rgba(2,5,3,0.1) 0%, rgba(2,5,3,0.95) 100%);
--header-bg: rgba(2,5,3,0.96);
--board-hover-border: rgba(30, 255, 142, 0.25);
--toggle-on-bg: rgba(0,232,122,0.18);
--logo-shadow: rgba(30, 255, 142, 0.60);
}
[data-theme="hellion-energy"] .board {
border-color: rgba(30, 255, 142, 0.15);
backdrop-filter: blur(10px) saturate(1.2);
}
[data-theme="hellion-energy"] .bm-item:hover {
background: rgba(30, 255, 142, 0.10);
box-shadow: inset 0 0 10px rgba(30, 255, 142, 0.05);
}
/* ============================================
BASE STYLES
============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
width: 100%; height: 100%;
background: var(--bg-primary);
color: var(--text-primary);
font-family: var(--font-body);
font-size: 13px;
overflow-x: hidden;
transition: background 0.5s;
}
.bg-layer {
position: fixed; inset: 0; z-index: 0;
background-size: cover; background-position: center;
transition: opacity 0.6s ease;
}
.bg-overlay {
position: fixed; inset: 0; z-index: 1;
background: var(--overlay-bg);
transition: background 0.6s;
}
.bg-noise {
position: fixed; inset: 0; z-index: 2;
opacity: 0.025;
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
pointer-events: none;
}
/* HEADER */
.header {
position: fixed; top: 0; left: 0; right: 0; z-index: 100;
height: 48px;
display: flex; align-items: center; justify-content: space-between;
padding: 0 20px;
background: var(--header-bg);
border-bottom: 1px solid var(--border);
backdrop-filter: blur(18px);
transition: background 0.5s, border-color 0.5s;
}
.header-left { display: flex; align-items: center; gap: 20px; }
.header-right { display: flex; align-items: center; gap: 8px; }
.logo {
font-family: var(--font-display);
font-size: 17px; font-weight: 700; letter-spacing: 3px;
color: var(--accent);
text-shadow: 0 0 24px var(--logo-shadow);
transition: color 0.5s, text-shadow 0.5s, font-family 0.1s;
}
.clock-block {
display: flex; flex-direction: column; justify-content: center;
line-height: 1;
}
.clock {
font-family: var(--font-display);
font-size: 20px; font-weight: 500; letter-spacing: 2px;
color: var(--text-secondary);
transition: color 0.5s, font-family 0.1s;
line-height: 1;
}
.date {
font-family: var(--font-body);
font-size: 10px; font-weight: 400; letter-spacing: 0.5px;
color: var(--text-muted);
margin-top: 2px;
transition: color 0.5s;
}
.btn-icon {
display: flex; align-items: center; gap: 5px;
padding: 5px 10px;
background: rgba(255,255,255,0.04);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
color: var(--text-secondary);
font-family: var(--font-body); font-size: 12px;
cursor: pointer; transition: all 0.15s;
}
.btn-icon:hover {
background: var(--accent-dim);
border-color: var(--border-accent);
color: var(--accent);
}
/* BOARDS */
.boards-wrapper {
position: relative; z-index: 10;
display: flex; flex-wrap: wrap;
align-content: flex-start;
justify-content: center;
gap: 14px;
padding: 110px 40px 40px;
min-height: 100vh;
}
.board {
width: var(--board-width);
background: var(--bg-board);
border: 1px solid var(--border);
border-radius: var(--radius);
backdrop-filter: blur(12px);
transition: border-color 0.2s, box-shadow 0.2s, background 0.3s;
overflow: hidden;
}
.board:hover {
border-color: var(--board-hover-border);
box-shadow: 0 4px 32px rgba(0,0,0,0.45);
}
.board.drag-over {
border-color: var(--accent);
box-shadow: 0 0 0 2px var(--accent-dim);
}
.board-header {
display: flex; align-items: center; justify-content: space-between;
padding: 8px 10px 7px;
border-bottom: 1px solid var(--border);
user-select: none;
}
.board-drag-handle {
display: flex; align-items: center;
padding: 2px 4px 2px 0;
color: var(--text-muted);
cursor: grab;
flex-shrink: 0;
transition: color 0.15s;
touch-action: none;
}
.board-drag-handle:hover { color: var(--accent); }
.board-drag-handle:active { cursor: grabbing; }
.board-title {
font-family: var(--font-display);
font-size: 13px; font-weight: 600; letter-spacing: 1.5px;
color: var(--accent); text-transform: uppercase;
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
max-width: 160px;
transition: color 0.5s;
}
.board-actions { display: flex; gap: 4px; }
.board-action-btn {
width: 22px; height: 22px;
display: flex; align-items: center; justify-content: center;
background: none; border: none;
color: var(--text-muted); border-radius: 4px; cursor: pointer; font-size: 11px;
transition: all 0.15s;
}
.board-action-btn:hover { background: var(--accent-dim); color: var(--accent); }
.board-list { list-style: none; padding: 4px 0; }
.bm-item {
display: flex; align-items: center; gap: 7px;
padding: var(--spacing) 10px;
border-bottom: 1px solid rgba(255,255,255,0.03);
cursor: pointer; transition: background 0.12s; position: relative;
}
.bm-item:last-child { border-bottom: none; }
.bm-item:hover { background: rgba(255,255,255,0.04); }
.bm-item:hover .bm-delete { opacity: 1; }
body.compact .bm-item { padding: var(--spacing-compact) 10px; }
.bm-favicon { width: 14px; height: 14px; flex-shrink: 0; border-radius: 2px; opacity: 0.85; }
.bm-favicon-fallback {
width: 14px; height: 14px; flex-shrink: 0;
background: var(--accent-dim); border-radius: 2px;
display: flex; align-items: center; justify-content: center;
font-size: 8px; color: var(--accent);
}
.bm-text { flex: 1; min-width: 0; }
.bm-title { font-size: 12px; font-weight: 400; color: var(--text-primary); line-height: 1.3; }
body.shorten-titles .bm-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bm-desc { font-size: 10px; color: var(--text-muted); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: none; }
body.show-desc .bm-desc { display: block; }
.bm-delete {
opacity: 0; width: 18px; height: 18px;
display: flex; align-items: center; justify-content: center;
background: none; border: none; color: var(--text-muted);
border-radius: 3px; cursor: pointer; font-size: 10px;
transition: all 0.12s; flex-shrink: 0;
}
.bm-delete:hover { background: rgba(224,85,85,0.18); color: var(--danger); }
.show-more-btn {
width: 100%; padding: 6px 10px; background: none; border: none;
border-top: 1px solid var(--border); color: var(--text-muted);
font-size: 11px; font-family: var(--font-body); cursor: pointer; text-align: center;
transition: all 0.15s;
}
.show-more-btn:hover { background: var(--accent-dim); color: var(--accent); }
.add-bm-btn {
width: 100%; padding: 6px 10px; background: none; border: none;
border-top: 1px solid var(--border); color: var(--text-muted);
font-size: 11px; font-family: var(--font-body); cursor: pointer;
display: flex; align-items: center; gap: 5px; transition: all 0.15s;
}
.add-bm-btn:hover { background: var(--accent-dim); color: var(--accent); }
.empty-state { padding: 40px; text-align: center; color: var(--text-muted); font-size: 11px; line-height: 1.6; }
/* SETTINGS PANEL */
.panel-overlay {
position: fixed; inset: 0; z-index: 200;
background: rgba(0,0,0,0.55); backdrop-filter: blur(5px);
opacity: 0; pointer-events: none; transition: opacity 0.25s;
}
.panel-overlay.active { opacity: 1; pointer-events: all; }
.settings-panel {
position: fixed; top: 0; right: 0; bottom: 0; z-index: 201;
width: 380px;
background: rgba(8,8,16,0.97);
border-left: 1px solid var(--border);
backdrop-filter: blur(28px);
transform: translateX(100%);
transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
display: flex; flex-direction: column;
}
.settings-panel.open { transform: translateX(0); }
.panel-header {
display: flex; align-items: center; justify-content: space-between;
padding: 14px 18px; border-bottom: 1px solid var(--border);
font-family: var(--font-display); font-size: 15px; font-weight: 600;
letter-spacing: 2px; color: var(--accent); text-transform: uppercase;
}
.panel-body { flex: 1; overflow-y: auto; padding: 12px 0; scrollbar-width: thin; scrollbar-color: var(--border) transparent; min-height: 0; }
.panel-footer {
flex-shrink: 0; border-top: 1px solid var(--border);
max-height: 45vh; overflow-y: auto;
scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
.panel-footer .about-block { padding: 12px 18px 16px; }
.settings-section { margin-bottom: 4px; }
.settings-section-title {
font-family: var(--font-display); font-size: 10px; font-weight: 700;
letter-spacing: 2px; color: var(--text-muted); padding: 10px 18px 6px; text-transform: uppercase;
cursor: pointer; user-select: none;
display: flex; align-items: center; gap: 6px;
background: none; border: none; width: 100%;
}
.settings-section-title.danger { color: var(--danger); }
.setting-row {
display: flex; align-items: center; justify-content: space-between;
gap: 12px; padding: 10px 18px;
border-bottom: 1px solid rgba(255,255,255,0.03);
}
.setting-row:last-child { border-bottom: none; }
.setting-info { flex: 1; min-width: 0; }
.setting-label { display: block; font-size: 13px; color: var(--text-primary); }
.setting-desc { display: block; font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.setting-badge {
font-size: 11px; padding: 3px 8px;
background: rgba(255,255,255,0.06); border: 1px solid var(--border);
border-radius: 4px; color: var(--text-muted); white-space: nowrap;
}
/* THEME PICKER */
.theme-grid {
display: grid; grid-template-columns: 1fr 1fr 1fr 1fr;
gap: 8px; padding: 4px 18px 16px;
}
.theme-card {
position: relative; border-radius: 8px; overflow: hidden;
cursor: pointer; border: 2px solid transparent;
transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s;
aspect-ratio: 16/10; background: #111;
}
.theme-card:hover { transform: translateY(-2px); }
.theme-card.active {
border-color: var(--accent);
box-shadow: 0 0 0 1px var(--accent), 0 4px 20px var(--accent-dim);
}
.theme-card-img {
width: 100%; height: 100%; object-fit: cover;
display: block; opacity: 0.65;
transition: opacity 0.2s;
}
.theme-card:hover .theme-card-img { opacity: 0.88; }
.theme-card.active .theme-card-img { opacity: 1; }
.theme-card-label {
position: absolute; bottom: 0; left: 0; right: 0;
padding: 14px 6px 5px;
background: linear-gradient(transparent, rgba(0,0,0,0.90));
font-size: 9px; font-weight: 700; letter-spacing: 1.2px;
text-align: center; text-transform: uppercase;
}
.theme-card[data-value="nebula"] .theme-card-label { color: #b359ff; } /* Deep Magenta */
.theme-card[data-value="crescent"] .theme-card-label { color: #d4bd8a; } /* Champagne Gold */
.theme-card[data-value="event-horizon"] .theme-card-label { color: #9d5cff; } /* Cosmic Purple */
.theme-card[data-value="merchantman"] .theme-card-label { color: #2eb8b8; } /* Emerald Teal */
.theme-card[data-value="julia-jin"] .theme-card-label { color: #7db3ff; } /* Aether Blue */
.theme-card[data-value="sc-sunset"] .theme-card-label { color: #ff8c3d; } /* Amber Sunset */
.theme-card[data-value="hellion-hud"] .theme-card-label { color: #32ff6a; } /* Neon Green */
.theme-card[data-value="hellion-energy"] .theme-card-label { color: #1eff8e; } /* Acid Green */
.theme-card:hover .theme-card-label {
text-shadow: 0 0 8px currentColor;
transition: text-shadow 0.2s ease;
}
.theme-card-check {
position: absolute; top: 5px; right: 5px;
width: 16px; height: 16px; border-radius: 50%;
background: var(--accent);
display: flex; align-items: center; justify-content: center;
font-size: 9px; color: #000;
opacity: 0; transition: opacity 0.2s;
}
.theme-card.active .theme-card-check { opacity: 1; }
/* TOGGLE */
.toggle { position: relative; display: inline-block; width: 38px; height: 21px; flex-shrink: 0; }
.toggle input { opacity: 0; width: 0; height: 0; }
.slider {
position: absolute; inset: 0;
background: rgba(255,255,255,0.1); border-radius: 21px; cursor: pointer;
transition: background 0.2s;
}
.slider::before {
content: ''; position: absolute; left: 3px; bottom: 3px;
width: 15px; height: 15px; background: var(--text-muted); border-radius: 50%;
transition: transform 0.2s, background 0.2s;
}
.toggle input:checked + .slider { background: var(--toggle-on-bg); }
.toggle input:checked + .slider::before { transform: translateX(17px); background: var(--accent); }
/* INPUTS */
.select-input {
padding: 5px 8px; background: var(--bg-board, rgba(255,255,255,0.06));
border: 1px solid var(--border); border-radius: var(--radius-sm);
color: var(--text-primary); font-family: var(--font-body); font-size: 12px;
cursor: pointer; min-width: 70px;
}
.select-input option { background: var(--bg-primary, #0a0e17); color: var(--text-primary); }
.select-input:focus { outline: none; border-color: var(--border-accent); }
.text-input {
padding: 7px 10px; background: rgba(255,255,255,0.05);
border: 1px solid var(--border); border-radius: var(--radius-sm);
color: var(--text-primary); font-family: var(--font-body); font-size: 13px;
}
.text-input:focus { outline: none; border-color: var(--border-accent); background: rgba(255,255,255,0.07); }
.text-input.full-width { width: 100%; }
.btn-small {
padding: 5px 10px; background: rgba(255,255,255,0.06);
border: 1px solid var(--border); border-radius: var(--radius-sm);
color: var(--text-secondary); font-family: var(--font-body); font-size: 12px;
cursor: pointer; white-space: nowrap; transition: all 0.15s;
}
.btn-small:hover { background: var(--accent-dim); border-color: var(--border-accent); color: var(--accent); }
.btn-primary {
padding: 8px 20px; background: var(--accent); border: none;
border-radius: var(--radius-sm); color: #07060f;
font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: 1px;
cursor: pointer; transition: all 0.15s;
}
.btn-primary:hover { filter: brightness(1.15); box-shadow: 0 0 18px var(--accent-glow); }
.btn-danger {
padding: 7px 16px; background: rgba(224,85,85,0.15);
border: 1px solid rgba(224,85,85,0.3); border-radius: var(--radius-sm);
color: var(--danger); font-family: var(--font-display); font-size: 12px;
font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
cursor: pointer; transition: all 0.15s;
}
.btn-danger:hover { background: rgba(224,85,85,0.25); border-color: rgba(224,85,85,0.5); }
.btn-close {
background: none; border: none; color: var(--text-muted); font-size: 14px;
cursor: pointer; padding: 2px 6px; border-radius: 4px; transition: all 0.15s;
}
.btn-close:hover { background: rgba(255,255,255,0.07); color: var(--text-primary); }
/* MODAL */
.modal-overlay {
position: fixed; inset: 0; z-index: 300;
background: rgba(0,0,0,0.65); backdrop-filter: blur(7px);
display: flex; align-items: center; justify-content: center;
opacity: 0; pointer-events: none; transition: opacity 0.2s;
}
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal {
background: rgba(10,9,20,0.98); border: 1px solid var(--border);
border-radius: var(--radius); width: 320px; backdrop-filter: blur(28px);
transform: translateY(8px); transition: transform 0.2s;
box-shadow: 0 20px 60px rgba(0,0,0,0.7);
}
.modal-overlay.active .modal { transform: translateY(0); }
.modal-header {
display: flex; align-items: center; justify-content: space-between;
padding: 12px 16px; border-bottom: 1px solid var(--border);
font-family: var(--font-display); font-size: 14px; font-weight: 600;
letter-spacing: 1.5px; color: var(--text-primary); text-transform: uppercase;
}
.modal-body { padding: 14px 16px; }
.modal-footer { padding: 10px 16px 14px; display: flex; justify-content: flex-end; }
.board.dragging { opacity: 0.35; }
.board-placeholder {
border: 2px dashed var(--border-accent);
border-radius: var(--radius);
background: var(--accent-dim);
flex-shrink: 0;
}
/* ---- BOARD BLUR (Private Mode) ---- */
.board.blurred .board-list,
.board.blurred .show-more-btn,
.board.blurred .add-bm-btn {
filter: blur(6px);
user-select: none;
pointer-events: none;
}
.board.blurred .board-title {
filter: blur(5px);
}
.board.blurred {
position: relative;
}
.board-blur-overlay {
display: none;
position: absolute; inset: 0; z-index: 5;
border-radius: var(--radius);
cursor: pointer;
}
.board.blurred .board-blur-overlay {
display: block;
}
.board-blur-overlay:hover::after {
content: '🔒 Click to reveal';
position: absolute; top: 50%; left: 50%;
transform: translate(-50%, -50%);
font-size: 11px; color: var(--text-secondary);
background: rgba(0,0,0,0.6);
padding: 5px 10px; border-radius: 20px;
white-space: nowrap; letter-spacing: 0.5px;
backdrop-filter: blur(4px);
}
.btn-blur-board {
width: 22px; height: 22px;
display: flex; align-items: center; justify-content: center;
background: none; border: none;
color: var(--text-muted); border-radius: 4px; cursor: pointer; font-size: 11px;
transition: all 0.15s;
}
.btn-blur-board:hover { background: var(--accent-dim); color: var(--accent); }
.board.blurred .btn-blur-board { color: var(--accent); opacity: 0.7; }
/* ---- ABOUT BLOCK ---- */
.about-block {
padding: 4px 18px 14px;
}
.about-logo {
font-family: var(--font-display);
font-size: 15px; font-weight: 700; letter-spacing: 3px;
color: var(--accent);
text-shadow: 0 0 18px var(--logo-shadow);
margin-bottom: 3px;
}
.about-version {
font-size: 10px; color: var(--text-muted); letter-spacing: 0.3px;
margin-bottom: 12px;
}
.about-links {
display: flex; gap: 8px; flex-wrap: wrap;
margin-bottom: 12px;
}
.about-link {
display: inline-flex; align-items: center; gap: 5px;
padding: 4px 10px;
background: var(--accent-dim);
border: 1px solid var(--border-accent);
border-radius: 20px;
color: var(--accent); font-size: 11px; font-weight: 500;
text-decoration: none; letter-spacing: 0.3px;
transition: all 0.15s;
}
.about-link:hover {
background: rgba(255,255,255,0.1);
filter: brightness(1.15);
}
.about-divider {
height: 1px; background: var(--border);
margin: 10px 0;
}
.about-info-row {
display: flex; justify-content: space-between; align-items: baseline;
gap: 8px; padding: 4px 0;
border-bottom: 1px solid rgba(255,255,255,0.02);
}
.about-info-row:last-of-type { border-bottom: none; }
.about-info-label {
font-size: 10px; color: var(--text-muted);
letter-spacing: 0.5px; text-transform: uppercase; flex-shrink: 0;
}
.about-info-value {
font-size: 11px; color: var(--text-secondary); text-align: right;
}
.about-bugreport { margin-top: 10px; }
.about-link-mail {
display: inline-flex; align-items: center; gap: 5px;
color: var(--text-secondary); font-size: 11px;
text-decoration: none;
transition: color 0.15s;
}
.about-link-mail:hover { color: var(--accent); }
.about-browsers { margin-top: 10px; }
.about-browser-tags {
display: flex; flex-wrap: wrap; gap: 5px;
}
.browser-tag {
padding: 3px 9px;
background: rgba(255,255,255,0.05);
border: 1px solid var(--border);
border-radius: 20px;
font-size: 10px; color: var(--text-secondary);
letter-spacing: 0.3px;
}
/* ============================================
SEARCH BAR
============================================ */
.search-bar-wrapper {
position: fixed;
top: 48px; left: 0; right: 0;
z-index: 90;
display: flex; justify-content: center;
padding: 8px 20px;
transition: opacity 0.3s, transform 0.3s;
}
.search-bar-wrapper.hidden {
opacity: 0; transform: translateY(-8px); pointer-events: none;
}
.search-bar {
display: flex; align-items: center;
width: 100%; max-width: 560px;
background: var(--bg-board);
border: 1px solid var(--border);
border-radius: 30px;
backdrop-filter: blur(18px);
overflow: hidden;
transition: border-color 0.2s, box-shadow 0.2s;
}
.search-bar:focus-within {
border-color: var(--border-accent);
box-shadow: 0 0 0 3px var(--accent-dim), 0 4px 24px rgba(0,0,0,0.4);
}
.search-engine-toggle {
width: 36px; height: 36px; flex-shrink: 0;
margin: 2px 0 2px 4px;
display: flex; align-items: center; justify-content: center;
background: var(--accent-dim);
border: 1px solid var(--border-accent);
border-radius: 50%;
color: var(--accent);
font-family: var(--font-display); font-size: 14px; font-weight: 700;
cursor: pointer; letter-spacing: 0;
transition: all 0.15s;
flex-shrink: 0;
}
.search-engine-toggle:hover { filter: brightness(1.2); }
.search-input {
flex: 1;
padding: 10px 12px;
background: none; border: none;
color: var(--text-primary);
font-family: var(--font-body); font-size: 14px;
outline: none;
}
.search-input::placeholder { color: var(--text-muted); }
.search-submit {
width: 38px; height: 38px; flex-shrink: 0;
display: flex; align-items: center; justify-content: center;
background: none; border: none;
color: var(--text-muted); cursor: pointer;
transition: color 0.15s;
margin-right: 3px;
}
.search-submit:hover { color: var(--accent); }
/* ============================================
WIDGET SYSTEM
============================================ */
.widget {
position: fixed;
z-index: 100;
min-width: 200px; min-height: 150px;
background: var(--bg-board);
border: 1px solid var(--border-accent);
border-radius: var(--radius);
backdrop-filter: blur(20px);
box-shadow: 0 8px 40px rgba(0,0,0,0.5), 0 0 0 1px var(--accent-dim);
display: flex; flex-direction: column;
transition: border-color 0.5s;
}
.widget.widget-minimized {
opacity: 0; transform: translateY(8px) scale(0.97);
pointer-events: none;
transition: opacity 0.25s, transform 0.25s;
}
.widget-header {
display: flex; align-items: center; justify-content: space-between;
padding: 7px 10px 6px;
border-bottom: 1px solid var(--border);
cursor: grab;
user-select: none;
}
.widget-header:active { cursor: grabbing; }
.widget-title {
display: flex; align-items: center; gap: 5px;
font-family: var(--font-display); font-size: 11px; font-weight: 600;
letter-spacing: 1.5px; text-transform: uppercase;
color: var(--accent);
max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.widget-title[contenteditable="true"] {
outline: 1px solid var(--border-accent);
border-radius: 2px;
padding: 0 3px;
cursor: text;
}
.widget-actions {
display: flex; align-items: center; gap: 2px;
}
.widget-btn {
background: none; border: none;
color: var(--text-muted); font-size: 11px;
cursor: pointer; padding: 1px 4px; border-radius: 3px;
transition: all 0.15s;
line-height: 1;
}
.widget-btn:hover { background: rgba(255,255,255,0.07); color: var(--text-primary); }
.widget-body {
flex: 1;
display: flex; flex-direction: column;
overflow: hidden;
position: relative;
}
/* Widget Textarea (Freitext-Note) */
.widget-textarea {
flex: 1;
padding: 10px;
background: none; border: none; outline: none; resize: none;
color: var(--text-primary);
font-family: var(--font-body); font-size: 12px; line-height: 1.6;
scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
.widget-textarea::placeholder { color: var(--text-muted); }
.widget-char-count {
position: absolute; bottom: 4px; right: 8px;
font-family: var(--font-body); font-size: 10px;
color: var(--text-muted); pointer-events: none;
}
.widget-char-count.limit { color: var(--danger); }
/* Widget Checkliste */
.widget-checklist {
flex: 1;
list-style: none; margin: 0; padding: 6px 10px;
overflow-y: auto;
scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
.checklist-item {
display: flex; align-items: center; gap: 8px;
padding: 4px 0;
font-family: var(--font-body); font-size: 12px;
color: var(--text-primary);
border-bottom: 1px solid rgba(255,255,255,0.03);
}
.checklist-item.checked .checklist-text {
text-decoration: line-through;
color: var(--text-muted);
}
.checklist-checkbox {
width: 14px; height: 14px;
border: 1px solid var(--border-accent);
border-radius: 3px;
background: rgba(255,255,255,0.03);
cursor: pointer; flex-shrink: 0;
display: flex; align-items: center; justify-content: center;
color: var(--accent); font-size: 10px;
transition: all 0.15s;
}
.checklist-checkbox:hover { border-color: var(--accent); }
.checklist-item.checked .checklist-checkbox {
background: var(--accent-dim);
border-color: var(--accent);
}
.checklist-text {
flex: 1; min-width: 0;
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.checklist-remove {
background: none; border: none;
color: var(--text-muted); font-size: 10px;
cursor: pointer; padding: 0 2px;
opacity: 0; transition: opacity 0.15s;
}
.checklist-item:hover .checklist-remove { opacity: 1; }
.checklist-remove:hover { color: var(--danger); }
.checklist-add {
display: flex; align-items: center; gap: 6px;
padding: 6px 10px;
border-top: 1px solid var(--border);
}
.checklist-add-input {
flex: 1;
background: none; border: none; outline: none;
color: var(--text-primary);
font-family: var(--font-body); font-size: 12px;
}
.checklist-add-input::placeholder { color: var(--text-muted); }
/* Widget Resize Handle */
.widget-resize-handle {
position: absolute; bottom: 0; right: 0;
width: 14px; height: 14px;
cursor: nwse-resize;
}
.widget-resize-handle::after {
content: '';
position: absolute; bottom: 4px; right: 4px;
width: 8px; height: 8px;
border-right: 2px solid var(--border-accent);
border-bottom: 2px solid var(--border-accent);
border-radius: 0 0 2px 0;
opacity: 0.5;
}
/* ============================================
CALCULATOR WIDGET
============================================ */
.calc-display {
background: rgba(0,0,0,0.3);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
padding: 10px 12px;
margin-bottom: 8px;
text-align: right;
min-height: 48px;
}
.calc-expression {
font-size: 12px;
color: var(--text-muted);
min-height: 16px;
word-break: break-all;
}
.calc-result {
font-size: 22px;
font-family: 'Rajdhani', monospace;
color: var(--text-primary);
font-weight: 600;
word-break: break-all;
}
.calc-buttons {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 4px;
margin-bottom: 8px;
}
.calc-btn {
height: 36px;
background: rgba(255,255,255,0.04);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
color: var(--text-primary);
font-size: 14px;
font-family: 'Rajdhani', sans-serif;
cursor: pointer;
transition: all 0.1s;
display: flex;
align-items: center;
justify-content: center;
padding: 0;
}
.calc-btn:hover {
background: rgba(255,255,255,0.08);
border-color: var(--border-accent);
}
.calc-btn:active {
transform: scale(0.95);
}
.calc-btn.operator {
color: var(--accent);
font-weight: 600;
}
.calc-btn.equals {
background: var(--accent-dim);
border-color: var(--accent);
color: var(--accent);
font-weight: 700;
}
.calc-btn.equals:hover {
background: var(--accent);
color: var(--bg-primary);
}
.calc-btn.clear {
color: var(--danger);
}
.calc-history {
border-top: 1px solid var(--border);
padding-top: 6px;
max-height: 100px;
overflow-y: auto;
}
.calc-history-title {
font-size: 9px;
color: var(--text-muted);
text-transform: uppercase;
letter-spacing: 1px;
margin-bottom: 4px;
}
.calc-history-item {
font-size: 11px;
color: var(--text-secondary);
padding: 3px 6px;
border-radius: var(--radius-sm);
cursor: pointer;
display: flex;
justify-content: space-between;
}
.calc-history-item:hover {
background: rgba(255,255,255,0.04);
}
.calc-history-item .calc-h-result {
color: var(--accent);
font-weight: 600;
}
/* ============================================
TIMER WIDGET
============================================ */
.timer-display {
text-align: center;
padding: 16px 0 8px;
}
.timer-time {
font-size: 36px;
font-family: 'Rajdhani', monospace;
font-weight: 700;
color: var(--text-primary);
letter-spacing: 2px;
}
.timer-time.finished {
color: var(--danger);
animation: timer-pulse 1s ease-in-out infinite;
}
@keyframes timer-pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.4; }
}
.timer-input-row {
display: flex;
justify-content: center;
margin-bottom: 12px;
}
.timer-input {
width: 120px;
text-align: center;
font-family: 'Rajdhani', monospace;
font-size: 16px;
background: rgba(0,0,0,0.3);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
color: var(--text-primary);
padding: 6px 10px;
}
.timer-input::placeholder { color: var(--text-muted); }
.timer-input:focus {
outline: none;
border-color: var(--accent);
}
.timer-controls {
display: flex;
gap: 6px;
margin-bottom: 12px;
padding: 0 8px;
}
.timer-ctrl-btn {
flex: 1;
height: 32px;
background: rgba(255,255,255,0.04);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
color: var(--text-primary);
font-size: 12px;
font-family: 'Rajdhani', sans-serif;
cursor: pointer;
transition: all 0.1s;
display: flex;
align-items: center;
justify-content: center;
padding: 0;
}
.timer-ctrl-btn:hover {
background: rgba(255,255,255,0.08);
border-color: var(--border-accent);
}
.timer-ctrl-btn:active { transform: scale(0.95); }
.timer-ctrl-btn:disabled {
opacity: 0.3;
cursor: default;
transform: none;
}
.timer-ctrl-btn.primary {
background: var(--accent-dim);
border-color: var(--accent);
color: var(--accent);
font-weight: 600;
}
.timer-ctrl-btn.primary:hover {
background: var(--accent);
color: var(--bg-primary);
}
.timer-ctrl-btn.danger {
color: var(--danger);
}
.timer-mute-btn {
width: 32px;
height: 32px;
flex: none;
font-size: 14px;
line-height: 1;
padding: 0;
background: var(--bg-board);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
color: var(--text-secondary);
cursor: pointer;
transition: all 0.2s;
}
.timer-mute-btn:hover {
border-color: var(--accent);
color: var(--text-primary);
}
.timer-mute-btn.muted {
color: var(--text-muted);
opacity: 0.5;
}
.timer-presets {
border-top: 1px solid var(--border);
padding: 8px 8px 0;
max-height: 140px;
overflow-y: auto;
}
.timer-presets-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 6px;
}
.timer-presets-title {
font-size: 9px;
color: var(--text-muted);
text-transform: uppercase;
letter-spacing: 1px;
}
.timer-preset-add {
width: 22px; height: 22px;
background: none;
border: 1px solid var(--border);
border-radius: var(--radius-sm);
color: var(--text-muted);
cursor: pointer;
font-size: 14px;
display: flex;
align-items: center;
justify-content: center;
padding: 0;
}
.timer-preset-add:hover {
border-color: var(--accent);
color: var(--accent);
}
.timer-preset-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 4px 6px;
border-radius: var(--radius-sm);
cursor: pointer;
font-size: 12px;
color: var(--text-secondary);
}
.timer-preset-item:hover {
background: rgba(255,255,255,0.04);
}
.timer-preset-name {
flex: 1;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.timer-preset-time {
color: var(--accent);
font-family: 'Rajdhani', monospace;
margin: 0 8px;
}
.timer-preset-del {
background: none;
border: none;
color: var(--text-muted);
cursor: pointer;
font-size: 11px;
padding: 2px 4px;
}
.timer-preset-del:hover { color: var(--danger); }
.timer-add-row {
display: flex;
gap: 4px;
margin-top: 6px;
}
.timer-add-input {
flex: 1;
background: rgba(0,0,0,0.2);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
color: var(--text-primary);
font-size: 11px;
padding: 4px 6px;
}
.timer-add-input::placeholder { color: var(--text-muted); }
.timer-add-input:focus { outline: none; border-color: var(--accent); }
.timer-add-confirm {
background: var(--accent-dim);
border: 1px solid var(--accent);
border-radius: var(--radius-sm);
color: var(--accent);
cursor: pointer;
font-size: 11px;
padding: 4px 8px;
}
.timer-add-confirm:hover {
background: var(--accent);
color: var(--bg-primary);
}
/* ============================================
IMAGE REFERENCE WIDGET
============================================ */
.imgref-container {
flex: 1;
display: flex;
flex-direction: column;
overflow: hidden;
padding: 8px;
}
.imgref-img-wrapper {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
border-radius: var(--radius-sm);
min-height: 80px;
}
.imgref-img {
max-width: 100%;
max-height: 100%;
object-fit: contain;
border-radius: var(--radius-sm);
}
.imgref-dropzone {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
border: 2px dashed var(--border);
border-radius: var(--radius-sm);
color: var(--text-muted);
font-size: 12px;
cursor: pointer;
transition: border-color 0.2s, color 0.2s;
min-height: 80px;
gap: 8px;
}
.imgref-dropzone:hover,
.imgref-dropzone.dragover {
border-color: var(--accent);
color: var(--text-secondary);
}
.imgref-dropzone-icon {
font-size: 24px;
opacity: 0.5;
}
.imgref-label {
width: 100%;
margin-top: 8px;
font-size: 11px;
background: transparent;
border: 1px solid var(--border);
border-radius: var(--radius-sm);
color: var(--text-secondary);
padding: 4px 8px;
flex-shrink: 0;
}
.imgref-label:focus {
border-color: var(--accent);
outline: none;
}
.imgref-label::placeholder {
color: var(--text-muted);
}
.imgref-replace-btn {
width: 100%;
height: 24px;
margin-top: 6px;
font-size: 10px;
background: transparent;
border: 1px solid var(--border);
border-radius: var(--radius-sm);
color: var(--text-muted);
cursor: pointer;
flex-shrink: 0;
transition: all 0.2s;
}
.imgref-replace-btn:hover {
border-color: var(--accent);
color: var(--text-secondary);
}
/* ============================================
WIDGET TOOLBAR
============================================ */
.widget-toolbar {
position: fixed;
right: 16px;
top: 50%;
transform: translateY(-50%);
z-index: 100;
display: flex;
flex-direction: column;
gap: 8px;
padding: 10px 6px;
background: var(--bg-board);
backdrop-filter: blur(20px);
border: 1px solid var(--border-accent);
border-radius: var(--radius);
box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}
.toolbar-left .widget-toolbar {
right: auto;
left: 16px;
}
.widget-toolbar-btn {
width: 36px; height: 36px;
background: rgba(255,255,255,0.04);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
color: var(--text-secondary);
cursor: pointer;
transition: all 0.15s;
display: flex; align-items: center; justify-content: center;
padding: 0;
}
.widget-toolbar-btn:hover {
background: var(--accent-dim);
border-color: var(--border-accent);
color: var(--accent);
}
/* ============================================
NOTEBOOK SIDEBAR
============================================ */
.notebook-overlay {
position: fixed; inset: 0; z-index: 200;
background: rgba(0,0,0,0.5);
opacity: 0; pointer-events: none;
transition: opacity 0.25s;
}
.notebook-overlay.active {
opacity: 1; pointer-events: all;
}
.notebook-panel {
position: fixed; top: 0; right: -360px;
width: 340px; height: 100vh; z-index: 201;
background: rgba(8,8,16,0.96);
border-left: 1px solid var(--border);
backdrop-filter: blur(28px);
transition: right 0.3s ease;
display: flex; flex-direction: column;
overflow: hidden;
}
.notebook-overlay.active + .notebook-panel,
.notebook-panel.open {
right: 0;
}
.toolbar-left .notebook-panel {
right: auto; left: -360px;
border-left: none;
border-right: 1px solid var(--border);
}
.toolbar-left .notebook-overlay.active + .notebook-panel,
.toolbar-left .notebook-panel.open {
left: 0;
}
.notebook-header {
display: flex; align-items: center; justify-content: space-between;
padding: 14px 16px 12px;
border-bottom: 1px solid var(--border);
}
.notebook-header-title {
font-family: var(--font-display); font-size: 14px; font-weight: 600;
letter-spacing: 1.5px; text-transform: uppercase;
color: var(--text-primary);
display: flex; align-items: center; gap: 8px;
}
.notebook-count {
font-size: 11px; color: var(--text-muted);
font-weight: 400; letter-spacing: 0;
}
.notebook-slots {
flex: 1; overflow-y: auto; padding: 12px;
display: flex; flex-direction: column; gap: 10px;
scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
/* Belegter Slot */
.notebook-slot {
background: rgba(255,255,255,0.03);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 10px 12px;
cursor: pointer;
transition: all 0.15s;
}
.notebook-slot:hover {
border-color: var(--border-accent);
background: var(--accent-dim);
}
.notebook-slot-header {
display: flex; align-items: center; justify-content: space-between;
margin-bottom: 4px;
}
.notebook-slot-title {
font-family: var(--font-display); font-size: 12px; font-weight: 600;
letter-spacing: 1px; text-transform: uppercase;
color: var(--accent);
display: flex; align-items: center; gap: 5px;
}
.notebook-slot-type {
font-size: 12px;
}
.notebook-slot-preview {
font-family: var(--font-body); font-size: 11px;
color: var(--text-muted);
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
margin-bottom: 6px;
}
.notebook-slot-actions {
display: flex; gap: 6px; justify-content: flex-end;
}
.notebook-slot-btn {
background: rgba(255,255,255,0.04);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
color: var(--text-secondary);
font-family: var(--font-body); font-size: 10px;
padding: 3px 8px;
cursor: pointer;
transition: all 0.15s;
}
.notebook-slot-btn:hover {
border-color: var(--border-accent);
color: var(--accent);
}
.notebook-slot-btn.danger:hover {
border-color: var(--danger);
color: var(--danger);
}
/* Leerer Slot */
.notebook-slot-empty {
border: 1px dashed var(--border);
border-radius: var(--radius);
padding: 14px 12px;
text-align: center;
cursor: pointer;
transition: all 0.15s;
color: var(--text-muted);
font-family: var(--font-body); font-size: 12px;
}
.notebook-slot-empty:hover {
border-color: var(--border-accent);
color: var(--text-secondary);
background: var(--accent-dim);
}
/* Typ-Auswahl im leeren Slot */
.notebook-type-chooser {
display: flex; gap: 8px; justify-content: center;
padding-top: 8px;
}
.notebook-type-btn {
background: rgba(255,255,255,0.04);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
color: var(--text-secondary);
font-family: var(--font-body); font-size: 11px;
padding: 6px 12px;
cursor: pointer;
transition: all 0.15s;
display: flex; align-items: center; gap: 5px;
}
.notebook-type-btn:hover {
border-color: var(--border-accent);
color: var(--accent);
background: var(--accent-dim);
}
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
/* ============================================
CUSTOM DIALOG SYSTEM
============================================ */
.dialog-overlay {
position: fixed; inset: 0; z-index: 400;
background: rgba(0,0,0,0.65); backdrop-filter: blur(7px);
display: flex; align-items: center; justify-content: center;
opacity: 0; pointer-events: none; transition: opacity 0.2s;
}
.dialog-overlay.active { opacity: 1; pointer-events: all; }
.dialog-box {
background: rgba(10,9,20,0.98); border: 1px solid var(--border);
border-radius: var(--radius); width: 340px; max-width: 90vw;
backdrop-filter: blur(28px);
transform: translateY(8px) scale(0.98); transition: transform 0.2s;
box-shadow: 0 20px 60px rgba(0,0,0,0.7);
}
.dialog-overlay.active .dialog-box { transform: translateY(0) scale(1); }
.dialog-header {
display: flex; align-items: center; gap: 10px;
padding: 14px 16px 12px; border-bottom: 1px solid var(--border);
font-family: var(--font-display); font-size: 14px; font-weight: 600;
letter-spacing: 1.5px; color: var(--text-primary); text-transform: uppercase;
}
.dialog-icon {
width: 20px; height: 20px; flex-shrink: 0;
}
.dialog-icon.type-info { color: var(--accent); }
.dialog-icon.type-success { color: #4ade80; }
.dialog-icon.type-warning { color: #f59e0b; }
.dialog-icon.type-danger { color: var(--danger); }
.dialog-body {
padding: 16px;
font-family: var(--font-body); font-size: 13px; line-height: 1.6;
color: var(--text-secondary);
}
.dialog-actions {
padding: 10px 16px 14px;
display: flex; justify-content: flex-end; gap: 8px;
}
.btn-secondary {
background: transparent; border: 1px solid var(--border);
color: var(--text-secondary); padding: 7px 16px;
border-radius: var(--radius-sm); font-family: var(--font-display);
font-size: 12px; font-weight: 600; letter-spacing: 1px;
text-transform: uppercase; cursor: pointer;
transition: background 0.15s, border-color 0.15s;
}
.btn-secondary:hover {
background: rgba(255,255,255,0.04); border-color: var(--text-muted);
}
/* ============================================
ONBOARDING
============================================ */
.onboarding-modal {
background: rgba(10,9,20,0.98); border: 1px solid var(--border);
border-radius: 12px; width: 460px; max-width: 92vw;
backdrop-filter: blur(28px);
transform: translateY(8px) scale(0.98); transition: transform 0.25s;
box-shadow: 0 24px 80px rgba(0,0,0,0.7);
overflow: hidden;
}
.dialog-overlay.active .onboarding-modal { transform: translateY(0) scale(1); }
.onboarding-skip {
position: absolute; top: 14px; right: 16px;
background: none; border: none; color: var(--text-muted);
font-family: var(--font-body); font-size: 12px;
cursor: pointer; letter-spacing: 0.5px;
transition: color 0.15s;
}
.onboarding-skip:hover { color: var(--text-secondary); }
.onboarding-slide {
padding: 32px 28px 20px; text-align: center;
animation: onboardingFadeIn 0.3s ease;
}
@keyframes onboardingFadeIn {
from { opacity: 0; transform: translateX(12px); }
to { opacity: 1; transform: translateX(0); }
}
.onboarding-hero {
font-size: 48px; margin-bottom: 16px; line-height: 1;
}
.onboarding-title {
font-family: var(--font-display); font-size: 20px; font-weight: 700;
letter-spacing: 2px; text-transform: uppercase;
color: var(--text-primary); margin-bottom: 10px;
}
.onboarding-text {
font-family: var(--font-body); font-size: 13px; line-height: 1.7;
color: var(--text-secondary); max-width: 360px; margin: 0 auto;
}
.onboarding-feature-list {
list-style: none; padding: 0; margin: 14px auto 0;
text-align: left; max-width: 320px;
}
.onboarding-feature-list li {
font-family: var(--font-body); font-size: 13px;
color: var(--text-secondary); padding: 5px 0;
display: flex; align-items: center; gap: 8px;
}
.onboarding-feature-list li::before {
content: ''; width: 6px; height: 6px; border-radius: 50%;
background: var(--accent); flex-shrink: 0;
}
.onboarding-theme-grid {
display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
margin-top: 14px;
}
.onboarding-theme-chip {
padding: 6px 4px; border-radius: var(--radius-sm);
border: 1px solid var(--border); background: rgba(255,255,255,0.03);
font-family: var(--font-body); font-size: 11px; color: var(--text-secondary);
text-align: center; cursor: default;
transition: border-color 0.15s;
}
.onboarding-footer {
display: flex; align-items: center; justify-content: space-between;
padding: 14px 28px 20px; border-top: 1px solid var(--border);
}
.onboarding-dots {
display: flex; gap: 6px;
}
.onboarding-dot {
width: 8px; height: 8px; border-radius: 50%;
background: var(--border); transition: background 0.2s, transform 0.2s;
}
.onboarding-dot.active {
background: var(--accent); transform: scale(1.25);
}
.onboarding-nav {
display: flex; gap: 8px;
}
/* ============================================
THEME PICKER MODAL
============================================ */
.theme-modal {
background: rgba(8,8,16,0.96);
border: 1px solid var(--border);
border-radius: var(--radius-lg);
backdrop-filter: blur(28px);
max-width: 520px; width: 90%;
max-height: 85vh; overflow-y: auto;
scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
.theme-modal .theme-grid {
padding: 12px 16px 16px;
}
.theme-modal-section {
border-top: 1px solid var(--border);
padding: 0 16px 16px;
}
.theme-modal-section .settings-section-title {
padding: 12px 0 8px;
cursor: default; user-select: auto;
}
.theme-modal-section .setting-row {
padding: 8px 0;
}
/* ============================================
ACCORDION SETTINGS
============================================ */
.section-chevron {
font-size: 10px;
transition: transform 0.2s ease;
color: var(--text-muted);
display: inline-block;
}
.settings-section.open .section-chevron {
transform: rotate(90deg);
}
.section-content {
max-height: 0; overflow: hidden;
transition: max-height 0.3s ease-out;
}
.settings-section.open .section-content {
max-height: 800px;
}
/* ============================================
UTILITY CLASSES
============================================ */
.hidden { display: none; }
.accent-text { color: var(--accent); }
.dim { opacity: 0.4; }
.drag-ghost {
position: fixed; opacity: 0.75; pointer-events: none; z-index: 9999;
transform: rotate(1.5deg) scale(1.02);
box-shadow: 0 12px 40px rgba(0,0,0,0.6);
}
.bm-item.drag-over { background: rgba(255,160,50,0.07); }
.bm-item.dragging-source { opacity: 0.4; }
.about-info-label-block { display: block; margin-bottom: 6px; }
.about-link-subtle { color: var(--text-secondary); text-decoration: none; }
.modal-input-spaced { margin-top: 8px; }
/* ============================================
RESPONSIVE — Mobile & Tablet
============================================ */
/* Tablet (max 768px) */
@media (max-width: 768px) {
:root { --board-width: 220px; }
.header { padding: 0 12px; }
.header-left { gap: 12px; }
.header-right { gap: 4px; }
.btn-icon span,
.btn-icon:not(:has(svg)) {
font-size: 0;
}
.btn-icon { padding: 6px 8px; gap: 0; }
.boards-wrapper { padding: 100px 16px 24px; gap: 10px; }
.settings-panel { width: 320px; }
.theme-grid { grid-template-columns: 1fr 1fr; }
.theme-modal { max-width: 400px; }
.search-bar { max-width: 400px; }
.widget-toolbar-btn { width: 32px; height: 32px; }
.notebook-panel { width: 320px; }
.calc-btn { height: 32px; font-size: 13px; }
}
/* Smartphone (max 480px) */
@media (max-width: 480px) {
:root { --board-width: 100%; }
.header { height: 42px; padding: 0 10px; }
.logo { font-size: 14px; letter-spacing: 2px; }
.clock { font-size: 16px; }
.date { font-size: 9px; }
.btn-icon { padding: 5px 6px; }
.btn-icon svg { width: 14px; height: 14px; }
.boards-wrapper {
padding: 90px 10px 20px;
gap: 8px;
flex-direction: column;
align-items: stretch;
}
.board { width: 100%; }
.settings-panel { width: 100%; }
.theme-grid { grid-template-columns: 1fr 1fr; gap: 6px; }
.theme-modal { max-width: 100%; width: calc(100vw - 32px); }
.search-bar-wrapper { padding: 6px 10px; }
.search-bar { max-width: 100%; }
.search-input { font-size: 13px; padding: 8px 10px; }
.widget { min-width: 180px; }
.widget-toolbar { bottom: 12px; top: auto; right: 50%; transform: translateX(50%); flex-direction: row; }
.toolbar-left .widget-toolbar { left: 50%; right: auto; transform: translateX(-50%); }
.widget-toolbar-btn { width: 32px; height: 32px; }
.notebook-panel { width: 100%; right: -100%; }
.calc-btn { height: 30px; font-size: 12px; }
.toolbar-left .notebook-panel { left: -100%; }
.modal { width: calc(100vw - 32px); }
}