Skip to content

Commit

Permalink
Merge pull request #144 from UniversityofHelsinki/quick_menu_active_t…
Browse files Browse the repository at this point in the history
…rail

Underline active trail links in quick menu
  • Loading branch information
samuli-as authored Jun 29, 2018
2 parents b68c6a8 + 6d284d3 commit d6db079
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -7208,7 +7208,7 @@ ul.pager > li.pager__page a {
text-transform: uppercase;
}

.quick-menu a:hover:before, .quick-menu a.active:before {
.quick-menu a:hover:before, .quick-menu a.active:before, .quick-menu a.active-trail:before {
content: "";
position: absolute;
border-bottom: 2px solid #FFF;
Expand Down
3 changes: 2 additions & 1 deletion sass/components/_quick-menu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
text-transform: uppercase;

&:hover,
&.active {
&.active,
&.active-trail {
&:before {
content: "";
position: absolute;
Expand Down

0 comments on commit d6db079

Please sign in to comment.