Files
openmct/platform/commonUI/general/res/sass/mobile/_layout.scss
Shivam Dave a9dd1f9828 [Mobile] Transistions
Cleaned up and added transitions.
2015-07-15 16:57:36 -07:00

103 lines
2.6 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.
*****************************************************************************/
// NOTE: Added to adjust the browse folder left list view
.browse-wrapper,
.pane-special {
@include transition-duration(.2s);
position: absolute;
left: 0; top: 0;
right: 0; left: 0;
white-space: nowrap;
height: 100%;
}
.browse-hidetree {
.pane-special.left {
@include transition-duration(.2s);
display: none !important;
}
.pane-special.right {
@include transition-duration(.2s);
width: auto !important;
left: 0px !important;
}
}
.browse-showtree {
.pane-special.left {
@include transition-duration(.2s);
display: block !important;
width: 300px !important;
right: auto !important;
}
.pane-special.right {
@include transition-duration(.2s);
left: 300px !important;
width: auto !important;
}
}
.button-pos {
position: absolute;
@include transition-duration(.2s);
}
.object-header-mobile {
position: relative;
left: 30px;
}
.mobile-menu-icon {
top: $interiorMargin;
@include phone {
font-size: 125%;
}
@include tablet {
font-size: 175%;
}
@include desktop {
display: none;
}
}
.mobile-hide {
@include phone {
display: none;
}
@include tablet {
display: none;
}
}
.phone-hide {
@include phone {
display: none;
}
}