freealberta/map/app/public/css/modules/apartment-marker.css

42 lines
1013 B
CSS

/* Custom styles for multi-unit (apartment) markers */
.multi-unit-marker {
background: transparent !important;
border: none !important;
transition: transform 0.1s ease-in-out;
}
.apartment-marker {
width: 100%;
height: 100%;
border-radius: 0 !important; /* Square shape */
box-sizing: border-box;
cursor: pointer;
transition: transform 0.1s ease-in-out, box-shadow 0.1s ease-in-out;
}
.apartment-marker:hover {
transform: scale(1.1);
box-shadow: 0 4px 8px rgba(0,0,0,0.4) !important;
}
/* Style for when a marker is being moved */
.multi-unit-marker.moving .apartment-marker {
animation: pulse-marker 1.5s infinite;
border-radius: 0;
}
@keyframes pulse-marker {
0% {
transform: scale(1);
box-shadow: 0 0 0 0 rgba(255, 120, 0, 0.7);
}
70% {
transform: scale(1.2);
box-shadow: 0 0 0 10px rgba(255, 120, 0, 0);
}
100% {
transform: scale(1);
box-shadow: 0 0 0 0 rgba(255, 120, 0, 0);
}
}