mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-22 01:47:39 -07:00
Add backgrounds in nav & settings when wallpaper in use
This commit is contained in:
parent
16d77e6e37
commit
50e6f8bb83
2 changed files with 21 additions and 1 deletions
|
@ -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 a new issue