mirror of
https://github.com/nasa/openmct.git
synced 2024-12-30 18:06:59 +00:00
8841f25186
WTD-1392 WTD-1367 WTD-1391 Some significant reorging in _menus.scss and _constants; Create menu normalized with context menu styles; Bottom bar of overlay overflow set to visible to prevent button clipping;
285 lines
15 KiB
CSS
285 lines
15 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.
|
|
*****************************************************************************/
|
|
/*
|
|
@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.
|
|
*****************************************************************************/
|
|
/* line 22, ../sass/items/_item.scss */
|
|
.items-holder {
|
|
overflow: hidden;
|
|
*zoom: 1;
|
|
overflow-y: auto; }
|
|
/* line 25, ../sass/items/_item.scss */
|
|
.items-holder .contents {
|
|
top: 0; }
|
|
/* line 29, ../sass/items/_item.scss */
|
|
.items-holder .item.grid-item {
|
|
background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzVlNWU1ZSIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzUyNTI1MiIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==');
|
|
background-size: 100%;
|
|
background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #5e5e5e), color-stop(100%, #525252));
|
|
background-image: -moz-linear-gradient(#5e5e5e, #525252);
|
|
background-image: -webkit-linear-gradient(#5e5e5e, #525252);
|
|
background-image: linear-gradient(#5e5e5e, #525252);
|
|
-moz-border-radius: 2px;
|
|
-webkit-border-radius: 2px;
|
|
border-radius: 2px;
|
|
-moz-box-sizing: border-box;
|
|
-webkit-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
-moz-box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px;
|
|
-webkit-box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px;
|
|
box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px;
|
|
border: none;
|
|
border-top: 1px solid #636363;
|
|
color: #999;
|
|
display: inline-block;
|
|
box-sizing: border-box;
|
|
cursor: pointer;
|
|
float: left;
|
|
height: 200px;
|
|
width: 200px;
|
|
margin-bottom: 3px;
|
|
margin-right: 3px;
|
|
position: relative; }
|
|
/* line 152, ../sass/_mixins.scss */
|
|
.items-holder .item.grid-item:not(.disabled):hover {
|
|
background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzcwNzA3MCIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzYzNjM2MyIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==');
|
|
background-size: 100%;
|
|
background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #707070), color-stop(100%, #636363));
|
|
background-image: -moz-linear-gradient(#707070, #636363);
|
|
background-image: -webkit-linear-gradient(#707070, #636363);
|
|
background-image: linear-gradient(#707070, #636363);
|
|
color: #bdbdbd; }
|
|
/* line 155, ../sass/_mixins.scss */
|
|
.items-holder .item.grid-item:not(.disabled):hover.btn-menu .invoke-menu {
|
|
color: #949494; }
|
|
/* line 160, ../sass/_mixins.scss */
|
|
.items-holder .item.grid-item.btn-menu .invoke-menu {
|
|
color: #828282; }
|
|
/* line 42, ../sass/items/_item.scss */
|
|
.items-holder .item.grid-item .item-main .item-type {
|
|
-moz-transition-property: "color";
|
|
-o-transition-property: "color";
|
|
-webkit-transition-property: "color";
|
|
transition-property: "color";
|
|
-moz-transition-duration: 200ms;
|
|
-o-transition-duration: 200ms;
|
|
-webkit-transition-duration: 200ms;
|
|
transition-duration: 200ms;
|
|
-moz-transition-timing-function: ease-in-out;
|
|
-o-transition-timing-function: ease-in-out;
|
|
-webkit-transition-timing-function: ease-in-out;
|
|
transition-timing-function: ease-in-out; }
|
|
/* line 46, ../sass/items/_item.scss */
|
|
.items-holder .item.grid-item:hover .item-main .item-type {
|
|
color: #0099cc !important; }
|
|
/* line 49, ../sass/items/_item.scss */
|
|
.items-holder .item.grid-item:hover .item-main .item-open {
|
|
opacity: 1; }
|
|
/* line 54, ../sass/items/_item.scss */
|
|
.items-holder .item.grid-item .contents {
|
|
top: 5px;
|
|
right: 5px;
|
|
bottom: 5px;
|
|
left: 5px; }
|
|
/* line 58, ../sass/items/_item.scss */
|
|
.items-holder .item.grid-item .bar.top-bar.abs {
|
|
bottom: auto;
|
|
height: 20px;
|
|
line-height: 20px;
|
|
z-index: 5; }
|
|
/* line 63, ../sass/items/_item.scss */
|
|
.items-holder .item.grid-item .bar.top-bar.abs .left, .items-holder .item.grid-item .bar.top-bar.abs .right {
|
|
width: auto; }
|
|
/* line 65, ../sass/items/_item.scss */
|
|
.items-holder .item.grid-item .bar.top-bar.abs .left .icon, .items-holder .item.grid-item .bar.top-bar.abs .right .icon {
|
|
margin-left: 5px; }
|
|
/* line 70, ../sass/items/_item.scss */
|
|
.items-holder .item.grid-item .bar.bottom-bar.abs {
|
|
top: auto;
|
|
height: 30px;
|
|
padding: 5px; }
|
|
/* line 76, ../sass/items/_item.scss */
|
|
.items-holder .item.grid-item .item-main {
|
|
line-height: 160px;
|
|
z-index: 1; }
|
|
/* line 82, ../sass/items/_item.scss */
|
|
.items-holder .item.grid-item .item-main .item-type {
|
|
color: #737373;
|
|
text-align: center;
|
|
font-size: 6em; }
|
|
/* line 88, ../sass/items/_item.scss */
|
|
.items-holder .item.grid-item .item-main .item-open {
|
|
-moz-transition-property: "opacity";
|
|
-o-transition-property: "opacity";
|
|
-webkit-transition-property: "opacity";
|
|
transition-property: "opacity";
|
|
-moz-transition-duration: 200ms;
|
|
-o-transition-duration: 200ms;
|
|
-webkit-transition-duration: 200ms;
|
|
transition-duration: 200ms;
|
|
-moz-transition-timing-function: ease-in-out;
|
|
-o-transition-timing-function: ease-in-out;
|
|
-webkit-transition-timing-function: ease-in-out;
|
|
transition-timing-function: ease-in-out;
|
|
opacity: 0;
|
|
font-size: 3em;
|
|
left: auto;
|
|
width: 50px;
|
|
pointer-events: none;
|
|
text-align: right; }
|
|
/* line 100, ../sass/items/_item.scss */
|
|
.items-holder .item.grid-item .title {
|
|
text-shadow: rgba(0, 0, 0, 0.1) 0 1px 2px;
|
|
color: #cccccc;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis; }
|
|
/* line 108, ../sass/items/_item.scss */
|
|
.items-holder .item.grid-item .details {
|
|
font-size: 0.8em; }
|
|
/* line 111, ../sass/items/_item.scss */
|
|
.items-holder .item.grid-item.selected {
|
|
background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzBhYzJmZiIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzAwYjRmMCIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==');
|
|
background-size: 100%;
|
|
background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #0ac2ff), color-stop(100%, #00b4f0));
|
|
background-image: -moz-linear-gradient(#0ac2ff, #00b4f0);
|
|
background-image: -webkit-linear-gradient(#0ac2ff, #00b4f0);
|
|
background-image: linear-gradient(#0ac2ff, #00b4f0);
|
|
-moz-border-radius: 2px;
|
|
-webkit-border-radius: 2px;
|
|
border-radius: 2px;
|
|
-moz-box-sizing: border-box;
|
|
-webkit-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
-moz-box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px;
|
|
-webkit-box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px;
|
|
box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px;
|
|
border: none;
|
|
border-top: 1px solid #14c4ff;
|
|
color: #999;
|
|
display: inline-block;
|
|
color: #80dfff; }
|
|
/* line 152, ../sass/_mixins.scss */
|
|
.items-holder .item.grid-item.selected:not(.disabled):hover {
|
|
background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzJlY2JmZiIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzE0YzRmZiIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==');
|
|
background-size: 100%;
|
|
background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #2ecbff), color-stop(100%, #14c4ff));
|
|
background-image: -moz-linear-gradient(#2ecbff, #14c4ff);
|
|
background-image: -webkit-linear-gradient(#2ecbff, #14c4ff);
|
|
background-image: linear-gradient(#2ecbff, #14c4ff);
|
|
color: #bdbdbd; }
|
|
/* line 155, ../sass/_mixins.scss */
|
|
.items-holder .item.grid-item.selected:not(.disabled):hover.btn-menu .invoke-menu {
|
|
color: #75ddff; }
|
|
/* line 160, ../sass/_mixins.scss */
|
|
.items-holder .item.grid-item.selected.btn-menu .invoke-menu {
|
|
color: #52d4ff; }
|
|
/* line 116, ../sass/items/_item.scss */
|
|
.items-holder .item.grid-item.selected .item-type, .items-holder .item.grid-item.selected .top-bar .icon:not(.alert) {
|
|
color: #80dfff; }
|
|
/* line 117, ../sass/items/_item.scss */
|
|
.items-holder .item.grid-item.selected .item-main .item-open {
|
|
color: #80dfff; }
|
|
/* line 118, ../sass/items/_item.scss */
|
|
.items-holder .item.grid-item.selected .title {
|
|
color: white; }
|
|
/* line 120, ../sass/items/_item.scss */
|
|
.items-holder .item.grid-item.selected:hover .item-main .item-type {
|
|
color: white !important; }
|