From 1f0bb8e96d710dd4b6dc8d5eb879aa525526acb3 Mon Sep 17 00:00:00 2001 From: IO420 <320154041@pcpuma.acatlan.unam.mx> Date: Thu, 23 Oct 2025 17:37:03 -0600 Subject: [PATCH] new style --- src/app/styles/base/_globales.scss | 10 ++++++-- src/app/styles/layout/login.scss | 6 ++--- src/components/Login.tsx | 39 +++++++++++++++++------------- 3 files changed, 33 insertions(+), 22 deletions(-) diff --git a/src/app/styles/base/_globales.scss b/src/app/styles/base/_globales.scss index abacb2a..a5f8dc6 100644 --- a/src/app/styles/base/_globales.scss +++ b/src/app/styles/base/_globales.scss @@ -2,6 +2,7 @@ html { font-size: 62.5%; box-sizing: border-box; scroll-padding-top: 0rem; + scrollbar-width: none; } *, @@ -19,8 +20,7 @@ body { font-size: 2rem; font-optical-sizing: auto; min-height: 100dvh; - width: 100%; - max-width: 100vw; + width: 100vw; &.overflow-hidden { overflow: hidden; @@ -56,3 +56,9 @@ h3 { font-size: 4rem; text-align: center; } + +label { + display: block; + text-align: start; + width: 100%; +} diff --git a/src/app/styles/layout/login.scss b/src/app/styles/layout/login.scss index 63fae1d..7c1fe04 100644 --- a/src/app/styles/layout/login.scss +++ b/src/app/styles/layout/login.scss @@ -20,8 +20,8 @@ width: 100%; padding: 10px; margin-bottom: 15px; - border-radius: 5px; - border: 1px solid #ccc; + border-radius: 10px; + border: 1px solid #003e79; } button { @@ -30,7 +30,7 @@ background-color: #004aad; color: white; border: none; - border-radius: 5px; + border-radius: 4px; cursor: pointer; } diff --git a/src/components/Login.tsx b/src/components/Login.tsx index 7fa8b92..092db74 100644 --- a/src/components/Login.tsx +++ b/src/components/Login.tsx @@ -3,6 +3,7 @@ import { useState } from "react"; import "../app/styles/layout/login.scss"; +import "../app/styles/base/_globales.scss"; // si tienes estilos globales export default function Login() { const [email, setEmail] = useState(""); @@ -16,25 +17,29 @@ export default function Login() { return (
-

Iniciar sesión

+

Inicio sesión

{error &&

{error}

}
- - setEmail(e.target.value)} - required - /> - - setPassword(e.target.value)} - required - /> +
+ + setEmail(e.target.value)} + required + /> +
+
+ + setPassword(e.target.value)} + required + /> +