Skip to content

Commit

Permalink
[Frontend] Fixed clock indicator
Browse files Browse the repository at this point in the history
Fixes #1047
Restored no-collapse and float-right
properties;
  • Loading branch information
charlesh88 committed Jul 26, 2016
1 parent 5324c8e commit ce7591f
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 3 deletions.
6 changes: 6 additions & 0 deletions platform/commonUI/general/res/sass/controls/_messages.scss
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,12 @@
}
}

.subdued {
.status-indicator {
color: pullForward($colorStatusBarBg, 40%);
}
}

.status-block-holder {
// Applied to mct-include element
// Contains status.block elements
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
3 changes: 2 additions & 1 deletion platform/commonUI/themes/espresso/res/sass/_constants.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
$colorBodyBg: #333;
$colorBodyFg: #999;
$colorGenBg: #222;
$colorFooterBg: #000;
$colorStatusBarBg: #000;
$colorKey: #0099cc;
$colorKeySelectedBg: #005177;
$colorKeyFg: #fff;
Expand All @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion platform/commonUI/themes/snow/res/sass/_constants.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
$colorBodyBg: #fcfcfc;
$colorBodyFg: #666;
$colorGenBg: #fff;
$colorFooterBg: #000;
$colorStatusBarBg: #000;
$colorKey: #0099cc;
$colorKeySelectedBg: $colorKey;
$colorKeyFg: #fff;
Expand Down
4 changes: 4 additions & 0 deletions platform/features/clock/src/indicators/ClockIndicator.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ define(
});
}

ClockIndicator.prototype.getGlyphClass = function () {
return "no-collapse float-right subdued";
};

ClockIndicator.prototype.getCssClass = function () {
return "icon-clock";
};
Expand Down

0 comments on commit ce7591f

Please sign in to comment.