Skip to content

Commit bcf6391

Browse files
committed
improved style
Signed-off-by: zhangtianli2006 <49156174+zhangtianli2006@users.noreply.github.com>
1 parent 3ca40ac commit bcf6391

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

src/assets/css/theme.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
}
88

99
.color-warning {
10-
color: #e6a23c;
10+
color: rgb(247, 186, 42);
1111
}
1212

1313
.color-info {

src/components/problem/list.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ export default {
159159
} else {
160160
color += 'color-regular-text';
161161
}
162+
x.pid = (<div class={color}>{x.pid}</div>);
162163
if (!x.enabled) {
163164
x.title = (
164165
<div>

src/components/status/list.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,9 @@ export default {
9595
let color = '';
9696
if (x.score === 100) {
9797
color += 'color-success';
98-
} else if (x.score < 100 && x.score >= 0) {
98+
} else if (x.score < 100 && x.score > 0) {
99+
color += 'color-warning';
100+
} else if(x.score == 0) {
99101
color += 'color-danger';
100102
} else {
101103
color += 'color-regular-text';

0 commit comments

Comments
 (0)