Wworking on improving the tool

This commit is contained in:
Martino Ferrari
2026-05-21 07:41:56 +02:00
parent 6ff8fb5c25
commit 71430bc3b0
30 changed files with 1820 additions and 331 deletions
+133
View File
@@ -2768,3 +2768,136 @@ kbd {
text-align: center;
font-variant-numeric: tabular-nums;
}
/* ── Searchable Select ────────────────────────────────────────────────────── */
.search-select {
position: relative;
width: 100%;
}
.search-select-trigger {
background: #0f1117;
border: 1px solid #2d3748;
border-radius: 3px;
padding: 0.15rem 0.35rem;
font-size: 0.8rem;
color: #e2e8f0;
cursor: pointer;
display: flex;
justify-content: space-between;
align-items: center;
min-height: 1.5rem;
}
.search-select-trigger:hover {
border-color: #4a5568;
}
.search-select-arrow {
font-size: 0.6rem;
color: #64748b;
margin-left: 0.25rem;
}
.search-select-dropdown {
position: absolute;
top: 100%;
left: 0;
right: 0;
background: #1a1f2e;
border: 1px solid #4a9eff;
border-radius: 4px;
margin-top: 2px;
z-index: 1000;
box-shadow: 0 4px 12px rgba(0,0,0,0.5);
display: flex;
flex-direction: column;
padding: 0.25rem;
gap: 0.25rem;
}
.search-select-list {
max-height: 180px;
overflow-y: auto;
}
.search-select-item {
padding: 0.2rem 0.4rem;
font-size: 0.75rem;
color: #cbd5e1;
cursor: pointer;
border-radius: 2px;
}
.search-select-item:hover {
background: #2d3748;
color: #e2e8f0;
}
.search-select-item-selected {
background: rgba(74, 158, 255, 0.15);
color: #4a9eff;
font-weight: 600;
}
.search-select-backdrop {
position: fixed;
inset: 0;
z-index: 999;
}
/* ── Signal Tree Refinements ────────────────────────────────────────────── */
.signal-tree-toolbar select.prop-select {
border-color: #2d3748;
background-color: #0f1117;
color: #94a3b8;
transition: all 0.2s;
}
.signal-tree-toolbar select.prop-select:hover {
border-color: #4a5568;
color: #e2e8f0;
}
.signal-item {
display: flex;
align-items: center;
padding: 0.2rem 0.5rem;
font-size: 0.8rem;
color: #cbd5e1;
border-radius: 4px;
cursor: grab;
gap: 0.4rem;
}
.signal-item:hover {
background: #2d3748;
}
.signal-name {
flex: 1;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.signal-unit {
font-size: 0.7rem;
color: #64748b;
background: #1a1f2e;
padding: 0 4px;
border-radius: 3px;
border: 1px solid #2d3748;
}
.panel-btn.icon-only {
padding: 0;
width: 1.6rem;
height: 1.6rem;
display: flex;
align-items: center;
justify-content: center;
font-size: 0.9rem;
}