style: refine premium light mode theme overrides and layout styling

This commit is contained in:
2026-06-03 20:39:43 +02:00
parent 41cc9f8f21
commit 9a978609ae
13 changed files with 886 additions and 200 deletions
+180 -31
View File
@@ -19,31 +19,32 @@
color: inherit;
}
/* Global Semantic Theme Mapping */
--nexus-primary: var(--nexus-neon);
--nexus-primary-glow: var(--nexus-neon-glow);
--nexus-primary-hover: #00e688;
/* Standard Layout Tokens */
--radius-sm: 8px;
--radius-md: 12px;
--radius-lg: 16px;
--radius-xl: 20px;
/* Safe Area Insets with fallbacks */
--safe-area-inset-top: env(safe-area-inset-top, 0px);
--safe-area-inset-bottom: env(safe-area-inset-bottom, 0px);
--safe-area-inset-left: env(safe-area-inset-left, 0px);
--safe-area-inset-right: env(safe-area-inset-right, 0px);
/* Transitions */
--nexus-transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
/* Global Semantic Theme Mapping */
--nexus-primary: var(--nexus-neon);
--nexus-primary-glow: var(--nexus-neon-glow);
--nexus-primary-hover: #00e688;
/* Standard Layout Tokens */
--radius-sm: 8px;
--radius-md: 12px;
--radius-lg: 16px;
--radius-xl: 20px;
/* Safe Area Insets with fallbacks */
--safe-area-inset-top: env(safe-area-inset-top, 0px);
--safe-area-inset-bottom: env(safe-area-inset-bottom, 0px);
--safe-area-inset-left: env(safe-area-inset-left, 0px);
--safe-area-inset-right: env(safe-area-inset-right, 0px);
/* Transitions */
--nexus-transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
/* Global Glassmorphism with Fallback */
.glass-panel {
background: rgba(20, 20, 20, 0.85); /* Darker fallback for readability */
background: rgba(20, 20, 20, 0.85);
/* Darker fallback for readability */
border: 1px solid rgba(255, 255, 255, 0.05);
border-radius: var(--radius-xl);
padding: 1.5rem;
@@ -71,33 +72,167 @@
border: none;
text-decoration: none;
}
.btn-nexus-primary {
background: var(--nexus-neon);
color: #000000;
}
.btn-nexus-secondary {
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.1);
color: #ffffff;
}
.btn-nexus:hover {
transform: translateY(-2px);
filter: brightness(1.1);
}
.btn-nexus-primary:hover {
box-shadow: 0 4px 15px var(--nexus-primary-glow);
}
.btn-nexus-secondary:hover {
box-shadow: 0 4px 15px rgba(255, 255, 255, 0.05);
}
.theme-light {
--nexus-bg: var(--nexus-paper);
--nexus-bg: #f4f1ea;
--nexus-card: #ffffff;
--nexus-text: #121212;
--nexus-text: #2d2a26;
--nexus-selection: rgba(16, 185, 129, 0.18);
}
/* Scoped Component overrides for Light Mode (Bypassing Blazor CSS isolation) */
.theme-light .intelligence-toolbar {
background: #f5f5f4 !important;
border-right: 1px solid rgba(0, 0, 0, 0.08) !important;
box-shadow: inset -2px 0 10px rgba(0, 0, 0, 0.02) !important;
}
.theme-light .intelligence-toolbar .toolbar-item {
color: #78716c !important;
}
.theme-light .intelligence-toolbar .toolbar-item:hover {
color: #10b981 !important;
background: rgba(16, 185, 129, 0.05) !important;
box-shadow: 0 0 10px rgba(16, 185, 129, 0.1) !important;
filter: none !important;
}
.theme-light .intelligence-toolbar .toolbar-item.active {
color: #10b981 !important;
background: rgba(16, 185, 129, 0.08) !important;
box-shadow: 0 0 15px rgba(16, 185, 129, 0.15) !important;
filter: none !important;
}
.theme-light .intelligence-toolbar .toolbar-item.active::after {
background: #10b981 !important;
box-shadow: none !important;
}
.theme-light .intelligence-toolbar .toolbar-item.focus-active {
color: #10b981 !important;
filter: none !important;
}
.theme-light .intelligence-toolbar .toolbar-item.logout-item {
border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
color: #a8a29e !important;
}
.theme-light .intelligence-toolbar .toolbar-item.logout-item:hover {
color: #ef4444 !important;
filter: none !important;
}
.theme-light .knowledge-graph-container svg {
background: radial-gradient(circle, #ffffff 0%, #e8e4da 100%) !important;
}
.theme-light .graph-controls {
background: rgba(254, 254, 253, 0.4) !important;
border: 1px solid rgba(0, 0, 0, 0.08) !important;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04) !important;
}
.theme-light .zoom-btn {
background: rgba(0, 0, 0, 0.02) !important;
border: 1px solid rgba(0, 0, 0, 0.06) !important;
color: #78716c !important;
}
.theme-light .zoom-btn:hover {
background: rgba(16, 185, 129, 0.05) !important;
color: #10b981 !important;
border-color: #10b981 !important;
}
.theme-light .loading-state {
color: #292524 !important;
background: rgba(254, 254, 254, 0.85) !important;
border: 1px solid rgba(0, 0, 0, 0.05) !important;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05) !important;
}
.theme-light .neon-pulse {
color: #10b981 !important;
filter: none !important;
animation: robot-pulse-light 2s infinite ease-in-out !important;
}
.theme-light .scan-line {
background: #10b981 !important;
box-shadow: 0 0 10px rgba(16, 185, 129, 0.5) !important;
}
.theme-light .nexus-node-active {
stroke: #10b981 !important;
filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.2)) !important;
}
@keyframes robot-pulse-light {
0% { transform: scale(1); }
50% { transform: scale(1.05); }
100% { transform: scale(1); }
}
.theme-light ::-webkit-scrollbar-thumb {
background: rgba(0, 0, 0, 0.1);
}
.theme-light ::-webkit-scrollbar-thumb:hover {
background: rgba(0, 0, 0, 0.2);
}
.theme-light .glass-panel {
background: rgba(255, 255, 255, 0.85);
border: 1px solid rgba(0, 0, 0, 0.05);
}
@supports (backdrop-filter: blur(10px)) {
.theme-light .glass-panel {
background: rgba(255, 255, 255, 0.7);
backdrop-filter: blur(10px);
}
}
.theme-light .btn-nexus-secondary {
background: rgba(0, 0, 0, 0.04);
border: 1px solid rgba(0, 0, 0, 0.08);
color: #292524;
}
.theme-light .btn-nexus-secondary:hover {
background: rgba(0, 0, 0, 0.08);
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
* {
box-sizing: border-box;
@@ -111,13 +246,13 @@ body {
font-family: var(--nexus-font-sans);
margin: 0;
padding: 0;
/* Handle Notches */
padding-top: var(--safe-area-inset-top);
padding-bottom: var(--safe-area-inset-bottom);
padding-left: var(--safe-area-inset-left);
padding-right: var(--safe-area-inset-right);
min-height: 100vh;
overflow-x: hidden;
}
@@ -174,7 +309,8 @@ h1:focus {
}
/* Preloader Styles */
#app-preloader, .app-preloader {
#app-preloader,
.app-preloader {
position: fixed;
top: 0;
left: 0;
@@ -216,12 +352,25 @@ h1:focus {
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
@keyframes pulse {
0%, 100% { opacity: 1; transform: scale(1); }
50% { opacity: 0.5; transform: scale(0.95); }
}
0%,
100% {
opacity: 1;
transform: scale(1);
}
50% {
opacity: 0.5;
transform: scale(0.95);
}
}