fix(dnfs): 用户面板用户名/角色改为纯展示,去除手型光标与 hover 变色
新增 .tag.no-hover 修饰类还原交互态;折叠按钮与退出登录保持可点样式。
This commit is contained in:
1 parent
8c1956cdeb
commit
55b127747a
2 files changed
+11
-2
No files matched your search
@@ -420,6 +420,15 @@ input[type="button"]:disabled {
|
||||
}
|
||||
}
|
||||
.minimap:empty, .userpanel:empty { display: none; }
|
||||
/* userpanel 纯展示项(用户名/角色):不可点击,无手型光标与 hover 变色 */
|
||||
.userpanel .tag.no-hover {
|
||||
cursor: default;
|
||||
}
|
||||
.userpanel .tag.no-hover:hover {
|
||||
color: var(--fg-secondary);
|
||||
background: rgba(232, 133, 58, 0.08);
|
||||
border-color: transparent;
|
||||
}
|
||||
.minimap .tag, .userpanel .tag {
|
||||
display: inline-block;
|
||||
max-width: 140px;
|
||||
|
||||
Reference in new issue
Block a user