aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/assets/scss/global.scss
diff options
context:
space:
mode:
Diffstat (limited to 'viewer/src/assets/scss/global.scss')
-rw-r--r--viewer/src/assets/scss/global.scss14
1 files changed, 14 insertions, 0 deletions
diff --git a/viewer/src/assets/scss/global.scss b/viewer/src/assets/scss/global.scss
index 4acaf13..ed69841 100644
--- a/viewer/src/assets/scss/global.scss
+++ b/viewer/src/assets/scss/global.scss
@@ -60,6 +60,20 @@
60 60
61.disabled { 61.disabled {
62 color: $disabled-color !important; 62 color: $disabled-color !important;
63 cursor: initial;
64}
65
66// Disable sticky hover styling on touch devices,
67// on which the virtual cursor doesn't leave the element after being tapped.
68// The fix can be applied to `a` elements by using the .link class.
69@media (hover:none), (hover:on-demand) {
70 .link:hover {
71 color: $link !important;
72 }
73
74 .disabled:hover {
75 color: $disabled-color !important;
76 }
63} 77}
64 78
65// === Scrollbar styling 79// === Scrollbar styling