Improve local filetree view state and sidebar performance

This commit is contained in:
lix-2026
2026-05-27 11:31:12 +08:00
parent 58e2fdb5d8
commit 3ae33cc21d
56 changed files with 8614 additions and 461 deletions
+45
View File
@@ -1522,6 +1522,18 @@ body {
color: var(--atelier-text);
}
.wolai-section-add + .wolai-section-add {
margin-left: 2px;
}
.wolai-section-add .material-symbols-outlined {
width: 15px;
height: 15px;
font-size: 15px;
display: block;
color: currentColor;
}
.wolai-page-row {
min-height: 30px;
gap: 7px;
@@ -1560,6 +1572,39 @@ body {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
flex: 1;
min-width: 0;
}
.wolai-row-more {
width: 26px;
height: 26px;
flex: 0 0 26px;
display: inline-flex;
align-items: center;
justify-content: center;
border: 0;
border-radius: 4px;
background: transparent;
color: #8C8983;
opacity: 0;
cursor: pointer;
}
.wolai-page-row:hover .wolai-row-more,
.wolai-row-more:focus-visible,
.wolai-row-more[aria-expanded="true"] {
opacity: 1;
}
.wolai-row-more:hover {
background: #E7E4E0;
color: #4B4945;
}
.wolai-row-more .material-symbols-outlined {
font-size: 18px;
line-height: 1;
}
.sidebar-tree-section {