Files
SweetHome/app/globals.css
2026-03-07 07:34:31 +03:00

74 lines
1.4 KiB
CSS

@import "tailwindcss";
:root {
--background: #ede6e6;
--foreground: #156874;
}
@theme inline {
--color-background: var(--background);
--color-foreground: var(--foreground);
--font-sans: var(--font-geist-sans);
--font-mono: var(--font-geist-mono);
}
@media (prefers-color-scheme: dark) {
:root {
--background: #ede6e6;
--foreground: #156874;
}
}
body {
background: var(--background);
color: var(--foreground);
font-family: Arial, Helvetica, sans-serif;
}
.leaflet-container {
font-family: inherit;
width: 100%;
height: 100%;
}
.leaflet-popup-content-wrapper {
border-radius: 1rem;
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}
.leaflet-popup-content {
margin: 0;
min-width: 200px;
}
.leaflet-popup-tip {
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}
.custom-marker {
background: transparent;
border: none;
}
.custom-marker div {
transition: transform 0.2s ease;
}
.custom-marker:hover div {
transform: scale(1.1);
}
.property-tooltip {
background: white !important;
color: #1f2937 !important;
font-weight: 500 !important;
font-size: 0.875rem !important;
padding: 0.5rem 1rem !important;
border-radius: 0.75rem !important;
border: 1px solid #e5e7eb !important;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
}
.property-tooltip::before {
border-top-color: white !important;
}