222 lines
5.4 KiB
CSS
222 lines
5.4 KiB
CSS
@import "tailwindcss";
|
|
@import "tw-animate-css";
|
|
@import "shadcn/tailwind.css";
|
|
|
|
@custom-variant dark (&:is(.dark *));
|
|
|
|
@theme inline {
|
|
--color-background: var(--background);
|
|
--color-foreground: var(--foreground);
|
|
--font-sans: var(--font-geist-sans);
|
|
--font-mono: var(--font-geist-mono);
|
|
--color-sidebar-ring: var(--sidebar-ring);
|
|
--color-sidebar-border: var(--sidebar-border);
|
|
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
--color-sidebar-accent: var(--sidebar-accent);
|
|
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
--color-sidebar-primary: var(--sidebar-primary);
|
|
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
--color-sidebar: var(--sidebar);
|
|
--color-chart-5: var(--chart-5);
|
|
--color-chart-4: var(--chart-4);
|
|
--color-chart-3: var(--chart-3);
|
|
--color-chart-2: var(--chart-2);
|
|
--color-chart-1: var(--chart-1);
|
|
--color-ring: var(--ring);
|
|
--color-input: var(--input);
|
|
--color-border: var(--border);
|
|
--color-destructive: var(--destructive);
|
|
--color-accent-foreground: var(--accent-foreground);
|
|
--color-accent: var(--accent);
|
|
--color-muted-foreground: var(--muted-foreground);
|
|
--color-muted: var(--muted);
|
|
--color-secondary-foreground: var(--secondary-foreground);
|
|
--color-secondary: var(--secondary);
|
|
--color-primary-foreground: var(--primary-foreground);
|
|
--color-primary: var(--primary);
|
|
--color-popover-foreground: var(--popover-foreground);
|
|
--color-popover: var(--popover);
|
|
--color-card-foreground: var(--card-foreground);
|
|
--color-card: var(--card);
|
|
--radius-sm: calc(var(--radius) - 4px);
|
|
--radius-md: calc(var(--radius) - 2px);
|
|
--radius-lg: var(--radius);
|
|
--radius-xl: calc(var(--radius) + 4px);
|
|
|
|
/* Brand Theme Parameters */
|
|
--color-brand-primary: var(--brand-primary);
|
|
--color-brand-primary-hover: var(--brand-primary-hover);
|
|
--color-brand-secondary: var(--brand-secondary);
|
|
--color-brand-bg: var(--brand-bg);
|
|
--color-brand-surface: var(--brand-surface);
|
|
--color-brand-surface-light: var(--brand-surface-light);
|
|
--color-brand-accent: var(--brand-accent);
|
|
--color-brand-live: var(--brand-live);
|
|
}
|
|
|
|
:root {
|
|
--radius: 0rem;
|
|
|
|
/* Brand Colors (White and Green theme) - dark grey, not near-black */
|
|
--brand-primary: #22c55e;
|
|
--brand-primary-hover: #16a34a;
|
|
--brand-secondary: #22c55e;
|
|
--brand-bg: #252525;
|
|
--brand-surface: #2d2d2d;
|
|
--brand-surface-light: #353535;
|
|
--brand-accent: #15803d;
|
|
--brand-live: #22c55e;
|
|
|
|
/* Shadcn default mappings */
|
|
--background: var(--brand-bg);
|
|
--foreground: #ffffff;
|
|
--card: #2a2a2a;
|
|
--card-foreground: #ffffff;
|
|
--popover: #2a2a2a;
|
|
--popover-foreground: #ffffff;
|
|
--primary: var(--brand-primary);
|
|
--primary-foreground: #ffffff;
|
|
--secondary: #2d2d2d;
|
|
--secondary-foreground: #a0a0a0;
|
|
--muted: #252525;
|
|
--muted-foreground: #808080;
|
|
--accent: var(--brand-primary);
|
|
--accent-foreground: #121212;
|
|
--destructive: #ef4444;
|
|
--border: #353535;
|
|
--input: #2d2d2d;
|
|
--ring: var(--brand-primary);
|
|
}
|
|
|
|
.dark {
|
|
--background: oklch(0.17 0.01 250);
|
|
--foreground: oklch(0.93 0.005 250);
|
|
--card: oklch(0.17 0.01 250);
|
|
--card-foreground: oklch(0.93 0.005 250);
|
|
--popover: oklch(0.17 0.01 250);
|
|
--popover-foreground: oklch(0.93 0.005 250);
|
|
--primary: oklch(0.55 0.18 145);
|
|
--primary-foreground: oklch(0.98 0 0);
|
|
--secondary: oklch(0.22 0.01 250);
|
|
--secondary-foreground: oklch(0.85 0.005 250);
|
|
--muted: oklch(0.2 0.008 250);
|
|
--muted-foreground: oklch(0.58 0.01 250);
|
|
--accent: oklch(0.55 0.18 145);
|
|
--accent-foreground: oklch(0.98 0 0);
|
|
--destructive: oklch(0.704 0.191 22.216);
|
|
--border: oklch(0.25 0.01 250);
|
|
--input: oklch(0.22 0.01 250);
|
|
--ring: oklch(0.55 0.18 145);
|
|
--sidebar: oklch(0.15 0.01 250);
|
|
--sidebar-foreground: oklch(0.9 0.005 250);
|
|
--sidebar-primary: oklch(0.55 0.18 145);
|
|
--sidebar-primary-foreground: oklch(0.98 0 0);
|
|
--sidebar-accent: oklch(0.22 0.01 250);
|
|
--sidebar-accent-foreground: oklch(0.93 0.005 250);
|
|
--sidebar-border: oklch(0.25 0.01 250);
|
|
--sidebar-ring: oklch(0.55 0.18 145);
|
|
}
|
|
|
|
@layer base {
|
|
* {
|
|
@apply border-border outline-ring/50;
|
|
}
|
|
|
|
body {
|
|
@apply bg-background text-foreground;
|
|
font-size: 13px;
|
|
}
|
|
}
|
|
|
|
/* Fortune odds button animation */
|
|
@keyframes odds-flash {
|
|
0% {
|
|
background-color: oklch(0.55 0.18 145);
|
|
}
|
|
|
|
50% {
|
|
background-color: oklch(0.7 0.22 80);
|
|
}
|
|
|
|
100% {
|
|
background-color: oklch(0.55 0.18 145);
|
|
}
|
|
}
|
|
|
|
.odds-selected {
|
|
animation: odds-flash 0.4s ease;
|
|
}
|
|
|
|
/* Live pulse */
|
|
@keyframes live-pulse {
|
|
|
|
0%,
|
|
100% {
|
|
opacity: 1;
|
|
}
|
|
|
|
50% {
|
|
opacity: 0.4;
|
|
}
|
|
}
|
|
|
|
.live-dot {
|
|
animation: live-pulse 1.2s ease-in-out infinite;
|
|
}
|
|
|
|
/* Auth modal fade-in */
|
|
@keyframes fade-in {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(-10px) scale(0.98);
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0) scale(1);
|
|
}
|
|
}
|
|
|
|
.animate-fade-in {
|
|
animation: fade-in 0.18s ease-out both;
|
|
}
|
|
|
|
/* Mobile drawer slide-in from left */
|
|
@keyframes slide-in-left {
|
|
from {
|
|
transform: translateX(-100%);
|
|
}
|
|
|
|
to {
|
|
transform: translateX(0);
|
|
}
|
|
}
|
|
|
|
.animate-slide-in-left {
|
|
animation: slide-in-left 0.22s ease-out both;
|
|
}
|
|
|
|
/* Hide scrollbar for mobile nav */
|
|
.scrollbar-none {
|
|
-ms-overflow-style: none;
|
|
scrollbar-width: none;
|
|
}
|
|
|
|
.scrollbar-none::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
/* Scrollbar */
|
|
::-webkit-scrollbar {
|
|
width: 4px;
|
|
height: 4px;
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
background: var(--background);
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background: var(--border);
|
|
border-radius: 2px;
|
|
} |