mirror of
https://github.com/nasa/openmct.git
synced 2025-06-13 20:58:15 +00:00
[Dev/Frontend] Cherry-picking platform changes from warp1341
WTD-1341
This commit is contained in:
@ -23,16 +23,22 @@
|
|||||||
&.l-fixed-position {
|
&.l-fixed-position {
|
||||||
// @include test(red);
|
// @include test(red);
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0; right: 0; bottom: 0; left: 0;
|
top: 0;
|
||||||
width: auto; height: auto;
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
|
width: auto;
|
||||||
|
height: auto;
|
||||||
|
|
||||||
.l-grid-holder {
|
.l-grid-holder {
|
||||||
position: relative;
|
position: relative;
|
||||||
height: 100%; width: 100%;
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
.l-grid {
|
.l-grid {
|
||||||
// @include test(orange);
|
// @include test(orange);
|
||||||
position: absolute;
|
position: absolute;
|
||||||
height: 100%; width: 100%;
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
z-index: 0;
|
z-index: 0;
|
||||||
}
|
}
|
||||||
@ -56,7 +62,8 @@
|
|||||||
.l-fixed-position-image,
|
.l-fixed-position-image,
|
||||||
.l-fixed-position-text {
|
.l-fixed-position-text {
|
||||||
@include box-sizing(border-box);
|
@include box-sizing(border-box);
|
||||||
height: 100%; width: 100%;
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.l-fixed-position-box {
|
.l-fixed-position-box {
|
||||||
@ -81,27 +88,34 @@
|
|||||||
&.l-telemetry {
|
&.l-telemetry {
|
||||||
.l-elem {
|
.l-elem {
|
||||||
//@include absPosDefault($p);
|
//@include absPosDefault($p);
|
||||||
@include absPosDefault(0);
|
//@include absPosDefault(0);
|
||||||
@include box-sizing(border-box);
|
@include box-sizing(border-box);
|
||||||
|
display: block;
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
width: 50%;
|
//width: 50%;
|
||||||
&.l-title {
|
&.l-title {
|
||||||
right: auto;
|
//right: auto;
|
||||||
left: $p;
|
//left: $p;
|
||||||
|
float: none;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
|
width: auto;
|
||||||
}
|
}
|
||||||
&.l-value {
|
&.l-value {
|
||||||
// @include test(blue);
|
// @include test(blue);
|
||||||
right: $p;
|
// right: $p;
|
||||||
left: auto;
|
// left: auto;
|
||||||
|
@include border-radius($smallCr);
|
||||||
|
$valPad: 5px;
|
||||||
|
float: right;
|
||||||
|
margin-left: $interiorMargin;
|
||||||
|
padding-left: $valPad;
|
||||||
|
padding-right: $valPad;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
&.telem-only {
|
&.telem-only {
|
||||||
// @include test(red);
|
margin-left: 0;
|
||||||
left: $p;
|
width: 100%;
|
||||||
width: auto;
|
|
||||||
}
|
|
||||||
.l-value-bg {
|
|
||||||
@include border-radius($smallCr);
|
|
||||||
padding: 0 4px;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -23,16 +23,16 @@
|
|||||||
class="l-fixed-position-text l-telemetry"
|
class="l-fixed-position-text l-telemetry"
|
||||||
ng-style="{ background: ngModel.fill(), 'border-color': ngModel.stroke(), color: ngModel.color() }"
|
ng-style="{ background: ngModel.fill(), 'border-color': ngModel.stroke(), color: ngModel.color() }"
|
||||||
>
|
>
|
||||||
<div
|
<span
|
||||||
|
class="l-elem l-value obj-val-format ovf-{{ngModel.value}}"
|
||||||
|
ng-class="{ 'telem-only': !ngModel.element.titled }"
|
||||||
|
>
|
||||||
|
{{ngModel.value}}
|
||||||
|
</span>
|
||||||
|
<span
|
||||||
class="l-elem l-title"
|
class="l-elem l-title"
|
||||||
ng-show="ngModel.element.titled"
|
ng-show="ngModel.element.titled"
|
||||||
>
|
>
|
||||||
{{ngModel.name}}
|
{{ngModel.name}}
|
||||||
</div>
|
</span>
|
||||||
<div
|
|
||||||
class="l-elem l-value"
|
|
||||||
ng-class="{ 'telem-only': !ngModel.element.titled }"
|
|
||||||
>
|
|
||||||
{{ngModel.value}}
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
Reference in New Issue
Block a user