mirror of
https://github.com/discourse/discourse.git
synced 2025-06-24 01:28:08 +08:00
A11Y: increase contrast of elements in wcag scheme (#21025)
This commit is contained in:
@ -147,6 +147,10 @@ html {
|
|||||||
color: var(--primary-high);
|
color: var(--primary-high);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.topic-list .posters a:first-child .avatar.latest:not(.single) {
|
||||||
|
box-shadow: 0 0 0 2px var(--tertiary);
|
||||||
|
}
|
||||||
|
|
||||||
// Posts
|
// Posts
|
||||||
|
|
||||||
.discourse-no-touch .topic-body .actions .fade-out {
|
.discourse-no-touch .topic-body .actions .fade-out {
|
||||||
@ -302,3 +306,23 @@ html {
|
|||||||
background-color: yellow; // resets to browser default
|
background-color: yellow; // resets to browser default
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// chat
|
||||||
|
|
||||||
|
.no-touch
|
||||||
|
.chat-messages-container
|
||||||
|
.chat-message:hover
|
||||||
|
.chat-message-react-btn:hover {
|
||||||
|
.d-icon {
|
||||||
|
color: var(--primary) !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// sidebar
|
||||||
|
|
||||||
|
.sidebar-wrapper
|
||||||
|
.sidebar-sections
|
||||||
|
.sidebar-section-link-suffix.icon.unread
|
||||||
|
svg {
|
||||||
|
color: var(--tertiary);
|
||||||
|
}
|
||||||
|
Reference in New Issue
Block a user