mirror of
https://github.com/nasa/openmct.git
synced 2025-06-01 15:10:50 +00:00
[Frontend] Themes final on open prior to VISTA integration
open #95 Branch open95b now replaces open95; Fix to status indicator to only display when title length > 0;
This commit is contained in:
parent
a3a6706869
commit
4f5a1115d2
@ -54,7 +54,7 @@
|
|||||||
.status.block {
|
.status.block {
|
||||||
//display: inline-block;
|
//display: inline-block;
|
||||||
display: inline; // New status bar design. Inline to support ellipsis overflow
|
display: inline; // New status bar design. Inline to support ellipsis overflow
|
||||||
margin-right: $interiorMargin * 2;
|
margin-right: $interiorMarginLg;
|
||||||
.status-indicator {
|
.status-indicator {
|
||||||
//@include border-radius($controlCr * 0.9);
|
//@include border-radius($controlCr * 0.9);
|
||||||
//@include box-shadow(inset rgba(black, 0.5) 0 0 3px);
|
//@include box-shadow(inset rgba(black, 0.5) 0 0 3px);
|
||||||
|
@ -22,7 +22,8 @@
|
|||||||
<div class='status block'
|
<div class='status block'
|
||||||
title="{{ngModel.getDescription()}}"
|
title="{{ngModel.getDescription()}}"
|
||||||
ng-click='ngModel.configure()'
|
ng-click='ngModel.configure()'
|
||||||
ng-class='ngModel.getClass()'>
|
ng-class='ngModel.getClass()'
|
||||||
|
ng-show="ngModel.getText().length > 0">
|
||||||
<span class="ui-symbol status-indicator"
|
<span class="ui-symbol status-indicator"
|
||||||
ng-class='ngModel.getGlyphClass()'>
|
ng-class='ngModel.getGlyphClass()'>
|
||||||
{{ngModel.getGlyph()}}
|
{{ngModel.getGlyph()}}
|
||||||
@ -31,9 +32,9 @@
|
|||||||
ng-class='ngModel.getTextClass()'>
|
ng-class='ngModel.getTextClass()'>
|
||||||
{{ngModel.getText()}}
|
{{ngModel.getText()}}
|
||||||
</span>
|
</span>
|
||||||
<a href=''
|
<a href=''
|
||||||
class="ui-symbol"
|
class="ui-symbol"
|
||||||
ng-if="ngModel.configure">
|
ng-if="ngModel.configure">
|
||||||
G
|
G
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
Loading…
x
Reference in New Issue
Block a user