202 lines
3.6 KiB
CSS
202 lines
3.6 KiB
CSS
/* === ESTILOS PREGUNTA 3 (5/5) - Alto Rendimiento Servidores === */
|
|
|
|
.pregunta-page {
|
|
display: flex;
|
|
justify-content: center;
|
|
padding: 2rem 1rem;
|
|
background-color: #f9fafb;
|
|
}
|
|
|
|
.pregunta-container {
|
|
width: 100%;
|
|
max-width: 1100px;
|
|
background-color: #ffffff;
|
|
border-radius: 12px;
|
|
padding: 2rem 2.5rem;
|
|
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
.pregunta-titulo {
|
|
text-align: center;
|
|
color: #2563eb;
|
|
margin-bottom: 1.5rem;
|
|
font-size: 1.6rem;
|
|
font-weight: 700;
|
|
border-bottom: 3px solid #2563eb;
|
|
display: inline-block;
|
|
padding-bottom: 0.3rem;
|
|
}
|
|
|
|
.pregunta-texto {
|
|
font-size: 1rem;
|
|
font-weight: 500;
|
|
margin-bottom: 0.5rem;
|
|
color: #1f2937;
|
|
}
|
|
|
|
.pregunta-subtexto {
|
|
font-size: 0.9rem;
|
|
color: #6b7280;
|
|
margin-bottom: 1.2rem;
|
|
}
|
|
|
|
/* === PESTAÑAS === */
|
|
.tab-container {
|
|
display: flex;
|
|
overflow-x: auto;
|
|
border-bottom: 2px solid #e5e7eb;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.tab {
|
|
padding: 0.8rem 1.2rem;
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
font-weight: 500;
|
|
border-radius: 8px 8px 0 0;
|
|
transition: all 0.2s ease;
|
|
margin-right: 0.25rem;
|
|
}
|
|
|
|
.tab.active {
|
|
color: #2563eb;
|
|
border-bottom: 3px solid #2563eb;
|
|
background-color: #f3f4f6;
|
|
box-shadow: inset 0 -2px 4px rgba(37, 99, 235, 0.1);
|
|
}
|
|
|
|
.tab.inactive {
|
|
color: #6b7280;
|
|
background-color: #ffffff;
|
|
}
|
|
|
|
.tab.inactive:hover {
|
|
color: #2563eb;
|
|
background-color: #f9fafb;
|
|
}
|
|
|
|
/* === TABLA === */
|
|
.tabla-servidores-container {
|
|
overflow-x: auto;
|
|
margin-bottom: 3rem;
|
|
position: relative;
|
|
}
|
|
|
|
.tabla-servidores {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
min-width: 950px;
|
|
font-size: 0.85rem;
|
|
border-radius: 10px;
|
|
overflow: hidden;
|
|
box-shadow: 0 2px 6px rgba(37, 99, 235, 0.08);
|
|
}
|
|
|
|
.tabla-servidores th {
|
|
padding: 0.7rem 0.5rem;
|
|
text-align: center;
|
|
color: white;
|
|
font-weight: 600;
|
|
border: 1px solid #d1d5db;
|
|
}
|
|
|
|
.tabla-servidores .header-procesador,
|
|
.tabla-servidores .header-total {
|
|
background-color: #2563eb;
|
|
}
|
|
|
|
.tabla-servidores .header-poblacion {
|
|
background-color: #1e40af;
|
|
}
|
|
|
|
.tabla-servidores .sub-header {
|
|
background-color: #3b82f6;
|
|
color: white;
|
|
}
|
|
|
|
.tabla-servidores td {
|
|
border: 1px solid #e5e7eb;
|
|
text-align: center;
|
|
vertical-align: middle;
|
|
background-color: #ffffff;
|
|
transition: background-color 0.2s;
|
|
}
|
|
|
|
.tabla-fila:hover td {
|
|
background-color: #f3f4f6;
|
|
}
|
|
|
|
.tabla-servidores .tipo-procesador {
|
|
text-align: left;
|
|
font-weight: 500;
|
|
padding: 0.6rem 0.7rem;
|
|
background-color: #eff6ff;
|
|
color: #374151;
|
|
}
|
|
|
|
.tabla-servidores input[type="text"] {
|
|
width: 100%;
|
|
padding: 0.45rem 0.3rem;
|
|
border: none;
|
|
background-color: #f9fafb;
|
|
text-align: center;
|
|
color: #374151;
|
|
border-radius: 4px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.tabla-servidores .total-celda {
|
|
background-color: #dbeafe;
|
|
font-weight: 600;
|
|
color: #1d4ed8;
|
|
}
|
|
|
|
.tabla-servidores .fila-total td {
|
|
background-color: #bfdbfe;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.tabla-servidores .fila-total .total-celda {
|
|
background-color: #93c5fd;
|
|
}
|
|
|
|
/* === BOTONES === */
|
|
.boton-consultar {
|
|
position: absolute;
|
|
bottom: -3.5rem;
|
|
right: 0;
|
|
background-color: #10b981;
|
|
color: white;
|
|
padding: 0.6rem 1.2rem;
|
|
border: none;
|
|
border-radius: 8px;
|
|
font-size: 0.9rem;
|
|
cursor: pointer;
|
|
box-shadow: 0 2px 5px rgba(16, 185, 129, 0.3);
|
|
transition: background-color 0.2s;
|
|
}
|
|
|
|
.boton-consultar:hover {
|
|
background-color: #059669;
|
|
}
|
|
|
|
.boton-contenedor {
|
|
margin-top: 5rem;
|
|
text-align: right;
|
|
}
|
|
|
|
.boton.volver {
|
|
background-color: #2563eb;
|
|
color: white;
|
|
padding: 0.7rem 1.4rem;
|
|
border-radius: 8px;
|
|
text-decoration: none;
|
|
font-weight: 500;
|
|
box-shadow: 0 2px 5px rgba(37, 99, 235, 0.3);
|
|
transition: background-color 0.2s;
|
|
}
|
|
|
|
.boton.volver:hover {
|
|
background-color: #1d4ed8;
|
|
}
|