storj/web/satellite/src/components/navigation/navigationArea.scss

241 lines
4.5 KiB
SCSS
Raw Normal View History

// Copyright (C) 2019 Storj Labs, Inc.
// See LICENSE for copying information.
a {
text-decoration: none;
outline: none;
}
::-webkit-scrollbar,
::-webkit-scrollbar-track,
::-webkit-scrollbar-thumb {
width: 3px;
background-color: #fff;
}
::-webkit-scrollbar-thumb {
background-color: #afb7c1;
}
.navigation-svg-path {
fill: rgb(53, 64, 73);
}
.navigation-area {
position: relative;
min-width: 280px;
max-width: 280px;
height: calc(97vh + 5px);
overflow-y: scroll;
left: 0;
background-color: #fff;
padding-top: 20px;
display: flex;
flex-direction: column;
justify-content: space-between;
font-family: 'font_regular', sans-serif;
&__logo {
display: flex;
flex-direction: row;
align-items: center;
cursor: pointer;
margin-bottom: 60px;
margin-left: 60px;
&__img {
width: 54px;
height: 60px;
}
&__text {
margin-left: 12px;
width: 69px;
height: 16px;
}
}
&__project-title {
font-size: 14px;
line-height: 20px;
color: #505872;
margin: 0 0 10px 65px;
font-weight: 600;
}
&__resources-title,
&__account-title {
display: flex;
align-items: center;
justify-content: space-between;
margin: 0 0 0 65px;
padding: 25px 25px 25px 0;
border-top: 1px solid rgba(169, 181, 193, 0.3);
font-weight: 600;
&__title,
&__button {
font-size: 14px;
line-height: 20px;
color: #505872;
margin: 0;
}
&__button {
cursor: pointer;
&:hover {
color: #5e6978;
}
}
}
&__resources-title {
margin-top: 10px;
}
.custom {
padding: 25px 25px 10px 0;
}
&__item-container {
height: 52px;
padding-left: 60px;
border-left: 3px solid transparent;
display: flex;
justify-content: flex-start;
align-items: center;
&.router-link-active,
&:hover {
border-left: 3px solid #2683ff;
.svg .navigation-svg-path:not(.white) {
fill: #2683ff !important;
}
}
&__link-container {
display: flex;
flex-direction: row;
justify-content: flex-start;
align-items: center;
&__title {
font-family: 'font_medium', sans-serif;
font-size: 16px;
line-height: 23px;
color: #354049;
margin-left: 15px;
}
.docs-title {
margin-left: 20px;
}
}
}
.support-item {
margin-bottom: 10px;
}
.account-item {
margin-left: 0;
&.router-link-active {
.account-item {
color: #2683ff;
}
}
}
}
.disabled {
pointer-events: none;
opacity: 0.6;
}
.divider {
margin-left: 65px;
border-top: 1px solid rgba(169, 181, 193, 0.3);
}
.custom-divider {
margin: 10px 0 0 65px;
}
.project-selection-area {
display: none;
}
@media screen and (max-width: 1280px) {
::-webkit-scrollbar,
::-webkit-scrollbar-track,
::-webkit-scrollbar-thumb {
margin-top: 0;
}
.divider {
margin-left: 42px;
}
.navigation-area {
z-index: 200;
&__item-container {
padding-left: 40px;
}
&__project-title,
&__resources-title,
&__account-title {
margin-left: 45px;
}
&__project-title {
border-top: 1px solid rgba(169, 181, 193, 0.3);
padding-top: 20px;
margin-top: 5px;
}
&__logo {
display: none;
}
.project-selection-area {
display: block;
margin-left: 35px;
}
}
}
@media screen and (max-width: 1024px) and (max-height: 790px) {
.navigation-area {
height: 84vh;
}
}
@media screen and (max-width: 1024px) and (max-height: 700px) {
.navigation-area {
height: 83vh;
}
}
@media screen and (max-width: 1024px) and (max-height: 660px) {
.navigation-area {
height: 82vh;
}
}
@media screen and (max-width: 1024px) and (max-height: 620px) {
.navigation-area {
height: 81vh;
}
}