Files
syspulse-rs/src/index.css

151 lines
3.1 KiB
CSS

@import "tailwindcss";
@theme {
--color-rosewater: #f5e0dc;
--color-flamingo: #f2cdcd;
--color-pink: #f5c2e7;
--color-mauve: #cba6f7;
--color-red: #f38ba8;
--color-maroon: #eba0ac;
--color-peach: #fab387;
--color-yellow: #f9e2af;
--color-green: #a6e3a1;
--color-teal: #94e2d5;
--color-sky: #89dceb;
--color-sapphire: #74c7ec;
--color-blue: #89b4fa;
--color-lavender: #b4befe;
--color-text: #cdd6f4;
--color-subtext1: #bac2de;
--color-subtext0: #a6adc8;
--color-overlay2: #9399b2;
--color-overlay1: #7f849c;
--color-overlay0: #6c7086;
--color-surface2: #585b70;
--color-surface1: #45475a;
--color-surface0: #313244;
--color-base: #1e1e2e;
--color-mantle: #181825;
--color-crust: #11111b;
}
:root {
/* Keep vars for direct usage in JS if needed */
--rosewater: #f5e0dc;
--flamingo: #f2cdcd;
--pink: #f5c2e7;
--mauve: #cba6f7;
--red: #f38ba8;
--maroon: #eba0ac;
--peach: #fab387;
--yellow: #f9e2af;
--green: #a6e3a1;
--teal: #94e2d5;
--sky: #89dceb;
--sapphire: #74c7ec;
--blue: #89b4fa;
--lavender: #b4befe;
--text: #cdd6f4;
--subtext1: #bac2de;
--subtext0: #a6adc8;
--overlay2: #9399b2;
--overlay1: #7f849c;
--overlay0: #6c7086;
--surface2: #585b70;
--surface1: #45475a;
--surface0: #313244;
--base: #1e1e2e;
--mantle: #181825;
--crust: #11111b;
}
body {
margin: 0;
padding: 0;
background-color: var(--base);
color: var(--text);
font-family: 'Geist', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
overflow: hidden;
-webkit-font-smoothing: antialiased;
}
.titlebar {
height: 48px;
background: var(--mantle);
user-select: none;
display: flex;
align-items: center;
justify-content: space-between;
border-bottom: 1px solid var(--surface0);
box-shadow: 0 4px 20px rgba(0,0,0,0.2);
z-index: 50;
}
.titlebar-drag {
flex: 1;
height: 100%;
display: flex;
align-items: center;
}
.card {
background: var(--surface0);
border-radius: 20px;
padding: 24px;
box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
display: flex;
flex-direction: column;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.card:hover {
transform: translateY(-2px);
box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6);
}
.card-title {
color: var(--subtext0);
font-size: 11px;
font-weight: 800;
text-transform: uppercase;
letter-spacing: 0.1em;
margin-bottom: 12px;
display: flex;
align-items: center;
gap: 8px;
}
.stat-value {
font-size: 36px;
font-weight: 900;
letter-spacing: -0.05em;
color: var(--text);
line-height: 1;
}
.custom-scrollbar::-webkit-scrollbar {
width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
background: transparent;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
background: var(--surface1);
border-radius: 10px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
background: var(--surface2);
}
@keyframes pulse-soft {
0%, 100% { opacity: 1; transform: scale(1); }
50% { opacity: 0.8; transform: scale(0.98); }
}
.animate-pulse-soft {
animation: pulse-soft 2s infinite ease-in-out;
}