Files
front_directorio/src/App.css
T

104 lines
1.8 KiB
CSS
Raw Normal View History

2024-06-13 20:10:44 -06:00
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
2024-06-17 01:00:55 -06:00
background-color: #f0f2f5;
2024-06-11 19:56:54 -06:00
}
2024-06-13 20:10:44 -06:00
.App {
2024-06-11 19:56:54 -06:00
display: flex;
flex-direction: column;
2024-06-13 20:10:44 -06:00
min-height: 100vh;
2024-06-11 19:56:54 -06:00
}
2024-06-13 20:10:44 -06:00
.main-content {
flex: 1;
display: flex;
2024-06-19 16:20:37 -06:00
flex-direction: column;
justify-content: center;
align-items: center;
2024-06-13 20:10:44 -06:00
padding: 20px;
2024-06-11 19:56:54 -06:00
}
2024-06-12 18:44:57 -06:00
2024-06-17 01:00:55 -06:00
form.login-form {
2024-06-19 16:20:37 -06:00
max-width: 300px;
2024-06-17 01:00:55 -06:00
width: 100%;
2024-06-12 18:44:57 -06:00
margin: auto;
2024-06-19 16:20:37 -06:00
padding: 1.5em;
2024-06-13 20:10:44 -06:00
background: white;
2024-06-17 01:00:55 -06:00
box-shadow: 0 4px 8px 2px rgba(0, 0, 0, 0.1);
}
h2.text-warning {
2024-06-19 16:20:37 -06:00
color: #ffc107;
font-size: 1.5em;
margin-bottom: 20px;
text-align: center;
2024-06-12 18:44:57 -06:00
}
2024-06-17 01:00:55 -06:00
.input-group {
2024-06-19 16:20:37 -06:00
margin-bottom: 0.75em;
2024-06-12 18:44:57 -06:00
}
label {
2024-06-17 01:00:55 -06:00
margin-bottom: 0.5em;
2024-06-12 18:44:57 -06:00
color: #333333;
display: block;
2024-06-19 16:20:37 -06:00
font-size: 0.9em;
2024-06-12 18:44:57 -06:00
}
input[type="text"],
input[type="password"] {
border: 1px solid #CCCCCC;
2024-06-19 16:20:37 -06:00
padding: 0.4em;
font-size: 0.9em;
2024-06-12 18:44:57 -06:00
width: 100%;
box-sizing: border-box;
2024-06-19 16:20:37 -06:00
border-radius: 0; /* Esquinas cuadradas */
2024-06-17 01:00:55 -06:00
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 2px 4px 1px rgba(0, 0, 0, 0.1);
transition: box-shadow 0.3s ease;
2024-06-13 20:10:44 -06:00
}
input[type="text"]:focus,
input[type="password"]:focus {
2024-06-17 01:00:55 -06:00
box-shadow: 0 0 8px 2px rgba(0, 123, 255, 0.5);
outline: none;
2024-06-12 18:44:57 -06:00
}
button {
2024-06-19 16:20:37 -06:00
padding: 0.6em;
font-size: 0.9em;
2024-06-12 18:44:57 -06:00
color: #fff;
background-color: #007BFF;
border: none;
border-radius: 1em;
cursor: pointer;
2024-06-13 20:10:44 -06:00
width: 100%;
2024-06-17 01:00:55 -06:00
box-shadow: 0 4px 8px 2px rgba(0, 0, 0, 0.1);
transition: background-color 0.3s ease, box-shadow 0.3s ease;
2024-06-12 18:44:57 -06:00
}
button:hover {
background-color: #0056b3;
2024-06-17 01:00:55 -06:00
box-shadow: 0 6px 12px 4px rgba(0, 0, 0, 0.2);
2024-06-12 18:44:57 -06:00
}
input[type="checkbox"] {
margin-right: 0.5em;
}
2024-06-13 20:10:44 -06:00
footer {
margin-top: auto;
}
2024-06-17 01:00:55 -06:00
.nav-link.bg-warning {
2024-06-19 16:20:37 -06:00
background-color: #ffc107 !important;
color: #212529 !important;
2024-06-17 01:00:55 -06:00
}
p.text-center.mt-3 {
margin-top: 1rem;
text-align: center;
2024-06-19 16:20:37 -06:00
font-size: 1em;
2024-06-17 01:00:55 -06:00
}