Newer
Older
:host(.menu--main-group) {
align-items: center;
display: flex;
flex-flow: row;
position: relative;
margin-left: 28px;
@include breakpoint($narrow) {
margin-left: 32px;
}
@include breakpoint($wide) {
margin-left: 40px;
}
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
}
.menu--main-group__toggle {
@include font-size(14px, 24px);
align-items: center;
background: var(--grayscale-black);
border: 0 none;
color: var(--grayscale-white);
display: flex;
flex-flow: row;
font-family: var(--main-font-family);
font-weight: 600;
letter-spacing: -0.4px;
margin: 0 -4px;
padding: 0;
&:focus {
}
&:hover {
}
}
.menu--main-group__dropdown {
display: none;
visibility: hidden;
&.is-open {
background-color: var(--grayscale-black);
border-radius: 0 0 5px 5px;
box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2);
color: var(--grayscale-white);
display: flex;
flex-flow: column;
justify-items: center;
left: -15px;
margin: 0;
padding: 15px;
position: absolute;
visibility: visible;
width: max-content;
z-index: 100;
.menu-main-link {
@include font-size(16px, 20px);
text-decoration: none;
}
.menu--main-group__label {
color: var(--grayscale-white);
}
}
}