2015-05-13 23:42:35 +00:00
|
|
|
/*****************************************************************************
|
|
|
|
* 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.
|
|
|
|
*****************************************************************************/
|
2015-02-25 19:08:52 +00:00
|
|
|
.t-fixed-position {
|
|
|
|
&.l-fixed-position {
|
2015-06-08 18:14:58 +00:00
|
|
|
// @include test(red);
|
2015-02-25 19:08:52 +00:00
|
|
|
position: absolute;
|
2015-06-08 18:14:58 +00:00
|
|
|
top: 0; right: 0; bottom: 0; left: 0;
|
|
|
|
width: auto; height: auto;
|
2015-02-25 19:08:52 +00:00
|
|
|
|
2015-02-25 23:53:02 +00:00
|
|
|
.l-grid-holder {
|
|
|
|
position: relative;
|
2015-06-08 18:14:58 +00:00
|
|
|
height: 100%; width: 100%;
|
2015-02-25 23:53:02 +00:00
|
|
|
.l-grid {
|
2015-06-08 18:14:58 +00:00
|
|
|
// @include test(orange);
|
2015-02-25 23:53:02 +00:00
|
|
|
position: absolute;
|
2015-06-08 18:14:58 +00:00
|
|
|
height: 100%; width: 100%;
|
2015-02-25 23:53:02 +00:00
|
|
|
pointer-events: none;
|
|
|
|
z-index: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-02-25 19:08:52 +00:00
|
|
|
|
2015-02-25 23:53:02 +00:00
|
|
|
.l-fixed-position-item {
|
|
|
|
position: absolute;
|
|
|
|
border: 1px solid transparent;
|
2015-02-26 02:41:00 +00:00
|
|
|
|
2015-02-25 23:53:02 +00:00
|
|
|
&.s-selected {
|
|
|
|
@include boxShdwLarge();
|
|
|
|
border-color: $colorKey;
|
|
|
|
cursor: move;
|
|
|
|
}
|
|
|
|
&.s-not-selected {
|
|
|
|
opacity: 0.8;
|
|
|
|
}
|
2015-02-25 19:08:52 +00:00
|
|
|
|
2015-02-26 02:41:00 +00:00
|
|
|
.l-fixed-position-box,
|
|
|
|
.l-fixed-position-image,
|
|
|
|
.l-fixed-position-text {
|
|
|
|
@include box-sizing(border-box);
|
2015-06-08 18:14:58 +00:00
|
|
|
height: 100%; width: 100%;
|
2015-02-26 02:41:00 +00:00
|
|
|
}
|
2015-02-25 19:08:52 +00:00
|
|
|
|
2015-02-26 02:41:00 +00:00
|
|
|
.l-fixed-position-box {
|
2015-02-25 23:53:02 +00:00
|
|
|
}
|
2015-06-08 18:14:58 +00:00
|
|
|
|
2015-02-26 02:41:00 +00:00
|
|
|
.l-fixed-position-image {
|
2015-02-26 19:04:21 +00:00
|
|
|
background-size: cover;
|
2015-02-26 02:41:00 +00:00
|
|
|
background-repeat: no-repeat;
|
2015-03-20 23:48:14 +00:00
|
|
|
background-position: center;
|
2015-02-26 02:41:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.l-fixed-position-text {
|
|
|
|
@include txtShdwSubtle();
|
2015-06-08 18:14:58 +00:00
|
|
|
border:1px solid transparent;
|
2015-02-26 02:41:00 +00:00
|
|
|
font-size: 0.8rem;
|
2015-06-08 18:14:58 +00:00
|
|
|
$p: 1px; //$interiorMarginSm;
|
|
|
|
line-height: 100%;
|
2015-02-26 02:41:00 +00:00
|
|
|
&.l-static-text {
|
2015-06-08 18:14:58 +00:00
|
|
|
// overflow: auto;
|
2015-02-26 02:41:00 +00:00
|
|
|
padding: $p;
|
|
|
|
}
|
|
|
|
&.l-telemetry {
|
|
|
|
.l-elem {
|
2015-06-08 18:14:58 +00:00
|
|
|
//@include absPosDefault($p);
|
|
|
|
@include absPosDefault(0);
|
2015-02-26 02:41:00 +00:00
|
|
|
@include box-sizing(border-box);
|
2015-06-08 18:14:58 +00:00
|
|
|
padding: 2px;
|
2015-02-26 02:41:00 +00:00
|
|
|
width: 50%;
|
|
|
|
&.l-title {
|
|
|
|
right: auto;
|
2015-02-26 02:17:11 +00:00
|
|
|
left: $p;
|
2015-02-26 02:41:00 +00:00
|
|
|
}
|
|
|
|
&.l-value {
|
2015-06-08 18:14:58 +00:00
|
|
|
// @include test(blue);
|
2015-02-26 02:41:00 +00:00
|
|
|
right: $p;
|
|
|
|
left: auto;
|
|
|
|
text-align: right;
|
|
|
|
&.telem-only {
|
2015-06-08 18:14:58 +00:00
|
|
|
// @include test(red);
|
2015-02-26 02:41:00 +00:00
|
|
|
left: $p;
|
2015-02-26 18:33:42 +00:00
|
|
|
width: auto;
|
2015-02-26 02:41:00 +00:00
|
|
|
}
|
2015-06-08 18:14:58 +00:00
|
|
|
.l-value-bg {
|
|
|
|
@include border-radius($smallCr);
|
|
|
|
padding: 0 4px;
|
|
|
|
}
|
2015-02-25 23:53:02 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-02-26 02:41:00 +00:00
|
|
|
|
2015-02-25 23:53:02 +00:00
|
|
|
.l-fixed-position-item-handle {
|
|
|
|
$brd: 1px solid $colorKey;
|
2015-02-26 02:41:00 +00:00
|
|
|
// @include border-radius($controlCr);
|
2015-02-25 23:53:02 +00:00
|
|
|
background: rgba($colorKey, 0.5);
|
|
|
|
cursor: crosshair;
|
|
|
|
border: $brd;
|
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
}
|
2015-02-25 19:08:52 +00:00
|
|
|
|
2015-02-25 23:53:02 +00:00
|
|
|
.edit-mode .t-fixed-position {
|
2015-03-20 23:37:42 +00:00
|
|
|
&.l-fixed-position {
|
|
|
|
.l-grid-holder {
|
|
|
|
.l-grid {
|
|
|
|
&.l-grid-x {
|
|
|
|
@include bgTicks($colorGridLines, 'x');
|
|
|
|
}
|
|
|
|
|
|
|
|
&.l-grid-y {
|
|
|
|
@include bgTicks($colorGridLines, 'y');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-02-25 23:53:02 +00:00
|
|
|
.l-fixed-position-item {
|
2015-05-01 17:43:15 +00:00
|
|
|
&:not(.s-selected) {
|
|
|
|
border: 1px dotted rgba($colorKey, 0.75);
|
|
|
|
&:hover {
|
|
|
|
border: 1px dotted rgba($colorKey, 1.0);
|
|
|
|
}
|
2015-02-25 23:53:02 +00:00
|
|
|
}
|
|
|
|
}
|
2015-02-25 19:08:52 +00:00
|
|
|
}
|