-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: better channel switching overlay
* hide channel switcher after 5s * color channel switcher button based on hex, if available Signed-off-by: eXhumer <exhumer@exhumer.cc>
- Loading branch information
Showing
2 changed files
with
28 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,28 @@ | ||
.additional-streams-overlay { | ||
position: fixed; | ||
display: flex; | ||
flex-direction: column; | ||
width: Max(10vw, 64px); | ||
height: 100vh; | ||
right: 0; | ||
justify-content: center; | ||
animation: fadeOut 5s forwards; | ||
transition: opacity 0.3s ease-in-out; | ||
opacity: 1; | ||
} | ||
|
||
.additional-streams-overlay:hover { | ||
opacity: 1; | ||
animation: none; | ||
} | ||
|
||
.additional-streams-overlay > button { | ||
pointer-events: auto; | ||
-webkit-app-region: no-drag; | ||
} | ||
|
||
@keyframes fadeOut { | ||
0% { opacity: 1; } | ||
90% { opacity: 1; } | ||
100% { opacity: 0; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters