Newer
Older
Markus Kalijärvi
committed
:host(.hy-menu-item) {
border-top: 1px dashed var(--grayscale-medium-dark);
display: flex;
Markus Kalijärvi
committed
}
:host(.hy-menu-item:first-of-type) {
border-top: 3px solid var(--brand-main-nearly-black);
}
:host(.hy-menu-item.menu-item--alternative) {
border-bottom: 0 none;
border-top: 1px solid black;
}
:host(.hy-menu-item:last-of-type) {
border-bottom: 0 none;
}
:host([depth='1']:not(.menu-item--alternative)) a {
@include font-weight($bold);
}
:host(.hy-menu-item.is-hidden) {
visibility: hidden !important;
}
:host(.hy-menu-item.hy-menu-item--desktop.is-hidden) {
visibility: visible !important;
}
:host(.hy-menu-item.hy-menu-item--desktop) {
border: 0 none;
--menu-item-display: none;
}
:host(.hy-menu-item.hy-menu-item--desktop:first-of-type) {
border: 0 none;
--menu-item-display: none;
}
Markus Kalijärvi
committed
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
a {
@include font-size(15px, 20px);
@include font-weight($regular);
align-items: center;
color: var(--brand-main-nearly-black);
display: flex;
font-family: var(--main-font-family);
padding: 24px 16px;
text-decoration: none;
width: 100%;
&:focus {
outline: solid 2px var(--additional-yellow);
outline-offset: 2px;
}
&.in-active-trail {
.hy-menu-item__label {
border-bottom: 2px solid var(--additional-orange);
padding-bottom: 5px;
}
}
&.is-active,
&.is-heading {
.hy-menu-item__label {
@include font-weight($bold);
}
}
}
.hy-menu-item__button {
align-items: center;
background: transparent;
border: 0 none;
cursor: pointer;
display: var(--menu-item-display);
Markus Kalijärvi
committed
justify-content: center;
width: 70px;
&:focus {
outline: solid 2px var(--additional-yellow);
outline-offset: 2px;
}
&::before {
border-left: 1px dashed var(--brand-main-nearly-black);
content: '';
display: block;
height: 16px;
margin-right: 16px;
width: 1px;
}
}