1360 lines
26 KiB
CSS
1360 lines
26 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;
|
|
}
|
|
|
|
.button-group {
|
|
/* Estilos para el grupo de botones */
|
|
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;
|
|
}
|
|
|
|
/* Ajusta la posición de la etiqueta de estado */
|
|
.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: 180px;
|
|
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;
|
|
}
|
|
|
|
.card:hover {
|
|
box-shadow: 0 8px 16px 4px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.card-content {
|
|
width: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.imgProfe {
|
|
width: auto;
|
|
height: 130px;
|
|
object-fit: cover;
|
|
border-radius: 0.7em;
|
|
margin: 10px !important;
|
|
}
|
|
|
|
.button-group {
|
|
/* Estilos para el grupo de botones */
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.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 */
|
|
}
|
|
|
|
/* Estilos para el diálogo */
|
|
.dialog-overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 1000; /* Z-index alto para estar encima de todo */
|
|
}
|
|
|
|
.dialog {
|
|
position: absolute;
|
|
background-color: white;
|
|
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;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
.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;
|
|
}
|
|
|
|
.form-group {
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.form-group label {
|
|
display: block;
|
|
margin-bottom: 5px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.form-group input {
|
|
width: 100%;
|
|
padding: 8px;
|
|
box-sizing: border-box;
|
|
border: 1px solid #ccc;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.required {
|
|
color: red;
|
|
}
|
|
|
|
.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; /* Tamaño del ícono */
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.form-group {
|
|
margin-bottom: 1em;
|
|
}
|
|
|
|
label {
|
|
display: block;
|
|
margin-bottom: 0.5em;
|
|
}
|
|
|
|
|
|
button {
|
|
width: 100%;
|
|
padding: 0.6em;
|
|
font-size: 1em;
|
|
color: #fff;
|
|
background-color: #007bff;
|
|
border: none;
|
|
border-radius: 12px !important; /* Redondear un poco más el botón */
|
|
cursor: pointer;
|
|
}
|
|
|
|
button:hover {
|
|
background-color: #0056b3;
|
|
}
|
|
|
|
.required {
|
|
color: red;
|
|
}
|
|
|
|
/* Responsiveness */
|
|
@media (max-width: 768px) {
|
|
.crear-usuario-container {
|
|
width: 100%;
|
|
padding: 1em;
|
|
}
|
|
}
|
|
|
|
.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: #333333;
|
|
display: block;
|
|
font-size: 0.9em;
|
|
}
|
|
|
|
.login input[type="text"],
|
|
.login input[type="password"] {
|
|
border: 1px solid #CCCCCC;
|
|
padding: 0.4em;
|
|
font-size: 0.9em;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
border-radius: 5px;
|
|
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;
|
|
}
|
|
|
|
.login input[type="text"]:focus,
|
|
.login input[type="password"]:focus {
|
|
box-shadow: 0 0 8px 2px rgba(0, 123, 255, 0.5);
|
|
outline: none;
|
|
}
|
|
|
|
.remember-me-group {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-bottom: 1em;
|
|
}
|
|
|
|
.remember-me-label {
|
|
margin-left: 0.5em;
|
|
}
|
|
|
|
input[type="checkbox"] {
|
|
width: 18px !important; /* Incremento de tamaño */
|
|
height: 18px !important; /* Incremento de tamaño */
|
|
border: 1px solid #CCCCCC !important;
|
|
border-radius: 3px !important;
|
|
background-color: #fff;
|
|
appearance: none;
|
|
cursor: pointer !important;
|
|
position: relative !important;
|
|
transition: background-color 0.3s ease, border-color 0.3s ease !important;
|
|
}
|
|
|
|
input[type="checkbox"]:checked::before {
|
|
content: '✔';
|
|
font-size: 14px;
|
|
color: #007bff !important;
|
|
position: absolute !important;
|
|
top: 50% !important;
|
|
left: 50% !important;
|
|
transform: translate(-50%, -55%) !important; /* Ajuste para centrar la paloma */
|
|
}
|
|
|
|
input[type="checkbox"]:focus {
|
|
box-shadow: 0 0 5px 2px rgba(0, 123, 255, 0.5);
|
|
outline: none;
|
|
}
|
|
|
|
.btn-group .btn {
|
|
padding: 0.6em 1em;
|
|
border: 1px solid #007bff;
|
|
border-radius: 0.25em;
|
|
background-color: transparent;
|
|
color: #007bff;
|
|
cursor: pointer;
|
|
transition: background-color 0.3s, color 0.3s;
|
|
}
|
|
|
|
.btn-group .btn.active {
|
|
background-color: #007bff;
|
|
color: #fff;
|
|
}
|
|
|
|
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;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.form-section {
|
|
margin-bottom: 40px;
|
|
}
|
|
|
|
.form-section h2 {
|
|
margin-bottom: 10px;
|
|
font-size: 1.5em;
|
|
color: #333;
|
|
}
|
|
|
|
.form-group {
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.form-group label {
|
|
display: block;
|
|
margin-bottom: 5px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.form-group input {
|
|
width: 100%;
|
|
padding: 8px;
|
|
box-sizing: border-box;
|
|
border: 1px solid #ccc;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.required {
|
|
color: red;
|
|
}
|
|
|
|
.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;
|
|
flex-direction: column;
|
|
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-botones {
|
|
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; /* Tamaño del ícono */
|
|
}
|
|
.md-user-container {
|
|
max-width: 400px;
|
|
width: 90%;
|
|
margin: 10px auto;
|
|
padding: 1.5em;
|
|
background: #f9f9f9;
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.form-group {
|
|
margin-bottom: 1em;
|
|
}
|
|
|
|
label {
|
|
display: block;
|
|
margin-bottom: 0.5em;
|
|
}
|
|
|
|
.button-group {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin-top: 1em;
|
|
}
|
|
|
|
.modificar-button,
|
|
.borrar-button {
|
|
padding: 0.6em;
|
|
font-size: 1em;
|
|
color: #fff;
|
|
border: none;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
margin: 0 5px;
|
|
}
|
|
|
|
.modificar-button {
|
|
background-color: #007bff;
|
|
}
|
|
|
|
.modificar-button:hover {
|
|
background-color: #0056b3;
|
|
}
|
|
|
|
.borrar-button {
|
|
background-color: #dc3545;
|
|
}
|
|
|
|
.borrar-button:hover {
|
|
background-color: #c82333;
|
|
}
|
|
|
|
/* Responsiveness */
|
|
@media (max-width: 768px) {
|
|
.md-user-container {
|
|
width: 100%;
|
|
padding: 1em;
|
|
}
|
|
}
|
|
|
|
.required {
|
|
color: red;
|
|
margin-left: 5px;
|
|
}
|
|
.navbar-dark .navbar-brand {
|
|
color: #ffffff;
|
|
}
|
|
|
|
.navbar-dark .navbar-brand small {
|
|
display: block;
|
|
font-size: 0.8em;
|
|
color: #aaaaaa;
|
|
}
|
|
|
|
.navbar-dark .nav-link {
|
|
color: #ffffff;
|
|
}
|
|
|
|
.navbar-dark .nav-link:hover {
|
|
color: #cccccc;
|
|
}
|
|
|
|
.offcanvas-header .offcanvas-title {
|
|
color: #000000;
|
|
}
|
|
|
|
.navbar {
|
|
margin-bottom: 20px; /* Adjust this value to set the margin below the navbar */
|
|
position: relative;
|
|
top: 60px; /* Adjust this value to set the navbar below the header */
|
|
}
|
|
|
|
.ms-auto {
|
|
margin-left: auto;
|
|
}
|
|
|
|
.navbar-toggler {
|
|
border-radius: 8px; /* Rounded corners */
|
|
padding: 0.25rem 0.75rem; /* Make it more square */
|
|
}
|
|
|
|
.offcanvas-body {
|
|
background-color: #333333; /* Dark background for the offcanvas menu */
|
|
}
|
|
|
|
.offcanvas-body .nav-link {
|
|
color: #ffffff; /* White text color for the links */
|
|
}
|
|
|
|
.offcanvas-body .nav-link:hover {
|
|
color: #cccccc; /* Light grey text color on hover */
|
|
}
|
|
|
|
.fixed-top {
|
|
position: relative !important;
|
|
margin: 0 !important;
|
|
}
|
|
|
|
.items{
|
|
justify-content: space-between !important;
|
|
}.perfil-profesor {
|
|
font-family: Arial, sans-serif;
|
|
padding: 20px;
|
|
border: 1px solid #ccc;
|
|
border-radius: 5px;
|
|
background-color: white;
|
|
margin: 20px auto;
|
|
max-width: 800px;
|
|
}
|
|
|
|
.foto-nombre {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.foto {
|
|
width: auto;
|
|
height: 250px;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.info {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: start;
|
|
flex: 1;
|
|
}
|
|
|
|
.nombre{
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
.datos-academicos, .lineas-investigacion, .proyectos-academicos {
|
|
margin-top: 20px;
|
|
border-top: 1px solid #ccc;
|
|
padding-top: 20px;
|
|
}
|
|
|
|
.datos-academicos h3, .lineas-investigacion h3, .proyectos-academicos h3 {
|
|
font-size: 1.2em;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.datos-academicos ul, .lineas-investigacion ul, .proyectos-academicos ul {
|
|
list-style-type: none;
|
|
padding: 0;
|
|
}
|
|
|
|
.datos-academicos li, .lineas-investigacion li, .proyectos-academicos li {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.datos-academicos li strong, .lineas-investigacion li strong, .proyectos-academicos li strong {
|
|
font-weight: bold;
|
|
margin-right: 5px;
|
|
}
|
|
|
|
.info p {
|
|
margin: 5px 0;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.footer {
|
|
background-color: #1e3c70;
|
|
color: white;
|
|
padding: 10px 0;
|
|
text-align: center;
|
|
width: 100%;
|
|
bottom: 0;
|
|
}
|
|
|
|
.footer .container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
background-color: #1e3c70!important;
|
|
padding: 25px;
|
|
text-align: center;
|
|
}
|
|
|
|
.logo {
|
|
filter:invert(1);
|
|
max-height: 5vw;
|
|
}
|
|
.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;
|
|
}
|
|
|
|
.error-container {
|
|
background-color: white;
|
|
font-family: Arial, sans-serif;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
flex: 1;
|
|
margin: 0;
|
|
text-align: center;
|
|
}
|
|
|
|
.error-container h1 {
|
|
font-size: 3em;
|
|
color: #555555;
|
|
margin-bottom: 20px; /* Espacio debajo del título */
|
|
}
|
|
|
|
.error-content {
|
|
text-align: left; /* Alinear el contenido a la izquierda */
|
|
}
|
|
|
|
.error-content p {
|
|
font-size: 1.2em;
|
|
color: #777777;
|
|
margin-bottom: 10px; /* Espacio entre párrafos */
|
|
}
|
|
|
|
.error-content a {
|
|
color: #007bff;
|
|
text-decoration: none;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.error-content a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.secret-container {
|
|
text-align: center;
|
|
color: #4CAF50; /* Cambia el color según tu preferencia */
|
|
}
|
|
|
|
.secret-container div {
|
|
color: black;
|
|
font-family: monospace; /* Usa una fuente monospace para mejor visualización */
|
|
white-space: pre; /* Asegura que los espacios se mantengan */
|
|
display: flex;
|
|
text-align: left; /* Alinea el texto a la izquierda dentro del contenedor centrado */
|
|
}
|
|
|
|
.admin-interface {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center; /* Centrar horizontalmente */
|
|
flex-wrap: wrap; /* Permite que las secciones se envuelvan en varias líneas si es necesario */
|
|
gap: 20px; /* Espacio entre las secciones */
|
|
max-width: 800px; /* Ancho máximo para evitar que se extiendan demasiado */
|
|
margin: auto; /* Margen exterior y centrado horizontal */
|
|
background-color: #f9f9f9; /* Fondo blanco */
|
|
padding: 20px; /* Espaciado interno */
|
|
border-radius: 10px; /* Bordes redondeados */
|
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Sombra ligera */
|
|
}
|
|
|
|
.admin-section {
|
|
text-align: center;
|
|
margin-bottom: 20px; /* Espacio entre cada sección principal y los botones */
|
|
padding: 20px; /* Espaciado interno de la sección */
|
|
border-radius: 10px; /* Bordes redondeados */
|
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Sombra ligera */
|
|
background-color: rgb(255, 255, 255); /* Color de fondo de las secciones */
|
|
flex: 1 1 calc(50% - 20px); /* Las secciones ocupan el 50% del espacio disponible menos el espacio entre ellas */
|
|
transition: transform 0.3s ease, box-shadow 0.3s ease; /* Transiciones para la animación de hover */
|
|
}
|
|
|
|
.admin-section:hover {
|
|
transform: translateY(-5px); /* Efecto de levantamiento al hacer hover */
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Sombra más pronunciada al hacer hover */
|
|
}
|
|
|
|
.section-header {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center; /* Centrar horizontalmente */
|
|
justify-content: center; /* Centrar verticalmente */
|
|
margin-bottom: 10px; /* Espacio entre el título y la imagen */
|
|
}
|
|
|
|
.section-icon {
|
|
width: 150px; /* Tamaño de la imagen */
|
|
height: 150px;
|
|
margin: 0 ; /* Centrar la imagen dentro de su contenedor */
|
|
display: block; /* Para asegurar que los márgenes automáticos funcionen */
|
|
border-radius: 50%; /* Hacer que la imagen sea circular si es necesario */
|
|
}
|
|
|
|
.admin-section h2 {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.button-group {
|
|
margin-top: 10px; /* Espacio entre el título y los botones */
|
|
}
|
|
|
|
.action-button {
|
|
margin: 0 5px; /* Espacio entre los botones */
|
|
padding: 10px;
|
|
background-color: #007bff;
|
|
color: white;
|
|
border: none;
|
|
cursor: pointer;
|
|
border-radius: 5px; /* Bordes redondeados para los botones */
|
|
transition: background-color 0.3s ease, box-shadow 0.3s ease; /* Transiciones para el cambio de color de fondo y sombra */
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Sombra inicial */
|
|
}
|
|
|
|
.action-button:hover {
|
|
background-color: #0056b3; /* Color de fondo al hacer hover */
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Sombra más pronunciada al hacer hover */
|
|
}
|
|
|
|
*{
|
|
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;
|
|
} |