CSS · 788 bytes Raw Blame History
1 @tailwind base;
2 @tailwind components;
3 @tailwind utilities;
4
5 /* Fix for Leaflet icons in Next.js */
6 .leaflet-default-icon-path {
7 background-image: url(https://unpkg.com/leaflet@1.7.1/dist/images/marker-icon.png);
8 }
9
10 /* Custom styles */
11 html, body, #__next {
12 height: 100%;
13 margin: 0;
14 padding: 0;
15 }
16
17 /* Fix for Leaflet container */
18 .leaflet-container {
19 height: 100%;
20 width: 100%;
21 position: relative;
22 z-index: 0;
23 }
24
25 /* Ensure popups appear above other elements */
26 .leaflet-popup {
27 z-index: 1000;
28 }
29
30 /* Fix marker icons */
31 .leaflet-marker-icon {
32 background: transparent;
33 border: none;
34 }
35
36 /* Panel animations */
37 @keyframes slideUp {
38 from {
39 transform: translateY(100%);
40 }
41 to {
42 transform: translateY(0);
43 }
44 }
45
46 .slide-up {
47 animation: slideUp 0.3s ease-out;
48 }