refactor: 优化遮罩层样式

This commit is contained in:
hooray
2022-12-05 00:36:57 +08:00
parent 7882cd8f22
commit 87ac51726f
2 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -310,10 +310,10 @@ function pageJump(path: listTypes['path'], link: listTypes['link']) {
left: 0;
width: 100%;
height: 100%;
background-color: var(--el-overlay-color-lighter);
backdrop-filter: blur(10px);
background-image: radial-gradient(transparent 1px, rgb(0 0 0 / 30%) 1px);
background-size: 4px 4px;
backdrop-filter: saturate(50%) blur(4px);
transition: all 0.2s;
transform: translateZ(0);
opacity: 0;
visibility: hidden;
+3 -3
View File
@@ -152,10 +152,10 @@ onUnmounted(() => {
left: 0;
width: 100%;
height: 100%;
background-color: rgb(0 0 0 / 50%);
backdrop-filter: blur(2px);
background-image: radial-gradient(transparent 1px, rgb(0 0 0 / 30%) 1px);
background-size: 4px 4px;
backdrop-filter: saturate(50%) blur(4px);
transition: all 0.2s;
transform: translateZ(0);
opacity: 0;
visibility: hidden;