mirror of
https://github.com/nasa/openmct.git
synced 2025-02-22 10:11:06 +00:00
- Fixes related to `is-missing` including fixes for Display Layout alphanumeric views and Tabs view tabs;
This commit is contained in:
parent
87d63806b9
commit
cb63f4eca1
@ -27,13 +27,14 @@
|
|||||||
border: 1px solid transparent;
|
border: 1px solid transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.is-missing {
|
|
||||||
@include isMissing($absPos: true);
|
@include isMissing($absPos: true);
|
||||||
border: $borderMissing;
|
|
||||||
|
|
||||||
.is-missing__indicator {
|
.is-missing__indicator {
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&.is-missing {
|
||||||
|
border: $borderMissing;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -22,12 +22,14 @@
|
|||||||
<button
|
<button
|
||||||
v-for="(tab,index) in tabsList"
|
v-for="(tab,index) in tabsList"
|
||||||
:key="index"
|
:key="index"
|
||||||
class="c-tabs-view__tab c-tab c-object-label"
|
class="c-tab c-tabs-view__tab"
|
||||||
:class="{
|
:class="{
|
||||||
'is-current': isCurrent(tab),
|
'is-current': isCurrent(tab)
|
||||||
'is-missing': tab.domainObject.status === 'missing'
|
|
||||||
}"
|
}"
|
||||||
@click="showTab(tab, index)"
|
@click="showTab(tab, index)"
|
||||||
|
>
|
||||||
|
<div class="c-object-label"
|
||||||
|
:class="{'is-missing': tab.domainObject.status === 'missing'}"
|
||||||
>
|
>
|
||||||
<div class="c-object-label__type-icon"
|
<div class="c-object-label__type-icon"
|
||||||
:class="tab.type.definition.cssClass"
|
:class="tab.type.definition.cssClass"
|
||||||
@ -37,6 +39,7 @@
|
|||||||
></span>
|
></span>
|
||||||
</div>
|
</div>
|
||||||
<span class="c-button__label c-object-label__name">{{ tab.domainObject.name }}</span>
|
<span class="c-button__label c-object-label__name">{{ tab.domainObject.name }}</span>
|
||||||
|
</div>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
|
@ -123,7 +123,7 @@
|
|||||||
//pointer-events: none; // Don't think we can do this, as disables title hover on icon element
|
//pointer-events: none; // Don't think we can do this, as disables title hover on icon element
|
||||||
|
|
||||||
.is-missing__indicator {
|
.is-missing__indicator {
|
||||||
display: block;
|
display: none ;
|
||||||
text-shadow: $colorBodyBg 0 0 2px;
|
text-shadow: $colorBodyBg 0 0 2px;
|
||||||
color: $colorAlert;
|
color: $colorAlert;
|
||||||
font-family: symbolsfont;
|
font-family: symbolsfont;
|
||||||
@ -139,6 +139,9 @@
|
|||||||
z-index: 3;
|
z-index: 3;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&.is-missing .is-missing__indicator,
|
||||||
|
.is-missing .is-missing__indicator { display: block !important; }
|
||||||
}
|
}
|
||||||
|
|
||||||
@mixin bgDiagonalStripes($c: yellow, $a: 0.1, $d: 40px) {
|
@mixin bgDiagonalStripes($c: yellow, $a: 0.1, $d: 40px) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user