Refining swipe animation (tricky)
This commit is contained in:
@ -4526,14 +4526,29 @@ select {
|
||||
100% {
|
||||
transform: translateX(15px);
|
||||
opacity: 0; } }
|
||||
|
||||
@keyframes fadeout {
|
||||
0% {
|
||||
opacity: 1; }
|
||||
100% {
|
||||
opacity: 0.1; } }
|
||||
.playback-controls .current-track__transition {
|
||||
z-index: 2;
|
||||
background: #3e3e3e; }
|
||||
.playback-controls .current-track__transition .title,
|
||||
.playback-controls .current-track__transition .artist {
|
||||
background: orange;
|
||||
animation-name: fadeout;
|
||||
animation-duration: 0.2s;
|
||||
transform: none !important; }
|
||||
@media (max-width: 799px) {
|
||||
.playback-controls .current-track__transition--previous {
|
||||
animation: slide_right 0.2s; }
|
||||
.playback-controls .current-track__transition--next {
|
||||
animation: slide_left 0.2s; } }
|
||||
.playback-controls .current-track__transition {
|
||||
animation-duration: 0.4s;
|
||||
animation-timing-function: ease-out; }
|
||||
.playback-controls .current-track__transition--previous {
|
||||
animation-name: slide_right; }
|
||||
.playback-controls .current-track__transition--next {
|
||||
animation-name: slide_left; } }
|
||||
.light-theme .playback-controls .current-track {
|
||||
color: #121212; }
|
||||
.playback-controls .current-track .thumbnail {
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
26
mopidy_iris/static/app.min.css
vendored
26
mopidy_iris/static/app.min.css
vendored
@ -4528,12 +4528,32 @@ select {
|
||||
opacity: 0; } }
|
||||
.playback-controls .current-track__transition {
|
||||
z-index: 2;
|
||||
background: #3e3e3e; }
|
||||
background: #3e3e3e;
|
||||
animation-duration: 0.4s;
|
||||
animation-timing-function: ease-out; }
|
||||
.playback-controls .current-track__transition .title,
|
||||
.playback-controls .current-track__transition .artist {
|
||||
opacity: 1;
|
||||
animation-delay: 0.2s;
|
||||
-webkit-animation-fill-mode: forwards;
|
||||
animation-fill-mode: forwards;
|
||||
animation-name: fadeout;
|
||||
animation-duration: 0.2s;
|
||||
animation-timing-function: linear;
|
||||
animation-iteration-count: 1; }
|
||||
|
||||
@keyframes fadeout {
|
||||
0% {
|
||||
opacity: 1;
|
||||
transform: translateY(0px); }
|
||||
100% {
|
||||
opacity: 0;
|
||||
transform: translateY(0px); } }
|
||||
@media (max-width: 799px) {
|
||||
.playback-controls .current-track__transition--previous {
|
||||
animation: slide_right 0.2s; }
|
||||
animation-name: slide_right; }
|
||||
.playback-controls .current-track__transition--next {
|
||||
animation: slide_left 0.2s; } }
|
||||
animation-name: slide_left; } }
|
||||
.light-theme .playback-controls .current-track {
|
||||
color: #121212; }
|
||||
.playback-controls .current-track .thumbnail {
|
||||
|
||||
20
mopidy_iris/static/app.min.js
vendored
20
mopidy_iris/static/app.min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -98,7 +98,7 @@
|
||||
|
||||
// Release details
|
||||
// These are automatically injected to built HTML
|
||||
var build = "1549955738";
|
||||
var build = "1550027037";
|
||||
var version = "3.32.4";
|
||||
|
||||
// Construct the script tag
|
||||
|
||||
Reference in New Issue
Block a user