Newer
Older
Markus Kalijärvi
committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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
78
79
80
:host(.hy-menu-item) {
border-top: 1px dashed var(--grayscale-medium-dark);
display: flex;
}
: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;
}
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: flex;
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;
}
}