第57批续8-3: 微模糊毛玻璃——overlay轻blur(4px)+极浅背景(0.08),card半透明(0.45)让模糊透出
This commit is contained in:
+18
-14
@@ -158,19 +158,20 @@ if ($currentVersion !== $BUILD_VERSION) {
|
||||
.empty { text-align: center; color: var(--dim); padding: 40px; }
|
||||
.modal-overlay {
|
||||
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;
|
||||
backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
|
||||
}
|
||||
.modal-overlay.show { display: flex; }
|
||||
.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;
|
||||
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);
|
||||
}
|
||||
body.bg-img-mode .modal { background: rgba(22,27,34,0.4); }
|
||||
.light-theme .modal { background: rgba(255,255,255,0.55); border-color: rgba(9,105,218,0.2); }
|
||||
.light-theme.bg-img-mode .modal { background: rgba(255,255,255,0.4); }
|
||||
body.bg-img-mode .modal { background: rgba(22,27,34,0.35); }
|
||||
.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.35); }
|
||||
.modal.animate-in { animation: drawerSlideDown 0.3s ease; }
|
||||
.modal.animate-out { animation: drawerSlideUp 0.25s ease forwards; }
|
||||
.modal h3 { margin-bottom: 16px; }
|
||||
@@ -215,13 +216,14 @@ if ($currentVersion !== $BUILD_VERSION) {
|
||||
/* ★ 毛玻璃登录弹窗 */
|
||||
.glass-login-overlay {
|
||||
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;
|
||||
animation: glassFadeIn 0.3s ease;
|
||||
}
|
||||
.glass-login-overlay.show { display: flex; }
|
||||
.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-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);
|
||||
@@ -276,38 +278,40 @@ if ($currentVersion !== $BUILD_VERSION) {
|
||||
}
|
||||
.drawer-overlay {
|
||||
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;
|
||||
padding-top: 15vh;
|
||||
backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
|
||||
}
|
||||
.drawer-overlay.show { display: flex; }
|
||||
.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;
|
||||
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);
|
||||
}
|
||||
body.bg-img-mode .drawer-card {
|
||||
background: rgba(22,27,34,0.35);
|
||||
background: rgba(22,27,34,0.3);
|
||||
}
|
||||
.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 {
|
||||
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-out { animation: drawerSlideUp 0.25s ease forwards; }
|
||||
/* ★ 毛玻璃Alert弹窗 */
|
||||
.glass-alert-overlay {
|
||||
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;
|
||||
animation: glassFadeIn 0.25s ease;
|
||||
}
|
||||
.glass-alert-overlay.show { display: flex; }
|
||||
.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-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);
|
||||
|
||||
Reference in New Issue
Block a user