Skip to content

Commit

Permalink
Blur: Add to play queue buttons & make background/radius configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
n1ckoates committed Sep 13, 2024
1 parent 3a3f17e commit b9e8d2e
Showing 1 changed file with 19 additions and 13 deletions.
32 changes: 19 additions & 13 deletions themes/blur.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,17 @@
}
*/

:root {
--blur-background: color-mix(
in srgb,
var(--wave-color-solid-base-brighter),
transparent 60%
);
--blur-radius: 16px;
}

#footerPlayer {
backdrop-filter: blur(16px);
backdrop-filter: blur(var(--blur-radius));
}

main > [class*="container--"],
Expand All @@ -28,7 +37,7 @@ main > [data-type="page"],
[class^="bar"] {
position: absolute;
z-index: 100;
backdrop-filter: blur(16px);
backdrop-filter: blur(var(--blur-radius));
}

[class^="sidebarWrapper"],
Expand All @@ -45,15 +54,11 @@ main > [data-type="page"],
height: 100%;
top: 0;
left: 0;
backdrop-filter: blur(16px);
backdrop-filter: blur(var(--blur-radius));
border-radius: 9px;
pointer-events: none;
z-index: -5;
background-color: color-mix(
in srgb,
var(--wave-color-solid-base-brighter),
transparent 60%
);
background-color: var(--blur-background);
}

[class^="contextMenu"],
Expand All @@ -65,13 +70,14 @@ main > [data-type="page"],
#footerPlayer,
#sidebar,
[class^="bar"] {
background-color: color-mix(
in srgb,
var(--wave-color-solid-base-brighter),
transparent 70%
) !important;
background-color: var(--blur-background);
}

[class^="sidebarWrapper"] {
padding-bottom: 96px;
}

[class*="playQueueWithoutHeader--"] button {
background-color: var(--blur-background);
backdrop-filter: blur(var(--blur-radius));
}

0 comments on commit b9e8d2e

Please sign in to comment.