From c2c57a0d103171ea9372434316ef35c55c787f5d Mon Sep 17 00:00:00 2001 From: ciaochaos <1272777550@qq.com> Date: Mon, 6 Jul 2020 23:09:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E6=B5=85=E8=89=B2=E6=A8=A1?= =?UTF-8?q?=E5=BC=8F=E5=9B=BE=E7=89=87=E6=94=BE=E5=A4=A7=E8=83=8C=E6=99=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Qrcode.css | 1 + src/index.css | 3 +++ 2 files changed, 4 insertions(+) diff --git a/src/components/Qrcode.css b/src/components/Qrcode.css index 0b2726c..f0871cf 100644 --- a/src/components/Qrcode.css +++ b/src/components/Qrcode.css @@ -788,4 +788,5 @@ select:-moz-focusring { .medium-zoom-overlay { -webkit-backdrop-filter: saturate(180%) blur(10px); backdrop-filter: saturate(180%) blur(10px); + background: var(--zoom-bg-color)!important; } \ No newline at end of file diff --git a/src/index.css b/src/index.css index 365c9a5..d3e86d7 100644 --- a/src/index.css +++ b/src/index.css @@ -20,6 +20,7 @@ --qr-opacity-hover: calc(1); --upload-color: rgba(102,102,102,1); --b-w: rgba(0,0,0,1); + --zoom-bg-color: rgba(255,255,255,0.8); } @media (prefers-color-scheme: dark) { @@ -38,6 +39,8 @@ --qr-opacity-hover: calc(0.65); --upload-color: rgba(150,150,150,1); --b-w: rgba(255,255,255,1); + --zoom-bg-color: rgba(0,0,0,0.8); + } }