refactor(webui): use shared organization explorer tree
This commit is contained in:
@@ -50,51 +50,6 @@
|
||||
padding-top: 2px;
|
||||
}
|
||||
|
||||
.organizations-tree-toolbar {
|
||||
display: flex;
|
||||
justify-content: flex-start;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.organizations-tree-list {
|
||||
display: grid;
|
||||
gap: 4px;
|
||||
max-height: 640px;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.organizations-tree-row {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) auto;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.organizations-tree-node {
|
||||
display: grid;
|
||||
gap: 2px;
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
padding: 8px 10px;
|
||||
border: 1px solid transparent;
|
||||
border-radius: 7px;
|
||||
background: transparent;
|
||||
color: var(--text);
|
||||
text-align: left;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.organizations-tree-node:hover,
|
||||
.organizations-tree-node.active {
|
||||
border-color: var(--line);
|
||||
background: var(--surface-muted);
|
||||
}
|
||||
|
||||
.organizations-tree-node span {
|
||||
color: var(--muted);
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.organizations-field-note {
|
||||
margin: 8px 0 0;
|
||||
color: var(--muted);
|
||||
|
||||
Reference in New Issue
Block a user