Co-authored-by: Christopher Mayor <toph.homelab@gmail.com> Co-committed-by: Christopher Mayor <toph.homelab@gmail.com>
559 lines
8.6 KiB
CSS
559 lines
8.6 KiB
CSS
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
:root {
|
|
--bg-primary: #0f1419;
|
|
--bg-secondary: #1a1f2e;
|
|
--bg-card: #242b3d;
|
|
--text-primary: #e6edf3;
|
|
--text-secondary: #8b949e;
|
|
--accent: #f78166;
|
|
--border: #30363d;
|
|
--priority-high: #f85149;
|
|
--priority-medium: #d29922;
|
|
--priority-low: #3fb950;
|
|
--priority-critical: #ff6b6b;
|
|
}
|
|
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
background: var(--bg-primary);
|
|
color: var(--text-primary);
|
|
min-height: 100vh;
|
|
}
|
|
|
|
/* Navigation */
|
|
.navbar {
|
|
background: var(--bg-secondary);
|
|
padding: 1rem 2rem;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
border-bottom: 1px solid var(--border);
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 1000;
|
|
}
|
|
|
|
.nav-brand h1 {
|
|
font-size: 1.5rem;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.nav-links {
|
|
display: flex;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.nav-link {
|
|
color: var(--text-secondary);
|
|
text-decoration: none;
|
|
padding: 0.5rem 1rem;
|
|
border-radius: 6px;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.nav-link:hover {
|
|
background: var(--bg-card);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.nav-link.active {
|
|
background: var(--accent);
|
|
color: white;
|
|
}
|
|
|
|
/* Pages */
|
|
.page {
|
|
display: none;
|
|
}
|
|
|
|
.page.active {
|
|
display: block;
|
|
}
|
|
|
|
/* Dashboard */
|
|
.topbar {
|
|
padding: 1.5rem 2rem;
|
|
background: var(--bg-secondary);
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.topbar h2 {
|
|
font-size: 1.5rem;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.topbar p {
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.composer {
|
|
padding: 1.5rem 2rem;
|
|
background: var(--bg-secondary);
|
|
margin: 1rem;
|
|
border-radius: 8px;
|
|
border: 1px solid var(--border);
|
|
}
|
|
|
|
.composer h3 {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.composer form {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
gap: 1rem;
|
|
}
|
|
|
|
.composer input,
|
|
.composer select,
|
|
.composer textarea {
|
|
padding: 0.5rem;
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border);
|
|
color: var(--text-primary);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.composer textarea {
|
|
grid-column: 1 / -1;
|
|
min-height: 80px;
|
|
}
|
|
|
|
.composer button {
|
|
padding: 0.5rem 1.5rem;
|
|
background: var(--accent);
|
|
color: white;
|
|
border: none;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.composer button:hover {
|
|
opacity: 0.9;
|
|
}
|
|
|
|
/* Board */
|
|
.board {
|
|
display: flex;
|
|
gap: 1rem;
|
|
padding: 1rem;
|
|
overflow-x: auto;
|
|
min-height: calc(100vh - 400px);
|
|
}
|
|
|
|
.column {
|
|
flex: 0 0 280px;
|
|
background: var(--bg-secondary);
|
|
border-radius: 8px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
max-height: calc(100vh - 250px);
|
|
}
|
|
|
|
.column-header {
|
|
padding: 1rem;
|
|
border-bottom: 1px solid var(--border);
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.column-header h3 {
|
|
font-size: 0.9rem;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.column-count {
|
|
background: var(--bg-card);
|
|
padding: 0.25rem 0.5rem;
|
|
border-radius: 12px;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.cards {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
padding: 0.5rem;
|
|
}
|
|
|
|
.card {
|
|
background: var(--bg-card);
|
|
border-radius: 6px;
|
|
padding: 0.75rem;
|
|
margin-bottom: 0.5rem;
|
|
cursor: pointer;
|
|
border: 1px solid transparent;
|
|
}
|
|
|
|
.card:hover {
|
|
border-color: var(--accent);
|
|
}
|
|
|
|
.card-head {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.card-title {
|
|
font-weight: 500;
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.badge {
|
|
padding: 0.15rem 0.5rem;
|
|
border-radius: 10px;
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.priority-High {
|
|
background: var(--priority-high);
|
|
color: white;
|
|
}
|
|
|
|
.priority-Medium {
|
|
background: var(--priority-medium);
|
|
color: white;
|
|
}
|
|
|
|
.priority-Low {
|
|
background: var(--priority-low);
|
|
color: white;
|
|
}
|
|
|
|
.priority-Critical {
|
|
background: var(--priority-critical);
|
|
color: white;
|
|
}
|
|
|
|
.card-desc {
|
|
color: var(--text-secondary);
|
|
font-size: 0.85rem;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.meta {
|
|
font-size: 0.75rem;
|
|
color: var(--text-secondary);
|
|
margin-bottom: 0.25rem;
|
|
}
|
|
|
|
.assignee {
|
|
color: var(--accent);
|
|
}
|
|
|
|
.tags {
|
|
display: flex;
|
|
gap: 0.25rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.tag {
|
|
background: var(--bg-primary);
|
|
padding: 0.15rem 0.5rem;
|
|
border-radius: 4px;
|
|
font-size: 0.7rem;
|
|
}
|
|
|
|
.card label {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
font-size: 0.75rem;
|
|
color: var(--text-secondary);
|
|
margin-top: 0.5rem;
|
|
}
|
|
|
|
/* Wiki */
|
|
.wiki-container {
|
|
display: grid;
|
|
grid-template-columns: 300px 1fr;
|
|
gap: 1rem;
|
|
padding: 1rem;
|
|
min-height: calc(100vh - 200px);
|
|
}
|
|
|
|
.wiki-list {
|
|
background: var(--bg-secondary);
|
|
border-radius: 8px;
|
|
padding: 1rem;
|
|
overflow-y: auto;
|
|
max-height: calc(100vh - 220px);
|
|
}
|
|
|
|
.wiki-item {
|
|
padding: 0.75rem;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
margin-bottom: 0.5rem;
|
|
background: var(--bg-card);
|
|
}
|
|
|
|
.wiki-item:hover {
|
|
background: var(--accent);
|
|
}
|
|
|
|
.wiki-item.active {
|
|
background: var(--accent);
|
|
}
|
|
|
|
.wiki-title {
|
|
font-size: 0.9rem;
|
|
margin-bottom: 0.25rem;
|
|
}
|
|
|
|
.wiki-date {
|
|
font-size: 0.75rem;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.wiki-content {
|
|
background: var(--bg-secondary);
|
|
border-radius: 8px;
|
|
padding: 2rem;
|
|
overflow-y: auto;
|
|
max-height: calc(100vh - 220px);
|
|
}
|
|
|
|
.wiki-content h1 {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.wiki-content h2 {
|
|
margin-top: 1.5rem;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.wiki-content p {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.wiki-content code {
|
|
background: var(--bg-card);
|
|
padding: 0.2rem 0.4rem;
|
|
border-radius: 3px;
|
|
font-family: monospace;
|
|
}
|
|
|
|
.wiki-content pre {
|
|
background: var(--bg-card);
|
|
padding: 1rem;
|
|
border-radius: 6px;
|
|
overflow-x: auto;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
/* Agents */
|
|
.agents-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
|
|
gap: 1rem;
|
|
padding: 1rem;
|
|
}
|
|
|
|
.agent-card {
|
|
background: var(--bg-secondary);
|
|
border-radius: 8px;
|
|
border: 1px solid var(--border);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.agent-header {
|
|
background: var(--bg-card);
|
|
padding: 1rem;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.agent-name {
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
.agent-status {
|
|
padding: 0.25rem 0.75rem;
|
|
border-radius: 12px;
|
|
font-size: 0.75rem;
|
|
background: var(--priority-low);
|
|
color: white;
|
|
}
|
|
|
|
.agent-body {
|
|
padding: 1rem;
|
|
}
|
|
|
|
.agent-section {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.agent-section h4 {
|
|
font-size: 0.85rem;
|
|
color: var(--text-secondary);
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.agent-task {
|
|
color: var(--text-primary);
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.agent-tools,
|
|
.agent-files {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.25rem;
|
|
}
|
|
|
|
.tool-tag,
|
|
.file-tag {
|
|
background: var(--bg-card);
|
|
padding: 0.25rem 0.5rem;
|
|
border-radius: 4px;
|
|
font-size: 0.75rem;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
/* Usage */
|
|
.usage-container {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
|
|
gap: 1rem;
|
|
padding: 1rem;
|
|
}
|
|
|
|
.usage-card {
|
|
background: var(--bg-secondary);
|
|
border-radius: 8px;
|
|
border: 1px solid var(--border);
|
|
padding: 1.5rem;
|
|
}
|
|
|
|
.provider-name {
|
|
font-size: 1.2rem;
|
|
margin-bottom: 1rem;
|
|
color: var(--accent);
|
|
}
|
|
|
|
.provider-models {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.model-item {
|
|
padding: 0.5rem;
|
|
background: var(--bg-card);
|
|
border-radius: 4px;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.model-name {
|
|
font-weight: 500;
|
|
margin-bottom: 0.25rem;
|
|
}
|
|
|
|
.model-meta {
|
|
font-size: 0.75rem;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.provider-quota {
|
|
padding: 1rem;
|
|
background: var(--bg-card);
|
|
border-radius: 6px;
|
|
}
|
|
|
|
.quota-title {
|
|
font-weight: 600;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.quota-item {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin-bottom: 0.5rem;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.quota-label {
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.quota-value {
|
|
font-weight: 500;
|
|
}
|
|
|
|
.quota-bar {
|
|
height: 8px;
|
|
background: var(--bg-primary);
|
|
border-radius: 4px;
|
|
overflow: hidden;
|
|
margin-top: 0.5rem;
|
|
}
|
|
|
|
.quota-fill {
|
|
height: 100%;
|
|
background: var(--accent);
|
|
transition: width 0.3s;
|
|
}
|
|
|
|
/* Responsive */
|
|
@media (max-width: 768px) {
|
|
.navbar {
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.nav-links {
|
|
width: 100%;
|
|
justify-content: space-around;
|
|
}
|
|
|
|
.wiki-container {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.board {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.column {
|
|
flex: 0 0 auto;
|
|
max-height: none;
|
|
}
|
|
}
|
|
|
|
/* Agent Dropdown Styling */
|
|
#task-form select {
|
|
width: 100%;
|
|
padding: 0.75rem;
|
|
border: 1px solid var(--border);
|
|
border-radius: 8px;
|
|
font-size: 1rem;
|
|
background: var(--bg);
|
|
color: var(--fg);
|
|
cursor: pointer;
|
|
transition: border-color 0.2s ease, box-shadow 0.2s ease;
|
|
}
|
|
|
|
#task-form select:hover {
|
|
border-color: var(--primary);
|
|
}
|
|
|
|
#task-form select:focus {
|
|
outline: none;
|
|
border-color: var(--primary);
|
|
box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
|
|
}
|
|
|
|
#task-form select option {
|
|
padding: 0.5rem;
|
|
}
|