mirror of
https://github.com/lscambo13/ElegantFin.git
synced 2025-09-18 12:40:16 +00:00
Fix: Made the background behind episode details page less transparent
Fix: Reduced the top margin from the episode, live tv and music pages
This commit is contained in:
@@ -82,7 +82,9 @@
|
|||||||
|
|
||||||
--sidePadding: 3.3%;
|
--sidePadding: 3.3%;
|
||||||
--itemColumnGap: 1em;
|
--itemColumnGap: 1em;
|
||||||
--itemPageNegativeSpace: 15vh;
|
--primaryItemPageNegativeSpace: 15vh;
|
||||||
|
--secondaryItemPageNegativeSpace: 35vh;
|
||||||
|
|
||||||
|
|
||||||
/* Set to 50% to center the play button in the overlay. */
|
/* Set to 50% to center the play button in the overlay. */
|
||||||
--overlayPlayButtonPosition: 2.8em;
|
--overlayPlayButtonPosition: 2.8em;
|
||||||
@@ -931,7 +933,7 @@ html {
|
|||||||
@supports (aspect-ratio: 1 / 1) {
|
@supports (aspect-ratio: 1 / 1) {
|
||||||
.detailLogo {
|
.detailLogo {
|
||||||
display: block;
|
display: block;
|
||||||
top: calc(100vh - 10em - var(--itemPageNegativeSpace));
|
top: calc(100vh - 10em - var(--primaryItemPageNegativeSpace));
|
||||||
left: 0;
|
left: 0;
|
||||||
width: 40%;
|
width: 40%;
|
||||||
transform: translateY(-100%);
|
transform: translateY(-100%);
|
||||||
@@ -958,7 +960,7 @@ html {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.layout-desktop .itemBackdrop {
|
.layout-desktop .itemBackdrop {
|
||||||
height: calc(100vh - 32vh - var(--itemPageNegativeSpace)) !important;
|
height: calc(100vh - 32vh - var(--primaryItemPageNegativeSpace)) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.layout-mobile .itemBackdrop {
|
.layout-mobile .itemBackdrop {
|
||||||
@@ -1093,20 +1095,23 @@ html {
|
|||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* This reduces the top padding in the cast page i.e. shifts up page content */
|
/* This reduces the top padding in the cast, live tv, episode, song, album and artist pages i.e. shifts up page content */
|
||||||
#itemDetailPage:has(.detailImageContainer .cardImageIcon.person, .detailImageContainer .cardImageIcon.book) .itemBackdrop {
|
#itemDetailPage:has(.detailImageContainer .cardImageIcon.person, .detailImageContainer .cardImageIcon.book) .itemBackdrop,
|
||||||
height: calc(100vh - 50vh - var(--itemPageNegativeSpace)) !important;
|
#itemDetailPage:has(.detailImageContainer .cardImageIcon.album) .itemBackdrop,
|
||||||
}
|
#itemDetailPage:has(.detailImageContainer .backdropCard .cardImageIcon.tv) .itemBackdrop,
|
||||||
|
#itemDetailPage:has(.detailImageContainer .cardImageIcon.live_tv) .itemBackdrop {
|
||||||
#itemDetailPage:has(.detailImageContainer .cardImageIcon.album) .itemBackdrop {
|
height: calc(100vh - 32vh - var(--secondaryItemPageNegativeSpace)) !important;
|
||||||
height: calc(100vh - 45vh - var(--itemPageNegativeSpace)) !important;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.layout-mobile #itemDetailPage:has(.detailImageContainer .card.backdropCard, .detailImageContainer .card.squareCard) .itemBackdrop {
|
.layout-mobile #itemDetailPage:has(.detailImageContainer .card.backdropCard, .detailImageContainer .card.squareCard) .itemBackdrop {
|
||||||
filter: brightness(.5);
|
filter: brightness(.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
#itemDetailPage:has(.detailImageContainer .card.backdropCard, .detailImageContainer .card.squareCard:has(.cardImageIcon:not(.person))) {
|
#itemDetailPage:has(.detailImageContainer .card.squareCard:has(.cardImageIcon:not(.person))) {
|
||||||
|
background: linear-gradient(180deg, var(--lighterGradientPointAlpha), var(--darkerGradientPointAlpha))
|
||||||
|
}
|
||||||
|
|
||||||
|
#itemDetailPage:has(.detailImageContainer .card.backdropCard) {
|
||||||
background: linear-gradient(180deg, var(--lighterGradientPointAlpha), var(--darkerGradientPointAlpha))
|
background: linear-gradient(180deg, var(--lighterGradientPointAlpha), var(--darkerGradientPointAlpha))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user