Updated sidebar menu theming

This commit is contained in:
mgabdev 2019-08-15 11:38:26 -04:00
parent 0be86d6ec5
commit 9e3d4f5385
1 changed files with 15 additions and 10 deletions

View File

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