Revert always show preview videos on small devices (#1340)

This commit is contained in:
WithoutPants
2021-05-03 08:23:19 +10:00
committed by GitHub
parent 3f0c965400
commit d7a04ced00
2 changed files with 11 additions and 29 deletions

View File

@@ -31,6 +31,7 @@
* Change performer text query to search by name and alias only. * Change performer text query to search by name and alias only.
### 🐛 Bug fixes ### 🐛 Bug fixes
* Reverted video previews always playing on small devices.
* Fix performer/studio being cleared when skipped in scene tagger. * Fix performer/studio being cleared when skipped in scene tagger.
* Fixed error when auto-tagging for performers/studios/tags with regex characters in the name. * Fixed error when auto-tagging for performers/studios/tags with regex characters in the name.
* Fix scraped performer image not updating after clearing the current image when creating a new performer. * Fix scraped performer image not updating after clearing the current image when creating a new performer.

View File

@@ -214,8 +214,8 @@ textarea.scene-description {
} }
} }
@media (pointer: fine) { &:hover,
&:hover { &:active {
.scene-specs-overlay, .scene-specs-overlay,
.rating-banner, .rating-banner,
.scene-studio-overlay { .scene-studio-overlay {
@@ -223,27 +223,8 @@ textarea.scene-description {
transition: opacity 0.5s; transition: opacity 0.5s;
} }
.scene-studio-overlay:hover { .scene-studio-overlay:hover,
opacity: 0.75; .scene-studio-overlay:active {
transition: opacity 0.5s;
}
.scene-card-check {
opacity: 0.75;
transition: opacity 0.5s;
}
.scene-card-preview-video {
top: 0;
transition-delay: 0.2s;
}
}
}
/* replicate hover for non-hoverable interfaces */
@media (hover: none), (pointer: coarse), (pointer: none) {
/* don't hide overlays */
.scene-studio-overlay {
opacity: 0.75; opacity: 0.75;
transition: opacity 0.5s; transition: opacity 0.5s;
} }