mirror of
https://github.com/nasa/openmct.git
synced 2025-04-19 08:36:24 +00:00
Local control tweaks
Fixes #2094 - Adjust timing; - Added hover effects for .s-notebook-entry;
This commit is contained in:
parent
95457a1981
commit
755cf21d3f
@ -133,19 +133,11 @@
|
||||
/******************************************************** LOCAL CONTROLS */
|
||||
// Controls placed in proximity to or overlaid on components and views
|
||||
|
||||
.local-controls-persist {
|
||||
|
||||
}
|
||||
|
||||
.local-controls-hidden {
|
||||
// Used within .has-local-controls, hidden by default
|
||||
|
||||
}
|
||||
|
||||
.local-controls-flyout {
|
||||
|
||||
}
|
||||
|
||||
body.desktop .has-local-controls {
|
||||
// Helper class, provides hover ability to show local controls
|
||||
|
||||
@ -156,7 +148,7 @@ body.desktop .has-local-controls {
|
||||
}
|
||||
|
||||
.local-controls-hidden {
|
||||
@include trans-prop-nice($props: opacity, $dur: 1000ms);
|
||||
@include trans-prop-nice($props: opacity, $dur: 500ms);
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
@ -34,10 +34,12 @@
|
||||
}
|
||||
|
||||
.s-notebook-entry {
|
||||
transition: background-color 500ms ease-out;
|
||||
background-color: rgba($colorBodyFg, 0.1);
|
||||
border-radius: $basicCr;
|
||||
|
||||
&:hover {
|
||||
transition: background-color 50ms ease-in;
|
||||
background-color: rgba($colorBodyFg, 0.2);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user