💪 changes to dashboard layout

This commit is contained in:
alonso.torres 2020-03-10 13:26:07 +01:00 committed by Andrey Antukh
parent 39836fc821
commit 3a24d94c2b
9 changed files with 119 additions and 90 deletions

View file

@ -135,6 +135,7 @@
@extend %btn;
background-color: $color-white;
border: 1px solid $color-black;
border-radius: 2px;
color: $color-black;
font-size: $fs12;
font-weight: normal;

View file

@ -11,13 +11,25 @@
position: relative;
}
.dashboard-layout {
background-color: $color-white;
display: grid;
grid-template-rows: 40px 1fr;
grid-template-columns: 40px 180px 1fr;
height: 100vh;
& .library-bar {
grid-row: 2;
grid-column: 1 / span 2;
}
& .dashboard-content {
grid-row: 1 / span 2;
}
}
.dashboard-content {
// background-image: url("../images/dashboard-img.svg");
// background-position: bottom center;
// background-repeat: no-repeat;
// background-size: 100%;
background-color: lighten($color-gray-10, 5%);
display: flex;
flex-direction: column;
height: calc(100vh - 60px);
width: 100%;
}

View file

@ -295,7 +295,7 @@
// STYLES FOR LIBRARIES
&.library {
padding: $medium $medium $medium 230px;
padding: $medium;
}
}

View file

@ -7,17 +7,11 @@
.library-bar {
background-color: $color-white;
bottom: 0;
height: 100%;
left: 0;
position: fixed;
width: 230px;
.library-bar-inside {
display: flex;
flex-direction: column;
height: 100%;
padding-top: 40px;
.library-tabs {
align-items: center;
@ -230,4 +224,4 @@
}
}
}

View file

@ -15,25 +15,27 @@
position: relative;
z-index: 10;
.main-logo {
border-right: 1px solid $color-gray-10;
padding-right: $small;
padding-top: $x-small;
svg {
fill: $color-black;
height: 30px;
width: 30px;
}
}
.btn-dashboard {
margin-left: auto;
}
}
.main-logo {
border-right: 1px solid $color-gray-10;
border-bottom: 1px solid $color-gray-10;
text-align: center;
padding-top: $x-small;
svg {
fill: $color-black;
height: 30px;
width: 30px;
}
}
.main-nav {
align-items: center;
display: flex;
@ -76,6 +78,7 @@
.user-zone {
align-items: center;
border-right: 1px solid $color-gray-10;
border-bottom: 1px solid $color-gray-10;
cursor: pointer;
display: flex;
padding: 0 $x-small 0 $small;