Skip to content

Commit 60149f1

Browse files
committed
fix: UI review nits — duplicate border, AI header gradient vs text-white-50 mix, dead .status rule, redundant dark overrides now covered by bs vars; verified via real Chrome screenshots (light+dark, 3 pages)
1 parent 59c1325 commit 60149f1

5 files changed

Lines changed: 1 addition & 62 deletions

File tree

bootstrap.purged.css

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1963,10 +1963,6 @@ fieldset:disabled .btn {
19631963
--bs-text-opacity: 1;
19641964
color: var(--bs-secondary-color) !important;
19651965
}
1966-
.text-white-50 {
1967-
--bs-text-opacity: 1;
1968-
color: rgba(255, 255, 255, 0.5) !important;
1969-
}
19701966
.bg-success {
19711967
--bs-bg-opacity: 1;
19721968
background-color: rgba(

debug.html

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
border-radius: 5px;
3737
background-color: var(--bs-body-bg);
3838
border: 1px solid var(--bs-border-color-translucent);
39-
border: 1px solid #dee2e6;
4039
min-height: 60px;
4140
height: auto;
4241
max-height: 400px;
@@ -124,21 +123,6 @@
124123
}
125124

126125

127-
/* 暗色主题下的缓存管理样式 */
128-
html[data-bs-theme="dark"] .cache-stats-container {
129-
background-color: #2c3034;
130-
border-color: #495057;
131-
color: #f8f9fa;
132-
}
133-
134-
html[data-bs-theme="dark"] .cache-size {
135-
color: #86b7fe;
136-
}
137-
138-
html[data-bs-theme="dark"] .cache-hit-rate {
139-
color: #adb5bd;
140-
}
141-
142126
/* 缓存操作结果显示框样式 */
143127
#cacheOperationResult {
144128
margin-top: 10px;
@@ -159,13 +143,6 @@
159143
font-size: 0.9em;
160144
line-height: 1.4;
161145
}
162-
163-
/* 暗色主题下的缓存操作结果样式 */
164-
html[data-bs-theme="dark"] #cacheOperationResult {
165-
background-color: #2c3034;
166-
border-color: #495057;
167-
color: #f8f9fa;
168-
}
169146
</style>
170147
</head>
171148

detect.html

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,6 @@
5151
box-shadow: 0 10px 30px rgba(13, 110, 253, 0.08);
5252
}
5353

54-
.ai-diagnosis-card .card-header {
55-
background: linear-gradient(135deg, #43ddb6, #52d0d9);
56-
}
5754

5855
.ai-config-details summary {
5956
cursor: pointer;
@@ -187,7 +184,7 @@ <h2 id="pageHeading" data-i18n="heading"></h2>
187184
<div class="card mb-3 ai-diagnosis-card">
188185
<div class="card-header bg-body-tertiary">
189186
<h4 class="mb-1" id="aiDiagnosisTitle" data-i18n="ai_diagnosis_title"></h4>
190-
<p class="mb-0 small text-white-50" id="aiDiagnosisSubtitle"></p>
187+
<p class="mb-0 small text-muted" id="aiDiagnosisSubtitle"></p>
191188
</div>
192189
<div class="card-body">
193190
<details class="ai-config-details mb-3" id="aiConfigDetails" open>

popup.html

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,6 @@
6161
border-top: 1px solid var(--bs-border-color-translucent);
6262
}
6363

64-
/* 状态显示区域样式 */
65-
.status {
66-
margin-top: 15px;
67-
}
68-
6964
/* 当前语言代码高亮样式 */
7065
#currentLanguage {
7166
background-color: #f4fccc;

toggle.css

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -79,32 +79,6 @@ html[data-bs-theme="dark"] .bg-light {
7979
color: #e9ecef !important;
8080
}
8181

82-
html[data-bs-theme="dark"] pre {
83-
background-color: #373c42 !important;
84-
color: #e9ecef !important;
85-
border: 1px solid #495057;
86-
/*于定义的边框 */
87-
}
88-
89-
html[data-bs-theme="dark"] .debug-section {
90-
background-color: #373c42 !important;
91-
color: #e9ecef !important;
92-
}
93-
94-
html[data-bs-theme="dark"] .debug-result {
95-
background-color: #2c3034 !important;
96-
/* 结果区域使用略微不同的深色阴影 */
97-
color: #f8f9fa !important;
98-
/* 更亮的灰白色文本 */
99-
border-color: #495057 !important;
100-
}
101-
102-
html[data-bs-theme="dark"] .debug-result code,
103-
html[data-bs-theme="dark"] .debug-result pre,
104-
html[data-bs-theme="dark"] .debug-result span {
105-
color: #f8f9fa !important;
106-
}
107-
10882
.text-dark.fw-bold.small,
10983
.text-dark.small {
11084
color: #bd97ab !important;

0 commit comments

Comments
 (0)