This commit is contained in:
Alejandra-Guzman-Mendez
2025-10-27 13:09:31 -06:00
27 changed files with 1157 additions and 211 deletions
+10
View File
@@ -0,0 +1,10 @@
// Colores
$color-primary: #003e79;
$color-secondary: #fab403;
$color-background: #f5f5f7;
$color-text: #000000;
// Tipografía
$font-primary: "Inter", sans-serif;
$font-titles: "Montserrat", sans-serif;
+76
View File
@@ -0,0 +1,76 @@
@import "variables";
html {
font-size: 62.5%;
box-sizing: border-box;
scroll-padding-top: 0rem;
scrollbar-width: none;
}
*,
*:before,
*:after {
margin: 0;
padding: 0;
box-sizing: inherit;
}
body {
display: grid;
grid-template-rows: auto 1fr;
background-color: $color-background;
font-family: $font-primary;
font-style: normal;
font-size: 2rem;
font-optical-sizing: auto;
min-height: 100dvh;
width: 100vw;
color: $color-text;
}
p {
font-size: 2rem;
line-height: 1.5;
}
a {
color: $color-primary;
display: block;
text-decoration: none;
margin: 10px 5px;
&:hover {
color: $color-secondary;
}
}
h1,
h2,
h3 {
margin: 0 0 5rem 0;
font-weight: 600;
font-family: $font-titles;
}
h1 {
font-size: 2rem;
}
h2 {
font-size: 3rem;
}
h3 {
font-size: 4rem;
text-align: center;
}
label {
display: block;
text-align: start;
width: 100%;
}
img {
object-fit: cover;
}
+37 -40
View File
@@ -19,15 +19,11 @@
transition: all 0.3s ease;
cursor: pointer;
color: white;
width: 100%;
width: auto;
transition: background-color 0.3s ease;
font-size: 1.5rem;
}
.barNavigation li:hover {
background-color: #bd8c01;
}
.barNavigation ul.active {
display: flex;
width: 100%;
@@ -66,10 +62,10 @@
max-height: 0;
position: absolute;
flex-direction: column;
top: 100%;
width: 100%;
min-width: 200px;
max-width: 300px;
left: 0;
background-color: #003e79;
transition: color 0.3s ease;
transition: opacity 0.4s ease, max-height 0.4s ease;
}
@@ -77,15 +73,6 @@
display: none;
}
.subMenu.open ul {
display: flex;
color: rgba(0, 61, 121, 1);
}
.subMenu ul:hover {
color: #5b8cc9;
}
.subMenu:hover ul {
opacity: 1;
max-height: 500px;
@@ -109,16 +96,6 @@
font-size: 1.5rem;
}
.subMenu:hover > span,
.subMenu > a:hover > span {
color: white;
}
.containerLinks {
padding: 0 !important;
border-radius: 0 0 4px 4px;
}
.links {
display: flex;
justify-content: center;
@@ -129,11 +106,28 @@
font-size: 1.5rem;
}
thead,
tbody {
font-size: 1.25rem;
/* Estilo del botón de cierre de sesión */
.logout-button {
background-color: #ff4d4d;
color: white;
border: none;
padding: 8px 16px;
border-radius: 6px;
cursor: pointer;
font-weight: bold;
font-size: 1.2rem;
display: flex;
align-items: center;
justify-content: center;
width: 100%;
max-width: 200px;
&:hover {
background-color: #e63939;
}
}
/* ✅ Ajustes para móvil */
@media (max-width: 800px) {
.menuToggle {
display: flex;
@@ -141,18 +135,12 @@ tbody {
align-items: end;
transition: transform 0.3s ease;
}
.barNavigation {
width: 100vw;
}
.menuToggle.center {
align-items: center;
margin: 0;
}
.barNavigation {
font-size: 15px;
display: block;
padding: 0;
width: 100%;
}
.barNavigation ul {
@@ -164,10 +152,11 @@ tbody {
display: none;
z-index: 1;
height: auto;
width: 100%;
}
.barNavigation {
padding: 0;
.barNavigation ul.active {
display: flex;
}
.barNavigation li:hover {
@@ -184,6 +173,14 @@ tbody {
background-color: rgb(1, 92, 184);
}
.logout-button {
margin-top: 10px;
font-size: 1rem;
padding: 6px 12px;
max-width: 180px;
}
thead,
tbody {
font-size: 1rem;
+160
View File
@@ -0,0 +1,160 @@
.agregarEquipoContainer {
background-color: #ffffff;
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;
label {
display: block;
margin-bottom: 5px;
font-weight: bold;
color: #333;
font-size: 14px;
}
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);
}
}
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;
}
}
}
}
.formActions {
display: flex;
justify-content: flex-end;
gap: 30px;
.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;
}
.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;
}
}
}
+11
View File
@@ -0,0 +1,11 @@
.editar{
max-width: 1000px;
display: flex;
gap: 20px;
}
.columna{
display: flex ;
flex-direction: column;
}
+135
View File
@@ -0,0 +1,135 @@
.dashboardContainer {
display: flex;
flex-direction: column;
padding: 0;
margin: 0;
background-color: #ffffff;
}
.header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 16px 24px;
background-color: #ffffff;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
position: sticky;
top: 0;
z-index: 10;
h2 {
margin: 0;
font-size: 1.5rem;
color: #0056b3;
}
}
.scanView {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 30px 20px;
gap: 20px;
width: 100%;
height: 100%;
h3 {
font-size: 16px;
font-weight:500;
margin: 0;
}
}
.scannerFrame {
width: 90%;
max-width: 500px;
height: 300px;
border: 2px solid #0056b3;
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
background-color: #f9f9f9;
font-size: 80px;
color: #000;
img{
width: 150px;
height: auto;
}
}
.instructions {
text-align: center;
font-size: 14px;
color: #666;
margin: 0;
}
.scanButton {
background-color: #ffb700;
color: #000;
border: none;
padding: 10px 24px;
border-radius: 20px;
font-weight: bold;
font-size: 16px;
cursor: pointer;
display: flex;
align-items: center;
gap: 8px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
color:#003E79 ;
&:hover {
background-color: #ffcc33;
}
}
.searchBox {
display: flex;
align-items: center;
gap: 8px;
width: 80%;
max-width: 400px;
border: 2px solid #0056b3;
border-radius: 20px;
overflow: hidden;
input {
flex: 1;
padding: 12px 16px;
border: none;
outline: none;
font-size: 16px;
background: transparent;
}
.searchButton {
background-color: #0056b3;
color: white;
border-radius: 10px;
border: none;
padding: 0 5px;
cursor: pointer;
font-size: 18px;
margin-right: 10px;
display: flex; // ← Activa Flexbox
align-items: center; // ← Centra verticalmente
justify-content: center; // ← Centra horizontalmente
width: 36px; // ← Opcional: da un ancho fijo para que sea cuadrado
height: 36px; // ← Opcional: altura igual al ancho
&:hover {
background-color: #004494;
}
img {
display: block;
width: 20px; // ← Ajusta el tamaño del icono
height: auto; // ← Mantiene proporción
}
}
}
+9 -8
View File
@@ -1,6 +1,5 @@
.logo {
position: relative;
filter: invert(1);
z-index: 3;
margin: 5px;
}
@@ -26,17 +25,19 @@
content: "";
top: 0;
left: -20px;
width: 65%;
width: 100%;
height: 30px;
min-width: 300px;
background: #bd8c01;
background: linear-gradient(to right, #bd8c01 40%, #fff 100%);
transform: skew(-45deg);
z-index: 0;
}
.header {
background-color: #fff;
display: grid;
grid-template-columns: auto 1fr;
padding: 0 40px;
padding: 0 10px;
position: relative;
z-index: 1;
height: 90px;
@@ -45,11 +46,11 @@
.header::after {
content: "";
top: 0;
left: -40px;
left: -60px;
position: absolute;
background-color: #003e79;
height: 100%;
min-width: 300px;
min-width: 400px;
transform: skew(45deg);
z-index: 2;
}
@@ -57,12 +58,12 @@
.header::before {
content: "";
top: 0;
left: -20px;
left: -40px;
position: absolute;
background-color: rgb(1, 92, 184);
height: 100%;
width: 10%;
min-width: 300px;
min-width: 400px;
transform: skew(45deg);
z-index: 2;
}
+255 -11
View File
@@ -1,20 +1,28 @@
.containerGrid {
display: flex;
justify-content: center;
align-items: center;
gap: 10vw;
width: 100%;
}
.login-container {
width: 300px;
margin: 100px auto;
padding: 30px;
border: 1px solid #ccc;
border-radius: 10px;
background: #f8f9fa;
width: 350px;
padding: 1.5rem;
text-align: center;
h2 { margin-bottom: 20px; color: #004aad; }
h2 {
margin-bottom: 20px;
color: #bd8c01;
}
input {
width: 100%;
padding: 10px;
margin-bottom: 15px;
border-radius: 5px;
border: 1px solid #ccc;
border-radius: 10px;
border: 1px solid #003e79;
font-size: 2rem;
}
button {
@@ -23,9 +31,245 @@
background-color: #004aad;
color: white;
border: none;
border-radius: 5px;
border-radius: 4px;
cursor: pointer;
}
.error { color: red; margin-bottom: 10px; }
.error {
color: red;
margin-bottom: 10px;
}
}
.imageContainer {
display: flex;
flex-wrap: wrap;
max-width: 500px;
max-height: 450px;
border-radius: 10px;
overflow: hidden;
height: min-content;
}
.login-page {
display: flex;
grid-template-columns: 1fr 1fr;
min-height: 100%;
margin: 0 100px;
justify-content: center;
align-items: center;
gap: 150px;
.login-form-container {
width: 100%;
max-width: 400px;
padding: 2rem 1.5rem;
display: flex;
flex-direction: column;
align-items: center;
h2 {
color: #bd8c01;
font-size: 1.8rem;
margin-bottom: 1.5rem;
font-weight: 600;
text-align: center;
}
.input-group {
width: 100%;
margin-bottom: 1.2rem;
label {
display: block;
margin-bottom: 0.5rem;
font-weight: 500;
color: #333;
}
input {
width: 100%;
padding: 12px 15px;
border: 2px solid #003e79;
border-radius: 8px;
font-size: 1rem;
transition: border-color 0.2s;
&:focus {
outline: none;
border-color: #004aad;
}
}
}
button[type="submit"] {
width: 100%;
padding: 12px;
background-color: #004aad;
color: white;
border: none;
border-radius: 8px;
cursor: pointer;
font-size: 1rem;
font-weight: 600;
margin-bottom: 1rem;
transition: background-color 0.2s;
&:hover {
background-color: #003e79;
}
}
.forgot-password,
.create-account {
color: #004aad;
text-decoration: none;
font-size: 1rem;
margin: 0.3rem 0;
font-weight: 500;
text-align: center;
&:hover {
text-decoration: underline;
}
}
.create-account {
font-weight: 600;
font-size: 1rem;
}
.divider {
width: 100%;
text-align: center;
margin: 1.5rem 0;
position: relative;
span {
background: white;
padding: 0 10px;
color: #888;
font-size: 0.9rem;
}
&::before {
content: "";
position: absolute;
top: 50%;
left: 0;
right: 0;
height: 1px;
background: #ddd;
z-index: -1;
}
}
.error {
color: red;
margin-bottom: 1rem;
font-size: 0.9rem;
}
}
}
.image-collage {
display: flex;
justify-content: center;
align-items: center;
position: relative;
width: 500px; /* o el tamaño que desees */
height: 450px;
overflow: hidden;
border-radius: 10px;
.collage-item {
position: absolute;
border-radius: 0;
overflow: hidden;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease;
display: flex;
justify-content: center;
align-items: center;
img {
object-fit: cover;
object-position: sta;
}
}
.collage-1 {
top: -30px;
left: 0;
width: 60%;
height: 60%;
clip-path: polygon(0 0, 100% 0, 80% 68%, 0 68%);
}
.collage-2 {
top: 0;
right: 0;
width: 60%;
height: 35%;
clip-path: polygon(30% 0, 100% 0, 100% 90%, 13.5% 90%);
}
.collage-3 {
bottom: 35%;
left: 0;
width: 60%;
height: 35%;
clip-path: polygon(0 0, 80% 0, 100% 100%, 0 100%);
}
.collage-4 {
bottom: 35%;
right: 0;
width: 60%;
height: 35%;
clip-path: polygon(13% 0, 100% 0, 100% 100%, 30% 100%);
}
.collage-5 {
bottom: 0%;
left: 0;
width: 60%;
height: 35%;
clip-path: polygon(0 0, 97% 0, 80% 100%, 0 100%);
}
.collage-6 {
bottom: 0%;
right: 0;
width: 52%;
height: 35%;
clip-path: polygon(19.5% 0, 100% 0, 100% 100%, 0% 100%);
}
}
// Responsive para pantallas pequeñas
@media (max-width: 768px) {
.login-page {
flex-direction: column;
.login-form-container {
width: 100%;
padding: 1.5rem;
margin-bottom: 1rem;
}
.image-collage {
width: 100%;
height: 300px;
.collage-item {
position: static;
width: 100%;
height: 100%;
clip-path: none;
border-radius: 8px;
}
}
}
}