Skip to content

Commit

Permalink
Navigation dropdown caret icon.
Browse files Browse the repository at this point in the history
  • Loading branch information
tejashkumbhare authored and tejash-wagento committed Jun 19, 2018
1 parent f48f78a commit 849d23d
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions lib/web/css/source/lib/_navigation.less
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,25 @@
overflow: visible !important;
}

&.parent {
> .level-top {
padding-right: 20px;

> .ui-menu-icon {
position: absolute;
right: 0;

.lib-icon-font(
@icon-down,
@_icon-font-size: 12px,
@_icon-font-line-height: 20px,
@_icon-font-text-hide: true,
@_icon-font-position: after
);
}
}
}

.submenu {
.lib-css(background, @_submenu-background-color);
.lib-css(border, @_submenu-border-width @_submenu-border-style @_submenu-border-color);
Expand Down Expand Up @@ -414,6 +433,26 @@
left: auto !important;
right: 100%;
}

li {
margin: 0;
&.parent {
> a {
> .ui-menu-icon {
position: absolute;
right: 3px;

.lib-icon-font(
@icon-next,
@_icon-font-size: 12px,
@_icon-font-line-height: 20px,
@_icon-font-text-hide: true,
@_icon-font-position: after
);
}
}
}
}
}

&.more {
Expand Down

0 comments on commit 849d23d

Please sign in to comment.