197 lines
3.4 KiB
SCSS
197 lines
3.4 KiB
SCSS
.nav-wrapper {
|
|
position: fixed;
|
|
left: 0;
|
|
right: 0;
|
|
z-index: 99;
|
|
height: 8.9rem;
|
|
background: $dark_gray;
|
|
box-shadow: 0 4px 10px rgba(0, 0, 0, .2);
|
|
}
|
|
|
|
nav {
|
|
margin: 3.4rem auto 0;
|
|
max-width: 140rem;
|
|
button {
|
|
margin: 1.8rem 1.8rem 0 0;
|
|
font-size: 1.3rem !important;
|
|
}
|
|
}
|
|
|
|
.nav-group {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 0 1rem;
|
|
}
|
|
|
|
.nav-sync {
|
|
min-width: 90px;
|
|
&.auto-sync {
|
|
background: none !important;
|
|
box-shadow: none;
|
|
font-style: italic;
|
|
text-transform: none;
|
|
}
|
|
&:hover {
|
|
background: none !important;
|
|
}
|
|
}
|
|
|
|
.links {
|
|
display: inline-block;
|
|
a {
|
|
text-transform: uppercase;
|
|
color: $gray;
|
|
i {
|
|
display: none;
|
|
}
|
|
}
|
|
.external-links {
|
|
display: none;
|
|
}
|
|
.nav-links {
|
|
display: inline-flex;
|
|
a {
|
|
display: inline-block;
|
|
position: relative;
|
|
height: 5.5rem;
|
|
font-size: 1.2rem;
|
|
white-space: nowrap;
|
|
padding: 2rem 1rem;
|
|
letter-spacing: 1.2px;
|
|
transition: font-weight 0.2s ease;
|
|
&:focus {
|
|
font-weight: bold;
|
|
}
|
|
&: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: "";
|
|
position: absolute;
|
|
left: 0;
|
|
bottom: 0;
|
|
right: 0;
|
|
height: 3px;
|
|
background: $white;
|
|
}
|
|
&:after {
|
|
content: "";
|
|
position: absolute;
|
|
left: 0;
|
|
bottom: 0;
|
|
right: 0;
|
|
height: 3px;
|
|
background: $dark_gray;
|
|
}
|
|
div .saucer {
|
|
display: inline-flex;
|
|
margin-left: 1rem;
|
|
}
|
|
}
|
|
div {
|
|
display: inline;
|
|
vertical-align: middle;
|
|
}
|
|
}
|
|
}
|
|
|
|
.nav-right {
|
|
height: 5rem;
|
|
overflow: hidden;
|
|
.connection-status-popover {
|
|
display: inline;
|
|
.bp3-popover-wrapper {
|
|
margin: 1.85rem;
|
|
}
|
|
}
|
|
a {
|
|
font-weight: normal;
|
|
color: $black;
|
|
cursor: pointer;
|
|
&:hover {
|
|
font-weight: bold;
|
|
}
|
|
i {
|
|
margin-right: 0.8rem;
|
|
}
|
|
}
|
|
}
|
|
|
|
.menu-popover {
|
|
display: inline;
|
|
.bp3-popover-content {
|
|
position: relative;
|
|
width: 22rem;
|
|
background: $dark_gray;
|
|
i {
|
|
margin-right: 0.8rem;
|
|
}
|
|
font-size: 1.2rem;
|
|
letter-spacing: 1.2px;
|
|
a:not(.app-version) {
|
|
display: inline-block;
|
|
text-transform: uppercase;
|
|
color: $off_white;
|
|
margin-bottom: 0.6rem;
|
|
}
|
|
.app-version {
|
|
margin: 1rem -1rem -1rem;
|
|
background: $dark_gray;
|
|
color: $white;
|
|
padding: 0.5rem 0 0 1rem;
|
|
border-bottom-left-radius: 4px;
|
|
border-bottom-right-radius: 4px;
|
|
label {
|
|
color: $white;
|
|
}
|
|
a {
|
|
color: $white;
|
|
}
|
|
p {
|
|
display: inline;
|
|
color: $gray;
|
|
font-size: 1.2rem;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.mobile-menu {
|
|
.nav-links {
|
|
display: block;
|
|
a {
|
|
display: block;
|
|
div .saucer {
|
|
display: inline-flex;
|
|
margin-left: 1rem;
|
|
}
|
|
}
|
|
i {
|
|
display: inline-block;
|
|
margin-right: 1rem;
|
|
}
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 1075px) {
|
|
.top-menu-container .nav-links {
|
|
display: none !important;
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 1075px) {
|
|
.mobile-menu-icon {
|
|
display: none !important;
|
|
}
|
|
}
|