From f101115f22297fab6ce08fe89a80c906fb47dc2f Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Fri, 9 Sep 2022 11:58:04 -0400 Subject: [PATCH] more tweaks to mailbox css --- webcit-ng/static/css/webcit.css | 9 +++++++-- webcit-ng/static/js/view_mail.js | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/webcit-ng/static/css/webcit.css b/webcit-ng/static/css/webcit.css index 37f4dc8f8..de5fbae2f 100644 --- a/webcit-ng/static/css/webcit.css +++ b/webcit-ng/static/css/webcit.css @@ -319,6 +319,7 @@ blockquote pre { overflow: hidden; width: 100%; height: 100%; + background-color: GhostWhite; } .ctdl-mailbox-pane { /* list of messages when in mailbox view */ @@ -335,8 +336,11 @@ blockquote pre { } .ctdl-mailbox-table td { - padding-top: 5px; - padding-bottom: 5px; + padding: 5px; +} + +.ctdl-mailbox-table tr { + cursor: pointer; } .ctdl-mailbox-table tr:nth-child(even) { /* this gives us the alternating-bar effect */ @@ -361,6 +365,7 @@ blockquote pre { .ctdl-mailbox-table th:hover { /* Suppress highlighting the header bar */ background-color: SlateGrey; color: White; + cursor: default; } .ctdl-mailbox-reading-pane { /* message reading pane when in mailbox view */ diff --git a/webcit-ng/static/js/view_mail.js b/webcit-ng/static/js/view_mail.js index e27ef6810..9ed218b04 100644 --- a/webcit-ng/static/js/view_mail.js +++ b/webcit-ng/static/js/view_mail.js @@ -115,7 +115,7 @@ function mail_render_row(msg) { + ">" + "" + msg["subject"] + "" + "" + msg["author"] + " <" + msg["addr"] + ">" - + "" + string_timestamp(msg["time"],1) + "" + + "" + string_timestamp(msg["time"],1) + "" + "" + msg["msgnum"] + "" + ""; return(row); -- 2.39.2