Updated sidebar menu theming

This commit is contained in:
mgabdev 2019-08-15 11:38:26 -04:00
parent 0be86d6ec5
commit 9e3d4f5385

View File

@ -7,11 +7,15 @@
top: 0; top: 0;
bottom: 0; bottom: 0;
left: 0; left: 0;
background-color: #fff; background: $gab-background-container;
transform: translateX(-275px); transform: translateX(-275px);
transition: all 0.15s linear; transition: all 0.15s linear;
z-index: 10001; z-index: 10001;
body.theme-gabsocial-light & {
background: $gab-background-container-light;
}
&__root { &__root {
display: none; display: none;
} }
@ -43,7 +47,7 @@
display: flex; display: flex;
flex-direction: column; flex-direction: column;
margin: 4px 0; margin: 4px 0;
border-top: 1px solid #ddd; border-top: 1px solid lighten($ui-base-color, 4%);
&--borderless { &--borderless {
margin: 0; margin: 0;
@ -72,7 +76,7 @@
display: flex; display: flex;
height: 46px; height: 46px;
padding: 12px 14px; padding: 12px 14px;
border-bottom: 1px solid #ddd; border-bottom: 1px solid lighten($ui-base-color, 4%);
box-sizing: border-box; box-sizing: border-box;
align-items: center; align-items: center;
@ -80,7 +84,7 @@
display: block; display: block;
font-size: 18px; font-size: 18px;
font-weight: 600; font-weight: 600;
color: #000; color: $primary-text-color;
} }
&__btn { &__btn {
@ -91,7 +95,6 @@
.sidebar-menu-profile { .sidebar-menu-profile {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
width: 100%;
padding: 14px 18px; padding: 14px 18px;
&__avatar { &__avatar {
@ -129,12 +132,12 @@
display: flex; display: flex;
margin-right: 3px; margin-right: 3px;
font-weight: 700; font-weight: 700;
color: #000; color: $primary-text-color;
} }
&__label { &__label {
display: flex; display: flex;
color: #444; color: $primary-text-color;
} }
&:hover { &:hover {
@ -147,15 +150,17 @@
padding: 16px 18px; padding: 16px 18px;
cursor: pointer; cursor: pointer;
text-decoration: none; text-decoration: none;
color: #666; color: $primary-text-color;
font-size: 15px; font-size: 15px;
font-weight: 400; font-weight: 400;
height: 50px;
box-sizing: border-box;
&:hover { &:hover {
background-color: rgba($gab-brand-default, 0.1); background-color: rgba($gab-brand-default, 0.1);
.fa { .fa {
color: #000; color: $primary-text-color;
} }
} }
@ -165,7 +170,7 @@
&:hover { &:hover {
&__title { &__title {
color: #000; color: $primary-text-color;
} }
} }
} }