Files
hmngy_pasarela_Frontend/assets/css/hmngypasarela.css
2025-11-28 11:33:55 -06:00

143 lines
2.6 KiB
CSS

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');
.boton-modal {
padding: 12px 24px;
font-size: 16px;
background-color: #28a745;
color: white;
border: none;
border-radius: 8px;
cursor: pointer;
}
.modal-personalizado {
display: none;
position: fixed;
z-index: 1078;
left: 0;
top: 0;
width: 100vw;
height: 100vh;
background-color: rgba(0, 0, 0, 0.6);
justify-content: center;
align-items: center;
padding: 20px;
box-sizing: border-box;
}
.modal-contenido {
background: white;
width: 100%;
max-width: 720px;
border-radius: 12px;
box-shadow: 0px 0px 36px 0px rgba(131, 28, 45, 0.952);
transform: scale(0.7);
opacity: 0;
transition: all 0.3s ease;
box-sizing: border-box;
position: relative;
max-height: 100vh; /* Limita la altura máxima del modal al 90% del viewport */
overflow-y: auto; /* Habilita el scroll vertical si el contenido excede la altura */
}
.animar-entrada {
transform: scale(1);
opacity: 1;
}
.animar-salida {
transform: scale(0.7);
opacity: 0;
}
.modal-header-personalizada {
background-size: 100% !important;
background-repeat: no-repeat !important;
padding: 40px 20px 60px 20px;
position: relative;
text-align: center;
}
.cerrar {
position: absolute;
top: 10px;
right: 15px;
font-size: 24px;
color: #fff;
cursor: pointer;
font-weight: bold;
}
.modal-body, .modal-footer {
padding: 20px;
}
.form-control, .form-select {
width: 100%;
padding: 10px;
margin-top: 4px;
border-radius: 6px;
border: 1px solid #ccc;
box-sizing: border-box;
}
.row {
display: flex;
gap: 15px;
flex-wrap: wrap;
}
.col {
flex: 1;
min-width: 150px;
}
.btn-success {
padding: 10px 20px;
background-color: #28a745;
color: black;
border: none;
border-radius: 6px;
cursor: pointer;
}
@media (max-width: 600px) {
.modal-contenido {
max-width: 95%;
max-height: 90vh; /* Limita la altura máxima del modal al 90% del viewport */
overflow-y: auto; /* Habilita el scroll vertical si el contenido excede la altura */
}
.modal-header-personalizada img {
width: 50%;
}
.cerrar {
font-size: 20px;
}
}
.spinner-border {
display: inline-block;
width: 2rem;
height: 2rem;
border: 0.25em solid rgba(0, 0, 0, 0.1);
border-top-color: #007bff; /* Color azul típico */
border-radius: 50%;
animation: spin 0.75s linear infinite;
}
@keyframes spin {
to { transform: rotate(360deg); }
}
.visually-hidden {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
border: 0;
}