More iteration

This commit is contained in:
James Pattinson
2025-11-10 15:20:11 +00:00
parent 93aeda8e83
commit f1c4ff19d6
9 changed files with 491 additions and 12 deletions

View File

@@ -207,3 +207,105 @@ body {
background-color: #f8d7da;
color: #721c24;
}
/* Modal Styles */
.modal-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.5);
display: flex;
align-items: center;
justify-content: center;
z-index: 2000;
}
.modal-content {
background: white;
padding: 24px;
border-radius: 8px;
width: 100%;
max-width: 400px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.modal-content h3 {
margin: 0 0 20px 0;
color: #333;
font-size: 18px;
font-weight: bold;
}
.modal-form-group {
margin-bottom: 16px;
}
.modal-form-group label {
display: block;
margin-bottom: 4px;
font-weight: bold;
color: #333;
font-size: 14px;
}
.modal-form-group input {
width: 100%;
padding: 8px;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 14px;
color: #333;
background-color: #fff;
}
.modal-form-group input:focus {
outline: none;
border-color: #0066cc;
}
.modal-error {
color: #dc3545;
margin-bottom: 16px;
font-size: 14px;
}
.modal-buttons {
display: flex;
gap: 8px;
justify-content: flex-end;
}
.modal-btn-cancel {
padding: 8px 16px;
border: 1px solid #ddd;
border-radius: 4px;
background: white;
cursor: pointer;
color: #333;
font-size: 14px;
}
.modal-btn-cancel:hover {
background: #f8f9fa;
}
.modal-btn-primary {
padding: 8px 16px;
border: none;
border-radius: 4px;
background: #007bff;
color: white;
cursor: pointer;
font-size: 14px;
}
.modal-btn-primary:hover:not(:disabled) {
background: #0056b3;
}
.modal-btn-primary:disabled {
background: #6c757d;
cursor: not-allowed;
}