Make sidebar more responsive

This commit is contained in:
Frederic Guillot
2016-08-13 20:05:27 -04:00
parent a631b76175
commit d41c7f1a8c
2 changed files with 10 additions and 27 deletions

File diff suppressed because one or more lines are too long

View File

@@ -1,39 +1,22 @@
@import variables @import variables
.sidebar-container .sidebar-container
margin-top: 10px @include grid(100)
height: 100%
width: 100%
display: -ms-flexbox
display: -webkit-box
display: -moz-box
display: -ms-box
display: box
-ms-flex-direction: row
-webkit-box-orient: horizontal
-moz-box-orient: horizontal
-ms-box-orient: horizontal
box-orient: horizontal
.sidebar-content .sidebar-content
padding-left: 10px padding-left: 10px
-ms-flex: 1 @include grid_width(80/100)
-webkit-box-flex: 1 @include xs-device
-moz-box-flex: 1 @include grid_width(1)
-ms-box-flex: 1
box-flex: 1
.sidebar .sidebar
padding-right: 10px
border-right: 1px dotted #eee
max-width: 240px max-width: 240px
min-width: 190px min-width: 190px
width: 18% @include grid_width(18/100)
-ms-flex: 0 100px @include xs-device
-webkit-box-flex: 0 @include grid_width(1)
-moz-box-flex: 0 max-width: 99%
-ms-box-flex: 0 min-width: 0
box-flex: 0
h2 h2
margin-top: 0 margin-top: 0
> ul > ul