From 1e2e20b1459dd213df34e98ad1abff891549e960 Mon Sep 17 00:00:00 2001 From: Shivam Dave Date: Fri, 17 Jul 2015 09:04:39 -0700 Subject: [PATCH] [Mobile] Comments Added comments to the mixins. --- platform/commonUI/general/res/sass/mobile/_mixins.scss | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/platform/commonUI/general/res/sass/mobile/_mixins.scss b/platform/commonUI/general/res/sass/mobile/_mixins.scss index b6c1cf93e9..a3e06d745b 100644 --- a/platform/commonUI/general/res/sass/mobile/_mixins.scss +++ b/platform/commonUI/general/res/sass/mobile/_mixins.scss @@ -20,7 +20,7 @@ * at runtime from the About dialog for additional information. *****************************************************************************/ -// NOTE: Mixins for devices +// Phones in any orientation @mixin phone { @media #{$phonePortrait}, #{$phoneLandscape}, @@ -29,12 +29,14 @@ } } +//Phones in portrait orientation @mixin phonePortrait { @media #{$phonePortrait} { @content } } +// Phones in landscape orientation @mixin phoneLandscape { @media #{$phoneLandscape}, #{$phoneLandscapeEmu} { @@ -42,6 +44,7 @@ } } +// Tablets in any orientation @mixin tablet { @media #{$tabletPortrait}, #{$tabletLandscape}, @@ -50,12 +53,14 @@ } } +// Tablets in portrait orientation @mixin tabletPortrait { @media #{$tabletPortrait} { @content } } +// Tablets in landscape orientation @mixin tabletLandscape { @media #{$tabletLandscape}, #{$tabletLandscapeEmu} { @@ -63,6 +68,7 @@ } } +// Phones and tablets in any orientation @mixin phoneandtablet { @media #{$phonePortrait}, #{$phoneLandscape}, @@ -74,6 +80,7 @@ } } +// Desktop monitors in any orientation @mixin desktop { @media #{$desktopPortrait}, #{$desktopLandscape} {