113 lines
1.7 KiB
CSS
113 lines
1.7 KiB
CSS
.edit-modal-overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: rgba(0, 0, 0, 0.6);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 1000;
|
|
padding: 1em;
|
|
}
|
|
|
|
.edit-modal-content {
|
|
background: white;
|
|
border-radius: 12px;
|
|
padding: 1.5em;
|
|
max-width: 480px;
|
|
width: 100%;
|
|
max-height: 90vh;
|
|
overflow-y: auto;
|
|
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.edit-modal-title {
|
|
font-size: 1.5em;
|
|
margin: 0 0 1em 0;
|
|
text-align: center;
|
|
color: #333;
|
|
}
|
|
|
|
.edit-modal-subtitle {
|
|
font-size: 1.1em;
|
|
margin: 0.5em 0 0.8em 0;
|
|
color: #555;
|
|
}
|
|
|
|
.edit-modal-field {
|
|
margin-bottom: 1em;
|
|
}
|
|
|
|
.edit-modal-field label {
|
|
display: block;
|
|
margin-bottom: 0.3em;
|
|
font-weight: 600;
|
|
color: #333;
|
|
font-size: 0.95em;
|
|
}
|
|
|
|
.edit-modal-input,
|
|
.edit-modal-select {
|
|
width: 100%;
|
|
padding: 0.6em;
|
|
font-size: 1em;
|
|
border: 1px solid #ccc;
|
|
border-radius: 6px;
|
|
box-sizing: border-box;
|
|
transition: border-color 0.2s;
|
|
}
|
|
|
|
.edit-modal-input:focus,
|
|
.edit-modal-select:focus {
|
|
outline: none;
|
|
border-color: #007bff;
|
|
}
|
|
|
|
.edit-modal-divider {
|
|
height: 1px;
|
|
background: #e0e0e0;
|
|
margin: 1.5em 0;
|
|
}
|
|
|
|
.edit-modal-actions {
|
|
display: flex;
|
|
gap: 0.8em;
|
|
margin-top: 1.5em;
|
|
}
|
|
|
|
.edit-modal-btn {
|
|
flex: 1;
|
|
padding: 0.7em;
|
|
font-size: 1em;
|
|
border: none;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
font-weight: 600;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.edit-modal-btn:disabled {
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.edit-modal-btn-cancel {
|
|
background: #6c757d;
|
|
color: white;
|
|
}
|
|
|
|
.edit-modal-btn-cancel:hover:not(:disabled) {
|
|
background: #5a6268;
|
|
}
|
|
|
|
.edit-modal-btn-save {
|
|
background: #007bff;
|
|
color: white;
|
|
}
|
|
|
|
.edit-modal-btn-save:hover:not(:disabled) {
|
|
background: #0056b3;
|
|
}
|