Created
December 16, 2014 09:40
-
-
Save rcmdnk/6e29cae1d2c36e8a2a61 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@mixin collapse-sidebar { | |
float: none; | |
width: auto; | |
clear: left; | |
margin: 0; | |
padding: 0 $pad-medium 1px; | |
background-color: lighten($sidebar-bg, 2); | |
border-top: 1px solid lighten($sidebar-border, 4); | |
section { | |
&.odd, &.even { float: left; width: 48%; } | |
&.odd { margin-left: 0; } | |
&.even { margin-left: 4%; } | |
} | |
&.thirds section { | |
width: 30%; | |
margin-left: 5%; | |
&.first { | |
margin-left: 0; | |
clear: both; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment