模式行二轮微调:抽屉列表行去掉prof-badge(只留头部标题,画蛇添足),chooseProfile随删无意义的renderDrawerList重画(本地缓存同步保留);.msw-prof锁行盒——label行高30px/select定高30px+line-height 28px,模式字样与下拉框严格垂直对齐
This commit is contained in:
@@ -199,8 +199,8 @@
|
||||
}
|
||||
|
||||
// ---------- 会话模式徽标 ----------
|
||||
// 会话绑定 profile 时在标题(头部/抽屉行)显示小图标:''=默认不显示;颜色统一 --active(CSS .prof-*),靠形状区分;
|
||||
// 未知名兑底圆点;tooltip 提示当前模式,不另显文字。
|
||||
// 会话绑定 profile 时仅头部标题前显示小图标(抽屉列表不显,避免画蛇添足):''=默认不显示;
|
||||
// 颜色统一 --active(CSS .prof-*),靠形状区分;未知名兑底圆点;tooltip 提示当前模式,不另显文字。
|
||||
const PROFILE_BADGES = {
|
||||
lab: '<svg viewBox="0 0 24 24" class="ic"><path fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" d="M10 2v6.6L4.8 18.5a1.8 1.8 0 0 0 1.6 2.7h11.2a1.8 1.8 0 0 0 1.6-2.7L14 8.6V2"/><line x1="8.5" y1="2" x2="15.5" y2="2"/></svg>',
|
||||
zero: '<svg viewBox="0 0 24 24" class="ic"><circle fill="none" stroke="currentColor" stroke-width="1.8" cx="12" cy="12" r="9"/><line stroke="currentColor" stroke-width="1.8" stroke-linecap="round" x1="8" y1="12" x2="16" y2="12"/></svg>',
|
||||
|
||||
Reference in New Issue
Block a user