VERO/css/modal.css
2026-03-04 10:12:09 +01:00

148 lines
3.4 KiB
CSS

.container {
max-width: 800px;
margin: 0 auto;
background: white;
padding: 20px;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.btn {
background-color: #007bff;
color: white;
padding: 10px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
margin: 5px;
font-size: 16px;
}
.btn:hover {
background-color: #0056b3;
}
/* Modal Styles */
.modal {
display: none;
position: fixed;
z-index: 1000;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0,0,0,0.5);
}
.modal-content {
background-color: #fefefe;
margin: 5% auto;
padding: 20px;
border: none;
border-radius: 8px;
width: 80%;
max-width: 600px;
max-height: 80vh;
overflow-y: auto;
position: relative;
}
.modal-buttons {
text-align: center;
margin-top: 30px;
padding-top: 20px;
border-top: 1px solid #dee2e6;
}
.btn-correct {
background-color: #dc3545;
color: white;
padding: 12px 25px;
border: none;
border-radius: 4px;
cursor: pointer;
margin: 0 10px;
font-size: 16px;
}
.btn-correct:hover {
background-color: #c82333;
}
.btn-publish {
background-color: #28a745;
color: white;
padding: 12px 25px;
border: none;
border-radius: 4px;
cursor: pointer;
margin: 0 10px;
font-size: 16px;
}
.btn-publish:hover {
background-color: #218838;
}
.field-container {
margin-bottom: 15px;
padding: 15px;
background-color: #f8f9fa;
border-radius: 5px;
border-left: 4px solid #14416b;
}
.field-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 10px;
}
.field-id {
font-weight: bold;
color: #495057;
font-size: 14px;
}
.field-status {
padding: 2px 8px;
border-radius: 12px;
font-size: 12px;
font-weight: bold;
}
.status-selected {
background-color: #d4edda;
color: #155724;
}
.status-unselected {
background-color: #f8d7da;
color: #721c24;
}
.field-value {
background-color: white;
padding: 10px;
border-radius: 4px;
border: 1px solid #dee2e6;
margin-bottom: 8px;
font-size: 16px;
min-height: 20px;
}
.field-meta {
display: flex;
gap: 15px;
font-size: 12px;
color: #6c757d;
}
.meta-item {
background-color: #e9ecef;
padding: 2px 6px;
border-radius: 3px;
}