rater/assets/styles/app.css

56 lines
1.4 KiB
CSS

@import "tailwindcss";
@plugin "../daisyui.mjs" {
themes: aqua --default;
}
html, body { height: 100%; margin: 0; }
.map-container { height: calc(100vh - 4rem); width: 100%; }
/* Leaflet popup chrome — match aqua theme */
.leaflet-popup-content-wrapper {
background: oklch(37% 0.146 265.522) !important;
color: oklch(90% 0.058 230.902) !important;
border-radius: 0.75rem !important;
box-shadow: 0 4px 24px oklch(0% 0 0 / 0.4) !important;
padding: 0 !important;
border: none !important;
}
.leaflet-popup-content {
margin: 0 !important;
width: auto !important;
}
.leaflet-popup-tip {
background: oklch(37% 0.146 265.522) !important;
}
.leaflet-popup-close-button {
color: oklch(90% 0.058 230.902) !important;
top: 0.5rem !important;
right: 0.5rem !important;
font-size: 1.1rem !important;
}
.leaflet-popup-close-button:hover {
color: oklch(85.661% 0.144 198.645) !important;
background: transparent !important;
}
/* Add-place popup layout */
.add-place-popup {
padding: 0.25rem 1rem 1rem;
width: 300px;
}
.add-place-heading {
font-size: 1rem;
font-weight: 700;
margin-bottom: 0.75rem;
color: oklch(85.661% 0.144 198.645);
}
.add-place-popup .fieldset-legend {
padding-left: 2px !important;
}
.add-place-actions {
display: flex;
justify-content: flex-end;
gap: 0.5rem;
margin-top: 1rem;
}