empezando con la lógica del comparador

This commit is contained in:
Jaime Jimenez
2023-09-18 20:36:12 +02:00
parent 2eaec6604d
commit a63aa5e6b2
8 changed files with 270 additions and 118 deletions

View File

@ -1,22 +1,22 @@
/* Overwrite datatables styles */
table.dataTable.table-striped > tbody > tr.odd.selected > * {
table.dataTable.table-striped>tbody>tr.odd.selected>* {
box-shadow: inset 0 0 0 9999px rgba(13, 110, 253, 0.5);
}
table.dataTable > tbody > tr.selected > * {
table.dataTable>tbody>tr.selected>* {
box-shadow: inset 0 0 0 9999px rgba(13, 110, 253, 0.5);
color: white;
}
table.dataTable.table-hover > tbody > tr.selected:hover > * {
table.dataTable.table-hover>tbody>tr.selected:hover>* {
box-shadow: inset 0 0 0 9999px rgba(13, 110, 253, 0.65);
}
.comparator-table th, .comparator-table td {
.comparator-table th,
.comparator-table td {
padding-left: 0.6em;
padding-right: 0.6em;
padding-right: 0.6em;
}
@ -24,10 +24,20 @@ table.dataTable.table-hover > tbody > tr.selected:hover > * {
font-size: 0.65em;
}
.comparator-table th{
.comparator-table th {
font-size: 0.6em;
}
.comparator-table td.dt-result {
font-size: 0.9em;
font-weight: bold;
text-transform: uppercase;
}
.comparator-table td.dt-result-text {
text-align: right;
}
.comparator-table td.dt-result-value {
text-align: left;
}