diff options
Diffstat (limited to 'viewer/src/assets')
-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 dda722b..ed69841 100644 --- a/viewer/src/assets/scss/global.scss +++ b/viewer/src/assets/scss/global.scss | |||
@@ -63,6 +63,19 @@ | |||
63 | cursor: initial; | 63 | cursor: initial; |
64 | } | 64 | } |
65 | 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 | } | ||
77 | } | ||
78 | |||
66 | // === Scrollbar styling | 79 | // === Scrollbar styling |
67 | 80 | ||
68 | .scrollbar { | 81 | .scrollbar { |