145 lines
2.2 KiB
CSS
145 lines
2.2 KiB
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;
|
|
}
|
|
|
|
/* Add to your global CSS file */
|
|
.custom-animated-popup {
|
|
z-index: 10;
|
|
}
|
|
|
|
.marker-gempa {
|
|
width: 30px;
|
|
height: 30px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.circles {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.circle1, .circle2, .circle3 {
|
|
position: absolute;
|
|
border-radius: 50%;
|
|
border: 2px solid red;
|
|
width: 100%;
|
|
height: 100%;
|
|
opacity: 0;
|
|
animation: pulse 2s infinite;
|
|
}
|
|
|
|
.circle2 {
|
|
animation-delay: 0.5s;
|
|
}
|
|
|
|
.circle3 {
|
|
animation-delay: 1s;
|
|
}
|
|
|
|
@keyframes pulse {
|
|
0% {
|
|
transform: scale(0.5);
|
|
opacity: 0;
|
|
}
|
|
50% {
|
|
opacity: 0.8;
|
|
}
|
|
100% {
|
|
transform: scale(1.5);
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
.blink {
|
|
animation: blink 1s infinite;
|
|
color: red;
|
|
font-size: 20px;
|
|
}
|
|
|
|
@keyframes blink {
|
|
0% { opacity: 1; }
|
|
50% { opacity: 0.3; }
|
|
100% { opacity: 1; }
|
|
}
|
|
|
|
/* For the warning styles */
|
|
.overlay-bg {
|
|
background: rgba(0, 0, 0, 0.7);
|
|
z-index: 1000;
|
|
}
|
|
|
|
.text-glow {
|
|
text-shadow: 0 0 5px rgba(255, 255, 255, 0.7);
|
|
}
|
|
|
|
.warning {
|
|
z-index: 1001;
|
|
pointer-events: none;
|
|
}
|
|
|
|
/* Animation classes */
|
|
.show-pop-up {
|
|
animation: showPopUp 0.5s forwards;
|
|
}
|
|
|
|
.close-pop-up {
|
|
animation: closePopUp 0.5s forwards;
|
|
}
|
|
|
|
@keyframes showPopUp {
|
|
from { opacity: 0; transform: scale(0.8); }
|
|
to { opacity: 1; transform: scale(1); }
|
|
}
|
|
|
|
@keyframes closePopUp {
|
|
from { opacity: 1; transform: scale(1); }
|
|
to { opacity: 0; transform: scale(0.8); }
|
|
} |