fixed slideshow pause button visibility...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2022-01-31 01:46:14 +03:00
parent 2b78fd375c
commit f4b3b91028
2 changed files with 8 additions and 7 deletions

View File

@ -335,6 +335,9 @@ button:hover {
/* general button visibility */ /* general button visibility */
.buttons .button { .buttons .button {
opacity: 0.4; opacity: 0.4;
/* XXX not sure about this... */
transition : all 0.1s ease;
} }
.buttons:hover .button { .buttons:hover .button {
opacity: 1; opacity: 1;
@ -547,12 +550,12 @@ button:hover {
} }
/* XXX not sure if this is the right way to go... */ /* XXX not sure if this is the right way to go... */
.single-image-mode .main-buttons:not(:hover), .single-image-mode .main-buttons:not(:hover) .button,
.single-image-mode .app-buttons:not(:hover) { .single-image-mode .app-buttons:not(:hover) .button {
opacity: 0.1; opacity: 0.1;
} }
.slideshow-running .main-buttons:not(:hover), .slideshow-running .main-buttons:not(:hover) .button,
.slideshow-running .app-buttons:not(:hover) { .slideshow-running .app-buttons:not(:hover) .button {
opacity: 0; opacity: 0;
} }

View File

@ -2084,9 +2084,7 @@ var ControlActions = actions.Actions({
.off('swiperight') .off('swiperight')
.off('swipeup') .off('swipeup')
.off('swipedown') .off('swipedown')
.removeData('hammer') .removeData('hammer') } })],
}
})],
/*// XXX we are not using this.... /*// XXX we are not using this....