fix(界面): 能点的文字平时就是绿色,不用再把鼠标移上去才看得出能点
Deploy / deploy (push) Canceled after 0s

首页「全部」、提交详情的用户名和题名、题目页「点开看全部」「有 N 道差一点」、
班级对抗的班级名、知识点、后台标题等 30 多处原来和正文同色,鼠标移上去才变色,
手机上根本没有「移上去」。现在一律主题绿,移上去加下划线;没设颜色的文字按钮补上
type="primary"。排名名字列、整行可点的列表、后台 quaternary 次要按钮不动。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
xuyueandClaude Opus 5.5 committed 2026-10-23 10:39:49 +08:00
1 parent b3dca1a271
commit b0700d0bd9
32 files changed
+141 -53

No files matched your search

@@ -65,10 +65,14 @@ watch(
display: inline-flex;
align-items: center;
gap: 3px;
color: v-bind("theme.textColor3");
color: v-bind("theme.primaryColor");
text-decoration: none;
}
.raw-toggle:hover {
text-decoration: underline;
}
.raw {
margin: 0;
max-height: 140px;
@@ -446,6 +446,14 @@ const canRetry = computed(
text-decoration: none;
}
.user-link :deep(.name) {
color: v-bind("theme.primaryColor");
}
.user-link:hover :deep(.name) {
text-decoration: underline;
}
.render-error {
display: flex;
flex-direction: column;
@@ -477,12 +485,16 @@ const canRetry = computed(
}
.problem {
color: v-bind("theme.textColor1");
color: v-bind("theme.primaryColor");
text-decoration: none;
overflow: hidden;
text-overflow: ellipsis;
}
.problem:hover {
text-decoration: underline;
}
/* 只留漏斗图标(右栏六百来宽,带字的话名字、题目和按钮排不进一行),字在 title 里 */
.filter-pill {
flex: none;
@@ -460,10 +460,14 @@ function openStandalone() {
text-decoration: none;
}
.user-link:hover :deep(.name) {
.user-link :deep(.name) {
color: v-bind("theme.primaryColor");
}
.user-link:hover :deep(.name) {
text-decoration: underline;
}
.who {
display: flex;
align-items: center;
@@ -476,7 +480,7 @@ function openStandalone() {
}
.problem {
color: v-bind("theme.textColor1");
color: v-bind("theme.primaryColor");
text-decoration: none;
overflow: hidden;
text-overflow: ellipsis;
@@ -484,7 +488,7 @@ function openStandalone() {
}
.problem:hover {
color: v-bind("theme.primaryColor");
text-decoration: underline;
}
.problem-id {
@@ -431,10 +431,14 @@ function handleMore(key: string) {
text-decoration: none;
}
.user-link:hover :deep(.name) {
.user-link :deep(.name) {
color: v-bind("theme.primaryColor");
}
.user-link:hover :deep(.name) {
text-decoration: underline;
}
.cls {
height: 22px;
padding: 0 8px;
@@ -455,12 +459,12 @@ function handleMore(key: string) {
overflow: hidden;
text-overflow: ellipsis;
font-weight: 600;
color: v-bind("theme.textColor1");
color: v-bind("theme.primaryColor");
text-decoration: none;
}
.problem:hover {
color: v-bind("theme.primaryColor");
text-decoration: underline;
}
.problem-id {