234 lines
4.5 KiB
CSS
234 lines
4.5 KiB
CSS
/* La card envuelve todo el grid (toolbar, filas y pager) */
|
|
.card.shadow-sm.rounded-3 {
|
|
border: 1px solid #e9ecef;
|
|
}
|
|
.card-header.bg-light {
|
|
background-color: #f8f9fa !important;
|
|
}
|
|
/* Que el grid use el ancho completo de la card */
|
|
#lstTabla,
|
|
#lstTabla .e-grid {
|
|
width: 100%;
|
|
}
|
|
/* Estilo del pager como “pie” de la card */
|
|
#lstTabla .e-gridpager {
|
|
background: #f8f9fa; /* claro, como el header de la card */
|
|
border-top: 1px solid #e9ecef; /* separador del contenido */
|
|
padding: 0.5rem 0.75rem;
|
|
margin-top: 0; /* pegado al contenido */
|
|
}
|
|
/* Opcional: compactar un poco filas sin perder legibilidad */
|
|
#lstTabla .e-rowcell {
|
|
padding-block: 0.6rem;
|
|
}
|
|
/* Mantener bordes redondeados en la base del grid dentro de la card */
|
|
#lstTabla .e-grid .e-gridcontent,
|
|
#lstTabla .e-grid .e-gridpager {
|
|
border-bottom-left-radius: 0.5rem;
|
|
border-bottom-right-radius: 0.5rem;
|
|
}
|
|
|
|
/* */
|
|
|
|
/* Alternar color de filas (zebra striping) */
|
|
.e-grid .e-row:nth-child(even) {
|
|
background-color: #f9f9f9;
|
|
}
|
|
|
|
/* Resaltar fila seleccionada */
|
|
.e-grid .e-row.e-selectionbackground {
|
|
background-color: #dfefff !important;
|
|
}
|
|
|
|
/* Agregar bordes suaves entre celdas */
|
|
|
|
/* Separación entre toolbar y encabezado de columnas */
|
|
|
|
/* Estilo limpio para botones del toolbar */
|
|
.e-toolbar .e-tbar-btn {
|
|
color: #0d6efd !important;
|
|
border: 1px solid #0d6efd !important;
|
|
background-color: white !important;
|
|
border-radius: 6px !important;
|
|
font-size: 14px !important;
|
|
font-weight: 500 !important;
|
|
height: 36px !important;
|
|
line-height: 1 !important;
|
|
padding: 6px 14px !important;
|
|
display: inline-flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
gap: 6px !important;
|
|
min-width: 130px !important;
|
|
}
|
|
|
|
/* Íconos */
|
|
.e-toolbar .e-tbar-btn i {
|
|
color: #0d6efd !important;
|
|
}
|
|
|
|
/* Hover: texto e íconos en blanco */
|
|
.e-toolbar .e-tbar-btn:hover {
|
|
background-color: #0d6efd !important;
|
|
color: white !important;
|
|
}
|
|
|
|
.e-toolbar .e-tbar-btn:hover i {
|
|
color: white !important;
|
|
}
|
|
|
|
/* Texto dentro del botón (a veces se encierra en span) */
|
|
.e-toolbar .e-tbar-btn span {
|
|
color: #0d6efd !important;
|
|
}
|
|
|
|
.e-toolbar .e-tbar-btn:hover span {
|
|
color: white !important;
|
|
}
|
|
|
|
/* Asegurar tamaño uniforme para botones de acción */
|
|
#lstTabla .btnEditar,
|
|
#lstTabla .btnEliminar {
|
|
width: 32px;
|
|
height: 32px;
|
|
padding: 0;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 6px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
/* Asegurar que los íconos tengan el mismo tamaño */
|
|
#lstTabla .btnEditar i,
|
|
#lstTabla .btnEliminar i {
|
|
font-size: 14px;
|
|
line-height: 1;
|
|
}
|
|
#lstTabla .btnEditar:hover i {
|
|
color: white;
|
|
}
|
|
#lstTabla .btnEliminar:hover i {
|
|
color: white;
|
|
}
|
|
.e-grid .e-toolbar {
|
|
padding-bottom: 12px !important;
|
|
}
|
|
|
|
/* */
|
|
/* */
|
|
/*
|
|
|
|
|
|
|
|
*/
|
|
/* Página activa en el pager */
|
|
.e-gridpager .e-numericitem.e-active,
|
|
.e-gridpager .e-numericitem.e-active:hover {
|
|
background-color: var(--bs-primary) !important;
|
|
border-color: var(--bs-primary) !important;
|
|
color: #fff !important;
|
|
}
|
|
|
|
/* Hover sobre otros números */
|
|
.e-gridpager .e-numericitem:not(.e-active):hover {
|
|
background-color: rgba(var(--bs-primary-rgb), 0.1) !important;
|
|
color: var(--bs-primary) !important;
|
|
}
|
|
|
|
/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
.my-swal-popup {
|
|
width: 380px !important;
|
|
padding: 1.5rem !important;
|
|
border-radius: 0.75rem !important;
|
|
}
|
|
|
|
.my-swal-actions {
|
|
display: flex !important;
|
|
justify-content: center !important;
|
|
gap: 0.6rem !important; /* separación real entre botones */
|
|
}
|
|
|
|
.my-swal-icon.sweetalert2-question-icon,
|
|
.my-swal-icon.swal2-question,
|
|
.swal2-question {
|
|
border-color: #0d6efd !important;
|
|
color: #0d6efd !important;
|
|
}
|
|
|
|
/* Ajustamos tamaño para que quede bien con tu popup */
|
|
.my-swal-icon {
|
|
width: 70px !important;
|
|
height: 70px !important;
|
|
border-width: 3px !important;
|
|
}
|
|
|
|
/* Esto es para el fondo de pantalla */
|
|
html,
|
|
body {
|
|
height: 100%;
|
|
}
|
|
|
|
body {
|
|
background: url("../../assets/02-carousel.jpg") center/cover no-repeat fixed;
|
|
position: relative;
|
|
}
|
|
|
|
body::before {
|
|
content: "";
|
|
position: fixed;
|
|
inset: 0;
|
|
background: rgba(0, 0, 0, 0.45); /* oscurece */
|
|
backdrop-filter: blur(4px); /* desenfoca */
|
|
-webkit-backdrop-filter: blur(4px);
|
|
z-index: -1;
|
|
}
|
|
|
|
/*
|
|
|
|
|
|
*/
|
|
|
|
/* Salidas suaves */
|
|
.aos-exit-up {
|
|
animation: aosExitUp 0.65s ease forwards;
|
|
}
|
|
@keyframes aosExitUp {
|
|
to {
|
|
opacity: 0;
|
|
transform: translateY(10px);
|
|
}
|
|
}
|
|
|
|
.aos-exit-right {
|
|
animation: aosExitRight 0.65s ease forwards;
|
|
}
|
|
@keyframes aosExitRight {
|
|
to {
|
|
opacity: 0;
|
|
transform: translateX(12px);
|
|
}
|
|
}
|