156 lines
2.5 KiB
SCSS
156 lines
2.5 KiB
SCSS
.nav-wrapper {
|
|
background: $dark_gray;
|
|
box-shadow: 0 4px 10px rgba(0, 0, 0, .2);
|
|
position: fixed;
|
|
left: 0;
|
|
right: 0;
|
|
z-index: 99;
|
|
}
|
|
|
|
nav {
|
|
max-width: 140rem;
|
|
margin: 3.4rem auto 0;
|
|
button {
|
|
margin: 1.8rem 1.8rem 0 0;
|
|
font-size: 1.3rem !important;
|
|
}
|
|
}
|
|
|
|
.nav-group {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 0 1rem;
|
|
}
|
|
|
|
.links {
|
|
display: inline-block;
|
|
a {
|
|
text-transform: uppercase;
|
|
color: $gray;
|
|
i {
|
|
display: none;
|
|
}
|
|
}
|
|
.external-links {
|
|
display: none;
|
|
}
|
|
.nav-links a {
|
|
font-size: 1.2rem;
|
|
white-space: nowrap;
|
|
display: inline-block;
|
|
padding: 2rem 1rem;
|
|
letter-spacing: 1.2px;
|
|
position: relative;
|
|
transition: font-weight 0.2s ease;
|
|
&:hover {
|
|
font-weight: bold;
|
|
color: $white;
|
|
}
|
|
&.active {
|
|
pointer-events: none;
|
|
font-weight: bold;
|
|
color: $white;
|
|
&:after {
|
|
transition: all 0.4s ease;
|
|
transform: translateY(-3px);
|
|
}
|
|
}
|
|
&:before {
|
|
content: "";
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
position: absolute;
|
|
height: 3px;
|
|
background: $white;
|
|
}
|
|
&:after {
|
|
content: "";
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
position: absolute;
|
|
height: 3px;
|
|
background: $dark_gray;
|
|
}
|
|
}
|
|
}
|
|
|
|
.nav-right {
|
|
a {
|
|
font-weight: normal;
|
|
color: $black;
|
|
cursor: pointer;
|
|
&:hover {
|
|
font-weight: bold;
|
|
}
|
|
i {
|
|
margin-right: 0.8rem;
|
|
}
|
|
}
|
|
.app-version {
|
|
color: $white;
|
|
a {
|
|
color: $white;
|
|
}
|
|
}
|
|
.pt-popover-content {
|
|
width: 22rem;
|
|
position: relative;
|
|
a:not(.app-version) {
|
|
margin-bottom: 0.6rem;
|
|
display: inline-block;
|
|
}
|
|
.app-version {
|
|
background: $dark_gray;
|
|
color: $white;
|
|
margin: 1rem -1rem -1rem;
|
|
padding: 0.5rem 0 0 1rem;
|
|
border-bottom-left-radius: 4px;
|
|
border-bottom-right-radius: 4px;
|
|
label {
|
|
color: $white;
|
|
}
|
|
}
|
|
}
|
|
.pt-overlay-content {
|
|
margin-top: 1.6rem;
|
|
color: $white;
|
|
}
|
|
.pt-popover-wrapper {
|
|
a {
|
|
color: $white;
|
|
}
|
|
.pt-popover-arrow-fill {
|
|
fill: $dark_gray;
|
|
}
|
|
.pt-popover-content {
|
|
background: $dark_gray;
|
|
}
|
|
}
|
|
}
|
|
|
|
.mobile-menu {
|
|
.nav-links {
|
|
a {
|
|
display: block;
|
|
}
|
|
i {
|
|
display: inline-block;
|
|
margin-right: 1rem;
|
|
}
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 974px) {
|
|
.top-menu-container .nav-links {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 975px) {
|
|
.mobile-menu-icon {
|
|
display: none !important;
|
|
}
|
|
}
|