2020-03-27 20:59:38 +00:00
|
|
|
.sidebar-menu {
|
|
|
|
display: flex;
|
2020-05-24 19:39:49 +00:00
|
|
|
position: fixed;
|
2020-03-27 20:59:38 +00:00
|
|
|
flex-direction: column;
|
|
|
|
width: 275px;
|
2020-05-24 19:39:49 +00:00
|
|
|
height: 100vh;
|
2020-03-27 20:59:38 +00:00
|
|
|
top: 0;
|
2020-05-24 19:39:49 +00:00
|
|
|
bottom: 0;
|
2020-03-27 20:59:38 +00:00
|
|
|
left: 0;
|
|
|
|
background-color: #fff;
|
|
|
|
transform: translateX(-275px);
|
|
|
|
transition: all 0.15s linear;
|
|
|
|
z-index: 10001;
|
|
|
|
|
|
|
|
&__root {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__wrapper {
|
|
|
|
display: block;
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
z-index: 10000;
|
|
|
|
background-color: transparent;
|
|
|
|
transition: background-color 0.2s linear;
|
|
|
|
transition-delay: 0.1s;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__content {
|
|
|
|
display: flex;
|
|
|
|
flex: 1 1;
|
|
|
|
flex-direction: column;
|
|
|
|
padding-bottom: 40px;
|
|
|
|
overflow-y: scroll;
|
|
|
|
-webkit-overflow-scrolling: touch;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__section {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
padding: 4px 0;
|
2020-06-03 17:48:40 +00:00
|
|
|
border-top: 1px solid var(--brand-color-med);
|
2020-03-27 20:59:38 +00:00
|
|
|
|
|
|
|
&--borderless {
|
|
|
|
margin: 0;
|
2020-05-29 00:58:37 +00:00
|
|
|
border-top: 0;
|
2020-03-27 20:59:38 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 400px) {
|
|
|
|
width: 90vw;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar-menu__root--visible {
|
|
|
|
display: block;
|
|
|
|
|
|
|
|
.sidebar-menu {
|
|
|
|
transform: translateX(0);
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar-menu__wrapper {
|
2020-05-29 00:58:37 +00:00
|
|
|
background-color: rgba(0, 0, 0, 0.3);
|
2020-03-27 20:59:38 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar-menu-header {
|
|
|
|
display: flex;
|
|
|
|
height: 46px;
|
|
|
|
padding: 12px 14px;
|
|
|
|
border-bottom: 1px solid #ddd;
|
|
|
|
box-sizing: border-box;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
&__title {
|
|
|
|
display: block;
|
|
|
|
font-size: 18px;
|
|
|
|
font-weight: 600;
|
2020-06-03 17:48:40 +00:00
|
|
|
color: var(--primary-text-color);
|
2020-03-27 20:59:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&__btn {
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar-menu-profile {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
width: 100%;
|
|
|
|
padding: 14px 18px;
|
2020-05-24 19:45:29 +00:00
|
|
|
box-sizing: border-box;
|
2020-03-27 20:59:38 +00:00
|
|
|
|
|
|
|
&__avatar {
|
|
|
|
display: block;
|
|
|
|
width: 56px;
|
|
|
|
height: 56px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__name {
|
|
|
|
display: block;
|
|
|
|
margin-top: 10px;
|
|
|
|
|
|
|
|
.display-name__account {
|
|
|
|
display: block;
|
|
|
|
margin-top: 2px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__stats {
|
|
|
|
display: flex;
|
|
|
|
margin-top: 12px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar-menu-profile-stat {
|
|
|
|
display: flex;
|
|
|
|
font-size: 14px;
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
&:not(:first-of-type) {
|
|
|
|
margin-left: 18px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__value {
|
|
|
|
display: flex;
|
|
|
|
margin-right: 3px;
|
|
|
|
font-weight: 700;
|
2020-06-03 17:48:40 +00:00
|
|
|
color: var(--primary-text-color);
|
2020-03-27 20:59:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&__label {
|
|
|
|
display: flex;
|
2020-06-03 17:48:40 +00:00
|
|
|
color: var(--primary-text-color);
|
2020-03-27 20:59:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar-menu-item {
|
|
|
|
display: flex;
|
|
|
|
padding: 16px 18px;
|
|
|
|
cursor: pointer;
|
|
|
|
text-decoration: none;
|
2020-06-03 17:48:40 +00:00
|
|
|
color: var(--primary-text-color);
|
2020-03-27 20:59:38 +00:00
|
|
|
font-size: 15px;
|
|
|
|
font-weight: 400;
|
|
|
|
|
|
|
|
&:hover {
|
2020-06-02 22:42:09 +00:00
|
|
|
background-color: rgba(var(--brand-color-rgb), 0.1);
|
2020-03-27 20:59:38 +00:00
|
|
|
|
|
|
|
.fa {
|
2020-06-03 17:48:40 +00:00
|
|
|
color: var(--primary-text-color);
|
2020-03-27 20:59:38 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.fa {
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
&__title {
|
2020-06-03 17:48:40 +00:00
|
|
|
color: var(--primary-text-color);
|
2020-03-27 20:59:38 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar-menu .wtf-panel {
|
|
|
|
box-shadow: none !important;
|
|
|
|
margin: 0;
|
|
|
|
}
|