Finance / frontend /css /style.css
BOLO-KESARI
updated the dashboard and portfolio page
c23a645
/*
STOCKLYZE - GLOBAL CORE STYLES (LIGHT MODE)
Visual Personality: Clean • Trustworthy • Financial Professional • Premium
*/
:root {
/* Core Colors */
--primary: #00b4a6;
--primary-dark: #008c82;
--primary-light: #00d4c3;
--primary-glow: rgba(0, 180, 166, 0.15);
/* Neutral Palette - Light Theme */
--bg-page: #f8fafc;
--bg-card: #ffffff;
--bg-glass: rgba(255, 255, 255, 0.7);
--border-glass: rgba(0, 180, 166, 0.1);
/* Text */
--text-main: #1e293b;
/* Slate 800 */
--text-dim: #64748b;
/* Slate 500 */
--text-muted: #94a3b8;
/* Slate 400 */
/* Status */
--success: #10b981;
--error: #ef4444;
--warning: #f59e0b;
/* Effects */
--shadow-main: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
--radius-lg: 20px;
--radius-md: 12px;
--transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Inter', system-ui, -apple-system, sans-serif;
background-color: var(--bg-page);
color: var(--text-main);
min-height: 100vh;
overflow-x: hidden;
line-height: 1.6;
}
/* Background Animated Blobs (Derived from dashboard.html, adjusted for Light) */
.bg-blob-container {
position: fixed;
inset: 0;
z-index: -1;
overflow: hidden;
pointer-events: none;
}
.bg-blob {
position: absolute;
width: 800px;
height: 800px;
background: radial-gradient(circle, rgba(0, 180, 166, 0.1) 0%, rgba(0, 150, 255, 0.05) 50%, transparent 70%);
border-radius: 50%;
filter: blur(100px);
animation: float 20s ease-in-out infinite;
}
.blob-1 {
top: -300px;
right: -150px;
}
.blob-2 {
bottom: -300px;
left: -150px;
animation-delay: -10s;
background: radial-gradient(circle, rgba(100, 200, 255, 0.1) 0%, rgba(0, 180, 200, 0.05) 50%, transparent 70%);
}
@keyframes float {
0%,
100% {
transform: translate(0, 0) scale(1);
}
50% {
transform: translate(100px, -100px) scale(1.1);
}
}
/* Glassmorphism Classes - Adjusted for White */
.glass-card {
background: var(--bg-glass);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border: 1px solid var(--border-glass);
border-radius: var(--radius-lg);
box-shadow: var(--shadow-main);
transition: var(--transition);
}
.glass-card:hover {
border-color: rgba(0, 180, 166, 0.3);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
transform: translateY(-2px);
}
/* Navbar Styles (Light Theme) */
.main-nav {
position: sticky;
top: 0;
z-index: 100;
padding: 1.2rem 2rem;
background: rgba(255, 255, 255, 0.8);
backdrop-filter: blur(10px);
border-bottom: 1px solid var(--border-glass);
display: flex;
justify-content: space-between;
align-items: center;
}
.brand {
display: flex;
align-items: center;
gap: 12px;
text-decoration: none;
}
.brand-name {
font-size: 22px;
font-weight: 800;
letter-spacing: -0.5px;
color: #1e293b;
}
.nav-links {
display: flex;
gap: 12px;
align-items: center;
}
.nav-btn {
padding: 10px 20px;
border-radius: var(--radius-md);
text-decoration: none;
font-weight: 600;
font-size: 14px;
transition: var(--transition);
display: flex;
align-items: center;
gap: 8px;
}
.nav-btn-outline {
color: var(--text-dim);
border: 1px solid var(--border-glass);
background: white;
}
.nav-btn-outline:hover {
background: var(--primary-glow);
color: var(--primary-dark);
}
.nav-btn-primary {
background: var(--primary);
color: #fff;
box-shadow: 0 4px 12px var(--primary-glow);
}
.nav-btn-primary:hover {
background: var(--primary-light);
transform: translateY(-1px);
}
.logout-btn {
padding: 10px;
color: var(--text-dim);
cursor: pointer;
border-radius: 10px;
background: white;
border: 1px solid var(--border-glass);
display: flex;
align-items: center;
justify-content: center;
}
.logout-btn:hover {
color: var(--error);
background: rgba(239, 68, 68, 0.05);
}
/* Scrollbar */
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: var(--bg-page);
}
::-webkit-scrollbar-thumb {
background: #cbd5e1;
border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
background: #94a3b8;
}