更新图片放大背景

This commit is contained in:
ciaochaos 2020-07-06 23:13:14 +08:00
parent c2c57a0d10
commit d269f0cf6d
2 changed files with 6 additions and 0 deletions

View File

@ -789,4 +789,8 @@ select:-moz-focusring {
-webkit-backdrop-filter: saturate(180%) blur(10px); -webkit-backdrop-filter: saturate(180%) blur(10px);
backdrop-filter: saturate(180%) blur(10px); backdrop-filter: saturate(180%) blur(10px);
background: var(--zoom-bg-color)!important; background: var(--zoom-bg-color)!important;
}
.medium-zoom-image--opened {
background: var(--zoom-img-bg-color)!important;
} }

View File

@ -21,6 +21,7 @@
--upload-color: rgba(102,102,102,1); --upload-color: rgba(102,102,102,1);
--b-w: rgba(0,0,0,1); --b-w: rgba(0,0,0,1);
--zoom-bg-color: rgba(255,255,255,0.8); --zoom-bg-color: rgba(255,255,255,0.8);
--zoom-img-bg-color: rgba(255,255,255,0.5);
} }
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
@ -40,6 +41,7 @@
--upload-color: rgba(150,150,150,1); --upload-color: rgba(150,150,150,1);
--b-w: rgba(255,255,255,1); --b-w: rgba(255,255,255,1);
--zoom-bg-color: rgba(0,0,0,0.8); --zoom-bg-color: rgba(0,0,0,0.8);
--zoom-img-bg-color: rgba(0,0,0,0.5);
} }
} }