From ba119555fe696f9d5fc05af09e74f37ddc25360b Mon Sep 17 00:00:00 2001 From: Kris Date: Fri, 7 Apr 2023 17:16:27 -0400 Subject: [PATCH] A11Y: increase contrast of elements in wcag scheme (#21025) --- app/assets/stylesheets/wcag.scss | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/app/assets/stylesheets/wcag.scss b/app/assets/stylesheets/wcag.scss index a54ad3df530..5f7c981b0c2 100644 --- a/app/assets/stylesheets/wcag.scss +++ b/app/assets/stylesheets/wcag.scss @@ -147,6 +147,10 @@ html { color: var(--primary-high); } + .topic-list .posters a:first-child .avatar.latest:not(.single) { + box-shadow: 0 0 0 2px var(--tertiary); + } + // Posts .discourse-no-touch .topic-body .actions .fade-out { @@ -302,3 +306,23 @@ html { 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); +}