Skip to content

Commit

Permalink
[TASK] Add text color for focus state for main menu links (#365)
Browse files Browse the repository at this point in the history
  • Loading branch information
hputzek authored and MattiasNilsson committed Dec 7, 2017
1 parent 4b81734 commit b782f9c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions felayout_t3kit/dev/styles/main/header/header.less
Original file line number Diff line number Diff line change
Expand Up @@ -627,6 +627,17 @@
line-height: 40px;
}

// for all links excluding active elements set color on focus
.main-navigation__item:not(._active),
.main-navigation__sub-item:not(._active) {
.main-navigation__item-link,
.main-navigation__sub-item-link {
&:focus {
color: @nav-link-hover-color;
}
}
}

.main-navigation__sub-item-list {
list-style: none;
padding: 0;
Expand Down

0 comments on commit b782f9c

Please sign in to comment.