frontend_nyla/src/components/UnifiedDataBar/FilesTab.module.css
2026-03-28 16:58:55 +01:00

95 lines
1.5 KiB
CSS

.filesTab {
display: flex;
flex-direction: column;
height: 100%;
position: relative;
}
.loading,
.empty {
padding: 16px;
text-align: center;
color: var(--text-secondary, #6b7280);
font-size: 0.85rem;
}
.fileList {
flex: 1;
display: flex;
flex-direction: column;
gap: 2px;
overflow-y: auto;
}
.fileRow {
display: flex;
align-items: center;
justify-content: space-between;
padding: 8px 10px;
border-radius: 6px;
cursor: pointer;
font-size: 0.85rem;
}
.fileRow:hover {
background: var(--bg-hover, rgba(0, 0, 0, 0.04));
}
.fileName {
flex: 1;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.fileIcons {
display: flex;
gap: 4px;
flex-shrink: 0;
}
.scopeIcon,
.neutralizeIcon {
border: none;
background: transparent;
cursor: pointer;
font-size: 0.9rem;
padding: 2px 4px;
border-radius: 4px;
opacity: 0.6;
transition: opacity 0.15s;
}
.scopeIcon:hover,
.neutralizeIcon:hover {
opacity: 1;
background: var(--bg-hover, rgba(0, 0, 0, 0.06));
}
.neutralizeActive {
opacity: 1;
}
.legend {
display: flex;
gap: 12px;
padding: 8px 10px;
border-top: 1px solid var(--border-color, #e5e7eb);
font-size: 0.75rem;
color: var(--text-secondary, #9ca3af);
flex-shrink: 0;
flex-wrap: wrap;
}
@media (prefers-color-scheme: dark) {
.fileRow:hover {
background: rgba(255, 255, 255, 0.05);
}
.scopeIcon:hover,
.neutralizeIcon:hover {
background: rgba(255, 255, 255, 0.08);
}
.legend {
border-top-color: var(--border-dark, #374151);
}
}