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

425 lines
7.6 KiB
CSS

.card {
max-width: 400px;
width: 100%;
height: 175px;
margin: auto;
padding: 0.5em;
border-radius: 1em !important;
background: white !important;
box-shadow: 0 4px 8px 2px rgba(0, 0, 0, 0.1);
display: flex;
flex-direction: row !important;
justify-content: left;
text-align: center;
transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.card:hover {
box-shadow: 0 8px 16px 4px rgba(0, 0, 0, 0.2);
transform: translateY(-5px);
}
.card-content {
width: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.imgProfe {
height: 130px;
max-width: 100%;
object-fit: cover;
border-radius: 0.7em;
margin: 10px !important;
width: auto;
}
.button-group {
margin-top: 0 !important;
}
.edit-button,
.delete-boton {
padding: 8px 12px;
margin-right: 10px;
border: none;
cursor: pointer;
border-radius: 4px;
color: #fff;
font-weight: bold;
outline: none;
}
.edit-button {
background-color: #007bff !important; /* Verde */
}
.image {
display: flex;
justify-content: center;
align-items: center;
}
.status-label {
position: absolute;
top: 82%;
left: 0.5em;
padding: 0 5px;
border-radius: 10px;
color: white;
font-weight: bold;
}
.status-label.active {
background-color: green;
}
.status-label.inactive {
background-color: red;
}
.dialog {
position: absolute;
background-color: #fff;
padding: 7px;
margin: 0;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
max-width: 400px;
max-height: 200px;
width: 100%;
height: 100%;
text-align: center;
z-index: 1000;
}
.dialog p {
margin-bottom: 1px;
}
.dialog input {
padding: 8px;
margin-bottom: 0 !important;
width: 100%;
box-sizing: border-box;
}
.dialog button {
background-color: #ff0000 !important;
padding: 8px 20px;
margin: 5px 5px;
border: none;
cursor: pointer;
border-radius: 4px;
font-weight: bold;
outline: none;
}
.dialog button:first-child {
padding: auto !important;
background-color: #ff0000 !important;
color: #fff;
}
.dialog button:last-child {
padding: auto !important;
background-color: #007bff !important;
color: #fff;
}
.container-fluid {
display: flex;
justify-content: center;
align-items: center;
margin: 0 !important;
}
.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;
}
.form-group {
margin-bottom: 1em;
}
.dropdown-custom {
background-color: #002B7A !important;
color: white !important;
border: none;
padding: 0.5em;
border-radius: 4px;
outline: none;
transition: border 0.3s ease;
}
.dropdown-custom:hover {
border: 1px solid white !important;
}
.dropdown-custom option {
background-color: #002B7A !important;
color: white !important;
}
.navbar {
top: 0 !important;
}
.dialog-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
display: flex;
align-items: center;
justify-content: center;
z-index: 1000;
}
.form-container {
display: flex;
flex-direction: column;
align-items: center;
}
.profesor-form {
width: 100%;
max-width: 600px;
margin: 20px 0;
padding: 20px;
border: 1px solid #ccc;
border-radius: 8px;
background-color: #f9f9f9;
}
.boton {
width: 100%;
max-width: 600px;
}
.form-section {
margin-bottom: 40px;
}
.form-section h2 {
margin-bottom: 10px;
font-size: 1.5em;
color: #333;
}
.dropdown .btn {
width: 100%;
}
.dropdown-menu {
width: 100%;
}
.pagination {
margin-top: 20px;
}
.pagination .page-item.disabled .page-link {
pointer-events: none;
cursor: not-allowed;
}
.pagination .page-item.active .page-link {
background-color: #007bff;
border-color: #007bff;
color: #fff;
}
.input-with-delete {
display: flex !important;
align-items: start;
position: relative;
margin: 10px;
}
.input-with-delete input[type="text"],
.input-with-delete input[type="email"],
.input-with-delete input[type="tel"],
.input-with-delete textarea {
width: 90% !important;
padding-right: 40px !important;
}
.delete-button {
background-image: url('https://cdn.icon-icons.com/icons2/1791/PNG/512/trashcan1_114647.png');
filter: invert(1);
background-color: aqua;
position: absolute;
right: 0;
top: 26px;
background-size: 80% !important;
background-position: center;
background-size: cover;
background-repeat: no-repeat;
border: none;
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
margin: 0;
}
.delete-button:hover {
transform: scale(1.1);
}
.delete-button:active {
transform: scale(0.9);
}
.delete-button i {
font-size: 18px;
}
.crear-usuario-container {
max-width: 400px;
width: 90%;
margin: 8px auto;
padding: 1.5em;
background: #f9f9f9;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
border-radius: 8px;
}
button {
width: 100%;
padding: 0.6em;
font-size: 1em;
color: #fff;
background-color: #007bff;
border: none;
border-radius: 12px !important;
cursor: pointer;
}
button:hover {
background-color: #0056b3;
}
button[type="submit"] {
width: 100%;
padding: 0.75em;
border: none;
border-radius: 1em;
background-color: #002B7A;
color: #fff;
font-size: 0.9em;
cursor: pointer;
transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
button[type="submit"]:hover {
background-color: #0056b3;
box-shadow: 0 6px 12px 4px rgba(0, 0, 0, 0.2);
}
button[type="submit"]:disabled {
background-color: #007bff;
cursor: not-allowed;
opacity: 0.6;
}
.main-content {
flex: 1;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 20px;
}
.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);
border-radius: 1em;
}
h1.text-warning {
margin: 10px;
color: #000000 !important;
text-align: center;
}
h2.m-3 {
margin: 20px 0;
text-align: center;
}
.input-group {
margin-bottom: 0.75em;
}
label {
margin-bottom: 0.5em;
color: #333;
font-size: 1em;
}
input[type="text"],
input[type="email"],
input[type="password"] {
width: 100%;
padding: 0.75em;
margin-bottom: 0.75em;
border: 1px solid #ddd;
border-radius: 4px;
box-sizing: border-box;
}
input[type="submit"] {
width: 100%;
padding: 0.75em;
border: none;
border-radius: 1em;
background-color: #007bff;
color: #fff;
font-size: 1em;
cursor: pointer;
transition: background-color 0.3s ease;
}
input[type="submit"]:hover {
background-color: #0056b3;
}
.col-md-6,
.col-lg-6 {
display: flex;
justify-content: center;
}
.card {
max-width: 400px;
width: 100%;
margin: 10px;
}
.row {
justify-content: center;
}