UX: do not show shadow on hover images on touch devices (#8429)

This commit is contained in:
Joffrey JAFFEUX 2019-11-28 10:51:08 +01:00 committed by GitHub
parent d10f55c3e9
commit 7fc99f5e7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -73,6 +73,7 @@ $meta-element-margin: 6px;
margin: auto;
}
.discourse-no-touch {
@if is-light-color-scheme() {
a.lightbox {
-webkit-transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
@ -85,3 +86,4 @@ $meta-element-margin: 6px;
0 2px 10px 0 rgba($primary, 0.2);
}
}
}