Stylizacja, zmiana mapy zasięgu
This commit is contained in:
@@ -31,24 +31,92 @@
|
||||
|
||||
}
|
||||
|
||||
.map-range-switch {
|
||||
background: var(--f-background);
|
||||
/* Pulsująca obwódka budynku */
|
||||
.pulse-marker {
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
border-radius: 50%;
|
||||
background: rgba(0, 170, 255, 0.55);
|
||||
position: absolute;
|
||||
transform: translate(-50%, -50%);
|
||||
animation: pulseAnim 1.3s ease-out forwards;
|
||||
}
|
||||
|
||||
.map-range-switch .fuz-switch-group {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
@keyframes pulseAnim {
|
||||
0% {
|
||||
transform: translate(-50%, -50%) scale(0.2);
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
80% {
|
||||
transform: translate(-50%, -50%) scale(1.6);
|
||||
opacity: 0.3;
|
||||
}
|
||||
|
||||
100% {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
/* Mobile: pionowo */
|
||||
@media (max-width: 640px) {
|
||||
.map-range-switch .fuz-switch-group {
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
/* Animacja markera */
|
||||
.marker-bounce {
|
||||
animation: markerBounce 0.35s ease-out forwards;
|
||||
}
|
||||
|
||||
@keyframes markerBounce {
|
||||
0% {
|
||||
transform: translateY(-18px);
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.map-range-switch .fuz-switch {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
100% {
|
||||
transform: translateY(0);
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* Info window */
|
||||
.f-info-window {
|
||||
@apply p-3;
|
||||
}
|
||||
|
||||
/* HEADER */
|
||||
.f-info-header {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.f-info-heading {
|
||||
@apply text-lg uppercase;
|
||||
|
||||
.ok {
|
||||
color: green;
|
||||
}
|
||||
|
||||
.no {
|
||||
color: #d00;
|
||||
}
|
||||
}
|
||||
|
||||
.f-info-city,
|
||||
.f-info-street {
|
||||
@apply text-xl ml-3;
|
||||
}
|
||||
|
||||
|
||||
.gm-style {
|
||||
background: var(--f--background) !important;
|
||||
}
|
||||
|
||||
.gm-style-iw-c {
|
||||
background: var(--f-background) !important;
|
||||
border-radius: 14px !important;
|
||||
box-shadow: 0 4px 18px rgba(0,0,0,0.12) !important;
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
.gm-style-iw-d {
|
||||
overflow: visible !important;
|
||||
padding: 0 !important;
|
||||
background: transparent !important;
|
||||
}
|
||||
Reference in New Issue
Block a user