aboutsummaryrefslogtreecommitdiff
path: root/style.css
diff options
context:
space:
mode:
authorw-e-w <40751091+w-e-w@users.noreply.github.com>2023-12-13 02:06:56 +0900
committerw-e-w <40751091+w-e-w@users.noreply.github.com>2023-12-13 02:06:56 +0900
commitcc41cc4349514bbfeb9f37445c931a050b076bd6 (patch)
tree8327401797500e3b0403e3c178883ac40fe893e8 /style.css
parentf92d61497a426a19818625c3ccdaae9beeb82b31 (diff)
on mouse hover show / hide modal image viewer icons
Diffstat (limited to 'style.css')
-rw-r--r--style.css16
1 files changed, 16 insertions, 0 deletions
diff --git a/style.css b/style.css
index ee39a57b..ec449bde 100644
--- a/style.css
+++ b/style.css
@@ -749,6 +749,22 @@ table.popup-table .link{
display: none;
}
+@media (pointer: fine) {
+ .modalPrev:hover,
+ .modalNext:hover,
+ .modalControls:hover ~ .modalPrev,
+ .modalControls:hover ~ .modalNext,
+ .modalControls:hover .cursor {
+ opacity: 1;
+ }
+
+ .modalPrev,
+ .modalNext,
+ .modalControls .cursor {
+ opacity: 0;
+ }
+}
+
/* context menu (ie for the generate button) */
#context-menu{