mirror of
https://github.com/jhillyerd/inbucket.git
synced 2025-12-20 11:07:01 +00:00
ui: Keyboard accessibility focus highlights (#180)
* Focus indication for mailbox message list * Add focus for monitor message list
This commit is contained in:
@@ -98,9 +98,14 @@
|
||||
border-width: 1px;
|
||||
border-style: none solid solid solid;
|
||||
cursor: pointer;
|
||||
outline: none;
|
||||
padding: 5px 8px;
|
||||
}
|
||||
|
||||
.message-list-entry:focus {
|
||||
background-color: var(--focused-bg-color) !important;
|
||||
}
|
||||
|
||||
.message-list-entry.selected {
|
||||
background-color: var(--selected-color);
|
||||
}
|
||||
@@ -109,6 +114,10 @@
|
||||
border-style: solid;
|
||||
}
|
||||
|
||||
.message-list-entry:focus .subject {
|
||||
color: var(--focused-color);
|
||||
}
|
||||
|
||||
.message-list-entry .subject {
|
||||
color: var(--high-color);
|
||||
}
|
||||
@@ -117,6 +126,12 @@
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.message-list-entry:focus .from,
|
||||
.message-list-entry:focus .date {
|
||||
color: var(--focused-color);
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
.message-list-entry .from,
|
||||
.message-list-entry .date {
|
||||
color: var(--low-color);
|
||||
|
||||
Reference in New Issue
Block a user