chunker ui redo
This commit is contained in:
97
ui/common/components/FileManager.css
Normal file
97
ui/common/components/FileManager.css
Normal file
@@ -0,0 +1,97 @@
|
||||
.file-manager {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.fm-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.fm-header h2 {
|
||||
font-size: 0.85rem;
|
||||
font-weight: 600;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.05em;
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
.fm-scan-btn {
|
||||
padding: 0.25rem 0.6rem;
|
||||
background: var(--bg-input);
|
||||
color: var(--text-secondary);
|
||||
font-size: var(--font-size-xs);
|
||||
}
|
||||
.fm-scan-btn:hover:not(:disabled) {
|
||||
color: var(--text-primary);
|
||||
background: var(--border-light);
|
||||
}
|
||||
|
||||
.fm-list {
|
||||
list-style: none;
|
||||
max-height: 200px;
|
||||
overflow-y: auto;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius-sm);
|
||||
background: var(--bg-primary);
|
||||
}
|
||||
|
||||
.fm-empty {
|
||||
padding: 1rem;
|
||||
text-align: center;
|
||||
color: var(--text-muted);
|
||||
font-size: var(--font-size-sm);
|
||||
}
|
||||
|
||||
.fm-item {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 0.4rem 0.6rem;
|
||||
border-bottom: 1px solid var(--border);
|
||||
transition: background 0.1s;
|
||||
}
|
||||
.fm-item:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.fm-clickable {
|
||||
cursor: pointer;
|
||||
}
|
||||
.fm-clickable:hover {
|
||||
background: var(--bg-input);
|
||||
}
|
||||
|
||||
.fm-selected {
|
||||
background: var(--accent) !important;
|
||||
color: #fff;
|
||||
}
|
||||
.fm-selected .fm-meta {
|
||||
color: rgba(255, 255, 255, 0.7);
|
||||
}
|
||||
|
||||
.fm-item-info {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.15rem;
|
||||
overflow: hidden;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.fm-filename {
|
||||
font-size: var(--font-size-sm);
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.fm-meta {
|
||||
font-size: var(--font-size-xs);
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
.fm-actions {
|
||||
flex-shrink: 0;
|
||||
margin-left: 0.5rem;
|
||||
}
|
||||
Reference in New Issue
Block a user