Skip to content

Commit b330275

Browse files
committed
Bug fix.
1 parent dee41ba commit b330275

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

resource/static/main.css

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
}
5454

5555
:root {
56-
--body-bg: linear-gradient(145deg, #f8fafc 0%, #f5f7fb 45%, #eef2f7 100%);
56+
--body-bg: #f5f7fb;
5757
--glass-bg-soft: rgba(255, 255, 255, 0.52);
5858
--glass-bg-card: rgba(255, 255, 255, 0.64);
5959
--glass-bg-popup: rgba(255, 255, 255, 0.82);
@@ -289,7 +289,7 @@ body {
289289

290290
.def_background_pattern.default {
291291
opacity: 0.22;
292-
background-image: url('bg/pattern.svg');
292+
background-image: none;
293293
}
294294

295295
html.def_background,
@@ -303,7 +303,7 @@ body.def_background {
303303
html.def_background.default,
304304
body.def_background.default {
305305
opacity: 0.22;
306-
-webkit-mask-image: url('bg/pattern.svg');
306+
-webkit-mask-image: none;
307307
}
308308

309309
body.bg_light .def_background,
@@ -1222,7 +1222,7 @@ i.s {
12221222
/* 登录页按钮:避免过长,并让注册按钮与登录按钮同风格 */
12231223
.login.nb-container .dashboard-login-btn {
12241224
display: block !important;
1225-
width: 15% !important;
1225+
width: 18% !important;
12261226
max-width: 200px !important;
12271227
min-width: unset !important;
12281228
margin: 0 auto 1rem !important;
@@ -1331,6 +1331,13 @@ i.s {
13311331
margin-right: 0.62rem !important;
13321332
}
13331333

1334+
/* 性能策略回滚到保守模式,避免列表残缺/错位 */
1335+
@media (prefers-reduced-motion: reduce) {
1336+
.def_background.motion {
1337+
animation: none;
1338+
}
1339+
}
1340+
13341341
/* 性能优化CSS - 减少非被动事件监听器警告 (from home.html) */
13351342
html, body {
13361343
touch-action: manipulation; /* 优化触摸事件性能 */

0 commit comments

Comments
 (0)