This file contains hidden or 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
ssm.addConfigOption({name:"orientation", test: function(){ | |
//landscape mode | |
if(this.state.orientation === "landscape" && window.innerWidth >= window.innerHeight){ | |
console.log('landscape'); | |
return true; | |
} | |
//portrait mode | |
else if (this.state.orientation === "portrait" && window.innerWidth <= window.innerHeight){ | |
console.log('portrait'); | |
return true; |
This file contains hidden or 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
$grid-columns: 12; | |
$grid-gutter-width : 30px; | |
$container-xs : ((480px + $grid-gutter-width)); | |
$container-sm : ((720px + $grid-gutter-width)); | |
$container-md : ((940px + $grid-gutter-width)); | |
$container-lg : ((1140px + $grid-gutter-width)); | |
@mixin container-fixed($gutter: $grid-gutter-width) { | |
margin-left: auto; |
This file contains hidden or 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
// ---- | |
// Sass (v3.4.4) | |
// Compass (v1.0.1) | |
// ---- | |
$grid-max-width : 1240px !default; | |
$col-width : 75px !default; | |
$col-count : 12 !default; | |
$col-gutter : 30px !default; | |
$grid-padding : $col-gutter / 2 !default; |