♻️ Fix many issues on profile settings page.

This commit is contained in:
Andrey Antukh 2020-03-26 11:25:16 +01:00
parent 8d6d839878
commit b39d747e8f
7 changed files with 68 additions and 33 deletions

View file

@ -32,21 +32,14 @@
background-color: $color-white;
display: grid;
grid-template-rows: 40px 1fr;
grid-template-columns: 40px 1fr;
grid-template-columns: 1fr;
height: 100vh;
& .left-bar {
grid-row: 2;
grid-column: 1;
}
& .settings-content {
grid-row: 1 / span 2;
grid-row: 1;
}
}
.dashboard-content {
background-color: lighten($color-gray-10, 5%);
display: flex;

View file

@ -44,7 +44,6 @@
height: 30px;
width: 30px;
}
}
.main-nav {

View file

@ -1,10 +1,46 @@
.user-settings-page {
.settings-content {
.main-logo {
position: fixed;
left: 0;
top:0;
width: 40px;
height: 40px;
z-index: 12;
cursor: pointer;
}
nav {
display: flex;
left: 0;
width: 100%;
justify-content: center;
.nav-item {
margin: 0 $size-6;
color: $color-gray;
text-transform: uppercase;
border-bottom: 1px solid transparent;
&:hover {
color: $color-black;
}
&.current {
color: $color-black;
border-bottom: 1px solid $color-primary;
}
}
}
}
.settings-profile,
.settings-password {
display: flex;
flex-direction: column;
margin: 0 auto;
width: 500px;
.user-settings-label {
.settings-label {
color: $color-black;
font-size: $fs15;
margin: $x-big 0 $x-small 0;
@ -13,6 +49,7 @@
.input-text {
color: $color-gray-60;
background-color: $color-gray-10;
}
.btn-primary {