Files
front-Censo/src/app/styles/layout/agregarEquipo.scss
T
2025-10-27 16:24:53 -06:00

162 lines
2.8 KiB
SCSS

.agregarEquipoContainer {
padding: 0;
margin: 0;
width: 100%;
max-width: 100%;
display: flex;
align-items: center;
justify-content: center;
.innerContainer {
max-width: 1000px;
width: 1000px;
margin: 0 auto;
padding: 20px;
}
h2 {
margin-top: 1rem;
text-align: center;
color: #0056b3;
margin-bottom: 20px;
font-size: 1.8rem;
}
}
.equipoForm {
display: flex;
gap: 30px;
.column {
flex: 1;
display: flex;
flex-direction: column;
gap: 15px;
.formGroup {
display: flex;
flex-direction: column;
min-width: 0;
textarea.textAreaLarge {
height: auto;
min-height: 80px;
max-height: 150px;
resize: none;
padding: 12px;
font-family: inherit;
}
select {
appearance: none;
-webkit-appearance: none;
-moz-appearance: none;
background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
background-repeat: no-repeat;
background-position: right 10px center;
background-size: 12px;
padding-right: 30px;
}
}
}
}
input,
select,
textarea {
width: 100%;
padding: 10px;
border: 1px solid #ccc; /* Borde azul como en la imagen */
border-radius: 6px;
font-size: 15px;
transition: border-color 0.2s ease;
height: 40px;
&:focus {
outline: none;
border-color: #007bff;
box-shadow: 0 0 0 2px rgba(0, 86, 179, 0.2);
}
}
.formActions {
display: flex;
justify-content: space-evenly;
align-items: end;
gap: 30px;
width: 100%;
height: 100%;
.btnGuardar {
background-color: #ffb700;
color: #000;
border: none;
padding: 10px 20px;
border-radius: 6px;
font-weight: bold;
cursor: pointer;
font-size: 16px;
&:hover {
background-color: #ffcc33;
}
}
.btnCancelar {
background-color: #0056b3;
color: white;
border: none;
padding: 10px 20px;
border-radius: 6px;
font-weight: bold;
cursor: pointer;
font-size: 16px;
&:hover {
background-color: #004494;
}
}
}
/* Responsive: en móvil, una columna */
@media (max-width: 768px) {
.agregarEquipoContainer .innerContainer {
padding: 15px;
max-width: 90vw;
}
.equipoForm {
flex-direction: column;
gap: 20px;
.column {
flex: 1 1 100%;
min-width: auto;
.formGroup {
input,
select {
width: 100%;
font-size: 16px;
}
}
}
}
.formActions {
flex-direction: column;
align-items: stretch;
button {
width: 100%;
font-size: 18px;
padding: 12px;
}
}
}
.information {
display: flex;
justify-content: space-between;
border-bottom: 1px solid #003e79;
}