diff --git a/yunkes/src/style.css b/yunkes/src/style.css index 411e4fa..85d8409 100644 --- a/yunkes/src/style.css +++ b/yunkes/src/style.css @@ -436,3 +436,43 @@ a { h2 { letter-spacing: 0.01em; } + +/* ══ 可点击元素统一玉绿示意(2026-08-22) ══ */ + +/* 文本链接:玉绿 + 悬停下划线 */ +.yk-link { + color: var(--el-color-primary); + cursor: pointer; + transition: color 0.15s ease; +} +.yk-link:hover { + text-decoration: underline; + text-underline-offset: 3px; +} + +/* Element 链接按钮:悬停下划线(颜色已随主色) */ +.el-button.is-link { + transition: color 0.15s ease; +} +.el-button.is-link:hover { + text-decoration: underline; + text-underline-offset: 3px; +} + +/* 行级可点击(点行开抽屉):悬停时行首主信息染玉绿,配合行底色示意 */ +.el-table .yk-clickable-row { + cursor: pointer; +} +.el-table .yk-clickable-row:hover td:first-child .cell { + color: var(--el-color-primary); + transition: color 0.15s ease; +} + +/* 聊天会话侧栏:悬停/激活玉绿系 */ +.yk-chat-side__item:hover { + background: #eef8f2; +} +.yk-chat-side__item.is-active { + background: #e2f5eb; + box-shadow: inset 3px 0 0 var(--el-color-primary); +} diff --git a/yunkes/src/views/StaffList.vue b/yunkes/src/views/StaffList.vue index a0a8380..a96f3ed 100644 --- a/yunkes/src/views/StaffList.vue +++ b/yunkes/src/views/StaffList.vue @@ -1109,6 +1109,11 @@ onMounted(() => { .yk-pair__v { color: #303133; } +/* 可点按钮(link primary)不受灰文本覆盖,保持玉绿示意(2026-08-22) */ +.yk-pair__v.el-button, +.yk-staffinfo__v.el-button { + color: var(--el-color-primary); +} /* Round 40px avatar — el-image renders an inside; size + round it. */ .yk-avatar-round {