[Mobile] Desktop

Cleans up the _layout by making the different
pane sizes device specific. Also adds a new
sass class just for desktop versions.
This commit is contained in:
Shivam Dave
2015-07-16 10:44:20 -07:00
parent a9dd1f9828
commit ce75d19480
4 changed files with 247 additions and 86 deletions

View File

@@ -24,7 +24,20 @@
@mixin phone {
@media #{$phonePortrait},
#{$phoneLandscape},
#{$phoneLandscapeEmu}{
#{$phoneLandscapeEmu} {
@content
}
}
@mixin phonePortrait {
@media #{$phonePortrait} {
@content
}
}
@mixin phoneLandscape {
@media #{$phoneLandscape},
#{$phoneLandscapeEmu} {
@content
}
}
@@ -32,7 +45,20 @@
@mixin tablet {
@media #{$tabletPortrait},
#{$tabletLandscape},
#{$tabletLandscapeEmu}{
#{$tabletLandscapeEmu} {
@content
}
}
@mixin tabletPortrait {
@media #{$tabletPortrait} {
@content
}
}
@mixin tabletLandscape {
@media #{$tabletLandscape},
#{$tabletLandscapeEmu} {
@content
}
}