mirror of
https://github.com/nasa/openmct.git
synced 2024-12-23 15:02:23 +00:00
da8eb334e3
open #74 CSS and markup changes for split pane holders; drop shadow added to tree area; Tree item cleanups; This or earlier commit broke treeview nav action; TO-DO: fix treeview nav action to hide menu;
352 lines
16 KiB
CSS
352 lines
16 KiB
CSS
/*****************************************************************************
|
|
* 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.
|
|
*****************************************************************************/
|
|
/*****************************************************************************
|
|
* 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.
|
|
*****************************************************************************/
|
|
/************************** FEATURES */
|
|
/************************** VERY INFLUENTIAL GLOBAL DIMENSIONS */
|
|
/************************** COLORS AND SHADING */
|
|
/************************** RATIOS */
|
|
/************************** LAYOUT */
|
|
/************************** CONTROLS */
|
|
/************************** PATHS */
|
|
/************************** TIMINGS */
|
|
/*****************************************************************************
|
|
* 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.
|
|
*****************************************************************************/
|
|
/************************** MOBILE REPRESENTATION ITEMS DIMENSIONS */
|
|
/************************** MOBILE TREE MENU DIMENSIONS */
|
|
/************************** WINDOW DIMENSIONS FOR RWD */
|
|
/************************** MEDIA QUERIES: WINDOW CHECKS FOR SPECIFIC ORIENTATIONS FOR EACH DEVICE */
|
|
/************************** MEDIA QUERIES: WINDOWS FOR SPECIFIC ORIENTATIONS FOR EACH DEVICE */
|
|
/************************** DEVICE PARAMETERS FOR MENUS/REPRESENTATIONS */
|
|
/*****************************************************************************
|
|
* 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.
|
|
*****************************************************************************/
|
|
/*********************************************** FORM ELEMENTS */
|
|
/*
|
|
@mixin invokeMenu($baseColor: $colorBodyFg) {
|
|
$c: $baseColor;
|
|
color: $c;
|
|
&:hover {
|
|
color: lighten($c, $ltGamma);
|
|
}
|
|
}
|
|
*/
|
|
/*****************************************************************************
|
|
* 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.
|
|
*****************************************************************************/
|
|
/*****************************************************************************
|
|
* 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.
|
|
*****************************************************************************/
|
|
/* line 23, ../sass/tree/_tree.scss */
|
|
ul.tree {
|
|
margin: 0;
|
|
padding: 0; }
|
|
/* line 314, ../sass/_mixins.scss */
|
|
ul.tree li {
|
|
list-style-type: none;
|
|
margin: 0;
|
|
padding: 0; }
|
|
/* line 25, ../sass/tree/_tree.scss */
|
|
ul.tree li {
|
|
display: block;
|
|
position: relative; }
|
|
/* line 28, ../sass/tree/_tree.scss */
|
|
ul.tree li span.tree-item {
|
|
-moz-box-sizing: border-box;
|
|
-webkit-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
-moz-border-radius: 2px;
|
|
-webkit-border-radius: 2px;
|
|
border-radius: 2px;
|
|
-moz-transition: background-color 0.25s;
|
|
-o-transition: background-color 0.25s;
|
|
-webkit-transition: background-color 0.25s;
|
|
transition: background-color 0.25s;
|
|
display: block;
|
|
font-size: 0.8em;
|
|
height: 1.5rem;
|
|
line-height: 1.5rem;
|
|
margin-bottom: 3px;
|
|
position: relative; }
|
|
/* line 40, ../sass/tree/_tree.scss */
|
|
ul.tree li span.tree-item .view-control {
|
|
display: inline-block;
|
|
margin-left: 5px;
|
|
font-size: 0.75em;
|
|
width: 10px; }
|
|
@media screen and (min-device-width: 800px) and (min-device-height: 1025px), screen and (min-device-width: 1025px) and (min-device-height: 800px) {
|
|
/* line 48, ../sass/tree/_tree.scss */
|
|
ul.tree li span.tree-item .view-control:hover {
|
|
color: #ffc700; } }
|
|
/* line 54, ../sass/tree/_tree.scss */
|
|
ul.tree li span.tree-item .label {
|
|
display: block;
|
|
overflow: hidden;
|
|
position: absolute;
|
|
top: 0px;
|
|
right: 0px;
|
|
bottom: 0px;
|
|
left: 0px;
|
|
width: auto;
|
|
height: auto;
|
|
left: 15px; }
|
|
/* line 61, ../sass/tree/_tree.scss */
|
|
ul.tree li span.tree-item .label .type-icon {
|
|
text-shadow: rgba(0, 0, 0, 0.6) 0 1px 2px;
|
|
font-size: 16px;
|
|
color: #0099cc;
|
|
left: 5px;
|
|
position: absolute;
|
|
top: 4px;
|
|
bottom: auto;
|
|
height: 16px;
|
|
line-height: 100%;
|
|
right: auto;
|
|
width: 16px; }
|
|
/* line 74, ../sass/tree/_tree.scss */
|
|
ul.tree li span.tree-item .label .type-icon .icon.l-icon-link, ul.tree li span.tree-item .label .type-icon .icon.l-icon-alert {
|
|
text-shadow: black 0 1px 2px;
|
|
position: absolute;
|
|
z-index: 2; }
|
|
/* line 80, ../sass/tree/_tree.scss */
|
|
ul.tree li span.tree-item .label .type-icon .icon.l-icon-alert {
|
|
color: #ff3c00;
|
|
font-size: 8px;
|
|
line-height: 8px;
|
|
height: 8px;
|
|
width: 8px;
|
|
top: 1px;
|
|
right: -2px; }
|
|
/* line 86, ../sass/tree/_tree.scss */
|
|
ul.tree li span.tree-item .label .type-icon .icon.l-icon-link {
|
|
color: #49dedb;
|
|
font-size: 8px;
|
|
line-height: 8px;
|
|
height: 8px;
|
|
width: 8px;
|
|
left: -3px;
|
|
bottom: 0px; }
|
|
/* line 94, ../sass/tree/_tree.scss */
|
|
ul.tree li span.tree-item .label .title-label {
|
|
overflow: hidden;
|
|
position: absolute;
|
|
top: 0px;
|
|
right: 0px;
|
|
bottom: 0px;
|
|
left: 0px;
|
|
width: auto;
|
|
height: auto;
|
|
display: block;
|
|
left: 30px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap; }
|
|
/* line 105, ../sass/tree/_tree.scss */
|
|
ul.tree li span.tree-item.loading {
|
|
pointer-events: none; }
|
|
/* line 107, ../sass/tree/_tree.scss */
|
|
ul.tree li span.tree-item.loading .label {
|
|
opacity: 0.5; }
|
|
/* line 109, ../sass/tree/_tree.scss */
|
|
ul.tree li span.tree-item.loading .label .title-label {
|
|
font-style: italic; }
|
|
/* line 113, ../sass/tree/_tree.scss */
|
|
ul.tree li span.tree-item.loading .wait-spinner {
|
|
margin-left: 14px; }
|
|
/* line 118, ../sass/tree/_tree.scss */
|
|
ul.tree li span.tree-item.selected {
|
|
background: #005177;
|
|
color: #fff; }
|
|
/* line 122, ../sass/tree/_tree.scss */
|
|
ul.tree li span.tree-item.selected .view-control {
|
|
color: #0099cc; }
|
|
/* line 125, ../sass/tree/_tree.scss */
|
|
ul.tree li span.tree-item.selected .label .type-icon {
|
|
color: #fff; }
|
|
@media screen and (min-device-width: 800px) and (min-device-height: 1025px), screen and (min-device-width: 1025px) and (min-device-height: 800px) {
|
|
/* line 133, ../sass/tree/_tree.scss */
|
|
ul.tree li span.tree-item:not(.selected):hover {
|
|
background: #404040;
|
|
color: #cccccc; }
|
|
/* line 136, ../sass/tree/_tree.scss */
|
|
ul.tree li span.tree-item:not(.selected):hover .context-trigger {
|
|
display: block; }
|
|
/* line 139, ../sass/tree/_tree.scss */
|
|
ul.tree li span.tree-item:not(.selected):hover .icon {
|
|
color: #33ccff; } }
|
|
/* line 146, ../sass/tree/_tree.scss */
|
|
ul.tree li span.tree-item:not(.loading) {
|
|
cursor: pointer; }
|
|
/* line 150, ../sass/tree/_tree.scss */
|
|
ul.tree li span.tree-item .context-trigger {
|
|
top: -1px;
|
|
position: absolute;
|
|
right: 3px; }
|
|
/* line 156, ../sass/tree/_tree.scss */
|
|
ul.tree li span.tree-item .context-trigger .invoke-menu {
|
|
font-size: 0.75em;
|
|
height: 0.9rem;
|
|
line-height: 0.9rem; }
|
|
/* line 165, ../sass/tree/_tree.scss */
|
|
ul.tree ul.tree {
|
|
margin-left: 15px; }
|
|
|
|
/*****************************************************************************
|
|
* 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.
|
|
*****************************************************************************/
|
|
@media screen and (orientation: portrait) and (max-width: 514px) and (max-height: 740px) and (max-device-width: 799px) and (max-device-height: 1024px), screen and (orientation: landscape) and (max-height: 514px) and (max-width: 740px) and (max-device-width: 799px) and (max-device-height: 1024px), screen and (orientation: landscape) and (max-height: 514px) and (max-width: 740px) and (max-device-width: 1024px) and (max-device-height: 799px), screen and (orientation: portrait) and (min-width: 515px) and (max-width: 799px) and (min-height: 741px) and (max-height: 1024px) and (max-device-width: 799px) and (max-device-height: 1024px), screen and (orientation: landscape) and (min-height: 515px) and (max-height: 799px) and (min-width: 741px) and (max-width: 1024px) and (max-device-width: 799px) and (max-device-height: 1024px), screen and (orientation: landscape) and (min-height: 515px) and (max-height: 799px) and (min-width: 741px) and (max-width: 1024px) and (max-device-width: 1024px) and (max-device-height: 799px) {
|
|
/* line 30, ../sass/mobile/_tree.scss */
|
|
ul.tree li span.tree-item {
|
|
height: 35px;
|
|
line-height: 35px;
|
|
margin-bottom: 0px; }
|
|
/* line 35, ../sass/mobile/_tree.scss */
|
|
ul.tree li span.tree-item .view-control {
|
|
position: absolute;
|
|
font-size: 1.1em;
|
|
right: 0px;
|
|
width: 30px;
|
|
text-align: center; }
|
|
/* line 44, ../sass/mobile/_tree.scss */
|
|
ul.tree li span.tree-item .label {
|
|
left: 0;
|
|
right: 35px;
|
|
font-size: 1.2em; }
|
|
/* line 51, ../sass/mobile/_tree.scss */
|
|
ul.tree li span.tree-item .label .type-icon {
|
|
top: 9px;
|
|
bottom: auto;
|
|
height: 16px; }
|
|
/* line 62, ../sass/mobile/_tree.scss */
|
|
ul.tree ul.tree {
|
|
margin-left: 20px; } }
|