Newer
Older
:host {
display: block;
}
.hy-site-header {
&__menu-desktop {
align-items: center;
display: flex;
flex-flow: row;
width: 100%;
.desktop-menu-link {
color: var(--brand-main-nearly-black);
cursor: pointer;
font-family: var(--main-font-family);
@include breakpoint($extrawide) {
@include font-size(15px, 16px);
@include font-weight($bold);
border-top: 0 none;
@include font-size(18px, 16px);
&--is-active {
background-color: var(--grayscale-background-box);
padding: 35px 10px;
position: relative;
.desktop-menu-link__heading__icon {
bottom: 14px;
display: block;
left: 0;
position: absolute;
width: 100%;
hy-icon {
justify-content: center;
transform: rotateX(180deg);
svg {
padding: 4px 0;
}
}
}
.hy-desktop-menu-panel {
display: none;
&--is-active {
background-color: var(--grayscale-white);
display: flex;
flex-direction: row;
justify-content: center;
opacity: 1;
position: absolute;
left: 0;
width: 100%;
z-index: 510;
}
&__desktop-menu {
position: relative;
left: 300px;
width: 50%;
}
&__panel-toggle {
position: absolute;
right: 10px;
top: 10px;
}
}
/*
apply to desktop menu links upper level
&.hy-menu-item--desktop {
&.in-active-trail {
.hy-menu-item__label {
@include breakpoint($medium) {
border-bottom: 4px solid var(--brand-main-nearly-black);
padding-bottom: 8px;
}
@include breakpoint($extrawide) {
padding-bottom: 8px;
padding-top: 14px;
}
@include breakpoint($overwide) {
padding-top: 12px;
padding-bottom: 12px;
}
}
}
}
*/