mirror of
https://github.com/nasa/openmct.git
synced 2024-12-30 01:48:51 +00:00
[Frontend] Refactoring Timeline glyphs, s-btn fixes
Fixes #1047 WIP: Timeline-related glyph refactoring; s-btn styles and hover color fixes
This commit is contained in:
parent
883f999215
commit
a4111f3855
@ -316,8 +316,9 @@
|
||||
@if $bgHovColor != none {
|
||||
&:not(.disabled):hover {
|
||||
background: $bgHovColor; // was just background, and background-image before that
|
||||
>.icon {
|
||||
color: lighten($ic, $ltGamma);
|
||||
>.icon,
|
||||
&:before {
|
||||
color: pullForward($ic, $ltGamma);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -75,8 +75,8 @@
|
||||
.s-clickable-icon {
|
||||
// Clickable icon elements that have hover
|
||||
@extend .ui-symbol;
|
||||
&:hover {
|
||||
color: $colorKeyHov;
|
||||
&.inactive:hover {
|
||||
color: $colorBtnBgHov !important;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -22,9 +22,10 @@ $smallCr: 2px;
|
||||
$colorBtnBg: pullForward($colorBodyBg, $contrastRatioPercent);
|
||||
$colorBtnBgHov: pullForward($colorBtnBg, $hoverRatioPercent);
|
||||
$colorBtnFg: $colorBodyFg;
|
||||
$colorBtnFgHov: pullForward($colorBtnFg, $hoverRatioPercent);
|
||||
$colorBtnMajorBg: $colorKey;
|
||||
$colorBtnMajorFg: $colorKeyFg;
|
||||
$colorBtnIcon: $colorKey;
|
||||
$colorBtnIcon: $colorBtnFg;
|
||||
$colorInvokeMenu: #fff;
|
||||
$contrastInvokeMenuPercent: 20%;
|
||||
$shdwBtns: rgba(black, 0.2) 0 1px 2px;
|
||||
|
@ -22,6 +22,7 @@ $smallCr: 3px;
|
||||
$colorBtnBg: pullForward($colorBodyBg, $contrastRatioPercent);
|
||||
$colorBtnBgHov: pullForward($colorBtnBg, $hoverRatioPercent);
|
||||
$colorBtnFg: #fff;
|
||||
$colorBtnFgHov: pullForward($colorBtnFg, $hoverRatioPercent);
|
||||
$colorBtnMajorBg: $colorKey;
|
||||
$colorBtnMajorFg: $colorKeyFg;
|
||||
$colorBtnIcon: #eee;
|
||||
|
@ -306,7 +306,7 @@
|
||||
color: $colorKey;
|
||||
}
|
||||
.t-toggle .inactive {
|
||||
color: pullForward(rgba($colorBodyFg, 0.2));
|
||||
color: $colorBtnBg;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user