mirror of
https://github.com/hansjone/netx.git
synced 2026-10-10 12:40:44 +08:00
Polish topology toolbar search and restore sidebar icons.
Group tools with display, drop the redundant locate button, clear find query after Enter, and restore corrupted edit/delete/collapse glyphs. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
8cf1696d8c
commit
728ec815a3
2 changed files with 233 additions and 210 deletions
|
|
@ -2257,26 +2257,47 @@ pre {
|
|||
}
|
||||
|
||||
.topo-toolbar__group + .topo-toolbar__group,
|
||||
.topo-tools + .topo-toolbar__group,
|
||||
.topo-toolbar__group + .topo-toolbar__display,
|
||||
.topo-tools + .topo-toolbar__display {
|
||||
.topo-toolbar__panel + .topo-toolbar__group,
|
||||
.topo-toolbar__group + .topo-toolbar__group--find,
|
||||
.topo-toolbar__panel + .topo-toolbar__group--find {
|
||||
margin-left: 2px;
|
||||
padding-left: 10px;
|
||||
border-left: 1px solid #e2e8f0;
|
||||
}
|
||||
|
||||
.topo-toolbar__panel {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
flex-shrink: 0;
|
||||
padding: 4px 8px;
|
||||
background: #f1f5f9;
|
||||
border: 1px solid #e2e8f0;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.topo-toolbar__panel .topo-tools {
|
||||
background: #e2e8f0;
|
||||
}
|
||||
|
||||
.topo-toolbar__panel .topo-toolbar__display > summary {
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.topo-toolbar__group--find {
|
||||
position: relative;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
min-width: 0;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.topo-find-suggest {
|
||||
position: absolute;
|
||||
top: calc(100% + 4px);
|
||||
left: 0;
|
||||
right: 0;
|
||||
left: auto;
|
||||
z-index: 30;
|
||||
width: min(320px, 70vw);
|
||||
max-height: 280px;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue