mirror of
https://github.com/lscambo13/ElegantFin.git
synced 2025-11-07 23:35:25 +00:00
dev: Allowed clear logos to be hidden using a variable
This commit is contained in:
@@ -121,6 +121,10 @@
|
|||||||
block: makes them visible */
|
block: makes them visible */
|
||||||
--libraryLabelVisibility: none;
|
--libraryLabelVisibility: none;
|
||||||
|
|
||||||
|
/* block: show the Movie/TV clear logo if it is available [default];
|
||||||
|
none: makes the clear logo always hidden */
|
||||||
|
--clearLogoVisibility: block;
|
||||||
|
|
||||||
/* 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: "";
|
||||||
@@ -1123,7 +1127,7 @@ html {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.detailLogo {
|
.detailLogo {
|
||||||
display: block;
|
display: var(--clearLogoVisibility);
|
||||||
top: calc(100vh - 11em - var(--primaryItemPageNegativeSpace));
|
top: calc(100vh - 11em - var(--primaryItemPageNegativeSpace));
|
||||||
left: 0;
|
left: 0;
|
||||||
width: 40%;
|
width: 40%;
|
||||||
@@ -1134,7 +1138,7 @@ html {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.layout-mobile .detailLogo {
|
.layout-mobile .detailLogo {
|
||||||
display: block;
|
display: var(--clearLogoVisibility);
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 1em;
|
left: 1em;
|
||||||
@@ -1186,7 +1190,7 @@ html {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.layout-tv .detailLogo {
|
.layout-tv .detailLogo {
|
||||||
display: block;
|
display: var(--clearLogoVisibility);
|
||||||
height: 20vh;
|
height: 20vh;
|
||||||
top: 39vh;
|
top: 39vh;
|
||||||
left: 30vw;
|
left: 30vw;
|
||||||
|
|||||||
Reference in New Issue
Block a user