Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
103 changes: 103 additions & 0 deletions assets/css/frontend.less
Original file line number Diff line number Diff line change
Expand Up @@ -1048,6 +1048,109 @@ Header
}
}

&__actions > div{
.header-navbar__menu, .header-navbar__menu ul {
.hp-unstyled-list;

li {
position: relative;
display: flex;
align-items: center;
justify-content: space-between;

&.menu-item-has-children {
&::after {
.hp-font-icon;
content: '\f105';
color: @icon-color;
font-size: 16px;
}
}

ul {
display: none;
position: absolute;
z-index: 1000;
top: 100%;
left: 0;
min-width: 14rem;
align-self: stretch;
padding: 1rem 0;
background-color: #fff;
border: 1px solid @border-color;
box-shadow: @box-shadow;

li {
padding: 0.25rem 1.5rem;

ul {
left: 100%;
top: -1rem;
margin-top: -1px;
}
}
}

&:focus-within > ul {
display: block;
}
}
}

.header-navbar__menu {
display: flex;
flex-wrap: wrap;
justify-content: flex-end;

@media screen and (max-width: 47.99em){
display: none;
}

&.wrap {
align-self: center;
padding-top: 0.75rem;
padding-bottom: 0.75rem;
}

> li {
padding: 0 1rem;

a{
margin-right: 0 !important;
}

&.menu-item-has-children::after {
content: '\f107';
margin-left: 0.5rem;
}

&.current-menu-item {
&::before {
position: absolute;
top: 0;
left: 0;
right: 0;
display: block;
height: 3px;
content: '';
background-color: @primary-background-color;
}
}
}

&.wrap > li {
padding-top: 0.25rem;
padding-bottom: 0.25rem;

&.current-menu-item {
&::before {
display: none;
}
}
}
}
}

&__burger {
&:not(:last-child) {
margin-right: 2rem;
Expand Down
2 changes: 1 addition & 1 deletion assets/css/frontend.min.css

Large diffs are not rendered by default.