Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
hitesh-wagento committed Jul 14, 2018
1 parent 7d62c64 commit faa9815
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
11 changes: 11 additions & 0 deletions lib/web/css/source/lib/_navigation.less
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@
.lib-css(padding, @_nav-level0-item-padding);
.lib-css(text-transform, @_nav-level0-text-transform);
word-wrap: break-word;
&:hover {
.lib-css(color, @navigation-level0-item__hover__color);
}
}

&.active {
Expand Down Expand Up @@ -139,6 +142,11 @@
.submenu {
> li {
word-wrap: break-word;
> a {
&:hover {
.lib-css(color, @navigation-level0-item__hover__color);
}
}
}

&:not(:first-child) {
Expand Down Expand Up @@ -178,6 +186,9 @@
.lib-css(text-decoration, @_submenu-item-text-decoration);
display: block;
line-height: normal;
&:hover {
.lib-css(color, @navigation-level0-item__hover__color);
}
}
}
}
Expand Down
1 change: 1 addition & 0 deletions lib/web/css/source/lib/variables/_navigation.less
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
@navigation-level0-item__active__border-width: 0 0 0 8px;
@navigation-level0-item__active__color: '';
@navigation-level0-item__active__text-decoration: '';
@navigation-level0-item__hover__color: @primary__color;

@submenu__background: '';
@submenu__border: '';
Expand Down

0 comments on commit faa9815

Please sign in to comment.