mirror of
https://github.com/black7375/Firefox-UI-Fix.git
synced 2025-12-06 02:30:54 -08:00
Add: Video - Animation #335
This commit is contained in:
parent
2b7570bfca
commit
a20a26eb7c
1 changed files with 23 additions and 0 deletions
|
|
@ -65,6 +65,29 @@ video {
|
|||
fill: #48a0f7 !important; /* color as .scrubber */
|
||||
}
|
||||
|
||||
/* Animation */
|
||||
@media (prefers-reduced-motion: no-preference) {
|
||||
/* Control Bar */
|
||||
#controlsContainer .controlBar {
|
||||
transition: transform 350ms ease;
|
||||
}
|
||||
#controlsContainer .controlBar[hidden] {
|
||||
transform: translateY(100%);
|
||||
transition: transform 350ms ease-in-out, opacity 1s ease 100ms !important;
|
||||
}
|
||||
#controlsContainer .controlBar[hidden] .progressBar,
|
||||
#controlsContainer .controlBar[hidden] .bufferBar {
|
||||
display: unset !important;
|
||||
opacity: 0.55;
|
||||
transition: opacity 150ms ease 50ms;
|
||||
}
|
||||
|
||||
/* Click to play */
|
||||
#controlsContainer .clickToPlay {
|
||||
transition: opacity 150ms ease-in-out, fill 150ms ease-in-out;
|
||||
}
|
||||
}
|
||||
|
||||
@-moz-document url("about:home"), url("about:newtab") {
|
||||
/** Activity Stream - Search Focus Border: like URL *************************/
|
||||
/* At DarkMode, Color */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue