statsys/www/themes/ctp-mocha.css
trafficlunar def80333da feat: page style changes
- use CSS variables for colors
- attempt to fix mobile support (tooltips are still kinda broken)
- use 1 decimal place for uptime percentages
2025-12-16 22:34:47 +00:00

40 lines
1.5 KiB
CSS

/* Catppuccin Mocha Theme */
:root {
--bg-body: #1e1e2e; /* Base */
--bg-main: #181825; /* Mantle */
--text-primary: #cdd6f4; /* Text */
--text-secondary: rgba(166, 173, 200, 0.6); /* Overlay2 @ 60% */
--border-primary: #89b4fa; /* Blue */
--border-secondary: rgba(108, 112, 134, 0.6); /* Overlay1 @ 60% */
--border-subtle: rgba(137, 180, 250, 0.2); /* Blue @ 20% */
--border-dotted: rgba(137, 180, 250, 0.4); /* Blue @ 40% */
--border-outline: rgba(137, 180, 250, 0.12); /* Blue @ 12% */
--accent-primary: #89b4fa; /* Blue */
--accent-secondary: #181825; /* Mantle */
--accent-tertiary: rgba(137, 180, 250, 0.85); /* Blue @ 85% */
--accent-muted: rgba(137, 180, 250, 0.5); /* Blue @ 50% */
--accent-faded: rgba(137, 180, 250, 0.4); /* Blue @ 40% */
--status-online: #a6e3a1; /* Green */
--status-online-border: #a6e3a1; /* Green */
--status-degraded: #f9e2af; /* Yellow */
--status-degraded-pattern: rgba(17, 17, 27, 0.35); /* Crust @ 35% */
--status-degraded-border: #f9e2af; /* Yellow */
--status-offline: #f38ba8; /* Red */
--status-offline-x: #181825; /* Mantle */
--status-offline-border: #f38ba8; /* Red */
--status-unknown: #313244; /* Surface0 */
--hover-bg: rgba(137, 180, 250, 0.12); /* Blue @ 12% */
--hover-text: #181825; /* Mantle */
--selected-bg: rgba(137, 180, 250, 0.15); /* Blue @ 15% */
--tooltip-bg: #181825; /* Mantle */
--tooltip-text: #cdd6f4; /* Text */
--tooltip-border: rgba(137, 180, 250, 0.3); /* Blue @ 30% */
--shadow-color: rgba(0, 0, 0, 0.4); /* Black @ 40% */
}