remove frosted glass theme in mobile

This commit is contained in:
ssbg04 committed 2026-07-12 13:44:38 +08:00
1 parent f2e00e8a49
commit c70e78cae2
1 file changed
+7 -20
+7 -20
View File
@@ -254,31 +254,18 @@
@media (max-width: 768px) {
.glass-card, .glass-nav {
/* 100% remove expensive blur filters */
/* Completely remove blur, gradients, and heavy shadows for maximum mobile performance */
backdrop-filter: none !important;
-webkit-backdrop-filter: none !important;
/* Simulate glass sheen using a static gradient and almost opaque background */
background: linear-gradient(
135deg,
rgba(255, 255, 255, 0.96) 0%,
rgba(255, 255, 255, 0.88) 100%
) !important;
border: 1px solid rgba(255, 255, 255, 0.4) !important;
box-shadow:
0 4px 20px rgba(0, 0, 0, 0.05),
inset 0 1px 1px rgba(255, 255, 255, 0.6) !important;
background: rgba(255, 255, 255, 0.95) !important;
border: 1px solid rgba(0, 0, 0, 0.05) !important;
box-shadow: none !important;
}
.dark .glass-card, .dark .glass-nav {
background: linear-gradient(
135deg,
rgba(22, 22, 26, 0.96) 0%,
rgba(14, 14, 16, 0.88) 100%
) !important;
border: 1px solid rgba(255, 255, 255, 0.08) !important;
box-shadow:
0 4px 20px rgba(0, 0, 0, 0.3),
inset 0 1px 1px rgba(255, 255, 255, 0.05) !important;
background: rgba(18, 18, 20, 0.95) !important;
border: 1px solid rgba(255, 255, 255, 0.05) !important;
box-shadow: none !important;
}
}