@ -1,8 +1,10 @@
body {
body {
#mobile-nav {
#mobile-nav {
display: none;
display: none;
}
}
&.mobile-nav-active {
&.mobile-nav-active {
#mobile-nav {
#mobile-nav {
display: block;
display: block;
position: fixed;
position: fixed;
@ -13,7 +15,8 @@ body {
height: 100%;
height: 100%;
}
}
}
}
.header {
.header {
padding: 10px 0;
padding: 10px 0;
@media screen and (max-width: $lg) {
@media screen and (max-width: $lg) {
padding-top:17px;
padding-top:17px;
@ -21,6 +24,7 @@ body {
border-bottom: 1px solid #1b1c1f;
border-bottom: 1px solid #1b1c1f;
position: fixed;
position: fixed;
width: 100vw;
width: 100vw;
height: 80px;
background: white;
background: white;
z-index: 100;
z-index: 100;
&__logo {
&__logo {
@ -58,7 +62,8 @@ body {
&:not(:last-child) {
&:not(:last-child) {
margin-right: 1em;
margin-right: 1em;
}
}
&:hover a::after, &._active a::after {
&:hover a::after,
&._active a::after {
width: 100%;
width: 100%;
}
}
a {
a {
@ -81,24 +86,20 @@ body {
&__contact-col {
&__contact-col {
flex-grow: 0;
flex-grow: 0;
}
}
&__contact-btn, &__login-btn {
&__contact-btn,
&__login-btn {
min-width: 80px;
min-width: 80px;
white-space: nowrap;
white-space: nowrap;
}
}
&__login-btn {
&__login-btn {
margin-left: 1.5em;
margin-left: 1.5em;
}
}
&__uppermenu {
}
margin-bottom: 0.75rem;
align-items: center;
line-height: 1.0;
// Mobile navigation
li {
margin-left: 0.35em;
#mobile-nav-toggle {
margin-right: 0.35em;
}
}
}
#mobile-nav-toggle {
border: none;
border: none;
height: 45px;
height: 45px;
margin-right: 5px;
margin-right: 5px;
@ -106,8 +107,9 @@ body {
@media screen and (min-width: $lg) {
@media screen and (min-width: $lg) {
display: none;
display: none;
}
}
}
}
#mobile-nav {
#mobile-nav {
border-bottom: 1px solid black;
border-bottom: 1px solid black;
@media screen and (max-width: $lg) {
@media screen and (max-width: $lg) {
display: none;
display: none;
@ -116,26 +118,32 @@ body {
ul {
ul {
list-style: none;
list-style: none;
padding-left: 0;
padding-left: 0;
&:first-child {
&:first-child {
height: 100%;
height: 100%;
top: -5px;
top: -5px;
overflow-y: auto;
overflow-y: auto;
}
}
&.menu-item-active {
&.menu-item-active {
margin-top:0;
margin-top:0;
}
}
li {
li {
&.menu-has-children {
&.menu-has-children {
padding-left:4%;
padding-left:4%;
}
}
&.join {
&.join {
display: none;
display: none;
}
}
a {
a {
display: inline-block;
display: inline-block;
&.expandable-active {
&.expandable-active {
font-weight: 500;
font-weight: 500;
font-size: 100%;
font-size: 100%;
}
}
}
}
i {
i {
@ -151,7 +159,7 @@ body {
margin-right: auto;
margin-right: auto;
border: none;
border: none;
li {
li {
padding: 0 15px;
padding:0 15px;
}
}
}
}
&:hover {
&:hover {
@ -170,10 +178,14 @@ body {
display: none;
display: none;
}
}
}
}
.header__menu-item {
// Desktop navigation responsive
.header__menu-item {
@media screen and (min-width: $lg) {
@media screen and (min-width: $lg) {
// font-size: 83%;
// font-size: 83%;
}
}
&.menu-has-children {
&.menu-has-children {
ul {
ul {
width:300px;
width:300px;
@ -192,6 +204,7 @@ body {
@media screen and (min-width: $lg) {
@media screen and (min-width: $lg) {
font-size: 100%;
font-size: 100%;
}
}
a {
a {
border: none;
border: none;
text-align:left;
text-align:left;
@ -204,16 +217,19 @@ body {
}
}
}
}
}
}
.header__logo {
.header__logo {
img {
img {
@media screen and (max-width: $lg) {
@media screen and (max-width: $lg) {
max-width:200px;
max-width:200px;
height: auto;
height: auto;
}
}
@media screen and (min-width:$lg) and (max-width: $xl) {
@media screen and (min-width:$lg) and (max-width: $xl) {
max-width:120px;
max-width:120px;
height: auto;
height: auto;
}
}
@media screen and (min-width:$xl) and (max-width: $xxl) {
@media screen and (min-width:$xl) and (max-width: $xxl) {
max-width:120px;
max-width:120px;
height: auto;
height: auto;
@ -221,11 +237,15 @@ body {
}
}
}
}
}
}
// Mobile navigation: mobile and desktop visibility
.mobile-view-social-join {
.mobile-view-social-join {
@media screen and (min-width: $lg) {
@media screen and (min-width: $lg) {
display: none;
display: none;
}
}
}
}
.social__list {
.social__list {
&.desktop-view {
&.desktop-view {
@media screen and (max-width: $lg) {
@media screen and (max-width: $lg) {
@ -237,22 +257,25 @@ body {
}
}
}
}
}
}
&.mobile-view {
&.mobile-view {
display: flex;
display: flex;
align-items: center;
align-items: center;
justify-content: center;
justify-content: center;
}
}
}
}
.join-us-button, .login-button {
.join-us-button,
.login-button {
&.desktop-view {
&.desktop-view {
@media screen and (max-width: $lg) {
@media screen and (max-width: $lg) {
display: none;
display: none;
}
}
a {
a {
@media screen and (min-width:$lg) and (max-width: $xxl) {
@media screen and (min-width:$lg) and (max-width: $xxl) {
max-width: 80px;
max-width:80px;
height: auto;
height: auto;
padding: 0.375rem 0;
padding:0.375rem 0;
}
}
}
}
}
}
@ -262,3 +285,4 @@ body {
min-width: 97px;
min-width: 97px;
}
}
}
}