219 lines
3.6 KiB
SCSS
219 lines
3.6 KiB
SCSS
.agregarEquipoContainer {
|
|
padding: 0;
|
|
margin: 0;
|
|
width: 100%;
|
|
max-width: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
.innerContainer {
|
|
position: relative;
|
|
max-width: 1000px;
|
|
width: 100%;
|
|
padding: 1rem 2rem;
|
|
}
|
|
|
|
h2 {
|
|
text-align: center;
|
|
color: #0056b3;
|
|
margin-bottom: 10px;
|
|
font-size: 1.8rem;
|
|
}
|
|
}
|
|
|
|
.equipoForm {
|
|
display: flex;
|
|
gap: 1.5rem;
|
|
|
|
.column {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 15px;
|
|
|
|
.formGroup {
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
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: 10px;
|
|
width: 100%;
|
|
height: 100%;
|
|
.btnGuardar {
|
|
background-color: #ffb700;
|
|
color: #ffffff;
|
|
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;
|
|
}
|
|
}
|
|
}
|
|
|
|
.formGroup {
|
|
position: relative;
|
|
}
|
|
|
|
.suggestions {
|
|
position: absolute; // mantiene fuera del flujo
|
|
top: 100%; // justo debajo del input
|
|
left: 0;
|
|
width: 100%;
|
|
background: #fff;
|
|
border: 1px solid #ccc;
|
|
border-radius: 6px;
|
|
list-style: none;
|
|
margin: 4px 0 0 0;
|
|
padding: 0;
|
|
max-height: 200px;
|
|
overflow-y: auto;
|
|
z-index: 10;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.suggestions li {
|
|
padding: 8px;
|
|
cursor: pointer;
|
|
|
|
&:hover {
|
|
background: #f2f2f2;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 1075px) {
|
|
.equipoForm {
|
|
flex-wrap: wrap;
|
|
max-width: 100%;
|
|
|
|
.column {
|
|
flex: 1 1 calc(50% - 15px);
|
|
min-width: 250px;
|
|
|
|
.formGroup {
|
|
input,
|
|
select {
|
|
width: 100%;
|
|
font-size: 16px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/* Responsive: en móvil, una columna */
|
|
@media (max-width: 600px) {
|
|
.agregarEquipoContainer {
|
|
h2 {
|
|
font-size: 1.2rem;
|
|
|
|
span {
|
|
width: 30%;
|
|
}
|
|
}
|
|
|
|
.innerContainer {
|
|
padding: 15px;
|
|
}
|
|
}
|
|
|
|
.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;
|
|
}
|