472 lines
8.1 KiB
CSS
472 lines
8.1 KiB
CSS
.imgProfe {
|
|
height: 130px;
|
|
width: auto;
|
|
max-width: 100%;
|
|
object-fit: cover;
|
|
border-radius: 0.7em;
|
|
margin: 10px !important;
|
|
}
|
|
|
|
.button-group {
|
|
margin-top: 0 !important;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin-top: 1em;
|
|
gap: 10px;
|
|
justify-content: center;
|
|
margin-top: 10px;
|
|
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;
|
|
}
|
|
|
|
.edit-button,
|
|
.delete-boton {
|
|
padding: 8px 12px;
|
|
margin-right: 10px;
|
|
border: none;
|
|
cursor: pointer;
|
|
border-radius: 4px;
|
|
color: white;
|
|
font-weight: bold;
|
|
outline: none;
|
|
}
|
|
|
|
.edit-button {
|
|
background-color: #007bff !important;
|
|
}
|
|
|
|
.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: 180px;
|
|
width: 100%;
|
|
height: 100%;
|
|
text-align: center;
|
|
z-index: 1000;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
border: 1px solid black;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.dialog-overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 1000;
|
|
}
|
|
|
|
.container-fluid {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
margin: 0 !important;
|
|
}
|
|
|
|
.form-control {
|
|
border-color: #002b7a !important;
|
|
}
|
|
|
|
.form-group {
|
|
margin-bottom: 1em;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.form-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
.profesor-form {
|
|
width: 600px;
|
|
max-width: 90vw;
|
|
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;
|
|
}
|
|
|
|
.required {
|
|
color: red;
|
|
margin-left: 5px;
|
|
}
|
|
|
|
.buttons{
|
|
border-radius: 0 !important;
|
|
box-shadow: 0 4px 4px 0px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.nextButtons{
|
|
border-end-start-radius: 0 !important;
|
|
border-start-start-radius: 0 !important;
|
|
box-shadow: 0 4px 4px 0px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.prevButtons{
|
|
border-end-end-radius: 0 !important;
|
|
border-start-end-radius: 0 !important;
|
|
box-shadow: 0 4px 4px 0px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.pagination {
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.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;
|
|
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;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
label {
|
|
margin-bottom: 0.5em;
|
|
color: #333333;
|
|
display: block;
|
|
font-size: 0.9em;
|
|
}
|
|
|
|
button {
|
|
width: 100%;
|
|
padding: 0.6em;
|
|
font-size: 1em;
|
|
color: #fff;
|
|
background-color: #007bff;
|
|
border: none;
|
|
border-radius: 12px !important;
|
|
cursor: pointer;
|
|
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);
|
|
}
|
|
|
|
.main-content {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
padding: 0 !important;
|
|
margin: .25rem;
|
|
}
|
|
|
|
h1.text-warning {
|
|
margin: 10px;
|
|
color: #000000 !important;
|
|
text-align: center;
|
|
}
|
|
|
|
h2.m-3 {
|
|
margin: 20px 0;
|
|
text-align: center;
|
|
}
|
|
|
|
input[type="checkbox"] {
|
|
width: 18px !important;
|
|
height: 18px !important;
|
|
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;
|
|
margin-right: 0.5em;
|
|
}
|
|
|
|
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;
|
|
}
|
|
|
|
input[type="checkbox"]:focus {
|
|
box-shadow: 0 0 5px 2px rgba(0, 123, 255, 0.5);
|
|
outline: none;
|
|
}
|
|
|
|
input[type="text"],
|
|
input[type="email"],
|
|
input[type="tel"],
|
|
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="email"]:focus,
|
|
input[type="tel"]:focus,
|
|
input[type="password"]:focus {
|
|
box-shadow: 0 0 8px 2px rgba(0, 123, 255, 0.5);
|
|
outline: none;
|
|
}
|
|
|
|
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;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.navbar {
|
|
top: 0 !important;
|
|
position: relative;
|
|
}
|
|
|
|
* {
|
|
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;
|
|
min-width: 100vw;
|
|
}
|
|
|
|
h2.text-warning {
|
|
color: #002b7a;
|
|
font-size: 1.5em;
|
|
margin-bottom: 20px;
|
|
text-align: center;
|
|
}
|
|
|
|
p .text-center .mt-3 {
|
|
margin-top: 1rem;
|
|
text-align: center;
|
|
font-size: 1em;
|
|
}
|
|
|
|
.blueButton {
|
|
background-color: #007bff;
|
|
width: 180px;
|
|
}
|
|
|
|
.containerButton {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-evenly;
|
|
width: 400px;
|
|
max-width: 90vw;
|
|
margin: 10px auto;
|
|
}
|
|
|
|
.cargando {
|
|
font-family: Arial, sans-serif;
|
|
padding: 20px;
|
|
border: 1px solid #ccc;
|
|
border-radius: 5px;
|
|
background-color: white;
|
|
margin: 20px auto;
|
|
max-width: 800px;
|
|
}
|
|
|
|
.dropzone {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
height: 200px;
|
|
border: 2px dashed #cccccc;
|
|
border-radius: 10px;
|
|
background-color: #f9f9f9;
|
|
cursor: pointer;
|
|
transition: border-color 0.3s ease-in-out;
|
|
margin: 10PX;
|
|
}
|
|
|
|
.dropzone p {
|
|
text-align: center;
|
|
font-size: 16px;
|
|
color: #666666;
|
|
}
|
|
|
|
.dropzone:hover {
|
|
border-color: #666666;
|
|
}
|
|
|
|
.dropzone:active {
|
|
border-color: #999999;
|
|
}
|
|
|
|
|
|
@media (max-width: 768px) {
|
|
.crear-usuario-container {
|
|
width: 100%;
|
|
padding: 1em;
|
|
}
|
|
} |