Files
SupportBot-Dashboard/dashboard/src/index.css
T
Char b82f69783d Add dashboard UI source and track it in the repository.
Expose the Vite/React website source under dashboard/ (with node_modules still ignored) so the full dashboard can be built and maintained from this repo.
2026-07-26 13:09:19 +01:00

150 lines
3.5 KiB
CSS

@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
:root {
--background: 240 10% 4%;
--foreground: 0 0% 98%;
--card: 240 7% 11%;
--card-foreground: 0 0% 98%;
--popover: 240 8% 10%;
--popover-foreground: 0 0% 98%;
--primary: 141 45% 49%;
--primary-foreground: 0 0% 100%;
--secondary: 240 6% 14%;
--secondary-foreground: 0 0% 90%;
--muted: 240 6% 14%;
--muted-foreground: 240 5% 55%;
--accent: 141 29% 18%;
--accent-foreground: 141 52% 78%;
--destructive: 0 72% 55%;
--destructive-foreground: 0 0% 100%;
--border: 240 6% 18%;
--input: 240 6% 14%;
--ring: 141 45% 49%;
--radius: 0.75rem;
--chart-1: 141 45% 49%;
--chart-2: 199 89% 48%;
--chart-3: 38 92% 50%;
--chart-4: 280 65% 60%;
--chart-5: 0 72% 55%;
--sidebar-background: 240 10% 5%;
--sidebar-foreground: 240 5% 90%;
--sidebar-primary: 141 45% 49%;
--sidebar-primary-foreground: 0 0% 100%;
--sidebar-accent: 141 26% 14%;
--sidebar-accent-foreground: 141 48% 82%;
--sidebar-border: 240 6% 14%;
--sidebar-ring: 141 45% 49%;
--scrollbar-size: 6px;
--scrollbar-thumb: 240 4% 32%;
--scrollbar-thumb-hover: 240 4% 44%;
}
}
@layer base {
* {
@apply border-border;
}
body {
@apply bg-background font-sans text-foreground antialiased;
}
html {
color-scheme: dark;
}
html,
body,
* {
scrollbar-width: thin;
scrollbar-color: hsl(var(--scrollbar-thumb)) transparent;
}
*::-webkit-scrollbar {
width: var(--scrollbar-size);
height: var(--scrollbar-size);
}
*::-webkit-scrollbar-button {
display: none;
width: 0;
height: 0;
}
*::-webkit-scrollbar-track {
background: transparent;
}
*::-webkit-scrollbar-thumb {
background-color: hsl(var(--scrollbar-thumb));
border-radius: 9999px;
border: 2px solid transparent;
background-clip: content-box;
}
*::-webkit-scrollbar-thumb:hover {
background-color: hsl(var(--scrollbar-thumb-hover));
}
*::-webkit-scrollbar-thumb:active {
background-color: hsl(var(--scrollbar-thumb-hover));
}
*::-webkit-scrollbar-corner {
background: transparent;
}
}
@layer utilities {
.dashboard-glow {
background: hsl(var(--background));
}
.promo-gradient {
background: hsl(var(--card));
border: 1px solid hsl(var(--border));
}
.overview-card-glow {
box-shadow: none;
}
.color-picker-swatch.react-colorful {
width: 220px;
height: 140px;
}
.color-picker-swatch .react-colorful__saturation {
border-radius: calc(var(--radius) - 2px) calc(var(--radius) - 2px) 0 0;
}
.color-picker-swatch .react-colorful__hue {
height: 12px;
border-radius: 0 0 calc(var(--radius) - 2px) calc(var(--radius) - 2px);
margin-top: 10px;
}
.color-picker-swatch .react-colorful__pointer {
width: 16px;
height: 16px;
}
.unicode-emoji-panel-host emoji-picker.unicode-emoji-picker-el {
width: 100%;
height: min(50vh, 380px);
--background: hsl(var(--card));
--border-color: hsl(var(--border));
--button-active-background: hsl(var(--primary) / 0.25);
--button-hover-background: hsl(var(--accent));
--input-border-color: hsl(var(--border));
--input-font-color: hsl(var(--foreground));
--input-placeholder-color: hsl(var(--muted-foreground));
--outline-color: hsl(var(--ring));
--category-font-color: hsl(var(--muted-foreground));
--indicator-color: hsl(var(--primary));
}
}