From 9bea2bc0449cc6fb8b5f272524c8b65fddcb4bc6 Mon Sep 17 00:00:00 2001 From: Ulli Hafner Date: Tue, 27 Feb 2024 21:05:55 +0100 Subject: [PATCH] Remove striping and improve overall table layout. --- src/main/resources/data-tables/table.jelly | 2 +- src/main/webapp/css/jenkins-style.css | 29 +++++++++++----------- 2 files changed, 15 insertions(+), 16 deletions(-) diff --git a/src/main/resources/data-tables/table.jelly b/src/main/resources/data-tables/table.jelly index 3cf5becf..eb6c392f 100644 --- a/src/main/resources/data-tables/table.jelly +++ b/src/main/resources/data-tables/table.jelly @@ -36,7 +36,7 @@
- diff --git a/src/main/webapp/css/jenkins-style.css b/src/main/webapp/css/jenkins-style.css index e5a8d8b3..c5bb08d6 100644 --- a/src/main/webapp/css/jenkins-style.css +++ b/src/main/webapp/css/jenkins-style.css @@ -1,23 +1,22 @@ -/* Styling without stripes */ - -/*table {*/ -/* border-collapse:collapse;*/ -/*}*/ +table { + border-collapse:collapse; +} -/*tr {*/ -/* border-bottom: 1pt solid var(--bs-table-border-color);*/ -/*}*/ +tr { + border-bottom: 1pt solid var(--bs-table-border-color); +} -/*tr.dt-hasChild {*/ -/* border-bottom: 0;*/ -/*}*/ +tr.dt-hasChild { + border-bottom: 0; +} -/*tr:last-child {*/ -/* border-bottom: .5pt solid var(--medium-grey);*/ -/*}*/ +tr:last-child { + border-bottom: .5pt solid var(--medium-grey); +} /* Add rounded border for table header hover */ -table.dataTable thead > tr > th.dt-orderable-asc:hover, table.dataTable thead > tr > th.dt-orderable-desc:hover, +table.dataTable thead > tr > th.dt-orderable-asc:hover, +table.dataTable thead > tr > th.dt-orderable-desc:hover, table.dataTable thead > tr > td.dt-orderable-asc:hover, table.dataTable thead > tr > td.dt-orderable-desc:hover { outline: 1.5px solid var(--bs-table-border-color);