mirror of
https://github.com/nasa/openmct.git
synced 2025-06-18 23:28:14 +00:00
Merge pull request #788 from nasa/open445b
Review and integrate open445b
This commit is contained in:
@ -98,6 +98,11 @@ $bubbleMaxW: 300px;
|
|||||||
$reqSymbolW: 15px;
|
$reqSymbolW: 15px;
|
||||||
$reqSymbolM: $interiorMargin * 2;
|
$reqSymbolM: $interiorMargin * 2;
|
||||||
$reqSymbolFontSize: 0.7em;
|
$reqSymbolFontSize: 0.7em;
|
||||||
|
// Wait Spinner Defaults
|
||||||
|
$waitSpinnerD: 32px;
|
||||||
|
$waitSpinnerTreeD: 20px;
|
||||||
|
$waitSpinnerBorderW: 5px;
|
||||||
|
$waitSpinnerTreeBorderW: 4px;
|
||||||
|
|
||||||
/************************** CONTROLS */
|
/************************** CONTROLS */
|
||||||
$controlDisabledOpacity: 0.3;
|
$controlDisabledOpacity: 0.3;
|
||||||
|
@ -35,15 +35,15 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
mct-representation {
|
mct-representation,
|
||||||
|
.rep-object-label {
|
||||||
&.s-status-pending {
|
&.s-status-pending {
|
||||||
.t-object-label {
|
.t-object-label {
|
||||||
.t-item-icon {
|
.t-item-icon {
|
||||||
&:before {
|
&:before {
|
||||||
$spinBW: 4px;
|
@include spinner($waitSpinnerTreeBorderW, $colorLoadingFg);
|
||||||
@include spinner($spinBW);
|
|
||||||
content: "";
|
content: "";
|
||||||
padding: 30%;
|
height: $waitSpinnerTreeD; width: $waitSpinnerTreeD;
|
||||||
}
|
}
|
||||||
.t-item-icon-glyph {
|
.t-item-icon-glyph {
|
||||||
display: none;
|
display: none;
|
||||||
@ -57,7 +57,10 @@ mct-representation {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.selected mct-representation.s-status-pending .t-object-label .t-item-icon:before {
|
.selected mct-representation,
|
||||||
|
.selected .rep-object-label {
|
||||||
|
.s-status-pending .t-object-label .t-item-icon:before {
|
||||||
border-color: rgba($colorItemTreeSelectedFg, 0.25) !important;
|
border-color: rgba($colorItemTreeSelectedFg, 0.25) !important;
|
||||||
border-top-color: rgba($colorItemTreeSelectedFg, 1.0) !important;
|
border-top-color: rgba($colorItemTreeSelectedFg, 1.0) !important;
|
||||||
|
}
|
||||||
}
|
}
|
@ -46,10 +46,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.wait-spinner {
|
.wait-spinner {
|
||||||
$d: 5%;
|
@include spinner($waitSpinnerBorderW, $colorKey);
|
||||||
@include spinner(0.5em, $colorKey);
|
|
||||||
height: auto; width: auto;
|
|
||||||
padding: $d; // Will size object based on parent container WIDTH
|
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
&.inline {
|
&.inline {
|
||||||
@ -60,15 +57,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.treeview .wait-spinner {
|
|
||||||
// Only used in subtree.html, which I don't think this is actually being used
|
|
||||||
$d: 10px;
|
|
||||||
height: $d; width: $d;
|
|
||||||
margin: 0 !important;
|
|
||||||
padding: 0 !important;
|
|
||||||
top: 2px; left: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.loading {
|
.loading {
|
||||||
// Can be applied to any block element with height and width
|
// Can be applied to any block element with height and width
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
@ -77,8 +65,8 @@
|
|||||||
content: '';
|
content: '';
|
||||||
}
|
}
|
||||||
&:before {
|
&:before {
|
||||||
@include spinner(5px, $colorLoadingFg);
|
@include spinner($waitSpinnerBorderW, $colorLoadingFg);
|
||||||
padding: 5%;
|
height: $waitSpinnerD; width: $waitSpinnerD;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
}
|
}
|
||||||
&:after {
|
&:after {
|
||||||
@ -87,8 +75,22 @@
|
|||||||
display: block;
|
display: block;
|
||||||
z-index: 9;
|
z-index: 9;
|
||||||
}
|
}
|
||||||
&.tree-item:before {
|
&.tree-item.t-wait-node {
|
||||||
padding: $menuLineH / 4;
|
$d: $waitSpinnerTreeD;
|
||||||
border-width: 2px;
|
$spinnerL: $treeVCW + $interiorMargin + 3px + $d/2;
|
||||||
|
padding-left: $spinnerL + $d/2 + $interiorMargin;
|
||||||
|
.t-title-label {
|
||||||
|
font-style: italic;
|
||||||
|
opacity: 0.6;
|
||||||
|
}
|
||||||
|
&:before {
|
||||||
|
height: $d;
|
||||||
|
width: $d;
|
||||||
|
border-width: 4px;
|
||||||
|
left: $spinnerL;
|
||||||
|
}
|
||||||
|
&:after {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -19,9 +19,6 @@
|
|||||||
this source code distribution or the Licensing information page available
|
this source code distribution or the Licensing information page available
|
||||||
at runtime from the About dialog for additional information.
|
at runtime from the About dialog for additional information.
|
||||||
-->
|
-->
|
||||||
<li>
|
<li class='tree-item t-wait-node loading'>
|
||||||
<span class="tree-item">
|
<span class="t-title-label">Loading...</span>
|
||||||
<span class="icon wait-spinner"></span>
|
|
||||||
<span class="title-label">Loading...</span>
|
|
||||||
</span>
|
|
||||||
</li>
|
</li>
|
||||||
|
Reference in New Issue
Block a user