Files
front-Censo/src/components/Equipo_Computo/pregunta1_1.module.scss
T

139 lines
2.2 KiB
SCSS
Raw Normal View History

2025-11-27 17:36:09 -06:00
.contenedor-censo {
color: #fff;
background-color: #003e79;
border-radius: 4px;
padding: 15px;
font-size: 16px;
}
2025-11-28 11:13:57 -06:00
.contenedor-pregunta {
2025-11-27 19:12:48 -06:00
display: flex;
flex-direction: column;
gap: 10px;
}
2025-11-27 17:36:09 -06:00
.pregunta-cuadro {
2025-11-28 11:13:57 -06:00
position: relative;
background-color: #fff;
border-left: 10px solid #003e79;
border-radius: 8px;
padding: 15px;
font-size: 16px;
2025-11-28 11:49:20 -06:00
text-align: start;
2025-11-27 17:36:09 -06:00
}
.tabla-contenedor {
background: white;
2025-12-05 16:52:31 -06:00
padding: 1rem;
2025-11-27 17:36:09 -06:00
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
overflow-x: auto;
min-width: 700px;
flex: 1;
}
.tabla {
width: 100%;
border-collapse: collapse;
text-align: center;
color: black;
table-layout: fixed;
2025-11-28 11:13:57 -06:00
th,
td {
2025-12-05 16:52:31 -06:00
text-align: center;
2025-11-27 17:36:09 -06:00
border: 1px solid #ddd;
2025-12-05 16:52:31 -06:00
padding: 5px;
2025-11-27 17:36:09 -06:00
}
th {
color: white;
font-weight: 600;
2025-12-05 16:52:31 -06:00
font-size: 13px;
2025-11-27 17:36:09 -06:00
}
td {
font-size: 14px;
}
}
/* Colores personalizados */
.azul-marino {
background-color: #003e79;
color: white;
}
.rosa-fuerte {
background-color: #dc1557;
color: white;
}
/* Contenedor input */
.input-contenedor {
position: relative;
display: flex;
justify-content: center;
align-items: center;
2025-12-09 17:00:41 -06:00
height: 32px;
2025-11-27 17:36:09 -06:00
input {
width: 100%;
2025-11-28 11:13:57 -06:00
padding: 6px 6px 6px 6px;
2025-11-27 17:36:09 -06:00
border: 2px solid #003e79;
border-radius: 6px;
font-size: 14px;
color: #333;
text-align: center;
outline: none;
background-color: rgb(232, 226, 226);
box-sizing: border-box;
&::-webkit-inner-spin-button,
&::-webkit-outer-spin-button {
-webkit-appearance: none;
margin: 0;
}
&:focus {
border-color: #001f3f;
box-shadow: 0 0 6px rgba(0, 47, 95, 0.3);
}
&::placeholder {
color: #bbb;
opacity: 1;
}
}
.porcentaje {
position: absolute;
right: 8px;
color: #555;
font-weight: bold;
font-size: 14px;
pointer-events: none;
top: 50%;
transform: translateY(-50%);
}
}
/* Celdas especiales */
.total-celda {
font-weight: bold;
color: #003e79;
background-color: #eef2f6;
}
.total-error {
background-color: #ffcccc;
color: #a80000;
}
/* Contenedor de tablas */
.contenedor-tablas {
display: flex;
gap: 10px;
flex-wrap: wrap;
margin-bottom: 10px;
}