194 lines
3.7 KiB
CSS
194 lines
3.7 KiB
CSS
.custom-modal-overlay {
|
|
display: none;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
z-index: 1100;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
.custom-modal-content {
|
|
background-color: white;
|
|
width: 90%;
|
|
max-width: 1400px;
|
|
border-radius: 8px;
|
|
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
|
|
overflow: hidden;
|
|
animation: modalFadeIn 0.3s ease-out;
|
|
}
|
|
@keyframes modalFadeIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(-20px);
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
.custom-modal-header {
|
|
padding: 15px 20px;
|
|
background-color: #f8f9fa;
|
|
border-bottom: 1px solid #dee2e6;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
.custom-modal-header h2 {
|
|
margin: 0;
|
|
font-size: 1.25rem;
|
|
color: #333;
|
|
}
|
|
.custom-modal-close {
|
|
position: absolute !important;
|
|
top: 5px;
|
|
right: 15px !important;
|
|
font-size: 1.75rem;
|
|
font-weight: bold !important;
|
|
color: #aaa;
|
|
cursor: pointer !important;
|
|
line-height: 1;
|
|
z-index: 10000 !important;
|
|
}
|
|
|
|
.custom-modal-close:hover {
|
|
color: #555;
|
|
}
|
|
|
|
.custom-modal-body {
|
|
background-color: white;
|
|
padding: 10px 10px 10px 10px !important;
|
|
}
|
|
.custom-modal-footer {
|
|
padding: 15px 20px;
|
|
background-color: #f8f9fa;
|
|
border-top: 1px solid #dee2e6;
|
|
text-align: right;
|
|
}
|
|
.custom-btn {
|
|
padding: 8px 16px;
|
|
border: none;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-weight: 500;
|
|
}
|
|
.custom-btn-primary {
|
|
background-color: orange;
|
|
color: white;
|
|
}
|
|
.custom-btn-primary:hover {
|
|
background-color: #45a049;
|
|
}
|
|
.alert {
|
|
position: relative;
|
|
padding: 12px 20px;
|
|
margin-bottom: 16px;
|
|
border: 1px solid transparent;
|
|
border-radius: 4px;
|
|
}
|
|
.alert-warning {
|
|
color: #856404;
|
|
background-color: #fff3cd;
|
|
border-color: #ffeeba;
|
|
}
|
|
|
|
.text-center {
|
|
text-align: center;
|
|
}
|
|
|
|
.btn {
|
|
display: inline-block;
|
|
font-weight: 400;
|
|
text-align: center;
|
|
white-space: nowrap;
|
|
vertical-align: middle;
|
|
user-select: none;
|
|
border: 1px solid transparent;
|
|
padding: 6px 12px;
|
|
font-size: 1rem;
|
|
line-height: 1.5;
|
|
border-radius: 4px;
|
|
text-decoration: none;
|
|
}
|
|
.btn-lg {
|
|
padding: 8px 16px;
|
|
font-size: 1.25rem;
|
|
line-height: 1.5;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.btn-outline-primary {
|
|
color: #007bff;
|
|
background-color: transparent;
|
|
background-image: none;
|
|
border-color: #007bff;
|
|
}
|
|
.btn-outline-primary:hover {
|
|
color: #fff;
|
|
background-color: #007bff;
|
|
border-color: #007bff;
|
|
}
|
|
.badge {
|
|
display: inline-block;
|
|
padding: 0.25em 0.4em;
|
|
font-size: 75%;
|
|
font-weight: 700;
|
|
line-height: 1;
|
|
text-align: center;
|
|
white-space: nowrap;
|
|
vertical-align: baseline;
|
|
border-radius: 0.25rem;
|
|
}
|
|
.bg-danger {
|
|
background-color: #dc3545 !important;
|
|
color: white;
|
|
}
|
|
@keyframes modalBounce {
|
|
0% {
|
|
transform: scale(1);
|
|
}
|
|
|
|
25% {
|
|
transform: scale(1.02);
|
|
}
|
|
|
|
50% {
|
|
transform: scale(0.98);
|
|
}
|
|
|
|
75% {
|
|
transform: scale(1.01);
|
|
}
|
|
|
|
100% {
|
|
transform: scale(1);
|
|
}
|
|
}
|
|
.custom-modal-content.bounce {
|
|
animation: modalBounce 0.3s ease;
|
|
}
|
|
/* Floating alert button in bottom right */
|
|
.floating-alert {
|
|
position: fixed;
|
|
bottom: 20px;
|
|
right: 20px;
|
|
background-color: orange;
|
|
color: white;
|
|
padding: 10px 16px;
|
|
border-radius: 50px;
|
|
font-weight: bold;
|
|
font-size: 1rem;
|
|
box-shadow: 0 4px 8px rgba(0,0,0,0.2);
|
|
cursor: pointer;
|
|
z-index: 1101;
|
|
transition: all 0.3s ease;
|
|
}
|
|
.floating-alert:hover {
|
|
background-color: #e69500;
|
|
transform: scale(1.05);
|
|
}
|