tremor-tracker/src/app/globals.css

44 lines
851 B
CSS
Raw Normal View History

2025-02-24 12:37:15 +00:00
@tailwind base;
@tailwind components;
@tailwind utilities;
:root {
2025-05-04 16:04:44 +01:00
--background: #ffffff;
--foreground: #171717;
2025-02-24 12:37:15 +00:00
}
2025-03-19 19:20:18 +00:00
/* @media (prefers-color-scheme: dark) {
2025-02-24 12:37:15 +00:00
:root {
--background: #0a0a0a;
--foreground: #ededed;
}
2025-03-19 19:20:18 +00:00
} */
2025-02-24 12:37:15 +00:00
body {
2025-05-04 16:04:44 +01:00
color: var(--foreground);
background: var(--background);
2025-02-24 12:37:15 +00:00
}
2025-03-23 15:24:10 +00:00
/* Increase specificity and use !important where necessary */
.mapboxgl-popup .mapboxgl-popup-content {
2025-05-04 16:04:44 +01:00
@apply rounded-xl p-4 px-5 drop-shadow-lg border border-neutral-300 max-w-xs !important;
2025-03-23 15:24:10 +00:00
}
/* Hide the popup tip */
.mapboxgl-popup .mapboxgl-popup-tip {
2025-05-04 16:04:44 +01:00
display: none !important;
2025-03-23 15:24:10 +00:00
}
/* Child elements */
.mapboxgl-popup-content h3 {
2025-05-04 16:04:44 +01:00
@apply text-sm font-medium text-neutral-800 !important;
2025-03-23 15:24:10 +00:00
}
.mapboxgl-popup-content p {
2025-05-04 16:04:44 +01:00
@apply text-xs text-neutral-600 !important;
2025-03-23 15:24:10 +00:00
}
.mapboxgl-popup-content p + p {
2025-05-04 16:04:44 +01:00
@apply text-neutral-500 !important;
2025-03-23 15:24:10 +00:00
}