mirror of
https://codeberg.org/emersion/gamja.git
synced 2024-11-25 00:38:12 -05:00
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.
This commit is contained in:
parent
c69869209f
commit
f657a81824
1 changed files with 8 additions and 8 deletions
16
style.css
16
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;
|
||||
|
|
Loading…
Reference in a new issue