mirror of
https://github.com/Moepchi/webspeak3.git
synced 2026-12-01 00:42:49 +08:00
Add right-click context menu on channel tree clients
Works for both other clients (private chat, poke, copy name, plus disabled placeholders for group assignment/kick/ban) and the own client (copy name and group placeholders only, since you can't poke or private-message yourself).
This commit is contained in:
1 parent
af3a7c97cf
commit
0529ab72f1
3 files changed
+146
No files matched your search
@@ -190,6 +190,29 @@
|
||||
background: var(--border-soft);
|
||||
}
|
||||
|
||||
.ts-context-menu {
|
||||
position: fixed;
|
||||
z-index: 30;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-width: 200px;
|
||||
padding: 0.25rem;
|
||||
background: var(--bg-toolbar-1);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 4px;
|
||||
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
.ts-context-menu-title {
|
||||
padding: 0.35rem 0.5rem;
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
color: var(--text-muted);
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.ts-toolbar {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
Reference in new issue
Block a user