TODO Explorer
========================================================================== */
.todo-body {
display: flex;
flex-direction: column;
width: 100%;
height: 100%;
overflow: hidden;
}
.todo-toolbar {
display: flex;
align-items: center;
gap: 4px;
padding: 2px 6px;
border-bottom: 1px solid var(--panel-border);
min-height: 26px;
}
.todo-filters {
display: flex;
align-items: center;
gap: 8px;
margin-left: 4px;
}
.todo-filter-label {
display: flex;
align-items: center;
gap: 3px;
font-size: 11px;
color: var(--text-secondary);
cursor: pointer;
user-select: none;
}
.todo-filter-label input[type="checkbox"] {
width: 12px;
height: 12px;
margin: 0;
cursor: pointer;
}
.todo-stats {
margin-left: auto;
font-size: 11px;
color: var(--text-secondary);
display: flex;
gap: 10px;
}
.todo-tree {
flex: 1;
overflow: auto;
padding: 4px 0;
font-size: 12px;
}
.todo-empty {
padding: 20px;
text-align: center;
color: var(--text-secondary);
font-size: 12px;
}
.todo-file {
display: flex;
align-items: center;
gap: 6px;
padding: 3px 8px;
cursor: pointer;
white-space: nowrap;
color: var(--text-primary);
font-weight: 500;
transition: background 0.08s;
}
.todo-file:hover {
background: var(--bg-hover);
}
.todo-file.collapsed+.todo-file-items {
display: none;
}
.todo-file-icon {
flex-shrink: 0;
font-size: 8px;
color: var(--text-secondary);
transition: transform 0.15s;
}
.todo-file.collapsed .todo-file-icon {
transform: rotate(0deg);
}
.todo-file:not(.collapsed) .todo-file-icon {
transform: rotate(90deg);
}
.todo-file-name {
flex: 1;
overflow: hidden;
text-overflow: ellipsis;
}
.todo-file-count {
flex-shrink: 0;
font-size: 10px;
color: var(--text-secondary);
background: var(--bg-secondary);
padding: 0 5px;
border-radius: 8px;
}
.todo-file-items {
padding-left: 16px;
}
.todo-item {
display: flex;
align-items: center;
gap: 6px;
padding: 2px 8px;
cursor: pointer;
white-space: nowrap;
color: var(--text-primary);
transition: background 0.08s;
}
.todo-item:hover {
background: var(--bg-hover);
}
.todo-item-type {
flex-shrink: 0;
font-size: 10px;
font-weight: 600;
font-family: var(--editor-font-family, 'Cascadia Mono', 'Consolas', monospace);
min-width: 42px;
}
.todo-item-msg {
flex: 1;
overflow: hidden;
text-overflow: ellipsis;
color: var(--text-secondary);
font-size: 11px;
}
.todo-item-loc {
flex-shrink: 0;
font-size: 10px;
color: var(--text-secondary);
font-family: var(--editor-font-family, 'Cascadia Mono', 'Consolas', monospace);
}