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