mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 08:53:48 +01:00
Add backgrounds in nav & settings when wallpaper in use
This commit is contained in:
parent
16d77e6e37
commit
50e6f8bb83
@ -331,6 +331,11 @@ definePageMetadata(INFO);
|
||||
<style lang="scss" scoped>
|
||||
.vvcocwet {
|
||||
> .body {
|
||||
.wallpaper & {
|
||||
background: var(--bg);
|
||||
padding: var(--margin);
|
||||
border-radius: var(--radius);
|
||||
}
|
||||
> .nav {
|
||||
.baaadecd {
|
||||
> .info {
|
||||
|
@ -471,6 +471,21 @@ console.log(mainRouter.currentRoute.value.name);
|
||||
}
|
||||
&.wallpaper {
|
||||
background: var(--wallpaperOverlay);
|
||||
|
||||
:deep(.sidebar .middle) {
|
||||
position: relative;
|
||||
&::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: -10px 10px;
|
||||
background: var(--bg);
|
||||
border-radius: calc((2.85rem / 2) + 5px);
|
||||
opacity: 1;
|
||||
}
|
||||
> ._button:last-child {
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.centered {
|
||||
@ -547,7 +562,7 @@ console.log(mainRouter.currentRoute.value.name);
|
||||
&.wallpaper {
|
||||
.contents {
|
||||
background: var(--acrylicBg) !important;
|
||||
backdrop-filter: blur(12px);
|
||||
backdrop-filter: var(--blur, blur(12px));
|
||||
}
|
||||
:deep(.tl),
|
||||
:deep(.notes) {
|
||||
|
Loading…
Reference in New Issue
Block a user