第57批续8-2: 毛玻璃切一刀——overlay去blur只压暗,card提高透明度让背景透出(从全雾化改为真毛玻璃)
This commit is contained in:
+11
-19
@@ -158,21 +158,19 @@ 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.2); display: flex; justify-content: center;
|
background: rgba(0,0,0,0.15); display: flex; justify-content: center;
|
||||||
align-items: center; z-index: 999; display: none;
|
align-items: center; z-index: 999; display: none;
|
||||||
backdrop-filter: blur(20px) saturate(1.8); -webkit-backdrop-filter: blur(20px) saturate(1.8);
|
|
||||||
will-change: backdrop-filter;
|
|
||||||
}
|
}
|
||||||
.modal-overlay.show { display: flex; }
|
.modal-overlay.show { display: flex; }
|
||||||
.modal {
|
.modal {
|
||||||
background: rgba(22,27,34,0.35);
|
background: rgba(22,27,34,0.5);
|
||||||
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.25); }
|
body.bg-img-mode .modal { background: rgba(22,27,34,0.4); }
|
||||||
.light-theme .modal { background: rgba(255,255,255,0.4); border-color: rgba(9,105,218,0.2); }
|
.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.25); }
|
.light-theme.bg-img-mode .modal { background: rgba(255,255,255,0.4); }
|
||||||
.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; }
|
||||||
@@ -218,14 +216,12 @@ 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.15);
|
||||||
backdrop-filter: blur(20px) saturate(1.8); -webkit-backdrop-filter: blur(20px) saturate(1.8);
|
|
||||||
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;
|
||||||
will-change: backdrop-filter;
|
|
||||||
}
|
}
|
||||||
.glass-login-overlay.show { display: flex; }
|
.glass-login-overlay.show { display: flex; }
|
||||||
.glass-card {
|
.glass-card {
|
||||||
background: rgba(22,27,34,0.35);
|
background: rgba(22,27,34,0.55);
|
||||||
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);
|
||||||
@@ -283,24 +279,22 @@ if ($currentVersion !== $BUILD_VERSION) {
|
|||||||
background: rgba(0,0,0,0.15); z-index: 999;
|
background: rgba(0,0,0,0.15); 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(20px) saturate(1.8); -webkit-backdrop-filter: blur(20px) saturate(1.8);
|
|
||||||
will-change: backdrop-filter;
|
|
||||||
}
|
}
|
||||||
.drawer-overlay.show { display: flex; }
|
.drawer-overlay.show { display: flex; }
|
||||||
.drawer-card {
|
.drawer-card {
|
||||||
background: rgba(22,27,34,0.3);
|
background: rgba(22,27,34,0.5);
|
||||||
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.2);
|
background: rgba(22,27,34,0.35);
|
||||||
}
|
}
|
||||||
.light-theme .drawer-card {
|
.light-theme .drawer-card {
|
||||||
background: rgba(255,255,255,0.35); border-color: rgba(9,105,218,0.2);
|
background: rgba(255,255,255,0.5); 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.2);
|
background: rgba(255,255,255,0.35);
|
||||||
}
|
}
|
||||||
.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; }
|
||||||
@@ -308,14 +302,12 @@ if ($currentVersion !== $BUILD_VERSION) {
|
|||||||
.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.15);
|
||||||
backdrop-filter: blur(20px) saturate(1.8); -webkit-backdrop-filter: blur(20px) saturate(1.8);
|
|
||||||
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;
|
||||||
will-change: backdrop-filter;
|
|
||||||
}
|
}
|
||||||
.glass-alert-overlay.show { display: flex; }
|
.glass-alert-overlay.show { display: flex; }
|
||||||
.glass-alert-card {
|
.glass-alert-card {
|
||||||
background: rgba(22,27,34,0.3);
|
background: rgba(22,27,34,0.55);
|
||||||
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);
|
||||||
|
|||||||
Reference in New Issue
Block a user