mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-02-23 01:54:18 -08:00
Update global.scss (#127)
Fix some low-contrast accessibility issues for mobile menu.
This commit is contained in:
parent
3837538e51
commit
760edb4feb
1 changed files with 11 additions and 3 deletions
|
@ -76,7 +76,7 @@ $j40-max-width: 80ex;
|
|||
}
|
||||
|
||||
span {
|
||||
// make sure the open close cheveron is colored correctly
|
||||
// make sure the open close chevron is colored correctly
|
||||
color: white;
|
||||
}
|
||||
|
||||
|
@ -95,8 +95,16 @@ $j40-max-width: 80ex;
|
|||
font-size: 1.2em;
|
||||
}
|
||||
|
||||
//media (max-width: 63.99em)
|
||||
//.usa-nav__primary a:not(.usa-button):hover {}
|
||||
// invert the hover color so contrast stays good enough for accessibility
|
||||
.usa-nav__primary a:not(.usa-button):hover {
|
||||
background-color: #2491ff !important;
|
||||
}
|
||||
|
||||
// this is the closebox, it's not easy to change the X color, so we change
|
||||
// the background to keep it's contrast high
|
||||
.usa-nav__close {
|
||||
background-color: white;
|
||||
}
|
||||
}
|
||||
|
||||
.j40-aside {
|
||||
|
|
Loading…
Add table
Reference in a new issue