fix(ui): tablas en modo oscuro, perfil en español y cabeceras v3.8.18
This commit is contained in:
@@ -1096,6 +1096,43 @@
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
/* =======================================================
|
||||
ARMONIZACIÓN GLOBAL DE TABLAS EN MODO OSCURO (DARK MODE)
|
||||
Neutraliza .table-light y cabeceras claras que rompen el contraste
|
||||
======================================================= */
|
||||
[data-bs-theme="dark"] .table-light,
|
||||
[data-bs-theme="dark"] thead.table-light,
|
||||
[data-bs-theme="dark"] thead.table-light th,
|
||||
[data-bs-theme="dark"] thead.table-light td,
|
||||
[data-bs-theme="dark"] .table > :not(caption) > *.table-light > *,
|
||||
[data-bs-theme="dark"] .table thead.table-light th {
|
||||
--bs-table-color: #cbd5e1 !important;
|
||||
--bs-table-bg: #1e293b !important;
|
||||
--bs-table-border-color: rgba(255, 255, 255, 0.08) !important;
|
||||
background-color: #1e293b !important;
|
||||
color: #e2e8f0 !important;
|
||||
border-color: rgba(255, 255, 255, 0.08) !important;
|
||||
}
|
||||
|
||||
[data-bs-theme="dark"] .table thead th {
|
||||
background-color: #1e293b !important;
|
||||
color: #f1f5f9 !important;
|
||||
border-bottom: 2px solid rgba(255, 255, 255, 0.12) !important;
|
||||
}
|
||||
|
||||
[data-bs-theme="dark"] .table {
|
||||
--bs-table-color: #cbd5e1 !important;
|
||||
--bs-table-border-color: rgba(255, 255, 255, 0.08) !important;
|
||||
}
|
||||
|
||||
[data-bs-theme="dark"] .table-hover > tbody > tr:hover > * {
|
||||
--bs-table-hover-bg: rgba(255, 255, 255, 0.04) !important;
|
||||
--bs-table-hover-color: #f8fafc !important;
|
||||
}
|
||||
|
||||
[data-bs-theme="dark"] .table-striped > tbody > tr:nth-of-type(odd) > * {
|
||||
--bs-table-striped-bg: rgba(255, 255, 255, 0.02) !important;
|
||||
}
|
||||
</style>
|
||||
|
||||
{% block extra_css %}{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user