mirror of
https://github.com/nasa/openmct.git
synced 2025-03-24 21:15:55 +00:00
[Mobile] Format
Reformatted the rwd media query rules.
This commit is contained in:
parent
be757066f5
commit
c0d83f9395
@ -71,6 +71,7 @@
|
||||
*****************************************************************************/
|
||||
/************************** WINDOW DIMENSIONS FOR RWD */
|
||||
/************************** WINDOW CHECKS FOR RWD */
|
||||
/************************** WINDOWS FOR RWD */
|
||||
/*****************************************************************************
|
||||
* Open MCT Web, Copyright (c) 2014-2015, United States Government
|
||||
* as represented by the Administrator of the National Aeronautics and Space
|
||||
|
@ -71,6 +71,7 @@
|
||||
*****************************************************************************/
|
||||
/************************** WINDOW DIMENSIONS FOR RWD */
|
||||
/************************** WINDOW CHECKS FOR RWD */
|
||||
/************************** WINDOWS FOR RWD */
|
||||
/*****************************************************************************
|
||||
* Open MCT Web, Copyright (c) 2014-2015, United States Government
|
||||
* as represented by the Administrator of the National Aeronautics and Space
|
||||
|
@ -72,6 +72,7 @@
|
||||
*****************************************************************************/
|
||||
/************************** WINDOW DIMENSIONS FOR RWD */
|
||||
/************************** WINDOW CHECKS FOR RWD */
|
||||
/************************** WINDOWS FOR RWD */
|
||||
/*****************************************************************************
|
||||
* Open MCT Web, Copyright (c) 2014-2015, United States Government
|
||||
* as represented by the Administrator of the National Aeronautics and Space
|
||||
|
@ -71,6 +71,7 @@
|
||||
*****************************************************************************/
|
||||
/************************** WINDOW DIMENSIONS FOR RWD */
|
||||
/************************** WINDOW CHECKS FOR RWD */
|
||||
/************************** WINDOWS FOR RWD */
|
||||
/*****************************************************************************
|
||||
* Open MCT Web, Copyright (c) 2014-2015, United States Government
|
||||
* as represented by the Administrator of the National Aeronautics and Space
|
||||
|
@ -32,7 +32,10 @@ $tabMaxH: 1024px;
|
||||
|
||||
$compMinW: 800px;
|
||||
$compMinH: 1025px;
|
||||
|
||||
/************************** WINDOW CHECKS FOR RWD */
|
||||
$screenPortrait: "screen and (orientation: portrait)";
|
||||
$screenLandscape: "screen and (orientation: landscape)";
|
||||
|
||||
$phoWidPorCheck: "(max-width: #{$phoMaxW})";
|
||||
$phoHeiPorCheck: "(max-height: #{$phoMaxH})";
|
||||
@ -49,18 +52,14 @@ $tabHeiLanCheck: "(min-width: #{$tabMinH}) and (max-width: #{$tabMaxH})";
|
||||
$mobileDevice: "(max-device-width: #{$tabMaxW}) and (max-device-height: #{$tabMaxH})";
|
||||
$mobileDeviceEmu: "(max-device-width: #{$tabMaxH}) and (max-device-height: #{$tabMaxW})";
|
||||
|
||||
/************************** WINDOWS FOR RWD */
|
||||
$phoneWidth: "#{$screenPortrait} and #{$phoWidPorCheck} and #{$phoHeiPorCheck} and #{$mobileDevice}";
|
||||
$phoneHeight: "#{$screenLandscape} and #{$phoWidLanCheck} and #{$phoHeiLanCheck} and #{$mobileDevice}";
|
||||
$phoneHeightEmu: "#{$screenLandscape} and #{$phoWidLanCheck} and #{$phoHeiLanCheck} and #{$mobileDeviceEmu}";
|
||||
|
||||
|
||||
|
||||
$phoneWidth: "screen and (orientation: portrait) and #{$phoWidPorCheck} and #{$phoHeiPorCheck} and #{$mobileDevice}";
|
||||
$phoneHeight: "screen and (orientation: landscape) and #{$phoWidLanCheck} and #{$phoHeiLanCheck} and #{$mobileDevice}";
|
||||
$phoneHeightEmu: "screen and (orientation: landscape) and #{$phoWidLanCheck} and #{$phoHeiLanCheck} and #{$mobileDeviceEmu}";
|
||||
|
||||
$tabletWidth: "screen and (orientation: portrait) and #{$tabWidPorCheck} and #{$tabHeiPorCheck} and #{$mobileDevice}";
|
||||
$tabletHeight: "screen and (orientation: landscape) and #{$tabWidLanCheck} and #{$tabHeiLanCheck} and #{$mobileDevice}";
|
||||
$tabletHeightEmu: "screen and (orientation: landscape) and #{$tabWidLanCheck} and #{$tabHeiLanCheck} and #{$mobileDeviceEmu}";
|
||||
|
||||
|
||||
$tabletWidth: "#{$screenPortrait} and #{$tabWidPorCheck} and #{$tabHeiPorCheck} and #{$mobileDevice}";
|
||||
$tabletHeight: "#{$screenLandscape} and #{$tabWidLanCheck} and #{$tabHeiLanCheck} and #{$mobileDevice}";
|
||||
$tabletHeightEmu: "#{$screenLandscape} and #{$tabWidLanCheck} and #{$tabHeiLanCheck} and #{$mobileDeviceEmu}";
|
||||
|
||||
$desktopDevicePortrait: "(min-device-width: #{$compMinW}) and (min-device-height: #{$compMinH})";
|
||||
$desktopDeviceLandscape: "(min-device-width: #{$compMinH}) and (min-device-height: #{$compMinW})";
|
||||
|
Loading…
x
Reference in New Issue
Block a user