90 lines
1.4 KiB
CSS
90 lines
1.4 KiB
CSS
.file-tree {
|
|
background: rgba(255, 255, 255, 0.04);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
border-radius: 8px;
|
|
padding: 0.75rem;
|
|
max-height: 380px;
|
|
overflow-y: auto;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.tree-folder {
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
.tree-folder-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 4px 6px;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
user-select: none;
|
|
color: rgba(255, 255, 255, 0.85);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.tree-folder-header:hover {
|
|
background: rgba(255, 255, 255, 0.07);
|
|
}
|
|
|
|
.tree-folder-arrow {
|
|
font-size: 0.75rem;
|
|
color: rgba(255, 255, 255, 0.5);
|
|
width: 12px;
|
|
}
|
|
|
|
.tree-folder-name {
|
|
color: rgba(255, 255, 255, 0.85);
|
|
}
|
|
|
|
.tree-folder-children {
|
|
padding-left: 18px;
|
|
border-left: 1px solid rgba(255, 255, 255, 0.08);
|
|
margin-left: 6px;
|
|
}
|
|
|
|
.tree-file {
|
|
margin-bottom: 1px;
|
|
}
|
|
|
|
.tree-file-label {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 4px 6px;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
color: rgba(255, 255, 255, 0.7);
|
|
}
|
|
|
|
.tree-file-label:hover {
|
|
background: rgba(255, 255, 255, 0.06);
|
|
color: rgba(255, 255, 255, 0.9);
|
|
}
|
|
|
|
.tree-file-label input[type="checkbox"] {
|
|
accent-color: #7c6fcd;
|
|
width: 14px;
|
|
height: 14px;
|
|
cursor: pointer;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.tree-file-name {
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.tree-loading,
|
|
.tree-error,
|
|
.tree-empty {
|
|
padding: 1rem;
|
|
color: rgba(255, 255, 255, 0.5);
|
|
font-size: 0.9rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.tree-error {
|
|
color: #ff7b72;
|
|
}
|