Quelques améliorations visuelles sur les tableaux

This commit is contained in:
Colin Maudry
2026-01-29 03:01:50 +01:00
parent a44aaf6df6
commit 30e822d435
2 changed files with 16 additions and 4 deletions
+10 -1
View File
@@ -199,10 +199,11 @@ p.version > a {
border-color: #ccc; border-color: #ccc;
border-style: solid; border-style: solid;
border-width: 1px; border-width: 1px;
border-radius: 2px; border-radius: 3px;
height: 28px; height: 28px;
font-family: "Fira Code"; font-family: "Fira Code";
caret-color: #000; caret-color: #000;
background-color: rgb(250 250 250);
text-align: left !important; text-align: left !important;
padding: 1px 2px 0 2px; padding: 1px 2px 0 2px;
vertical-align: center; vertical-align: center;
@@ -212,6 +213,14 @@ p.version > a {
display: none; display: none;
} }
.dash-table-container
.dash-spreadsheet-container
.dash-spreadsheet-inner
.cell-table
th.dash-filter {
background-color: #ccc;
}
/* Custom Marches Table */ /* Custom Marches Table */
.marches_table table td, .marches_table table td,
.marches_table table th { .marches_table table th {
+6 -3
View File
@@ -261,15 +261,19 @@ class DataTable(dash_table.DataTable):
{ {
"if": {"column_id": "objet"}, "if": {"column_id": "objet"},
"minWidth": "350px", "minWidth": "350px",
"textAlign": "left",
"overflow": "hidden", "overflow": "hidden",
"lineHeight": "18px", "lineHeight": "18px",
"whiteSpace": "normal", "whiteSpace": "normal",
}, },
{
"if": {"column_id": "acheteur_id"},
"minWidth": "160px",
"overflow": "hidden",
"whiteSpace": "normal",
},
{ {
"if": {"column_id": "acheteur_nom"}, "if": {"column_id": "acheteur_nom"},
"minWidth": "250px", "minWidth": "250px",
"textAlign": "left",
"overflow": "hidden", "overflow": "hidden",
"lineHeight": "18px", "lineHeight": "18px",
"whiteSpace": "normal", "whiteSpace": "normal",
@@ -277,7 +281,6 @@ class DataTable(dash_table.DataTable):
{ {
"if": {"column_id": "titulaire_nom"}, "if": {"column_id": "titulaire_nom"},
"minWidth": "250px", "minWidth": "250px",
"textAlign": "left",
"overflow": "hidden", "overflow": "hidden",
"lineHeight": "18px", "lineHeight": "18px",
"whiteSpace": "normal", "whiteSpace": "normal",