diff --git a/README.md b/README.md index 7f06177..f2f0f94 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,7 @@ exit ``` # Añade las variables de entorno del proyecto al archivo envars + - si tienes problemas con las variables de entorno deberás de comentarlas y reiniciar apache, una vez reiniciado deberas descomentar las variables de entorno y volver a reiniciar apache ```bash sudo nano /etc/apache2/envvars ``` diff --git a/static/b_about-us/about-us.css b/static/b_about-us/about-us.css index d1ea372..db7b604 100644 --- a/static/b_about-us/about-us.css +++ b/static/b_about-us/about-us.css @@ -122,30 +122,30 @@ main { /* Tablets (768px - 1023px) */ @media (min-width: 768px) and (max-width: 1023px) { - + /* main { background-color: red; } */ main { - min-height: 130vh; + min-height: 150vh; } .expanding-panels { grid-template-columns: repeat(2, 1fr); .panel { - height: 64vh; + height: 75vh; } } } /* Laptops (1024px - 1439px) */ @media (min-width: 1024px) and (max-width: 1439px) { - + /* main { background-color: pink; } */ main { - height: 100vh; + height: 170vh; } .expanding-panels { grid-template-columns: repeat(2, 1fr); .panel { - height: 50vh; + min-height: 80vh; } } } diff --git a/static/c_solutions/solutions.css b/static/c_solutions/solutions.css index abfc6d0..13d9803 100644 --- a/static/c_solutions/solutions.css +++ b/static/c_solutions/solutions.css @@ -69,64 +69,92 @@ main { /* Smartphones (hasta 767px) */ @media (max-width: 767px) { + main { - min-height: 100vh; - background-size: auto 15%; + place-items: start; + min-height: 80vh; + background-size: 65% auto; border-radius: 15px; padding: 1em; /* Añadido para espacio interno */ } - + .parent { - width: 100% !important; - padding: 1em; /* Reducido el padding para móviles */ - + width: 100%; + padding: 1em; display: grid; - grid-template-columns: 1fr; /* Solo una columna en móviles */ - grid-template-rows: repeat(6, minmax(120px, 1fr)); /* Altura mínima garantizada */ - gap: 1em; /* Espacio reducido para móviles */ + grid-template-columns: repeat(2, 1fr); + grid-auto-rows: minmax(120px, auto); /* Renglones automáticos */ + gap: 1em; } - /* Asegurar que todos los divs sean visibles */ .parent div { - min-height: 120px; /* Altura mínima garantizada */ - width: 100% !important; + min-height: 120px; + width: 100%; background-size: contain; background-position: center; background-repeat: no-repeat; - border: 2px solid rgba(255, 255, 255, 0.5); /* Borde más visible */ + border: 2px solid rgba(255, 255, 255, 0.5); } - /* Posicionamiento específico para móviles */ - .ii-i { - grid-row: 4; /* Posición ajustada */ - } - - .ii-ii { - grid-row: 5; /* Posición ajustada */ - grid-column: 1; /* Reset para móviles */ - } + .ii-ii { + grid-column: 1 / span 2; /* Ocupa las dos columnas */ + grid-row: 3; /* Está en la tercera fila */ + justify-self: center; /* Centrado dentro de las dos columnas */ + width: 60%; + margin-top: 1em; + } + + } /* Tablets (768px - 1023px) */ @media (min-width: 768px) and (max-width: 1023px) { - .parent { - width: 100% !important; - height: 50vw; - gap: 2em; + main { + place-items: start; + min-height: 50vh; + background-size: auto 45%; + border-radius: 15px; + padding: 1em; } - main { - background-size: 50% auto; /* 30% del ancho del contenedor */ - height: 50vh; + .parent { + width: 100%; + padding: 1em; + display: grid; + grid-template-columns: repeat(3, 1fr); /* 3 columnas */ + grid-template-rows: repeat(2, minmax(120px, auto)); /* 2 filas */ + gap: 1em; + } + + .parent div { + min-height: 120px; + width: 100%; + background-size: contain; + background-position: center; + background-repeat: no-repeat; + border: 2px solid rgba(255, 255, 255, 0.5); + } + + /* Ajustes específicos de posición */ + + /* Primeros tres divs no necesitan ajuste, fluyen normalmente */ + + .ii-i { + grid-column: 1; /* Columna 1 */ + grid-row: 2; /* Fila 2 */ + } + + .ii-ii { + grid-column: 3; /* Columna 3 */ + grid-row: 2; /* Fila 2 */ } } /* Laptops (1024px - 1439px) */ @media (min-width: 1024px) and (max-width: 1439px) { - .parent { width: 100% !important; height: 65vw; @@ -134,8 +162,8 @@ main { } main { - background-size: 65% auto; /* 30% del ancho del contenedor */ - height: 65vh; + background-size: 50% auto; /* 30% del ancho del contenedor */ + height: 80vh; } } diff --git a/static/g_login/see_hide_pswd.css b/static/g_login/see_hide_pswd.css new file mode 100644 index 0000000..4e107c0 --- /dev/null +++ b/static/g_login/see_hide_pswd.css @@ -0,0 +1,28 @@ +.password-wrapper { + position: relative; +} + +.password-wrapper input { + width: 100%; + padding: 8px 35px 8px 10px; +} + +.password-toggle { + position: absolute; + right: 10px; + top: 50%; + transform: translateY(-50%); + cursor: pointer; + background: none; + border: none; + color: #666; +} + +input::-ms-reveal, +input::-ms-clear { + display: none; +} + +input::-webkit-credentials-auto-fill-button { + display: none !important; +} \ No newline at end of file diff --git a/static/g_login/see_hide_pswd.js b/static/g_login/see_hide_pswd.js new file mode 100644 index 0000000..4948a92 --- /dev/null +++ b/static/g_login/see_hide_pswd.js @@ -0,0 +1,12 @@ +const toggleBtn = document.getElementById('toggleBtn'); +const passwordField = document.getElementById('password'); + +toggleBtn.addEventListener('click', () => { + if (passwordField.type === 'password') { + passwordField.type = 'text'; + toggleBtn.innerHTML = ''; + } else { + passwordField.type = 'password'; + toggleBtn.innerHTML = ''; + } +}); \ No newline at end of file diff --git a/static/h_tmp_user/a_home/get_contact_data.js b/static/h_tmp_user/a_home/get_contact_data.js index 92cfcd5..10e01fc 100644 --- a/static/h_tmp_user/a_home/get_contact_data.js +++ b/static/h_tmp_user/a_home/get_contact_data.js @@ -30,19 +30,111 @@ async function get_contact_data(btn) { estatus: data[11] ?? "Sin Estatus" }; - modalBody.innerHTML = ` -
${contact.fecha} - ${contact.fecha_hora}
-${contact.nombre} ${contact.apellido}
-${contact.correo}
-${contact.estado}
-${contact.telefono}
-${contact.tamano_empresa}
-${contact.rol_contacto}
-${contact.tipo_industria}
-${contact.estatus}
-${contact.comentarios}
- `; - + // modalBody.innerHTML = ` + //${contact.fecha} - ${contact.fecha_hora}
+ //${contact.nombre} ${contact.apellido}
+ //${contact.correo}
+ //${contact.estado}
+ //${contact.telefono}
+ //${contact.tamano_empresa}
+ //${contact.rol_contacto}
+ //${contact.tipo_industria}
+ //${contact.estatus}
+ //${contact.comentarios}
+ // `; + modalBody.innerHTML = ` +