Skip to content

Commit

Permalink
Better approach to underline access key markers, regardless of backgr…
Browse files Browse the repository at this point in the history
…ound color
  • Loading branch information
palant committed Apr 29, 2023
1 parent 5acb0a3 commit 0fe7988
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ui/_shared.scss
Original file line number Diff line number Diff line change
Expand Up @@ -295,10 +295,10 @@ input[type="checkbox"]:checked
.accessKeyMarker
{
/* text-decoration isn’t drawn below descenders like g */
background-size: 1px 1em;
box-shadow:
inset 0 -0.125em $background-color,
inset 0 -0.175em $text-color;
background-size: 100% 1px;
background-repeat: repeat-x;
background-image: linear-gradient(to right, $text-color 0%, $text-color 100%);
background-position: 0 90%;
}

.accessKeyHint
Expand Down

0 comments on commit 0fe7988

Please sign in to comment.