From cfb5b125d3644c09d32d692262752bc0b9d33fdb Mon Sep 17 00:00:00 2001 From: George Halkiadakis Date: Wed, 7 Jun 2023 03:15:06 +0300 Subject: several hot-fixes fot dataTables transpancery --- public/assets/css/class.css | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'public/assets/css/class.css') diff --git a/public/assets/css/class.css b/public/assets/css/class.css index fb3124a..9113ec4 100644 --- a/public/assets/css/class.css +++ b/public/assets/css/class.css @@ -18,6 +18,11 @@ --form-input-height: 31px; --form-layer-bgr: #dddb; /* form layer background */ + --table-head-bgr: #fff6; + --table-row-bgr: #eee4; + --table-odd-row-bgr: #fff4; + --table-row-hover-bgr: #fffa; + /* select2 */ --select2-arrow-top: 10px; --select2-height: 31px; @@ -219,11 +224,14 @@ html, body { .manage { padding: 1.5em; } .manage .title-bar h5 { margin-bottom: 1rem; } -.manage .table tbody tr:hover { background: #eeea; } -.manage tbody, td, tfoot, th, thead, tr { background: #ddd4; } -.manage tbody, td, tfoot, th, thead, tr.odd { background: #fff4; } +table.dt-table thead tr { background: var(--table-head-bgr); } +table.dt-table tr > td, table.dt-table tr > th { background: transparent;} +table.dt-table tbody tr { background: var(--table-row-bgr); } +table.dt-table tbody tr.odd { background: var(--table-odd-row-bgr); } +table.dt-table tbody tr:hover { background: var(--table-row-hover-bgr); } .manage tbody td { font-size: 14px; } +.dt-actions { width: 80px; text-align: right; } -- cgit v1.2.3