2025-02-01 14:19:19 +08:00
|
|
|
@import "photoswipe/dist/photoswipe.css";
|
2025-02-15 11:21:12 +08:00
|
|
|
@import "mapbox-gl/dist/mapbox-gl.css";
|
2025-01-19 01:13:59 +08:00
|
|
|
|
|
|
|
@tailwind base;
|
|
|
|
@tailwind components;
|
|
|
|
@tailwind utilities;
|
|
|
|
|
2025-02-12 14:47:30 +08:00
|
|
|
.loading {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.loading::after {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
right: 1rem;
|
|
|
|
transform: translateY(-50%);
|
|
|
|
width: 1rem;
|
|
|
|
height: 1rem;
|
|
|
|
border: 2px solid transparent;
|
|
|
|
border-top-color: currentColor;
|
|
|
|
border-right-color: currentColor;
|
|
|
|
border-radius: 50%;
|
|
|
|
animation: spin 0.6s linear infinite;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes spin {
|
|
|
|
to {
|
|
|
|
transform: translateY(-50%) rotate(360deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes spin {
|
|
|
|
from {
|
|
|
|
transform: rotate(0deg);
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
transform: rotate(360deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.animate-spin {
|
|
|
|
animation: spin 1s linear infinite;
|
|
|
|
transform-origin: center center;
|
2025-02-15 00:19:04 +08:00
|
|
|
}
|
|
|
|
|
2025-02-15 11:21:12 +08:00
|
|
|
@layer components {
|
|
|
|
.mapboxgl-ctrl-logo,
|
|
|
|
.mapboxgl-ctrl-attrib {
|
|
|
|
@apply hidden !important; /* 隐藏版权信息 */
|
|
|
|
}
|
2025-02-15 00:19:04 +08:00
|
|
|
|
2025-02-15 11:21:12 +08:00
|
|
|
.mapboxgl-ctrl-zoom-in,
|
|
|
|
.mapboxgl-ctrl-zoom-out {
|
|
|
|
@apply bg-base-200 text-base-content hover:bg-base-300 p-2;
|
|
|
|
}
|
2025-02-15 00:19:04 +08:00
|
|
|
|
2025-02-15 11:21:12 +08:00
|
|
|
.mapboxgl-marker path {
|
|
|
|
@apply fill-current text-primary;
|
|
|
|
}
|
2025-02-12 14:47:30 +08:00
|
|
|
}
|