stash/ui/v2.5/src/hooks/Interactive/interactive.scss
WithoutPants ea2fcd9d7f
Improve Handy integration (#2555)
* Refactor interactive into context
* Stop the interactive device when leaving page
* Show interactive state if not ready
* Handle navigation and looping
2022-05-10 16:38:34 +10:00

35 lines
578 B
SCSS

div.scene-interactive-status {
opacity: 0.75;
padding: 0.75rem;
position: absolute;
&.interactive-status-disconnected,
&.interactive-status-error svg {
color: $danger;
}
&.interactive-status-connecting svg,
&.interactive-status-syncing svg,
&.interactive-status-uploading svg {
animation: 1s ease 0s infinite alternate fadepulse;
color: $warning;
}
&.interactive-status-ready svg {
color: $success;
}
.status-text {
margin-left: 0.5rem;
}
}
@keyframes fadepulse {
0% {
opacity: 0.4;
}
100% {
opacity: 1;
}
}