Skip to content

Commit

Permalink
Desktop: Top menu: Fix contrast issues
Browse files Browse the repository at this point in the history
on elements with .disabled class by increasing contrast ratio
from 1.6:1 to 5.5:1 (> WCAG AA)

Change-Id: I28b0de258657ec34db0f3251cffe32dc41bfd511
  • Loading branch information
pedropintosilva committed Oct 7, 2020
1 parent 6abb99d commit 88ed22f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion loleaflet/css/menubar.css
Expand Up @@ -119,10 +119,13 @@
background: #0b87e7;
color: #fff;
}
.lo-menu > li, .lo-menu > li > a.disabled {
.lo-menu > li, .lo-menu > li > .disabled {
background: #ffffff; /* top-level menus remain greyish */
border-left-color: transparent;
}
.lo-menu > li .disabled {
color: var(--gray-light-txt--color);
}
.lo-menu > li > a:hover, .lo-menu > li > a:focus, .lo-menu > li > a:active, .lo-menu > li > a.highlighted {
background: #fff;
color: #000;
Expand Down

0 comments on commit 88ed22f

Please sign in to comment.