Dashboard Correcciones Tabla Utilidad
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
}
|
||||
|
||||
.table td, .table th {
|
||||
padding: 0.75rem;
|
||||
padding: 2px;
|
||||
border-top: 1px solid #dee2e6;
|
||||
}
|
||||
|
||||
@@ -573,7 +573,7 @@
|
||||
.header-group {
|
||||
display: block;
|
||||
font-weight: bold;
|
||||
padding: 5px;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
|
||||
@@ -590,11 +590,11 @@
|
||||
}
|
||||
|
||||
.sub-header {
|
||||
padding: 5px;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
.sub-data {
|
||||
padding: 8px;
|
||||
padding: 2px;
|
||||
text-align: right;
|
||||
border-left: 1px solid #dee2e6;
|
||||
}
|
||||
@@ -653,7 +653,7 @@
|
||||
|
||||
/* Opcional: quita cualquier padding extra en encabezados */
|
||||
.custom-grid thead th {
|
||||
padding: 0.5rem 0.75rem !important;
|
||||
padding: 2px !important;
|
||||
}
|
||||
|
||||
|
||||
@@ -664,15 +664,7 @@
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
/* Elimina todos los bordes en celdas y encabezados */
|
||||
.custom-grid th,
|
||||
.custom-grid td,
|
||||
.resumen-grid th,
|
||||
.resumen-grid td {
|
||||
border: none !important;
|
||||
background: transparent !important;
|
||||
padding: 0.75rem !important;
|
||||
}
|
||||
|
||||
|
||||
/* Línea gruesa bajo los títulos */
|
||||
.custom-grid thead th,
|
||||
@@ -754,8 +746,73 @@
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
/* ——— Resumen‑grid idéntico a custom‑grid ——— */
|
||||
.resumen-grid,
|
||||
.custom-grid {
|
||||
border-collapse: collapse;
|
||||
width: 100% !important;
|
||||
table-layout: fixed;
|
||||
font-size: 8px !important;
|
||||
}
|
||||
|
||||
.resumen-grid th,
|
||||
.resumen-grid td {
|
||||
/* mismo borde inferior */
|
||||
border: none !important;
|
||||
border-bottom: 1px solid #dee2e6 !important;
|
||||
/* padding reducido a 2px */
|
||||
padding: 2px !important;
|
||||
/* mismo wrapping */
|
||||
white-space: normal !important;
|
||||
word-wrap: break-word !important;
|
||||
}
|
||||
|
||||
/* ——— Wrapper scrollable idéntico ——— */
|
||||
.portlet-body.table-responsive {
|
||||
/* padding interior reducido */
|
||||
padding: 2px !important;
|
||||
/* misma altura máxima */
|
||||
max-height: 170px !important;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* ajustar los sub‑contenedores de “Utilidad” */
|
||||
#gvResumenSucursales .sub-columns,
|
||||
#gvResumenSucursales .sub-columns > div {
|
||||
padding: 2px !important;
|
||||
margin: 0 !important;
|
||||
}
|
||||
|
||||
|
||||
.custom-grid td,
|
||||
.custom-grid th,
|
||||
.resumen-grid td,
|
||||
.resumen-grid th {
|
||||
padding: 2px !important; /* Padding uniforme de 2px */
|
||||
vertical-align: middle !important;
|
||||
}
|
||||
|
||||
|
||||
.portlet-body.table-responsive {
|
||||
height: 170px !important; /* Altura exacta */
|
||||
overflow-y: auto !important; /* Scroll vertical si hay overflow */
|
||||
padding: 2px !important; /* Padding interno reducido */
|
||||
}
|
||||
|
||||
|
||||
#gvResumenSucursales .sub-data {
|
||||
padding: 2px !important; /* Padding igual al resto */
|
||||
border-left: 1px solid #dee2e6 !important;
|
||||
}
|
||||
|
||||
/* Eliminar padding extra en sub-columnas */
|
||||
#gvResumenSucursales .sub-columns > div {
|
||||
padding: 0 !important;
|
||||
margin: 0 !important;
|
||||
}
|
||||
</style>
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content3" ContentPlaceHolderID="E" runat="Server">
|
||||
@@ -808,7 +865,7 @@
|
||||
|
||||
<asp:GridView ID="gvResumenSucursales"
|
||||
runat="server"
|
||||
CssClass="table table-hover table-light custom-grid resumen-grid"
|
||||
CssClass="table table-hover table-light custom-grid"
|
||||
AutoGenerateColumns="false" Width="100%">
|
||||
<Columns>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user