修复bug

This commit is contained in:
zqlit committed 2026-05-24 16:00:53 +08:00
1 parent eec9f874ef
commit 26a68a8b31
3 files changed
+36 -61

No files matched your search

+33 -58
View File
@@ -408,18 +408,7 @@ code::-webkit-scrollbar {
display: none !important;
}
/* AI Comment Badge - Black & White Style */
.atk-comment .atk-badge {
background: #000 !important;
color: #fff !important;
border: 1px solid #000 !important;
}
[data-theme="dark"] .atk-comment .atk-badge {
background: #fff !important;
color: #000 !important;
border: 1px solid #fff !important;
}
/* Generic badge base */
@@ -3655,17 +3644,18 @@ input[type=submit] {
}
}
/* Bottom toolbar — frosted glass bar */
/* Bottom toolbar — white frosted glass */
.view-image-tools {
background: rgba(28, 28, 30, 0.78) !important;
backdrop-filter: blur(44px) saturate(200%) !important;
-webkit-backdrop-filter: blur(44px) saturate(200%) !important;
border: 1px solid rgba(255, 255, 255, 0.16) !important;
background: rgba(255, 255, 255, 0.72) !important;
backdrop-filter: blur(40px) saturate(180%) !important;
-webkit-backdrop-filter: blur(40px) saturate(180%) !important;
border: 1px solid rgba(255, 255, 255, 0.5) !important;
border-radius: 8px !important;
padding: 6px 12px !important;
max-width: 360px !important;
box-shadow: 0 2px 20px rgba(0, 0, 0, 0.38),
0 0 0 0.5px rgba(255, 255, 255, 0.1) inset !important;
color: rgba(0, 0, 0, 0.7) !important;
box-shadow: 0 2px 16px rgba(0, 0, 0, 0.1),
0 0 0 0.5px rgba(255, 255, 255, 0.3) inset !important;
}
/* Counter text */
@@ -3673,7 +3663,7 @@ input[type=submit] {
font-size: 13px;
font-weight: 500;
letter-spacing: 0.03em;
opacity: 0.9;
opacity: 0.85;
}
/* Glass buttons */
@@ -3681,13 +3671,13 @@ input[type=submit] {
width: 34px !important;
height: 34px !important;
border-radius: 6px !important;
background: rgba(255, 255, 255, 0.14) !important;
border: 1px solid rgba(255, 255, 255, 0.12);
background: rgba(0, 0, 0, 0.06) !important;
border: 1px solid rgba(0, 0, 0, 0.06);
transition: background 0.2s ease, transform 0.15s ease;
}
.view-image-btn:hover {
background: rgba(255, 255, 255, 0.28) !important;
background: rgba(0, 0, 0, 0.12) !important;
transform: scale(1.06);
}
@@ -5079,49 +5069,34 @@ html[data-theme="light"] .atk-loading-spinner svg circle {
/* AI Comment (Embedded in Artalk) */
.atk-comment.atk-ai-comment {
/* Subtle distinction background */
/* background: var(--bankuai-color); */
border-radius: 8px;
padding: 15px;
margin-bottom: 5px;
/* border: 1px solid transparent; Prepare for dark mode */
/* AI Comment — subtle badge only */
.atk-comment.atk-ai-comment .atk-badge {
display: inline-flex;
align-items: center;
padding: 2px 8px;
font-size: 10px;
font-weight: 600;
letter-spacing: 0.05em;
color: #fff;
background: linear-gradient(135deg, #c9a84c, #a07d30);
border-radius: 20px;
box-shadow: 0 1px 3px rgba(160, 125, 48, 0.2);
}
.atk-comment.atk-ai-comment .atk-nick {
display: none;
}
/* Ensure avatar size matches Artalk but with AI flair */
.atk-comment.atk-ai-comment .atk-avatar img {
border: 2px solid #fff;
box-shadow: 0 2px 4px rgba(0,0,0,0.05);
transition: transform 0.3s ease;
}
.atk-comment.atk-ai-comment:hover .atk-avatar img {
transform: rotate(10deg);
transform: rotate(6deg);
}
/* Custom AI Badge */
.atk-comment.atk-ai-comment .atk-badge {
display: inline-block;
padding: 1px 6px;
font-size: 11px;
line-height: 1.4;
color: #fff;
background: linear-gradient(135deg, #60a5fa, #3b82f6);
border-radius: 4px;
font-weight: 500;
margin-left: 5px;
vertical-align: text-bottom;
}
/* Dark Mode Adaptation */
[data-theme="dark"] .atk-comment.atk-ai-comment {
/* background: rgba(255, 255, 255, 0.03); */
/* border: 1px solid rgba(255, 255, 255, 0.05); */
}
[data-theme="dark"] .atk-comment.atk-ai-comment .atk-avatar img {
border-color: #333;
[data-theme="dark"] .atk-comment.atk-ai-comment .atk-badge {
color: #1a1a1a;
box-shadow: 0 1px 4px rgba(160, 125, 48, 0.3);
}
/* Lazy Load Animation */