storj/web/satellite/src/components/navigation/navigationArea.scss
VitaliiShpital 5729d087b0 web/satellite: dashboard template simplified, project selection moved to nav bar
WHAT:
project selection moved to navigation panel

WHY:
preparing for multiple project state

Change-Id: I434c73c25b3fec85fc7226a8400cf280b379b537
2020-08-21 17:33:14 +03:00

186 lines
3.4 KiB
SCSS

// 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 {
min-width: 280px;
max-width: 280px;
height: calc(100vh - 140px);
overflow-y: scroll;
overflow-x: hidden;
background-color: #fff;
padding: 20px 0 120px 0;
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-left: 60px;
flex: 0 0 auto;
&__img {
width: 54px;
height: 60px;
}
&__text {
margin-left: 12px;
width: 69px;
height: 16px;
}
}
&__project-title,
&__resources-title {
font-size: 14px;
line-height: 20px;
color: #505872;
margin: 0 0 20px 65px;
font-weight: 600;
flex: 0 0 auto;
}
&__project-title {
margin: 40px 0 15px 65px;
padding-top: 20px;
}
&__resources-title {
flex: 0 0 auto;
margin: 35px 0 20px 65px;
}
&__item-container {
flex: 0 0 auto;
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: 25px;
}
.account-item {
margin-left: 0;
&.router-link-active {
.account-item {
color: #2683ff;
}
}
}
}
.disabled {
cursor: not-allowed;
pointer-events: none;
opacity: 0.6;
}
.project-selection {
margin: 10px 0 0 65px;
}
@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 {
margin-left: 45px;
}
&__project-title {
margin-top: 0;
}
&__logo {
display: none;
}
.project-selection {
margin-left: 35px;
}
}
}
@media screen and (max-height: 770px) {
.navigation-area {
padding: 20px 0 50px 0;
height: calc(100vh - 70px);
}
}