mirror of
https://github.com/meowarex/TidaLuna-Plugins.git
synced 2026-08-26 14:27:44 +10:00
116 lines
3.5 KiB
CSS
116 lines
3.5 KiB
CSS
/* Cover-art backdrop container styles
|
|
*/
|
|
|
|
.global-background-container {
|
|
position: fixed;
|
|
left: 0;
|
|
top: 0;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
z-index: -3;
|
|
pointer-events: none;
|
|
overflow: hidden;
|
|
/* Dark base the shader composites over at its configured opacity */
|
|
background: #000;
|
|
transform: translateZ(0);
|
|
backface-visibility: hidden;
|
|
}
|
|
|
|
/* Hide Tidal's native now-playing background color overlay */
|
|
[data-test="new-now-playing"] > [class*="_background_"] {
|
|
/* biome-ignore lint: Must override native album-art-derived background */
|
|
display: none !important;
|
|
}
|
|
|
|
/* Ensure the now-playing container itself is transparent */
|
|
[class*="_nowPlayingContainer"] {
|
|
/* biome-ignore lint: Must override any inline background styles */
|
|
background: transparent !important;
|
|
}
|
|
|
|
.now-playing-background-container {
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
z-index: 0;
|
|
pointer-events: none;
|
|
overflow: hidden;
|
|
background: #000;
|
|
transform: translateZ(0);
|
|
backface-visibility: hidden;
|
|
}
|
|
|
|
/* now-playing renders above the backdrop */
|
|
[data-test="new-now-playing"] > header,
|
|
[data-test="new-now-playing"] > [class*="_content_"] {
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
/* Make app chrome transparent for cover-everywhere background */
|
|
body,
|
|
#wimp,
|
|
main,
|
|
[class^="_sidebarWrapper"],
|
|
[class^="_mainContainer"],
|
|
[data-test="main-layout-sidebar-wrapper"],
|
|
[data-test="main-layout-header"],
|
|
[data-test="feed-sidebar"],
|
|
[data-test="footer-player"],
|
|
[class^="_feedSidebarVStack"],
|
|
[class^="_feedSidebarSpacer"],
|
|
[class^="_feedSidebarItem"],
|
|
[class^="_feedSidebarItemDiv"],
|
|
[class^="_cellContainer"] {
|
|
/* biome-ignore lint: Ensure background is fully cleared under theme CSS */
|
|
background: unset !important;
|
|
}
|
|
|
|
/* Make sidebar semi-transparent with optimized backdrop-filter */
|
|
[data-test="main-layout-sidebar-wrapper"] {
|
|
/* biome-ignore lint: Must beat app inline styles for translucency */
|
|
background-color: rgba(0, 0, 0, 0.3) !important;
|
|
/* biome-ignore lint: Must beat app inline styles for translucency */
|
|
backdrop-filter: blur(10px) !important;
|
|
/* biome-ignore lint: Must beat app inline styles for translucency */
|
|
-webkit-backdrop-filter: blur(10px) !important;
|
|
}
|
|
|
|
/* Performance mode: reduce backdrop blur */
|
|
.performance-mode [data-test="main-layout-sidebar-wrapper"] {
|
|
/* biome-ignore lint: Performance mode style requires priority */
|
|
backdrop-filter: blur(5px) !important;
|
|
/* biome-ignore lint: Performance mode style requires priority */
|
|
-webkit-backdrop-filter: blur(5px) !important;
|
|
}
|
|
|
|
/* Feed sidebar panel - black tint background for readability */
|
|
[data-test="feed-sidebar"] {
|
|
/* biome-ignore lint: Ensure readability over media */
|
|
background-color: rgba(0, 0, 0, 0.5) !important;
|
|
/* biome-ignore lint: Ensure readability over media */
|
|
backdrop-filter: blur(10px) !important;
|
|
/* biome-ignore lint: Ensure readability over media */
|
|
-webkit-backdrop-filter: blur(10px) !important;
|
|
}
|
|
|
|
/* Performance mode: reduce sidebar backdrop blur */
|
|
.performance-mode [data-test="feed-sidebar"] {
|
|
/* biome-ignore lint: Performance mode style requires priority */
|
|
backdrop-filter: blur(5px) !important;
|
|
/* biome-ignore lint: Performance mode style requires priority */
|
|
-webkit-backdrop-filter: blur(5px) !important;
|
|
}
|
|
|
|
/* Feed sidebar items - transparent */
|
|
[class*="_feedSidebarItem"],
|
|
[class*="_feedSidebarItemDiv"],
|
|
[class*="_cellContainer"],
|
|
[data-test="feed-interval"],
|
|
[data-test="feed-item"] {
|
|
/* biome-ignore lint: Match theme transparency */
|
|
background-color: transparent !important;
|
|
}
|