mirror of
https://github.com/nasa/openmct.git
synced 2024-12-20 21:53:08 +00:00
[Frontend] Fixed clock indicator
Fixes #1047 Restored no-collapse and float-right properties;
This commit is contained in:
parent
5324c8edba
commit
ce7591f642
@ -62,6 +62,12 @@
|
||||
}
|
||||
}
|
||||
|
||||
.subdued {
|
||||
.status-indicator {
|
||||
color: pullForward($colorStatusBarBg, 40%);
|
||||
}
|
||||
}
|
||||
|
||||
.status-block-holder {
|
||||
// Applied to mct-include element
|
||||
// Contains status.block elements
|
||||
|
@ -82,7 +82,7 @@
|
||||
top: auto;
|
||||
height: $ueFooterH;
|
||||
line-height: $ueFooterH - ($interiorMargin * 2);
|
||||
background: $colorFooterBg;
|
||||
background: $colorStatusBarBg;
|
||||
color: lighten($colorBodyBg, 30%);
|
||||
font-size: .7rem;
|
||||
.status-holder {
|
||||
|
@ -2,7 +2,7 @@
|
||||
$colorBodyBg: #333;
|
||||
$colorBodyFg: #999;
|
||||
$colorGenBg: #222;
|
||||
$colorFooterBg: #000;
|
||||
$colorStatusBarBg: #000;
|
||||
$colorKey: #0099cc;
|
||||
$colorKeySelectedBg: #005177;
|
||||
$colorKeyFg: #fff;
|
||||
@ -29,6 +29,7 @@ $colorBtnMajorBg: $colorKey;
|
||||
$colorBtnMajorBgHov: pullForward($colorBtnMajorBg, $hoverRatioPercent);
|
||||
$colorBtnMajorFg: $colorKeyFg;
|
||||
$colorBtnMajorFgHov: pullForward($colorBtnMajorFg, $hoverRatioPercent);
|
||||
// TODO: make clickable icon initially use the key color; also, introduce a toggle-able icon with different color approach
|
||||
$colorClickIcon: $colorBodyFg;
|
||||
$colorClickIconActive: $colorKey;
|
||||
$colorClickIconHov: $colorClickIconActive;
|
||||
|
@ -2,7 +2,7 @@
|
||||
$colorBodyBg: #fcfcfc;
|
||||
$colorBodyFg: #666;
|
||||
$colorGenBg: #fff;
|
||||
$colorFooterBg: #000;
|
||||
$colorStatusBarBg: #000;
|
||||
$colorKey: #0099cc;
|
||||
$colorKeySelectedBg: $colorKey;
|
||||
$colorKeyFg: #fff;
|
||||
|
@ -44,6 +44,10 @@ define(
|
||||
});
|
||||
}
|
||||
|
||||
ClockIndicator.prototype.getGlyphClass = function () {
|
||||
return "no-collapse float-right subdued";
|
||||
};
|
||||
|
||||
ClockIndicator.prototype.getCssClass = function () {
|
||||
return "icon-clock";
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user