316 lines
5.1 KiB
SCSS
316 lines
5.1 KiB
SCSS
.history-table-container {
|
|
display: flex;
|
|
justify-content: center;
|
|
width: 100%;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.history-table {
|
|
width: min(95%, 1000px);
|
|
border-collapse: separate;
|
|
border-spacing: 0 10px;
|
|
font-size: 15px;
|
|
color: #e5e5e5;
|
|
}
|
|
|
|
.history-table td {
|
|
color: black;
|
|
}
|
|
|
|
.history-table thead {
|
|
background: linear-gradient(90deg, #015cb8, #003e79);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.history-table thead tr th:first-child {
|
|
border-top-left-radius: 4px;
|
|
}
|
|
.history-table thead tr th:last-child {
|
|
border-top-right-radius: 4px;
|
|
}
|
|
|
|
.history-table th {
|
|
padding: 14px;
|
|
text-align: center;
|
|
font-weight: 600;
|
|
letter-spacing: 0.5px;
|
|
text-shadow: 0 0 5px #00000060;
|
|
}
|
|
|
|
.history-table tbody tr {
|
|
background: rgba(255, 255, 255, 0.06);
|
|
transition: all 0.3s ease;
|
|
box-shadow: 0 2px 8px #00000045;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.history-table tbody tr td:first-child {
|
|
border-top-left-radius: 4px;
|
|
border-bottom-left-radius: 4px;
|
|
}
|
|
|
|
.history-table tbody tr td:last-child {
|
|
border-top-right-radius: 4px;
|
|
border-bottom-right-radius: 4px;
|
|
}
|
|
|
|
.history-table td {
|
|
padding: 12px;
|
|
text-align: center;
|
|
font-weight: 400;
|
|
}
|
|
|
|
/* Hover mejorado */
|
|
.history-table tbody tr:hover {
|
|
background: rgba(1, 92, 184, 0.45);
|
|
transform: scale(1.01);
|
|
box-shadow: 0 4px 12px #00000070;
|
|
}
|
|
|
|
/* Fila vacía */
|
|
.empty-row {
|
|
text-align: center;
|
|
color: black;
|
|
font-style: italic;
|
|
background: #fff;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.total {
|
|
background-color: #fff;
|
|
justify-content: space-evenly;
|
|
}
|
|
|
|
.rowTotal {
|
|
box-shadow: 0 2px 8px #00000045;
|
|
}
|
|
|
|
.primer-lugar {
|
|
background-color: #bd8c01 !important; // Oro
|
|
font-weight: bold;
|
|
}
|
|
|
|
.segundo-lugar {
|
|
background-color: #cfcfcf !important; // Plata
|
|
font-weight: bold;
|
|
}
|
|
|
|
.tercer-lugar {
|
|
background-color: #ddb288 !important; // Bronce
|
|
font-weight: bold;
|
|
}
|
|
|
|
.modal-overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
background: rgba(0, 0, 0, 0.5);
|
|
backdrop-filter: blur(2px);
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
z-index: 3000;
|
|
}
|
|
|
|
/* Caja del modal */
|
|
.modal-content {
|
|
background: #ffffff;
|
|
width: 420px;
|
|
max-height: 80vh;
|
|
padding: 25px 28px;
|
|
border-radius: 14px;
|
|
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
|
|
display: flex;
|
|
flex-direction: column;
|
|
animation: fadeIn 0.25s ease-out;
|
|
}
|
|
|
|
.fade-in {
|
|
animation: fadeIn 0.25s ease-out;
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: scale(0.96);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: scale(1);
|
|
}
|
|
}
|
|
|
|
.modal-content h2 {
|
|
margin-bottom: 18px;
|
|
font-size: 20px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* Contenido desplazable */
|
|
.modal-body {
|
|
overflow-y: auto;
|
|
max-height: 50vh;
|
|
padding-right: 6px;
|
|
}
|
|
|
|
/* Campos */
|
|
.modal-field {
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.modal-field label {
|
|
font-weight: 600;
|
|
font-size: 14px;
|
|
display: block;
|
|
margin-bottom: 5px;
|
|
color: #333;
|
|
}
|
|
|
|
/* Texto largo con auto-wrap */
|
|
.long-text {
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
font-size: 14px;
|
|
line-height: 1.4;
|
|
color: #444;
|
|
}
|
|
|
|
/* Botones */
|
|
.modal-buttons {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
margin-top: 18px;
|
|
gap: 10px;
|
|
}
|
|
|
|
.btn {
|
|
padding: 10px 18px;
|
|
border-radius: 8px;
|
|
font-size: 14px;
|
|
cursor: pointer;
|
|
font-weight: 500;
|
|
transition: 0.2s ease;
|
|
border: none;
|
|
}
|
|
|
|
.btn.cancel {
|
|
background: #e4e4e4;
|
|
color: #333;
|
|
}
|
|
|
|
.btn.cancel:hover {
|
|
background: #d4d4d4;
|
|
}
|
|
|
|
.btn.search {
|
|
background: #0070f3;
|
|
color: white;
|
|
}
|
|
|
|
.btn.search:hover {
|
|
background: #005fcc;
|
|
}
|
|
|
|
/* Encabezado bonito */
|
|
.headerSelected {
|
|
display: flex;
|
|
gap: 12px;
|
|
margin-bottom: 18px;
|
|
}
|
|
|
|
.headerCard {
|
|
flex: 1;
|
|
background: #f5f6fa;
|
|
padding: 12px 14px;
|
|
border-radius: 10px;
|
|
text-align: center;
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
|
|
}
|
|
|
|
.headerCard .label {
|
|
display: block;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
color: #666;
|
|
text-transform: uppercase;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.headerCard .value {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: #222;
|
|
}
|
|
|
|
/* Sección de texto largo */
|
|
.sectionCard {
|
|
background: #f8f8f8;
|
|
padding: 14px 16px;
|
|
border-radius: 10px;
|
|
margin-bottom: 15px;
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.07);
|
|
}
|
|
|
|
.sectionLabel {
|
|
display: block;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
color: #444;
|
|
margin-bottom: 6px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.3px;
|
|
}
|
|
|
|
.sectionText {
|
|
font-size: 13px;
|
|
line-height: 1.4;
|
|
color: #333;
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.year-selector {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 10px;
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
.year-selector div {
|
|
width: min(95%, 1000px);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: end;
|
|
}
|
|
|
|
.year-selector label {
|
|
text-align: end;
|
|
font-weight: 600;
|
|
color: #333;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.year-selector select {
|
|
width: 55px;
|
|
padding: 6px 10px;
|
|
font-size: 14px;
|
|
border-radius: 6px;
|
|
border: 1px solid #ccc;
|
|
background-color: #fff;
|
|
cursor: pointer;
|
|
transition: border-color 0.2s ease, box-shadow 0.2s ease;
|
|
}
|
|
|
|
.year-selector select:hover {
|
|
border-color: #999;
|
|
}
|
|
|
|
.year-selector select:focus {
|
|
outline: none;
|
|
border-color: #4a90e2;
|
|
box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
|
|
}
|