mirror of
https://github.com/lscambo13/ElegantFin.git
synced 2026-10-26 09:39:34 +00:00
New: Added a way to show "Ends At..." text and hide Tomatoes rating icon on phones
This commit is contained in:
1 parent
d325f4ed63
commit
6c4025596c
1 file changed
+18
@@ -194,6 +194,14 @@
|
|||||||
none: makes them always hidden only on mobile */
|
none: makes them always hidden only on mobile */
|
||||||
--miniOverlayButtonVisibility: block;
|
--miniOverlayButtonVisibility: block;
|
||||||
|
|
||||||
|
/* none: keeps the media 'Ends at...' time indicator always hidden on phones [default];
|
||||||
|
block: shows the the time when the media will end */
|
||||||
|
--endsAtVisibility: block;
|
||||||
|
|
||||||
|
/* block: keeps the critics tomato rating visible [default];
|
||||||
|
none: hides the critics tomato rating on phones */
|
||||||
|
--criticsRatingVisibility: none;
|
||||||
|
|
||||||
/* use "" to enable the card hover effect [default];
|
/* use "" to enable the card hover effect [default];
|
||||||
use none (without quotes) to disable it */
|
use none (without quotes) to disable it */
|
||||||
--cardHoverEffect: "";
|
--cardHoverEffect: "";
|
||||||
@@ -1206,6 +1214,16 @@ select {
|
|||||||
content: "%";
|
content: "%";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (max-width: 31.25em) {
|
||||||
|
.itemMiscInfo .endsAt {
|
||||||
|
display: var(--endsAtVisibility);
|
||||||
|
}
|
||||||
|
|
||||||
|
.mediaInfoCriticRating {
|
||||||
|
display: var(--criticsRatingVisibility);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.detailRibbon:has(.portraitCard .folder) {
|
.detailRibbon:has(.portraitCard .folder) {
|
||||||
min-height: 32vh;
|
min-height: 32vh;
|
||||||
align-content: flex-end;
|
align-content: flex-end;
|
||||||
|
|||||||
Reference in new issue
Block a user