mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 07:52:24 +00:00
dm: make the selected conversation clearly distinct in the sidebar
The active contact row only swapped to --surface-sunken with a --border-strong border, nearly identical to the hover state, so it was hard to tell which conversation was selected. Give it an accent-tinted background, an accent border, an inset left accent bar, and accent-colored bold name text. Co-Authored-By: Claude Opus 4.8 <[email protected]>
This commit is contained in:
1 parent
d29287a580
commit
ebea4434de
1 file changed
+11
-3
+11
-3
@@ -5197,9 +5197,17 @@
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.dm-contact-row--active {
|
||||
background: var(--surface-sunken);
|
||||
border-color: var(--border-strong);
|
||||
.dm-contact-row--active,
|
||||
.dm-contact-row--active:hover,
|
||||
.dm-contact-row--active:focus-visible {
|
||||
background: color-mix(in srgb, var(--color-accent) 16%, transparent);
|
||||
border-color: color-mix(in srgb, var(--color-accent) 60%, var(--border-strong));
|
||||
box-shadow: inset 3px 0 0 0 var(--color-accent);
|
||||
}
|
||||
|
||||
.dm-contact-row--active .dm-contact-row__name {
|
||||
color: var(--color-accent-strong);
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.dm-contact-row__content {
|
||||
|
||||
Reference in new issue
Block a user