mirror of
https://github.com/nasa/openmct.git
synced 2025-01-19 11:17:04 +00:00
[Frontend] CSS sanding and shimming
open #442 Fixed white space problem with .status-block-holder applied to mct-include; Added new status 'available' class and updated theme constants files;
This commit is contained in:
parent
bd0867b79d
commit
729d91e7f3
@ -36,6 +36,12 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
mct-include.status-block-holder {
|
||||||
|
// mct-include that wraps status.block
|
||||||
|
// Must use display: inline-block to fix white space problems
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
.status.block {
|
.status.block {
|
||||||
$transDelay: 1.5s;
|
$transDelay: 1.5s;
|
||||||
$transSpeed: .25s;
|
$transSpeed: .25s;
|
||||||
@ -98,6 +104,9 @@
|
|||||||
&.error .status-indicator {
|
&.error .status-indicator {
|
||||||
color: $colorStatusError;
|
color: $colorStatusError;
|
||||||
}
|
}
|
||||||
|
&.available .status-indicator {
|
||||||
|
color: $colorStatusAvailable;
|
||||||
|
}
|
||||||
.count {
|
.count {
|
||||||
@include trans-prop-nice(opacity, $transSpeed, $transDelay);
|
@include trans-prop-nice(opacity, $transSpeed, $transDelay);
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
@ -23,7 +23,8 @@
|
|||||||
<div id='status' class='status-holder'>
|
<div id='status' class='status-holder'>
|
||||||
<mct-include ng-repeat="indicator in bar.getIndicators()"
|
<mct-include ng-repeat="indicator in bar.getIndicators()"
|
||||||
ng-model="indicator.ngModel"
|
ng-model="indicator.ngModel"
|
||||||
key="indicator.template">
|
key="indicator.template"
|
||||||
|
class="status-block-holder">
|
||||||
</mct-include>
|
</mct-include>
|
||||||
</div>
|
</div>
|
||||||
<mct-include key="'message-banner'"></mct-include>
|
<mct-include key="'message-banner'"></mct-include>
|
||||||
|
@ -91,6 +91,7 @@ $colorStatusDefault: #ccc;
|
|||||||
$colorStatusInfo: #62ba72;
|
$colorStatusInfo: #62ba72;
|
||||||
$colorStatusAlert: #ffa66d;
|
$colorStatusAlert: #ffa66d;
|
||||||
$colorStatusError: #d4585c;
|
$colorStatusError: #d4585c;
|
||||||
|
$colorStatusAvailable: $colorKey;
|
||||||
$colorStatusBtnBg: $colorBtnBg;
|
$colorStatusBtnBg: $colorBtnBg;
|
||||||
$colorProgressBarOuter: rgba(#000, 0.1);
|
$colorProgressBarOuter: rgba(#000, 0.1);
|
||||||
$colorProgressBarAmt: $colorKey;
|
$colorProgressBarAmt: $colorKey;
|
||||||
|
@ -91,6 +91,7 @@ $colorStatusDefault: #ccc;
|
|||||||
$colorStatusInfo: #60ba7b;
|
$colorStatusInfo: #60ba7b;
|
||||||
$colorStatusAlert: #ffb66c;
|
$colorStatusAlert: #ffb66c;
|
||||||
$colorStatusError: #c96b68;
|
$colorStatusError: #c96b68;
|
||||||
|
$colorStatusAvailable: $colorKey;
|
||||||
$colorStatusBtnBg: #666;
|
$colorStatusBtnBg: #666;
|
||||||
$colorProgressBarOuter: rgba(#000, 0.1);
|
$colorProgressBarOuter: rgba(#000, 0.1);
|
||||||
$colorProgressBarAmt: #0a0;
|
$colorProgressBarAmt: #0a0;
|
||||||
|
Loading…
Reference in New Issue
Block a user