picoclaw/web/backend/dist/styles/vault.css
Dark aura c15b14e09a feat(ui): add Obsidian-inspired vault sidebar with vanilla JS components
- Add vault.js for sidebar tree view
- Add tags.js for tag cloud
- Add sessions.js for session history
- Add tools-skills.js for tool skills panel
- Add vault.css with Obsidian-inspired styling
- Update index.html with sidebar structure and script tags
2026-05-07 05:51:30 +01:00

82 lines
1.3 KiB
CSS

/* web/backend/dist/styles/vault.css */
.sidebar {
position: fixed;
left: 0;
top: 0;
width: 300px;
height: 100%;
background: var(--background-primary, #1e1e1e);
color: var(--text-normal, #dcddde);
padding: 10px;
overflow-y: auto;
z-index: 1000;
}
.sidebar.hidden {
display: none;
}
.sidebar-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 10px;
}
.sidebar-header h3 {
margin: 0;
}
.tree-item {
padding: 5px 10px;
cursor: pointer;
border-radius: 4px;
}
.tree-item:hover {
background: var(--background-secondary, #2d2d2d);
}
.tag-badge {
display: inline-block;
background: var(--background-secondary, #2d2d2d);
border-radius: 12px;
padding: 2px 8px;
margin: 2px;
cursor: pointer;
font-size: 0.9em;
}
.tag-badge:hover {
background: var(--interactive-accent, #5865f2);
color: white;
}
.skill-item {
padding: 8px;
border-bottom: 1px solid var(--background-secondary, #2d2d2d);
}
.skill-name {
font-weight: bold;
}
.skill-usage {
font-size: 0.9em;
color: var(--text-muted, #72767d);
}
.session-item {
padding: 8px;
border-bottom: 1px solid var(--background-secondary, #2d2d2d);
cursor: pointer;
}
.session-title {
font-weight: bold;
}
.session-tags {
font-size: 0.9em;
color: var(--text-muted, #72767d);
}