From f657a81824fbe6d262d7bc018ae198f1afe8296b Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 8 Jul 2024 08:33:24 +0200 Subject: [PATCH] components/buffer-list: fix text color when active and unread Previously this couldn't happen, but now we don't mark the active buffer as read when the window doesn't have focus. --- style.css | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/style.css b/style.css index dd41582..d601eb3 100644 --- a/style.css +++ b/style.css @@ -154,10 +154,6 @@ button.danger:hover { padding: 2px 10px; box-sizing: border-box; } -#buffer-list li.active a { - color: white; - background-color: var(--gray); -} #buffer-list li.error a { color: red; } @@ -167,6 +163,10 @@ button.danger:hover { #buffer-list li.unread-highlight a { color: #22009b; } +#buffer-list li.active a { + color: white; + background-color: var(--gray); +} #buffer-list li:not(.type-server) a { padding-left: 20px; } @@ -591,16 +591,16 @@ ul.switcher-list .server { scrollbar-color: var(--gray) transparent; } - #buffer-list li.active a { - color: var(--sidebar-background); - background-color: white; - } #buffer-list li.unread-message a { color: var(--green); } #buffer-list li.unread-highlight a { color: #0062cc; } + #buffer-list li.active a { + color: var(--sidebar-background); + background-color: white; + } #buffer-header .status-gone { color: #fb885b;