Files
front_directorio/src/App.css
T
2024-07-15 00:57:58 -06:00

237 lines
3.7 KiB
CSS

*{
margin: 0;
padding: 0;
}
p{
text-align: center;
}
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #faefef7a;
}
.App {
display: flex;
flex-direction: column;
min-height: 100vh;
}
.main-content {
flex: 1;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 0px !important;
}
form.login-form {
max-width: 300px;
width: 100%;
margin: auto;
padding: 1.5em;
background: white;
box-shadow: 0 4px 8px 2px rgba(0, 0, 0, 0.1);
}
h2.text-warning {
color: #002B7A;
font-size: 1.5em;
margin-bottom: 20px;
text-align: center;
}
.input-group {
margin-bottom: 0.75em;
}
label {
margin-bottom: 0.5em;
color: #333333;
display: block;
font-size: 0.9em;
}
input[type="text"],
input[type="password"] {
border: 1px solid #CCCCCC;
padding: 0.4em;
font-size: 0.9em;
width: 100%;
box-sizing: border-box;
border-radius: 5px !important;
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;
}
input[type="text"]:focus,
input[type="password"]:focus {
box-shadow: 0 0 8px 2px rgba(0, 123, 255, 0.5);
outline: none;
}
button {
padding: 0.6em;
font-size: 0.9em;
color: #fff;
background-color:#002B7A;
border: none;
border-radius: 1em;
cursor: pointer;
width: 100%;
box-shadow: 0 4px 8px 2px rgba(0, 0, 0, 0.1);
transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
button:hover {
background-color: #0056b3;
box-shadow: 0 6px 12px 4px rgba(0, 0, 0, 0.2);
}
input[type="checkbox"] {
margin-right: 0.5em;
}
footer {
margin-top: auto;
}
.nav-link.bg-warning {
background-color: #002B7A !important;
color: #212529 !important;
}
p.text-center.mt-3 {
margin-top: 1rem;
text-align: center;
font-size: 1em;
}
.remember-me-group {
display: flex;
align-items: center;
}
.remember-me-label {
margin-right: 1em;
font-size: 0.9em;
}
.container-fluid {
display: flex;
justify-content: center;
align-items: center;
}
.form-control {
width: 300px;
border-color: #002B7A!important ;
}
.btn-primary-subtle {
color: #ffffff!important;
background-color: #002B7A!important;
border-color: #002B7A!important ;
}
.btn-primary-subtle:hover {
background-color: #002B7A!important;
border-color: #ffffff!important;
}
.card-header {
display: flex;
justify-content: space-between;
align-items: center;
}
.button-group {
display: flex;
gap: 10px;
justify-content: center;
margin-top: 10px;
}
.edit-button, .delete-button {
padding: 5px 10px;
border: none;
border-radius: 5px;
cursor: pointer;
}
.edit-button {
background-color: green;
color: white;
}
.delete-button {
background-color: red;
color: white;
}
.dialog {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background-color: white;
padding: 20px;
border: 1px solid black;
border-radius: 10px;
z-index: 1000;
}
.dialog p {
margin-bottom: 10px;
}
.dialog input {
padding: 8px;
margin-bottom: 10px;
width: 100%;
box-sizing: border-box;
}
.button-group button {
padding: 8px 20px;
margin: 0 5px;
border: none;
cursor: pointer;
border-radius: 4px;
font-weight: bold;
outline: none;
}
.button-group button:disabled {
background-color: grey !important;
cursor: not-allowed;
}
.dialog button:first-child {
padding: auto;
background-color: #007bff;
color: #fff;
}
.dialog button:last-child {
padding: auto;
background-color: #007bff;
color: #fff;
}
.blueButton{
background-color: #007bff ;
width: 180px;
}
.containerButton{
display: flex;
align-items: center;
justify-content: space-evenly;
width: 400px;
margin: 10px;
}