Files
points-of-interest/client/src/index.css
T
2025-10-10 10:04:04 +02:00

103 lines
2.5 KiB
CSS

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
:root {
--background: 0 0% 100%;
--foreground: 222.2 84% 4.9%;
--card: 0 0% 100%;
--card-foreground: 222.2 84% 4.9%;
--popover: 0 0% 100%;
--popover-foreground: 222.2 84% 4.9%;
--primary: 200 98% 39%;
--primary-foreground: 210 40% 98%;
--secondary: 210 40% 96%;
--secondary-foreground: 222.2 47.4% 11.2%;
--muted: 210 40% 96.1%;
--muted-foreground: 215.4 16.3% 46.9%;
--accent: 200 98% 39%;
--accent-foreground: 210 40% 98%;
--destructive: 0 84.2% 60.2%;
--destructive-foreground: 210 40% 98%;
--border: 214.3 31.8% 91.4%;
--input: 214.3 31.8% 91.4%;
--ring: 200 98% 39%;
--radius: 0.9rem;
}
.dark {
color-scheme: dark;
--background: 224 47% 8%;
--foreground: 210 40% 98%;
--card: 222.2 84% 6.5%;
--card-foreground: 210 40% 96%;
--popover: 222.2 84% 6.5%;
--popover-foreground: 210 40% 96%;
--primary: 199 89% 62%;
--primary-foreground: 222.2 47.4% 11.2%;
--secondary: 217.2 32.6% 17.5%;
--secondary-foreground: 210 40% 96%;
--muted: 223 47% 10%;
--muted-foreground: 215 20.2% 65.1%;
--accent: 199 89% 62%;
--accent-foreground: 222.2 47.4% 11.2%;
--destructive: 0 84.2% 60.2%;
--destructive-foreground: 210 40% 98%;
--border: 217 33% 18%;
--input: 217 33% 18%;
--ring: 199 89% 62%;
}
*,
*::before,
*::after {
@apply border-border;
}
body {
font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
@apply min-h-screen bg-background text-foreground antialiased;
background-image: radial-gradient(circle at top, hsla(var(--primary) / 0.1), transparent 45%),
radial-gradient(circle at bottom, hsla(var(--destructive) / 0.08), transparent 55%);
}
#root {
@apply min-h-screen;
}
}
@layer components {
.leaflet-wrapper,
.leaflet-container {
height: 100%;
width: 100%;
}
.leaflet-container {
font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
z-index: 0;
}
.leaflet-pane,
.leaflet-top,
.leaflet-bottom,
.leaflet-control-container {
z-index: 20;
}
}
@layer utilities {
.status-dot::after {
content: '';
position: absolute;
inset: -0.35rem;
border-radius: 9999px;
border: 1px solid currentColor;
opacity: 0.35;
animation: status-pulse 2.4s ease-out infinite;
}
}