mirror of
https://github.com/lscambo13/ElegantFin.git
synced 2025-09-18 12:40:16 +00:00
New: Allow users to center the mini play button using a var
This commit is contained in:
@@ -80,6 +80,11 @@
|
|||||||
--borderWidth: .06em;
|
--borderWidth: .06em;
|
||||||
--borderWidthDouble: .12em;
|
--borderWidthDouble: .12em;
|
||||||
|
|
||||||
|
--itemPageNegativeSpace: max(17vh, 10em);
|
||||||
|
|
||||||
|
/* Set to 50% to center the play button in the overlay. */
|
||||||
|
--overlayPlayButtonPosition: 2.8em;
|
||||||
|
|
||||||
--blurSmallest: blur(2px);
|
--blurSmallest: blur(2px);
|
||||||
--blurDefault: blur(5px);
|
--blurDefault: blur(5px);
|
||||||
--blurLarge: blur(10px);
|
--blurLarge: blur(10px);
|
||||||
@@ -351,8 +356,8 @@ html {
|
|||||||
margin-left: unset;
|
margin-left: unset;
|
||||||
margin-top: unset;
|
margin-top: unset;
|
||||||
top: unset;
|
top: unset;
|
||||||
left: 1.25em;
|
left: calc(var(--overlayPlayButtonPosition) - 1.5em);
|
||||||
bottom: 1.3em;
|
bottom: calc(var(--overlayPlayButtonPosition) - 1.5em);
|
||||||
}
|
}
|
||||||
|
|
||||||
.cardOverlayContainer>.cardOverlayFab-primary,
|
.cardOverlayContainer>.cardOverlayFab-primary,
|
||||||
|
Reference in New Issue
Block a user