第57批续8-3: 微模糊毛玻璃——overlay轻blur(4px)+极浅背景(0.08),card半透明(0.45)让模糊透出

This commit is contained in:
ypsdf1
2026-10-26 18:16:47 +08:00
parent e440dea033
commit ffeffbe7cd
+18 -14
View File
@@ -158,19 +158,20 @@ if ($currentVersion !== $BUILD_VERSION) {
.empty { text-align: center; color: var(--dim); padding: 40px; } .empty { text-align: center; color: var(--dim); padding: 40px; }
.modal-overlay { .modal-overlay {
position: fixed; top: 0; left: 0; right: 0; bottom: 0; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
background: rgba(0,0,0,0.15); display: flex; justify-content: center; background: rgba(0,0,0,0.08); display: flex; justify-content: center;
align-items: center; z-index: 999; display: none; align-items: center; z-index: 999; display: none;
backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
} }
.modal-overlay.show { display: flex; } .modal-overlay.show { display: flex; }
.modal { .modal {
background: rgba(22,27,34,0.5); background: rgba(22,27,34,0.45);
border: 1px solid rgba(88,166,255,0.2); border-radius: 16px; border: 1px solid rgba(88,166,255,0.2); border-radius: 16px;
padding: 24px; width: 420px; max-width: 90%; padding: 24px; width: 420px; max-width: 90%;
box-shadow: 0 20px 64px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.05), inset 0 1px 0 rgba(255,255,255,0.1); box-shadow: 0 20px 64px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.05), inset 0 1px 0 rgba(255,255,255,0.1);
} }
body.bg-img-mode .modal { background: rgba(22,27,34,0.4); } body.bg-img-mode .modal { background: rgba(22,27,34,0.35); }
.light-theme .modal { background: rgba(255,255,255,0.55); border-color: rgba(9,105,218,0.2); } .light-theme .modal { background: rgba(255,255,255,0.5); border-color: rgba(9,105,218,0.2); }
.light-theme.bg-img-mode .modal { background: rgba(255,255,255,0.4); } .light-theme.bg-img-mode .modal { background: rgba(255,255,255,0.35); }
.modal.animate-in { animation: drawerSlideDown 0.3s ease; } .modal.animate-in { animation: drawerSlideDown 0.3s ease; }
.modal.animate-out { animation: drawerSlideUp 0.25s ease forwards; } .modal.animate-out { animation: drawerSlideUp 0.25s ease forwards; }
.modal h3 { margin-bottom: 16px; } .modal h3 { margin-bottom: 16px; }
@@ -215,13 +216,14 @@ if ($currentVersion !== $BUILD_VERSION) {
/* ★ 毛玻璃登录弹窗 */ /* ★ 毛玻璃登录弹窗 */
.glass-login-overlay { .glass-login-overlay {
display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
background: rgba(0,0,0,0.15); background: rgba(0,0,0,0.08);
backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
z-index: 2000; justify-content: center; align-items: center; z-index: 2000; justify-content: center; align-items: center;
animation: glassFadeIn 0.3s ease; animation: glassFadeIn 0.3s ease;
} }
.glass-login-overlay.show { display: flex; } .glass-login-overlay.show { display: flex; }
.glass-card { .glass-card {
background: rgba(22,27,34,0.55); background: rgba(22,27,34,0.45);
border: 1px solid rgba(88,166,255,0.2); border: 1px solid rgba(88,166,255,0.2);
border-radius: 20px; padding: 36px 32px; width: 400px; max-width: 90%; border-radius: 20px; padding: 36px 32px; width: 400px; max-width: 90%;
box-shadow: 0 20px 64px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.05), inset 0 1px 0 rgba(255,255,255,0.1); box-shadow: 0 20px 64px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.05), inset 0 1px 0 rgba(255,255,255,0.1);
@@ -276,38 +278,40 @@ if ($currentVersion !== $BUILD_VERSION) {
} }
.drawer-overlay { .drawer-overlay {
position: fixed; top: 0; left: 0; right: 0; bottom: 0; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
background: rgba(0,0,0,0.15); z-index: 999; background: rgba(0,0,0,0.08); z-index: 999;
display: none; justify-content: center; align-items: flex-start; display: none; justify-content: center; align-items: flex-start;
padding-top: 15vh; padding-top: 15vh;
backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
} }
.drawer-overlay.show { display: flex; } .drawer-overlay.show { display: flex; }
.drawer-card { .drawer-card {
background: rgba(22,27,34,0.5); background: rgba(22,27,34,0.45);
border: 1px solid rgba(88,166,255,0.2); border-radius: 16px 16px 0 0; padding: 24px; border: 1px solid rgba(88,166,255,0.2); border-radius: 16px 16px 0 0; padding: 24px;
width: 420px; max-width: 90%; width: 420px; max-width: 90%;
box-shadow: 0 -20px 64px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.05), inset 0 1px 0 rgba(255,255,255,0.1); box-shadow: 0 -20px 64px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.05), inset 0 1px 0 rgba(255,255,255,0.1);
} }
body.bg-img-mode .drawer-card { body.bg-img-mode .drawer-card {
background: rgba(22,27,34,0.35); background: rgba(22,27,34,0.3);
} }
.light-theme .drawer-card { .light-theme .drawer-card {
background: rgba(255,255,255,0.5); border-color: rgba(9,105,218,0.2); background: rgba(255,255,255,0.45); border-color: rgba(9,105,218,0.2);
} }
.light-theme.bg-img-mode .drawer-card { .light-theme.bg-img-mode .drawer-card {
background: rgba(255,255,255,0.35); background: rgba(255,255,255,0.3);
} }
.drawer-card.animate-in { animation: drawerSlideDown 0.3s ease; } .drawer-card.animate-in { animation: drawerSlideDown 0.3s ease; }
.drawer-card.animate-out { animation: drawerSlideUp 0.25s ease forwards; } .drawer-card.animate-out { animation: drawerSlideUp 0.25s ease forwards; }
/* ★ 毛玻璃Alert弹窗 */ /* ★ 毛玻璃Alert弹窗 */
.glass-alert-overlay { .glass-alert-overlay {
display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
background: rgba(0,0,0,0.15); background: rgba(0,0,0,0.08);
backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
z-index: 5000; justify-content: center; align-items: center; z-index: 5000; justify-content: center; align-items: center;
animation: glassFadeIn 0.25s ease; animation: glassFadeIn 0.25s ease;
} }
.glass-alert-overlay.show { display: flex; } .glass-alert-overlay.show { display: flex; }
.glass-alert-card { .glass-alert-card {
background: rgba(22,27,34,0.55); background: rgba(22,27,34,0.45);
border: 1px solid rgba(88,166,255,0.2); border: 1px solid rgba(88,166,255,0.2);
border-radius: 16px; padding: 28px 28px 20px; width: 360px; max-width: 88%; border-radius: 16px; padding: 28px 28px 20px; width: 360px; max-width: 88%;
box-shadow: 0 20px 64px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.05), inset 0 1px 0 rgba(255,255,255,0.1); box-shadow: 0 20px 64px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.05), inset 0 1px 0 rgba(255,255,255,0.1);