Newer
Older
:host(.menu--main-group) {
align-items: center;
display: flex;
flex-flow: row;
margin-left: 28px;
@include breakpoint($narrow) {
margin-left: 32px;
}
@include breakpoint($wide) {
margin-left: 40px;
}
@include font-size(14px, 16px);
@include font-weight($semibold);
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);
margin: 0 -4px;
padding: 0;
&:focus {
}
&:hover {
}
@include breakpoint($wide) {
height: 15.27px;
width: 3px;
}
@include breakpoint($extrawide) {
height: 14px;
width: 3px;
}
}
span {
@include breakpoint($wide) {
margin-left: 17px;
}
}
}
.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;
.list {
display: flex;
flex-flow: column;
justify-items: center;
position: relative;
}
align-items: center;
display: flex;
flex-direction: row;
margin-bottom: 20px;
text-decoration: none;
}
.menu--main-group__label {
color: var(--grayscale-white);
:host(.menu--main-group--mobile) {
align-items: center;
display: flex;
flex-flow: row;
margin-left: 28px;
@include breakpoint($narrow) {
margin-left: 32px;
}
@include breakpoint($wide) {
margin-left: 40px;
}
}
.menu--main-group__mobile-toggle {
border: none;
background: transparent;
padding: 15px 28px 15px 15px;
}
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
.menu--main-group__dropdown__top {
}
.menu--main-group__dropdown__items {
}
.menu--main-group__dropdown__donate {
}
.menu--main-group__dropdown--mobile {
place-items: stretch;
//inset: 0px;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
flex-direction: column;
justify-items: space-between;
background-color: var(--grayscale-black);
bottom: 0px;
overflow: hidden;
padding: 0px;
position: fixed;
right: 0px;
top: 0px;
transform: translateX(100%);
transition: all 0.3s ease 0s;
visibility: hidden;
width: 0px;
&.is-open {
padding: 20px;
transform: translateX(0px);
visibility: visible;
width: 90%;
z-index: 100;
padding-top: 50px;
transition: transform 0.3s cubic-bezier(0, 0, 0.3, 1);
&::after {
opacity: 1;
visibility: visible;
}
}
}