open #442 https://github.jpl.nasa.gov/MissionControl/vista/issues/293 s-btn hover styling cleaned up; Spacing, styles, etc. for indicators refined; Constants, colors added to, cleaned up and normalized; Animation code in _effects refactored;
20 lines
697 B
SCSS
20 lines
697 B
SCSS
@mixin containerSubtle($bg: $colorBodyBg, $fg: $colorBodyFg, $hover: false) {
|
|
@include containerBase($bg, $fg);
|
|
@include boxShdw($shdwBtns);
|
|
}
|
|
|
|
@mixin btnSubtle($bg: $colorBtnBg, $bgHovColor: none, $fg: $colorBtnFg, $ic: $colorBtnIcon) {
|
|
@include containerSubtle($bg, $fg);
|
|
@include btnBase($bg, $bgHovColor, $fg, $ic);
|
|
@include text-shadow($shdwItemText);
|
|
}
|
|
|
|
@function pullForward($c: $colorBodyBg, $p: 20%) {
|
|
// For dark interfaces, lighter things come forward - opposite for light interfaces
|
|
@return darken($c, $p);
|
|
}
|
|
|
|
@function pushBack($c: $colorBodyBg, $p: 20%) {
|
|
// For dark interfaces, darker things move back - opposite for light interfaces
|
|
@return lighten($c, $p);
|
|
} |