From: Art Cancro Date: Wed, 20 Dec 2023 04:07:00 +0000 (-0500) Subject: Tuned up the CSS on more banner buttons X-Git-Tag: v997~67 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=827cce0cf5999b2f76e9795787b89f2474c2fed0 Tuned up the CSS on more banner buttons --- diff --git a/webcit-ng/static/css/webcit.css b/webcit-ng/static/css/webcit.css index 0470c8b26..01c168bb1 100644 --- a/webcit-ng/static/css/webcit.css +++ b/webcit-ng/static/css/webcit.css @@ -87,7 +87,6 @@ display: block; background-color: DarkSlateGrey; color: White; - /* font-size: 1.7vh; */ font-size: calc(50% + 0.6vw); border: none; padding: 1vh; @@ -224,12 +223,13 @@ html,body,h1,h2,h3,h4,h5 { border-width: thin; border-color: Black; cursor: default; + font-size: calc(50% + 0.4vh); } .ctdl-msg-button:hover { background-color: #123456; color: GhostWhite; - transition: .3s; + transition: .4s; border-color: #123456; cursor: default; } diff --git a/webcit-ng/static/js/view_mail.js b/webcit-ng/static/js/view_mail.js index f1596dcae..4b2470021 100644 --- a/webcit-ng/static/js/view_mail.js +++ b/webcit-ng/static/js/view_mail.js @@ -337,12 +337,12 @@ function mail_render_row(msg, is_selected) { // RENDERER FOR THIS VIEW function view_render_mail() { // Put the "enter new message" button into the topbar - document.getElementById("ctdl-newmsg-button").innerHTML = "" + _("Write mail"); + document.getElementById("ctdl-newmsg-button").innerHTML = ` ` + _("Write mail"); document.getElementById("ctdl-newmsg-button").style.display = "block"; // Put the "delete message(s)" button into the topbar let d = document.getElementById("ctdl-delete-button"); - d.innerHTML = "" + _("Delete"); + d.innerHTML = ` ` + _("Delete"); d.style.display = "block"; //d.addEventListener("click", mail_delete_selected);