Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IMPROVE: remove tile hover styling and animation from mobile #26

Merged
merged 1 commit into from Nov 3, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
16 changes: 3 additions & 13 deletions common/common.scss
Expand Up @@ -619,19 +619,9 @@ img.select-thumbnail-preview {
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 0 0 0 rgba(0, 0, 0, 0.12);
}

.tiles-grid-item:hover {
background-color: var(--blend-primary-secondary-5);
}

.tiles-grid-item:active {
-webkit-transform: translateY(+2px);
-ms-transform: translateY(+2px);
transform: translateY(+2px);
-webkit-transform: translateX(+2px);
-ms-transform: translateX(+2px);
transform: translateX(+2px);
box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.16), 0 0 0 0 rgba(0, 0, 0, 0.12);
}
// .tiles-grid-item:hover {
// background-color: var(--blend-primary-secondary-5);
// }

// Advanced Search
.thumbnail-grid .fps-result-entries {
Expand Down
14 changes: 14 additions & 0 deletions desktop/desktop.scss
Expand Up @@ -2,4 +2,18 @@
.tiles-grid-item:hover {
filter: invert(10%);
}

.tiles-grid-item:hover {
background-color: var(--blend-primary-secondary-5);
}

.tiles-grid-item:active {
-webkit-transform: translateY(+2px);
-ms-transform: translateY(+2px);
transform: translateY(+2px);
-webkit-transform: translateX(+2px);
-ms-transform: translateX(+2px);
transform: translateX(+2px);
box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.16), 0 0 0 0 rgba(0, 0, 0, 0.12);
}
}