You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
91 lines
1.5 KiB
91 lines
1.5 KiB
.alert-overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: rgba(0, 0, 0, 0.4);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 9999;
|
|
}
|
|
|
|
.alert-box {
|
|
background-color: #fff;
|
|
padding: 2rem;
|
|
border-radius: 12px;
|
|
width: 320px;
|
|
text-align: center;
|
|
font-family: 'Segoe UI', sans-serif;
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
|
|
position: relative;
|
|
animation: fadeIn 0.3s ease-in-out;
|
|
}
|
|
|
|
.alert-icon {
|
|
font-size: 48px;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.alert-title {
|
|
font-size: 1.4rem;
|
|
font-weight: 600;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.alert-message {
|
|
font-size: 1rem;
|
|
margin-bottom: 1.2rem;
|
|
color: #555;
|
|
}
|
|
|
|
.alert-button {
|
|
padding: 0.6rem 1.2rem;
|
|
border: none;
|
|
border-radius: 6px;
|
|
color: #fff;
|
|
font-weight: bold;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.alert-success {
|
|
background-color: #e6fff2;
|
|
color: #2e7d32;
|
|
}
|
|
|
|
.alert-success .alert-button {
|
|
background-color: #4caf50;
|
|
}
|
|
|
|
.alert-error {
|
|
background-color: #ffe6e6;
|
|
color: #c62828;
|
|
}
|
|
|
|
.alert-error .alert-button {
|
|
background-color: #f44336;
|
|
}
|
|
|
|
.alert-close {
|
|
position: absolute;
|
|
top: 12px;
|
|
right: 16px;
|
|
background: none;
|
|
border: none;
|
|
font-size: 20px;
|
|
cursor: pointer;
|
|
color: #777;
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: scale(0.95);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: scale(1);
|
|
}
|
|
}
|
|
|