- Added comprehensive wiki backend with CRUD operations (GET, POST, PUT, DELETE) - Enhanced agents backend with workload tracking, task history, and capabilities - Implemented usage tracking with SQLite database and statistics endpoints - Added wiki frontend with markdown editor, page management, and search - Enhanced agents frontend with search, filtering, task assignment, and detailed modals - Enhanced usage frontend with charts (Chart.js), date filtering, and export functionality - Updated styles for all new components with responsive design - Added new API endpoints: /api/wiki/*, /api/usage/stats, /api/usage/agents, /api/usage/export - Enhanced /api/agents with workload and task history data - Maintained backwards compatibility with existing task management features The refactoring includes: - Wiki: Full CRUD operations with markdown support - Agents: Search, workload tracking, task assignment modals - Usage: Charts, statistics, date range filtering, CSV/JSON export - Styles: Responsive design with dark theme support
1000 lines
17 KiB
CSS
1000 lines
17 KiB
CSS
:root {
|
|
--bg: #1a1a1a;
|
|
--fg: #e0e0e0;
|
|
--border: #444;
|
|
--primary: #3498db;
|
|
--secondary: #2ecc71;
|
|
--danger: #e74c3c;
|
|
--warning: #f39c12;
|
|
--dark: #121212;
|
|
--light: #f0f0f0;
|
|
--card-bg: #2a2a2a;
|
|
--card-fg: #e0e0e0;
|
|
--modal-bg: rgba(0, 0, 0, 0.7);
|
|
}
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
background-color: var(--bg);
|
|
color: var(--fg);
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.container {
|
|
max-width: 1400px;
|
|
margin: 0 auto;
|
|
padding: 20px;
|
|
}
|
|
|
|
header {
|
|
background-color: var(--card-bg);
|
|
padding: 20px;
|
|
border-radius: 12px;
|
|
margin-bottom: 20px;
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
header h1 {
|
|
color: var(--primary);
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
nav {
|
|
display: flex;
|
|
gap: 15px;
|
|
}
|
|
|
|
.nav-link {
|
|
color: var(--fg);
|
|
text-decoration: none;
|
|
padding: 8px 16px;
|
|
border-radius: 6px;
|
|
transition: background-color 0.3s ease;
|
|
}
|
|
|
|
.nav-link:hover {
|
|
background-color: var(--border);
|
|
}
|
|
|
|
.nav-link.active {
|
|
background-color: var(--primary);
|
|
color: white;
|
|
}
|
|
|
|
/* Buttons */
|
|
.btn-primary {
|
|
background-color: var(--primary);
|
|
color: white;
|
|
border: none;
|
|
padding: 8px 16px;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
font-size: 0.9rem;
|
|
transition: background-color 0.3s ease;
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
background-color: #2980b9;
|
|
}
|
|
|
|
.btn-secondary {
|
|
background-color: var(--border);
|
|
color: var(--fg);
|
|
border: none;
|
|
padding: 8px 16px;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
font-size: 0.9rem;
|
|
transition: background-color 0.3s ease;
|
|
}
|
|
|
|
.btn-secondary:hover {
|
|
background-color: #555;
|
|
}
|
|
|
|
.btn-danger {
|
|
background-color: var(--danger);
|
|
color: white;
|
|
border: none;
|
|
padding: 8px 16px;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
font-size: 0.9rem;
|
|
transition: background-color 0.3s ease;
|
|
}
|
|
|
|
.btn-danger:hover {
|
|
background-color: #c0392b;
|
|
}
|
|
|
|
/* ============ TASKS PAGE ============ */
|
|
.composer {
|
|
background-color: var(--card-bg);
|
|
padding: 20px;
|
|
border-radius: 12px;
|
|
margin-bottom: 20px;
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.composer h2 {
|
|
color: var(--primary);
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
#task-form {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 15px;
|
|
}
|
|
|
|
#task-form input,
|
|
#task-form textarea,
|
|
#task-form select {
|
|
padding: 12px;
|
|
border: 1px solid var(--border);
|
|
border-radius: 8px;
|
|
background-color: var(--bg);
|
|
color: var(--fg);
|
|
font-size: 1rem;
|
|
}
|
|
|
|
#task-form textarea {
|
|
grid-column: span 2;
|
|
resize: vertical;
|
|
min-height: 100px;
|
|
}
|
|
|
|
#task-form button {
|
|
grid-column: span 2;
|
|
padding: 12px 24px;
|
|
background-color: var(--primary);
|
|
color: white;
|
|
border: none;
|
|
border-radius: 8px;
|
|
font-size: 1rem;
|
|
cursor: pointer;
|
|
transition: background-color 0.3s ease;
|
|
}
|
|
|
|
#task-form button:hover {
|
|
background-color: #2980b9;
|
|
}
|
|
|
|
#board {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
|
|
gap: 20px;
|
|
}
|
|
|
|
.column {
|
|
background-color: var(--card-bg);
|
|
border-radius: 12px;
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.column-header {
|
|
padding: 15px;
|
|
background-color: var(--dark);
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.column-header h3 {
|
|
color: var(--fg);
|
|
}
|
|
|
|
.column-count {
|
|
background-color: var(--border);
|
|
color: var(--fg);
|
|
padding: 4px 8px;
|
|
border-radius: 4px;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.cards {
|
|
padding: 15px;
|
|
min-height: 200px;
|
|
}
|
|
|
|
.card {
|
|
background-color: var(--bg);
|
|
border: 1px solid var(--border);
|
|
border-radius: 8px;
|
|
padding: 15px;
|
|
margin-bottom: 15px;
|
|
transition: transform 0.2s ease, box-shadow 0.2s ease;
|
|
}
|
|
|
|
.card:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.card-head {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.card-title {
|
|
color: var(--card-fg);
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
.badge {
|
|
padding: 4px 8px;
|
|
border-radius: 4px;
|
|
font-size: 0.8rem;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.badge.priority-Low {
|
|
background-color: var(--secondary);
|
|
color: white;
|
|
}
|
|
|
|
.badge.priority-Medium {
|
|
background-color: var(--warning);
|
|
color: white;
|
|
}
|
|
|
|
.badge.priority-High {
|
|
background-color: var(--danger);
|
|
color: white;
|
|
}
|
|
|
|
.badge.priority-Critical {
|
|
background-color: #9c27b0;
|
|
color: white;
|
|
}
|
|
|
|
.card-desc {
|
|
color: var(--fg);
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.meta {
|
|
font-size: 0.9rem;
|
|
color: var(--border);
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.meta.assignee {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.tag {
|
|
display: inline-block;
|
|
background-color: var(--border);
|
|
color: var(--fg);
|
|
padding: 2px 6px;
|
|
border-radius: 4px;
|
|
margin-right: 5px;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.card-check {
|
|
margin-right: 10px;
|
|
}
|
|
|
|
/* ============ WIKI PAGE ============ */
|
|
#page-wiki {
|
|
background-color: var(--card-bg);
|
|
padding: 20px;
|
|
border-radius: 12px;
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.wiki-container {
|
|
display: grid;
|
|
grid-template-columns: 280px 1fr;
|
|
gap: 20px;
|
|
min-height: 600px;
|
|
}
|
|
|
|
.wiki-sidebar {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 15px;
|
|
}
|
|
|
|
.wiki-actions {
|
|
display: flex;
|
|
gap: 10px;
|
|
}
|
|
|
|
.wiki-search input {
|
|
width: 100%;
|
|
padding: 10px;
|
|
border: 1px solid var(--border);
|
|
border-radius: 6px;
|
|
background-color: var(--bg);
|
|
color: var(--fg);
|
|
}
|
|
|
|
.wiki-list {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
max-height: 500px;
|
|
}
|
|
|
|
.wiki-item {
|
|
background-color: var(--bg);
|
|
border: 1px solid var(--border);
|
|
border-radius: 8px;
|
|
padding: 12px;
|
|
margin-bottom: 10px;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.wiki-item:hover {
|
|
background-color: var(--dark);
|
|
border-color: var(--primary);
|
|
}
|
|
|
|
.wiki-item.active {
|
|
background-color: var(--primary);
|
|
border-color: var(--primary);
|
|
}
|
|
|
|
.wiki-item.active .wiki-title,
|
|
.wiki-item.active .wiki-date {
|
|
color: white;
|
|
}
|
|
|
|
.wiki-title {
|
|
color: var(--card-fg);
|
|
margin-bottom: 5px;
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.wiki-date {
|
|
color: var(--border);
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.wiki-main {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 15px;
|
|
}
|
|
|
|
.wiki-toolbar {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding-bottom: 15px;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.wiki-page-title {
|
|
font-size: 1.3rem;
|
|
font-weight: bold;
|
|
color: var(--primary);
|
|
}
|
|
|
|
.wiki-page-actions {
|
|
display: flex;
|
|
gap: 10px;
|
|
}
|
|
|
|
.wiki-content {
|
|
background-color: var(--bg);
|
|
border: 1px solid var(--border);
|
|
border-radius: 8px;
|
|
padding: 20px;
|
|
overflow-y: auto;
|
|
flex: 1;
|
|
}
|
|
|
|
.wiki-content h1, .wiki-content h2, .wiki-content h3 {
|
|
color: var(--primary);
|
|
margin-top: 20px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.wiki-content h1:first-child {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.wiki-content p {
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.wiki-content ul, .wiki-content ol {
|
|
margin-left: 20px;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.wiki-content code {
|
|
background-color: var(--dark);
|
|
padding: 2px 6px;
|
|
border-radius: 4px;
|
|
font-family: 'Consolas', monospace;
|
|
}
|
|
|
|
.wiki-content pre {
|
|
background-color: var(--dark);
|
|
padding: 15px;
|
|
border-radius: 8px;
|
|
overflow-x: auto;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.wiki-content pre code {
|
|
padding: 0;
|
|
}
|
|
|
|
.wiki-content blockquote {
|
|
border-left: 3px solid var(--primary);
|
|
padding-left: 15px;
|
|
margin-left: 0;
|
|
color: #aaa;
|
|
}
|
|
|
|
.wiki-placeholder {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 100%;
|
|
min-height: 300px;
|
|
color: var(--border);
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
.wiki-editor {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 15px;
|
|
flex: 1;
|
|
}
|
|
|
|
.wiki-editor input {
|
|
padding: 12px;
|
|
border: 1px solid var(--border);
|
|
border-radius: 8px;
|
|
background-color: var(--bg);
|
|
color: var(--fg);
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
.wiki-editor textarea {
|
|
flex: 1;
|
|
min-height: 400px;
|
|
padding: 15px;
|
|
border: 1px solid var(--border);
|
|
border-radius: 8px;
|
|
background-color: var(--bg);
|
|
color: var(--fg);
|
|
font-family: 'Consolas', monospace;
|
|
font-size: 0.95rem;
|
|
resize: vertical;
|
|
}
|
|
|
|
.editor-actions {
|
|
display: flex;
|
|
gap: 10px;
|
|
}
|
|
|
|
/* ============ AGENTS PAGE ============ */
|
|
#page-agents {
|
|
background-color: var(--card-bg);
|
|
padding: 20px;
|
|
border-radius: 12px;
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.agents-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.agents-header h2 {
|
|
color: var(--primary);
|
|
}
|
|
|
|
.agents-controls {
|
|
display: flex;
|
|
gap: 15px;
|
|
}
|
|
|
|
.agents-controls input,
|
|
.agents-controls select {
|
|
padding: 10px 15px;
|
|
border: 1px solid var(--border);
|
|
border-radius: 6px;
|
|
background-color: var(--bg);
|
|
color: var(--fg);
|
|
}
|
|
|
|
.agents-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
|
|
gap: 20px;
|
|
}
|
|
|
|
.agent-card {
|
|
background-color: var(--bg);
|
|
border: 1px solid var(--border);
|
|
border-radius: 12px;
|
|
padding: 15px;
|
|
transition: transform 0.2s ease, box-shadow 0.2s ease;
|
|
}
|
|
|
|
.agent-card:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.agent-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.agent-name {
|
|
color: var(--card-fg);
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
.agent-status {
|
|
padding: 4px 10px;
|
|
border-radius: 20px;
|
|
font-size: 0.8rem;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.agent-status.status-active {
|
|
background-color: var(--secondary);
|
|
color: white;
|
|
}
|
|
|
|
.agent-status.status-busy {
|
|
background-color: var(--warning);
|
|
color: white;
|
|
}
|
|
|
|
.agent-status.status-idle {
|
|
background-color: var(--border);
|
|
color: var(--fg);
|
|
}
|
|
|
|
.agent-workload {
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.workload-badge {
|
|
background-color: var(--primary);
|
|
color: white;
|
|
padding: 4px 8px;
|
|
border-radius: 4px;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.agent-section {
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.agent-section h4 {
|
|
color: var(--primary);
|
|
margin-bottom: 8px;
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.agent-task {
|
|
color: var(--fg);
|
|
}
|
|
|
|
.agent-tools,
|
|
.agent-files {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 5px;
|
|
}
|
|
|
|
.tool-tag,
|
|
.file-tag {
|
|
background-color: var(--border);
|
|
color: var(--fg);
|
|
padding: 2px 8px;
|
|
border-radius: 4px;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.capability-tag {
|
|
background-color: var(--secondary);
|
|
color: white;
|
|
padding: 2px 8px;
|
|
border-radius: 4px;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.more-tag {
|
|
background-color: var(--dark);
|
|
color: var(--fg);
|
|
padding: 2px 8px;
|
|
border-radius: 4px;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.no-data {
|
|
color: var(--border);
|
|
font-style: italic;
|
|
}
|
|
|
|
.agent-actions {
|
|
display: flex;
|
|
gap: 10px;
|
|
padding-top: 15px;
|
|
border-top: 1px solid var(--border);
|
|
}
|
|
|
|
.agent-actions button {
|
|
flex: 1;
|
|
}
|
|
|
|
/* ============ MODALS ============ */
|
|
.modal {
|
|
display: none;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: var(--modal-bg);
|
|
z-index: 1000;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.modal.active {
|
|
display: flex;
|
|
}
|
|
|
|
.modal-content {
|
|
background-color: var(--card-bg);
|
|
border-radius: 12px;
|
|
max-width: 600px;
|
|
width: 90%;
|
|
max-height: 80vh;
|
|
overflow-y: auto;
|
|
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.modal-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 20px;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.modal-header h3 {
|
|
color: var(--primary);
|
|
}
|
|
|
|
.modal-close {
|
|
background: none;
|
|
border: none;
|
|
color: var(--fg);
|
|
font-size: 1.5rem;
|
|
cursor: pointer;
|
|
padding: 0 5px;
|
|
}
|
|
|
|
.modal-close:hover {
|
|
color: var(--danger);
|
|
}
|
|
|
|
.modal-body {
|
|
padding: 20px;
|
|
}
|
|
|
|
.detail-section {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.detail-section h4 {
|
|
color: var(--primary);
|
|
margin-bottom: 10px;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.task-list {
|
|
list-style: none;
|
|
padding: 0;
|
|
}
|
|
|
|
.task-list li {
|
|
padding: 8px 12px;
|
|
background-color: var(--bg);
|
|
border-radius: 6px;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.tag-list {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
}
|
|
|
|
#assign-task-select {
|
|
width: 100%;
|
|
padding: 12px;
|
|
border: 1px solid var(--border);
|
|
border-radius: 8px;
|
|
background-color: var(--bg);
|
|
color: var(--fg);
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
#confirm-assign-btn {
|
|
width: 100%;
|
|
}
|
|
|
|
/* ============ USAGE PAGE ============ */
|
|
#page-usage {
|
|
background-color: var(--card-bg);
|
|
padding: 20px;
|
|
border-radius: 12px;
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.usage-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
margin-bottom: 20px;
|
|
flex-wrap: wrap;
|
|
gap: 15px;
|
|
}
|
|
|
|
.usage-header h2 {
|
|
color: var(--primary);
|
|
}
|
|
|
|
.usage-controls {
|
|
display: flex;
|
|
gap: 20px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.date-range {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.date-range label {
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.date-range input {
|
|
padding: 8px 12px;
|
|
border: 1px solid var(--border);
|
|
border-radius: 6px;
|
|
background-color: var(--bg);
|
|
color: var(--fg);
|
|
}
|
|
|
|
.export-actions {
|
|
display: flex;
|
|
gap: 10px;
|
|
}
|
|
|
|
.usage-stats {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
gap: 20px;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.stat-card {
|
|
background-color: var(--bg);
|
|
border: 1px solid var(--border);
|
|
border-radius: 12px;
|
|
padding: 20px;
|
|
text-align: center;
|
|
}
|
|
|
|
.stat-card h4 {
|
|
color: var(--border);
|
|
font-size: 0.9rem;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.stat-card .stat-value {
|
|
color: var(--primary);
|
|
font-size: 2rem;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.usage-charts {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
|
|
gap: 20px;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.chart-container {
|
|
background-color: var(--bg);
|
|
border: 1px solid var(--border);
|
|
border-radius: 12px;
|
|
padding: 20px;
|
|
}
|
|
|
|
.chart-container h4 {
|
|
color: var(--fg);
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.usage-details h3 {
|
|
color: var(--primary);
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.usage-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
|
gap: 20px;
|
|
}
|
|
|
|
.provider-card {
|
|
background-color: var(--bg);
|
|
border: 1px solid var(--border);
|
|
border-radius: 12px;
|
|
padding: 20px;
|
|
}
|
|
|
|
.provider-card h4 {
|
|
color: var(--card-fg);
|
|
margin-bottom: 15px;
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
.provider-stats {
|
|
display: flex;
|
|
gap: 20px;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.provider-stat {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.provider-stat .stat-label {
|
|
color: var(--border);
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.provider-stat .stat-value {
|
|
color: var(--fg);
|
|
font-size: 1.1rem;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.model-list h5 {
|
|
color: var(--primary);
|
|
margin-bottom: 10px;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.model-item {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
background-color: var(--dark);
|
|
padding: 10px;
|
|
border-radius: 6px;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.model-name {
|
|
color: var(--primary);
|
|
font-weight: bold;
|
|
}
|
|
|
|
.model-type {
|
|
color: var(--fg);
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
/* ============ RESPONSIVE ============ */
|
|
@media (max-width: 900px) {
|
|
.wiki-container {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.wiki-sidebar {
|
|
max-height: 200px;
|
|
}
|
|
|
|
.wiki-list {
|
|
max-height: 150px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
#task-form {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
#task-form textarea {
|
|
grid-column: span 1;
|
|
}
|
|
|
|
#task-form button {
|
|
grid-column: span 1;
|
|
}
|
|
|
|
.usage-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.agents-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.agents-header {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.agents-controls {
|
|
width: 100%;
|
|
}
|
|
|
|
.agents-controls input {
|
|
flex: 1;
|
|
}
|
|
|
|
.usage-header {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.usage-controls {
|
|
width: 100%;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.date-range {
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.usage-charts {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
/* ============ SCROLLBAR ============ */
|
|
::-webkit-scrollbar {
|
|
width: 8px;
|
|
height: 8px;
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
background: var(--dark);
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background: var(--border);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: #555;
|
|
}
|