Isolate compact folder tree controls

This commit is contained in:
Mikei386
2026-07-14 18:30:47 +02:00
parent e3b95abca6
commit 19a869d55a
5 changed files with 35 additions and 9 deletions
+18 -2
View File
@@ -395,10 +395,17 @@
.u-nav .tree-caret,
.u-nav .tree-label {
appearance: none;
background: transparent;
border: 0;
border-radius: 6px;
box-shadow: none;
cursor: pointer;
letter-spacing: normal !important;
margin: 0 !important;
min-height: 26px;
text-transform: none !important;
user-select: none;
}
.u-nav .tree-caret {
@@ -406,6 +413,7 @@
display: inline-flex;
flex: 0 0 24px;
justify-content: center;
line-height: 1;
padding: 0;
width: 24px;
}
@@ -415,7 +423,8 @@
width: 13px;
}
.u-nav .tree-caret:disabled {
.u-nav .tree-caret.disabled {
cursor: default;
opacity: 0.22;
}
@@ -424,11 +433,12 @@
color: inherit;
display: flex;
flex: 1;
font: 500 12px/1.2 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
gap: 5px !important;
justify-content: flex-start !important;
min-width: 0;
overflow: hidden;
padding: 0 5px 0 2px;
padding: 0 5px 0 0 !important;
text-align: left !important;
}
@@ -443,6 +453,12 @@
border-color: transparent;
}
.u-nav .tree-label:focus-visible,
.u-nav .tree-caret:focus-visible {
outline: 2px solid color-mix(in srgb, var(--accent) 72%, transparent);
outline-offset: -2px;
}
.u-nav .tree-label.drop-target {
background: var(--accent-soft);
box-shadow: inset 0 0 0 1px var(--accent);