mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 08:53:48 +01:00
Tweak wallpaperOverlay
This commit is contained in:
parent
e79e8405f6
commit
02c1adb876
@ -1,8 +1,8 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="mk-app" v-hotkey.global="keymap">
|
<div class="mk-app" v-hotkey.global="keymap" :class="{ wallpaper }">
|
||||||
<XSidebar ref="nav" class="sidebar"/>
|
<XSidebar ref="nav" class="sidebar"/>
|
||||||
|
|
||||||
<div class="contents" ref="contents" :class="{ wallpaper }">
|
<div class="contents" ref="contents">
|
||||||
<header class="header" ref="header" @contextmenu.prevent.stop="onContextmenu" @click="onHeaderClick">
|
<header class="header" ref="header" @contextmenu.prevent.stop="onContextmenu" @click="onHeaderClick">
|
||||||
<XHeader :info="pageInfo"/>
|
<XHeader :info="pageInfo"/>
|
||||||
</header>
|
</header>
|
||||||
@ -269,19 +269,18 @@ export default defineComponent({
|
|||||||
// ほんとは単に 100vh と書きたいところだが... https://css-tricks.com/the-trick-to-viewport-units-on-mobile/
|
// ほんとは単に 100vh と書きたいところだが... https://css-tricks.com/the-trick-to-viewport-units-on-mobile/
|
||||||
min-height: calc(var(--vh, 1vh) * 100);
|
min-height: calc(var(--vh, 1vh) * 100);
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
||||||
> .contents {
|
|
||||||
width: 100%;
|
|
||||||
min-width: 0;
|
|
||||||
padding-top: $header-height;
|
|
||||||
|
|
||||||
&.wallpaper {
|
&.wallpaper {
|
||||||
background: var(--wallpaperOverlay);
|
background: var(--wallpaperOverlay);
|
||||||
//backdrop-filter: blur(4px);
|
//backdrop-filter: blur(4px);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
> .contents {
|
||||||
|
width: 100%;
|
||||||
|
min-width: 0;
|
||||||
|
padding-top: $header-height;
|
||||||
|
|
||||||
> .header {
|
> .header {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
z-index: 1000;
|
z-index: 1000;
|
||||||
|
Loading…
Reference in New Issue
Block a user