2017-07-22 13:04:54 +00:00
|
|
|
sidebar-spacing-y = 0.7rem
|
2017-07-19 14:56:02 +00:00
|
|
|
|
|
|
|
#sidebar
|
|
|
|
vertical
|
|
|
|
position fixed
|
|
|
|
left 0
|
|
|
|
top 0
|
2017-07-22 13:04:54 +00:00
|
|
|
z-index 10
|
|
|
|
min-width 200px
|
2017-07-19 14:56:02 +00:00
|
|
|
height 100%
|
|
|
|
background ui-background
|
|
|
|
transform translateX(-100%)
|
|
|
|
overflow-x hidden
|
|
|
|
overflow-y auto
|
|
|
|
opacity 0
|
|
|
|
pointer-events none
|
|
|
|
box-shadow shadow-medium
|
|
|
|
transition opacity transition-speed ease, transform transition-speed ease
|
|
|
|
will-change opacity transition
|
|
|
|
|
|
|
|
.user-image-container
|
|
|
|
horizontal
|
|
|
|
justify-content center
|
|
|
|
margin 0.8rem 0
|
|
|
|
|
2017-07-22 13:04:54 +00:00
|
|
|
> 700px
|
|
|
|
#sidebar
|
|
|
|
opacity 1
|
|
|
|
transform none
|
|
|
|
position static
|
|
|
|
pointer-events all
|
|
|
|
box-shadow none
|
|
|
|
border-right ui-border
|
|
|
|
|
2017-07-19 14:56:02 +00:00
|
|
|
.sidebar-visible
|
|
|
|
transform translateX(0) !important
|
|
|
|
pointer-events all !important
|
|
|
|
opacity 1 !important
|
|
|
|
|
|
|
|
.sidebar-link
|
2017-07-22 13:04:54 +00:00
|
|
|
color text-color
|
2017-07-19 14:56:02 +00:00
|
|
|
&.active
|
|
|
|
.sidebar-button
|
2017-07-22 13:04:54 +00:00
|
|
|
background forum-tag-hover-color
|
|
|
|
color white
|
2017-07-19 14:56:02 +00:00
|
|
|
|
|
|
|
.sidebar-button
|
|
|
|
horizontal
|
|
|
|
align-items center
|
2017-07-22 13:04:54 +00:00
|
|
|
padding sidebar-spacing-y 1rem
|
|
|
|
font-size 0.92rem
|
2017-07-19 14:56:02 +00:00
|
|
|
// background ui-background
|
|
|
|
|
|
|
|
.icon
|
2017-07-22 13:04:54 +00:00
|
|
|
font-size 1rem
|
|
|
|
margin-right 0.75rem
|