From 21012234409c01fec3cb5c506f0b4ba74b735b0b Mon Sep 17 00:00:00 2001 From: krateng Date: Sun, 21 Nov 2021 17:06:20 +0100 Subject: [PATCH] More design changes --- maloja/web/static/css/maloja.css | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/maloja/web/static/css/maloja.css b/maloja/web/static/css/maloja.css index a885e48..5ee2605 100644 --- a/maloja/web/static/css/maloja.css +++ b/maloja/web/static/css/maloja.css @@ -459,12 +459,19 @@ table.twopart>tbody>tr>td { table.list { border-collapse:collapse; +} + +table.list tr { + background-color: var(--current-bg-color); + border-color: var(--current-bg-color); } + table.list tr td { - border-bottom:2px solid; - border-color:var(--current-bg-color); + padding-top:2px; + padding-bottom: 2px; + white-space: nowrap; overflow:hidden; text-overflow:ellipsis; @@ -474,22 +481,17 @@ table.list tr td { } table.list tr:nth-child(even) { - /* background-color:var(--base-color-accent); */ --current-bg-color: rgba(255,255,255,0.05); - background-color: var(--current-bg-color); - border-color: var(--current-bg-color); /* make rows distinguishable with respect to any bg color */ } table.list tr:nth-child(5n) td { - border-color:rgba(120,120,120,0.2); - + border-bottom: 1px solid rgba(120,120,120,0.2); + padding-bottom: 1px; } table.list tr:hover { --current-bg-color: rgba(255,255,255,0.2); - background-color: var(--current-bg-color); - border-color: var(--current-bg-color); } table.list td.time {