MIF_E31221222/sigap-website/app/_styles/ews.css

51 lines
891 B
CSS

/* EWS Alert Marker */
.ews-alert-marker {
position: relative;
display: flex;
justify-content: center;
align-items: center;
z-index: 2;
}
.pulsing-dot {
width: 20px;
height: 20px;
border-radius: 50%;
background: rgb(220, 38, 38);
box-shadow: 0 0 0 rgba(220, 38, 38, 0.4);
transform-origin: center center;
position: absolute;
z-index: 3;
}
.ews-alert-content {
position: absolute;
min-width: 200px;
z-index: 1;
top: -8px;
left: 15px;
}
/* Animation for alert transitions */
@keyframes alert-pulse {
0% {
transform: scale(0.95);
box-shadow: 0 0 0 0 rgba(255, 82, 82, 0.7);
}
70% {
transform: scale(1);
box-shadow: 0 0 0 10px rgba(255, 82, 82, 0);
}
100% {
transform: scale(0.95);
box-shadow: 0 0 0 0 rgba(255, 82, 82, 0);
}
}
/* EWS Status Indicator */
#ews-status-indicator {
transition: all 0.3s ease-in-out;
}