Front Login
This commit is contained in:
+36
-35
@@ -1,48 +1,32 @@
|
||||
/* src/App.css */
|
||||
body {
|
||||
font-family: Arial, sans-serif;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
background-color: #f0f2f5; /* Color de fondo para contraste */
|
||||
}
|
||||
|
||||
.App {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.App-logo {
|
||||
height: 40vmin;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: no-preference) {
|
||||
.App-logo {
|
||||
animation: App-logo-spin infinite 20s linear;
|
||||
}
|
||||
}
|
||||
|
||||
.App-header {
|
||||
background-color: #282c34;
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
.main-content {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
font-size: calc(10px + 2vmin);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.App-link {
|
||||
color: #61dafb;
|
||||
}
|
||||
|
||||
@keyframes App-logo-spin {
|
||||
from {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
to {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
align-items: center;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
form {
|
||||
max-width: 300px;
|
||||
margin: auto;
|
||||
padding: 1em;
|
||||
border: 1px solid #ccc;
|
||||
padding: 2em;
|
||||
border-radius: 1em;
|
||||
background: white;
|
||||
box-shadow: 0 4px 8px 2px rgba(0, 0, 0, 0.1); /* Sombra para la caja del formulario */
|
||||
}
|
||||
|
||||
div {
|
||||
@@ -62,6 +46,15 @@ input[type="password"] {
|
||||
font-size: 1em;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
border-radius: 0.5em; /* Bordes redondeados */
|
||||
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 2px 4px 1px rgba(0, 0, 0, 0.1); /* Sombra interna y externa para inputs */
|
||||
transition: box-shadow 0.3s ease; /* Transición para un efecto suave */
|
||||
}
|
||||
|
||||
input[type="text"]:focus,
|
||||
input[type="password"]:focus {
|
||||
box-shadow: 0 0 8px 2px rgba(0, 123, 255, 0.5); /* Sombra al enfocar */
|
||||
outline: none; /* Eliminar borde al enfocar */
|
||||
}
|
||||
|
||||
button {
|
||||
@@ -71,12 +64,20 @@ button {
|
||||
border: none;
|
||||
border-radius: 1em;
|
||||
cursor: pointer;
|
||||
width: 100%;
|
||||
box-shadow: 0 4px 8px 2px rgba(0, 0, 0, 0.1); /* Sombra para el botón */
|
||||
transition: background-color 0.3s ease, box-shadow 0.3s ease; /* Transiciones para un efecto suave */
|
||||
}
|
||||
|
||||
button:hover {
|
||||
background-color: #0056b3;
|
||||
box-shadow: 0 6px 12px 4px rgba(0, 0, 0, 0.2); /* Sombra al pasar el mouse */
|
||||
}
|
||||
|
||||
input[type="checkbox"] {
|
||||
margin-right: 0.5em;
|
||||
}
|
||||
|
||||
footer {
|
||||
margin-top: auto;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user