59 lines
2.5 KiB
SCSS
59 lines
2.5 KiB
SCSS
/*****************************************************************************
|
|
* Open MCT Web, Copyright (c) 2014-2015, United States Government
|
|
* as represented by the Administrator of the National Aeronautics and Space
|
|
* Administration. All rights reserved.
|
|
*
|
|
* Open MCT Web is licensed under the Apache License, Version 2.0 (the
|
|
* "License"); you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
* http://www.apache.org/licenses/LICENSE-2.0.
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
* License for the specific language governing permissions and limitations
|
|
* under the License.
|
|
*
|
|
* Open MCT Web includes source code licensed under additional open source
|
|
* licenses. See the Open Source Licenses file (LICENSES.md) included with
|
|
* this source code distribution or the Licensing information page available
|
|
* at runtime from the About dialog for additional information.
|
|
*****************************************************************************/
|
|
|
|
/************************** WINDOW DIMENSIONS FOR RWD */
|
|
$phoMaxW: 514px;
|
|
$phoWidPorCheck: "(max-device-width: #{$phoMaxW})";
|
|
$phoWidLanCheck: "(max-device-height: #{$phoMaxW})";
|
|
|
|
$phoMaxH: 740px;
|
|
$phoHeiPorCheck: "(max-device-height: #{$phoMaxH})";
|
|
$phoHeiLanCheck: "(max-device-width: #{$phoMaxH})";
|
|
|
|
$tabMinW: 515px;
|
|
$tabMaxW: 800px;
|
|
$tabWidPorCheck: "(min-device-width: #{$tabMinW}) and (max-device-width: #{$tabMaxW})";
|
|
$tabWidLanCheck: "(min-device-height: #{$tabMinW}) and (max-device-height: #{$tabMaxW})";
|
|
|
|
$tabMinH: 741px;
|
|
$tabMaxH: 1024px;
|
|
$tabHeiPorCheck: "(min-device-height: #{$tabMinH}) and (max-device-height: #{$tabMaxH})";
|
|
$tabHeiLanCheck: "(min-device-width: #{$tabMinH}) and (max-device-width: #{$tabMaxH})";
|
|
|
|
$phoneWidth: "screen and #{$phoWidPorCheck} and #{$phoHeiPorCheck} and (orientation: portrait)";
|
|
$phoneHeight: "screen and #{$phoWidLanCheck} and #{$phoHeiLanCheck} and (orientation: landscape)";
|
|
|
|
$tabletWidth: "screen and #{$tabWidPorCheck} and #{$tabHeiPorCheck} and (orientation: portrait)";
|
|
$tabletHeight: "screen and #{$tabWidLanCheck} and #{$tabHeiLanCheck} and (orientation: landscape)";
|
|
|
|
$compMinW: 801px;
|
|
$compMinH: 1025px;
|
|
|
|
$compBoth: "screen and (min-device-width: #{$compMinW}) and (min-device-height: #{$compMinH})";
|
|
|
|
$leftPhone: $phoMaxW/2;
|
|
$leftTab: $tabMaxW/2;
|
|
|
|
$hideRatioPhone: 1;
|
|
$hideRatioTab: 1;
|
|
|