-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: save css-homepage-2024-02 snippet * fix: save css-banner-tacc bugfix * fix: incorrect location for comments and a11y css * docs: improve tacc banner height edit message * docs: kinder tacc banner height edit message --------- Co-authored-by: Jake Rosenberg <[email protected]>
- Loading branch information
1 parent
20b334f
commit 64859a8
Showing
2 changed files
with
23 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
apps/tup-cms/src/taccsite_cms/templates/snippets/css-global-a11y.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<style id="css-global-a11y"> | ||
/* 1. To make mobile menu button stand out */ | ||
.navbar-dark .navbar-toggler { | ||
border-color: var(--global-color-primary--normal); | ||
} | ||
|
||
/* 2. To make keyboard focus stand out on header */ | ||
/* | ||
.nav-link:focus-visible, | ||
#header-logo:focus-visible, | ||
.navbar-dark .navbar-toggler:focus-visible { | ||
*/ | ||
#s-header :focus, | ||
#header-branding a:focus, | ||
.s-search-bar::part(input):focus, | ||
.s-search-bar::part(button):focus { | ||
outline-color: var(--global-color-primary--xx-light); | ||
} | ||
</style> |