mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-09 02:24:11 +08:00
- Remove META/CONTEXT/FLOW_CONTROL collapsible sections from task list - Add compact task item with action/scope/mods/steps badges - Create dedicated renderLiteTaskDrawerContent for plan.json parsing - Add Overview tab with description, scope, acceptance, dependencies - Add Implementation tab with steps and modification points - Add proper file list extraction from modification_points - Add CSS styles for lite task badges and drawer components 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
3788 lines
67 KiB
CSS
3788 lines
67 KiB
CSS
/* ===================================
|
|
Dashboard - Complementary Styles
|
|
================================== */
|
|
|
|
/* This file contains only essential CSS that cannot be achieved
|
|
with Tailwind utilities. All layout, colors, and basic styling
|
|
are handled by Tailwind classes in dashboard.html.
|
|
|
|
CSS variables are defined inline in dashboard.html <style> block. */
|
|
|
|
/* Scrollbar styling (cannot be done in Tailwind) */
|
|
::-webkit-scrollbar {
|
|
width: 6px;
|
|
height: 6px;
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
background: transparent;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background: hsl(var(--border));
|
|
border-radius: 3px;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: hsl(var(--muted-foreground));
|
|
}
|
|
|
|
/* Sidebar collapse state (JavaScript-toggled class) */
|
|
.sidebar.collapsed {
|
|
width: 60px;
|
|
}
|
|
|
|
.sidebar.collapsed .nav-text,
|
|
.sidebar.collapsed .nav-section-title,
|
|
.sidebar.collapsed .badge,
|
|
.sidebar.collapsed .toggle-text {
|
|
display: none;
|
|
}
|
|
|
|
.sidebar.collapsed .nav-section-header {
|
|
justify-content: center;
|
|
padding: 12px 0;
|
|
}
|
|
|
|
.sidebar.collapsed .nav-item {
|
|
justify-content: center;
|
|
padding: 10px 0;
|
|
}
|
|
|
|
.sidebar.collapsed .toggle-icon {
|
|
transform: rotate(180deg);
|
|
}
|
|
|
|
/* Path menu open state (JavaScript-toggled class) */
|
|
.path-menu.open {
|
|
display: block;
|
|
}
|
|
|
|
/* Mobile sidebar (responsive behavior beyond Tailwind) */
|
|
@media (max-width: 768px) {
|
|
.sidebar {
|
|
position: fixed;
|
|
left: -260px;
|
|
top: 56px;
|
|
height: calc(100vh - 56px);
|
|
z-index: 200;
|
|
box-shadow: 0 8px 24px rgb(0 0 0 / 0.15);
|
|
}
|
|
|
|
.sidebar.open {
|
|
left: 0;
|
|
}
|
|
|
|
.sidebar-overlay {
|
|
display: none;
|
|
}
|
|
|
|
.sidebar-overlay.open {
|
|
display: block;
|
|
}
|
|
|
|
.menu-toggle-btn {
|
|
display: block !important;
|
|
}
|
|
}
|
|
|
|
/* Task detail drawer (complex transform animation) */
|
|
.task-detail-drawer {
|
|
transform: translateX(100%);
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.task-detail-drawer.open {
|
|
transform: translateX(0);
|
|
}
|
|
|
|
.drawer-overlay.active {
|
|
display: block;
|
|
}
|
|
|
|
/* ===================================
|
|
Session Cards (used by dashboard.js)
|
|
=================================== */
|
|
|
|
.sessions-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
|
|
gap: 1rem;
|
|
}
|
|
|
|
.session-card {
|
|
background: hsl(var(--card));
|
|
border: 1px solid hsl(var(--border));
|
|
border-radius: 0.5rem;
|
|
padding: 1rem;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.session-card:hover {
|
|
box-shadow: 0 4px 12px rgb(0 0 0 / 0.1);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.session-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
.session-title {
|
|
font-weight: 600;
|
|
font-size: 0.9rem;
|
|
color: hsl(var(--foreground));
|
|
word-break: break-word;
|
|
}
|
|
|
|
.session-badges {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.session-status {
|
|
font-size: 0.65rem;
|
|
font-weight: 600;
|
|
padding: 0.2rem 0.5rem;
|
|
border-radius: 9999px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.session-status.active {
|
|
background: hsl(var(--success-light));
|
|
color: hsl(var(--success));
|
|
}
|
|
|
|
.session-status.archived {
|
|
background: hsl(var(--muted));
|
|
color: hsl(var(--muted-foreground));
|
|
}
|
|
|
|
.session-type-badge {
|
|
font-size: 0.65rem;
|
|
font-weight: 500;
|
|
padding: 0.2rem 0.5rem;
|
|
border-radius: 9999px;
|
|
background: hsl(var(--accent));
|
|
color: hsl(var(--accent-foreground));
|
|
}
|
|
|
|
.session-type-badge.review {
|
|
background: hsl(var(--warning-light));
|
|
color: hsl(var(--warning));
|
|
}
|
|
|
|
.session-type-badge.test {
|
|
background: hsl(220 80% 90%);
|
|
color: hsl(220 80% 40%);
|
|
}
|
|
|
|
.session-body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.session-meta {
|
|
display: flex;
|
|
gap: 1rem;
|
|
font-size: 0.8rem;
|
|
color: hsl(var(--muted-foreground));
|
|
}
|
|
|
|
.session-meta-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.25rem;
|
|
}
|
|
|
|
.progress-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.25rem;
|
|
}
|
|
|
|
.progress-label {
|
|
font-size: 0.75rem;
|
|
color: hsl(var(--muted-foreground));
|
|
}
|
|
|
|
.progress-bar-wrapper {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.progress-bar {
|
|
flex: 1;
|
|
height: 6px;
|
|
background: hsl(var(--muted));
|
|
border-radius: 3px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.progress-fill {
|
|
height: 100%;
|
|
background: linear-gradient(90deg, hsl(var(--primary)), hsl(var(--success)));
|
|
border-radius: 3px;
|
|
transition: width 0.3s ease;
|
|
}
|
|
|
|
.progress-text {
|
|
font-size: 0.75rem;
|
|
color: hsl(var(--muted-foreground));
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* Empty state */
|
|
.empty-state {
|
|
text-align: center;
|
|
padding: 3rem;
|
|
color: hsl(var(--muted-foreground));
|
|
}
|
|
|
|
.empty-state-icon {
|
|
font-size: 3rem;
|
|
margin-bottom: 1rem;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
/* Session detail page */
|
|
.session-detail-header {
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.session-detail-title {
|
|
font-size: 1.5rem;
|
|
font-weight: 600;
|
|
color: hsl(var(--foreground));
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.session-detail-meta {
|
|
display: flex;
|
|
gap: 1rem;
|
|
flex-wrap: wrap;
|
|
font-size: 0.875rem;
|
|
color: hsl(var(--muted-foreground));
|
|
}
|
|
|
|
.task-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.task-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
padding: 0.75rem 1rem;
|
|
background: hsl(var(--card));
|
|
border: 1px solid hsl(var(--border));
|
|
border-radius: 0.5rem;
|
|
cursor: pointer;
|
|
transition: all 0.15s ease;
|
|
}
|
|
|
|
.task-item:hover {
|
|
background: hsl(var(--hover));
|
|
}
|
|
|
|
.task-item.completed {
|
|
border-left: 3px solid hsl(var(--success));
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.task-item.in_progress {
|
|
border-left: 3px solid hsl(var(--warning));
|
|
}
|
|
|
|
.task-item.pending {
|
|
border-left: 3px solid hsl(var(--muted-foreground));
|
|
}
|
|
|
|
.task-checkbox {
|
|
width: 1.25rem;
|
|
height: 1.25rem;
|
|
border-radius: 50%;
|
|
border: 2px solid hsl(var(--border));
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 0.7rem;
|
|
font-weight: bold;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.task-item.completed .task-checkbox {
|
|
background: hsl(var(--success));
|
|
border-color: hsl(var(--success));
|
|
color: white;
|
|
}
|
|
|
|
.task-item.completed .task-checkbox::after {
|
|
content: '✓';
|
|
}
|
|
|
|
.task-item.in_progress .task-checkbox {
|
|
border-color: hsl(var(--warning));
|
|
color: hsl(var(--warning));
|
|
}
|
|
|
|
.task-item.in_progress .task-checkbox::after {
|
|
content: '⟳';
|
|
}
|
|
|
|
.task-title {
|
|
flex: 1;
|
|
font-size: 0.875rem;
|
|
color: hsl(var(--foreground));
|
|
}
|
|
|
|
.task-id {
|
|
font-size: 0.75rem;
|
|
font-family: monospace;
|
|
color: hsl(var(--muted-foreground));
|
|
}
|
|
|
|
/* Back button */
|
|
.back-button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
padding: 0.5rem 1rem;
|
|
background: hsl(var(--muted));
|
|
border: none;
|
|
border-radius: 0.375rem;
|
|
font-size: 0.875rem;
|
|
color: hsl(var(--foreground));
|
|
cursor: pointer;
|
|
transition: background 0.15s;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.back-button:hover {
|
|
background: hsl(var(--hover));
|
|
}
|
|
|
|
/* ===================================
|
|
Path Dropdown Menu
|
|
=================================== */
|
|
|
|
.path-menu {
|
|
min-width: 320px;
|
|
max-height: 400px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.path-menu .path-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
padding: 0.75rem 1rem;
|
|
cursor: pointer;
|
|
transition: background 0.15s;
|
|
border-bottom: 1px solid hsl(var(--border));
|
|
}
|
|
|
|
.path-menu .path-item:hover {
|
|
background: hsl(var(--hover));
|
|
}
|
|
|
|
.path-menu .path-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.path-menu .path-icon {
|
|
font-size: 1.25rem;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.path-menu .path-text {
|
|
flex: 1;
|
|
font-size: 0.875rem;
|
|
color: hsl(var(--foreground));
|
|
word-break: break-all;
|
|
}
|
|
|
|
/* ===================================
|
|
Session Detail Page
|
|
=================================== */
|
|
|
|
.session-detail-page {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.detail-header {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.btn-back {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
padding: 0.5rem 1rem;
|
|
background: hsl(var(--muted));
|
|
border: none;
|
|
border-radius: 0.375rem;
|
|
font-size: 0.875rem;
|
|
color: hsl(var(--foreground));
|
|
cursor: pointer;
|
|
transition: background 0.15s;
|
|
width: fit-content;
|
|
}
|
|
|
|
.btn-back:hover {
|
|
background: hsl(var(--hover));
|
|
}
|
|
|
|
.back-icon {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.detail-title-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.detail-session-id {
|
|
font-size: 1.5rem;
|
|
font-weight: 600;
|
|
color: hsl(var(--foreground));
|
|
margin: 0;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.detail-badges {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.detail-info-bar {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 1.5rem;
|
|
padding: 1rem;
|
|
background: hsl(var(--card));
|
|
border: 1px solid hsl(var(--border));
|
|
border-radius: 0.5rem;
|
|
}
|
|
|
|
.info-item {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.info-label {
|
|
color: hsl(var(--muted-foreground));
|
|
}
|
|
|
|
.info-value {
|
|
color: hsl(var(--foreground));
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* Detail Tabs */
|
|
.detail-tabs {
|
|
display: flex;
|
|
gap: 0.25rem;
|
|
border-bottom: 1px solid hsl(var(--border));
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.detail-tab {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
padding: 0.75rem 1rem;
|
|
background: none;
|
|
border: none;
|
|
border-bottom: 2px solid transparent;
|
|
font-size: 0.875rem;
|
|
color: hsl(var(--muted-foreground));
|
|
cursor: pointer;
|
|
transition: all 0.15s;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.detail-tab:hover {
|
|
color: hsl(var(--foreground));
|
|
background: hsl(var(--hover));
|
|
}
|
|
|
|
.detail-tab.active {
|
|
color: hsl(var(--primary));
|
|
border-bottom-color: hsl(var(--primary));
|
|
}
|
|
|
|
.tab-icon {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.tab-count {
|
|
padding: 0.125rem 0.5rem;
|
|
background: hsl(var(--muted));
|
|
border-radius: 9999px;
|
|
font-size: 0.75rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.detail-tab.active .tab-count {
|
|
background: hsl(var(--primary));
|
|
color: hsl(var(--primary-foreground));
|
|
}
|
|
|
|
.detail-tab-content {
|
|
min-height: 300px;
|
|
}
|
|
|
|
/* Task Stats */
|
|
.task-stats {
|
|
display: flex;
|
|
gap: 1rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.task-stat {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
padding: 0.5rem 1rem;
|
|
background: hsl(var(--card));
|
|
border: 1px solid hsl(var(--border));
|
|
border-radius: 0.375rem;
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.task-stat.completed { border-left: 3px solid hsl(var(--success)); }
|
|
.task-stat.in-progress { border-left: 3px solid hsl(var(--warning)); }
|
|
.task-stat.pending { border-left: 3px solid hsl(var(--muted-foreground)); }
|
|
|
|
.stat-count {
|
|
font-weight: 600;
|
|
color: hsl(var(--foreground));
|
|
}
|
|
|
|
.stat-label {
|
|
color: hsl(var(--muted-foreground));
|
|
}
|
|
|
|
/* Tab Loading */
|
|
.tab-loading {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 3rem;
|
|
color: hsl(var(--muted-foreground));
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
/* Context/Summary Content */
|
|
.context-content,
|
|
.summary-content,
|
|
.impl-plan-content,
|
|
.review-content {
|
|
padding: 1rem;
|
|
background: hsl(var(--card));
|
|
border: 1px solid hsl(var(--border));
|
|
border-radius: 0.5rem;
|
|
}
|
|
|
|
.context-section,
|
|
.summary-section,
|
|
.plan-section {
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.context-section:last-child,
|
|
.summary-section:last-child,
|
|
.plan-section:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
/* Plan Tab Styles */
|
|
.plan-tab-content {
|
|
padding: 1rem 0;
|
|
}
|
|
|
|
.plan-section-title {
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
color: hsl(var(--foreground));
|
|
margin-bottom: 0.75rem;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.plan-summary-text,
|
|
.plan-approach-text {
|
|
color: hsl(var(--foreground));
|
|
line-height: 1.6;
|
|
padding: 0.75rem 1rem;
|
|
background: hsl(var(--muted));
|
|
border-radius: 0.5rem;
|
|
border-left: 3px solid hsl(var(--primary));
|
|
}
|
|
|
|
.plan-meta-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.plan-meta-grid .meta-item {
|
|
padding: 0.5rem 0.75rem;
|
|
background: hsl(var(--muted));
|
|
border-radius: 0.25rem;
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.plan-meta-grid .meta-label {
|
|
font-weight: 600;
|
|
color: hsl(var(--muted-foreground));
|
|
}
|
|
|
|
/* Lite Task Detail Page */
|
|
.lite-task-detail-page .detail-header {
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.lite-task-detail-page .task-stats-bar {
|
|
display: flex;
|
|
gap: 1rem;
|
|
margin-bottom: 1rem;
|
|
padding: 0.75rem 1rem;
|
|
background: hsl(var(--muted));
|
|
border-radius: 0.5rem;
|
|
}
|
|
|
|
.lite-task-detail-page .task-stat {
|
|
font-size: 0.875rem;
|
|
color: hsl(var(--muted-foreground));
|
|
}
|
|
|
|
.lite-task-detail-page .task-stat.completed {
|
|
color: hsl(var(--success));
|
|
}
|
|
|
|
.lite-task-detail-page .task-stat.in-progress {
|
|
color: hsl(var(--warning));
|
|
}
|
|
|
|
/* Context Tab Content */
|
|
.context-tab-content {
|
|
padding: 1rem 0;
|
|
}
|
|
|
|
.context-tab-content .context-section h4 {
|
|
font-size: 0.9rem;
|
|
font-weight: 600;
|
|
color: hsl(var(--foreground));
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.context-tab-content .context-section p {
|
|
color: hsl(var(--foreground));
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.section-title {
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
color: hsl(var(--foreground));
|
|
margin-bottom: 0.75rem;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.file-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.25rem;
|
|
}
|
|
|
|
.file-item {
|
|
padding: 0.5rem 0.75rem;
|
|
background: hsl(var(--muted));
|
|
border-radius: 0.25rem;
|
|
font-family: monospace;
|
|
font-size: 0.8rem;
|
|
color: hsl(var(--foreground));
|
|
}
|
|
|
|
/* Code blocks */
|
|
pre, code {
|
|
font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
|
|
background: hsl(var(--muted));
|
|
border-radius: 0.25rem;
|
|
}
|
|
|
|
pre {
|
|
padding: 1rem;
|
|
overflow-x: auto;
|
|
font-size: 0.8rem;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
code {
|
|
padding: 0.125rem 0.25rem;
|
|
font-size: 0.85em;
|
|
}
|
|
|
|
/* Review Findings */
|
|
.findings-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.finding-item {
|
|
padding: 1rem;
|
|
background: hsl(var(--card));
|
|
border: 1px solid hsl(var(--border));
|
|
border-radius: 0.5rem;
|
|
border-left: 3px solid hsl(var(--border));
|
|
}
|
|
|
|
.finding-item.critical { border-left-color: hsl(0 70% 50%); }
|
|
.finding-item.high { border-left-color: hsl(25 90% 55%); }
|
|
.finding-item.medium { border-left-color: hsl(45 90% 50%); }
|
|
.finding-item.low { border-left-color: hsl(var(--success)); }
|
|
|
|
.finding-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.finding-title {
|
|
font-weight: 600;
|
|
color: hsl(var(--foreground));
|
|
}
|
|
|
|
.severity-badge {
|
|
padding: 0.125rem 0.5rem;
|
|
border-radius: 9999px;
|
|
font-size: 0.7rem;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.severity-badge.critical { background: hsl(0 70% 90%); color: hsl(0 70% 40%); }
|
|
.severity-badge.high { background: hsl(25 90% 90%); color: hsl(25 90% 35%); }
|
|
.severity-badge.medium { background: hsl(45 90% 90%); color: hsl(45 90% 30%); }
|
|
.severity-badge.low { background: hsl(var(--success-light)); color: hsl(var(--success)); }
|
|
|
|
.finding-description {
|
|
font-size: 0.875rem;
|
|
color: hsl(var(--muted-foreground));
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.finding-location {
|
|
margin-top: 0.5rem;
|
|
font-size: 0.75rem;
|
|
font-family: monospace;
|
|
color: hsl(var(--muted-foreground));
|
|
}
|
|
|
|
/* ===================================
|
|
Tasks Tab Content
|
|
=================================== */
|
|
|
|
.tasks-tab-content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.task-stats-bar {
|
|
display: flex;
|
|
gap: 1rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.task-stat {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
padding: 0.5rem 1rem;
|
|
background: hsl(var(--card));
|
|
border: 1px solid hsl(var(--border));
|
|
border-radius: 0.5rem;
|
|
font-size: 0.875rem;
|
|
border-left: 3px solid hsl(var(--border));
|
|
}
|
|
|
|
.task-stat.completed {
|
|
border-left-color: hsl(var(--success));
|
|
color: hsl(var(--success));
|
|
}
|
|
|
|
.task-stat.in-progress {
|
|
border-left-color: hsl(var(--warning));
|
|
color: hsl(var(--warning));
|
|
}
|
|
|
|
.task-stat.pending {
|
|
border-left-color: hsl(var(--muted-foreground));
|
|
color: hsl(var(--muted-foreground));
|
|
}
|
|
|
|
.tasks-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
/* Task Item */
|
|
.detail-task-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 0.875rem 1rem;
|
|
background: hsl(var(--card));
|
|
border: 1px solid hsl(var(--border));
|
|
border-radius: 0.5rem;
|
|
border-left: 3px solid hsl(var(--muted-foreground));
|
|
transition: all 0.15s ease;
|
|
}
|
|
|
|
.detail-task-item:hover {
|
|
background: hsl(var(--hover));
|
|
box-shadow: 0 2px 8px rgb(0 0 0 / 0.08);
|
|
}
|
|
|
|
.detail-task-item.completed {
|
|
border-left-color: hsl(var(--success));
|
|
}
|
|
|
|
.detail-task-item.in_progress {
|
|
border-left-color: hsl(var(--warning));
|
|
}
|
|
|
|
.detail-task-item.pending {
|
|
border-left-color: hsl(var(--muted-foreground));
|
|
}
|
|
|
|
.task-item-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.task-status-icon {
|
|
font-size: 1rem;
|
|
width: 1.5rem;
|
|
text-align: center;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.detail-task-item.completed .task-status-icon {
|
|
color: hsl(var(--success));
|
|
}
|
|
|
|
.detail-task-item.in_progress .task-status-icon {
|
|
color: hsl(var(--warning));
|
|
}
|
|
|
|
.task-id-badge {
|
|
padding: 0.125rem 0.5rem;
|
|
background: hsl(var(--muted));
|
|
border-radius: 0.25rem;
|
|
font-size: 0.75rem;
|
|
font-family: monospace;
|
|
font-weight: 500;
|
|
color: hsl(var(--foreground));
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.task-item-header .task-title {
|
|
flex: 1;
|
|
font-size: 0.875rem;
|
|
color: hsl(var(--foreground));
|
|
}
|
|
|
|
.task-status-badge {
|
|
padding: 0.125rem 0.5rem;
|
|
border-radius: 9999px;
|
|
font-size: 0.7rem;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.task-status-badge.completed {
|
|
background: hsl(var(--success-light));
|
|
color: hsl(var(--success));
|
|
}
|
|
|
|
.task-status-badge.in_progress {
|
|
background: hsl(var(--warning-light));
|
|
color: hsl(var(--warning));
|
|
}
|
|
|
|
.task-status-badge.pending {
|
|
background: hsl(var(--muted));
|
|
color: hsl(var(--muted-foreground));
|
|
}
|
|
|
|
/* Full Task Item (expanded view) */
|
|
.detail-task-item-full {
|
|
display: flex;
|
|
flex-direction: column;
|
|
background: hsl(var(--card));
|
|
border: 1px solid hsl(var(--border));
|
|
border-radius: 0.5rem;
|
|
border-left: 3px solid hsl(var(--muted-foreground));
|
|
overflow: hidden;
|
|
}
|
|
|
|
.detail-task-item-full.completed {
|
|
border-left-color: hsl(var(--success));
|
|
}
|
|
|
|
.detail-task-item-full.in_progress {
|
|
border-left-color: hsl(var(--warning));
|
|
}
|
|
|
|
.task-item-header-full {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
padding: 1rem;
|
|
background: hsl(var(--card));
|
|
transition: background 0.15s;
|
|
}
|
|
|
|
.task-item-header-full:hover {
|
|
background: hsl(var(--hover));
|
|
}
|
|
|
|
/* Empty State */
|
|
.tab-empty-state {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 4rem 2rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.empty-icon {
|
|
font-size: 3rem;
|
|
margin-bottom: 1rem;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.empty-title {
|
|
font-size: 1.25rem;
|
|
font-weight: 600;
|
|
color: hsl(var(--foreground));
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.empty-text {
|
|
font-size: 0.875rem;
|
|
color: hsl(var(--muted-foreground));
|
|
}
|
|
|
|
/* Tab Error */
|
|
.tab-error {
|
|
padding: 2rem;
|
|
text-align: center;
|
|
color: hsl(var(--destructive));
|
|
background: hsl(var(--destructive) / 0.1);
|
|
border-radius: 0.5rem;
|
|
}
|
|
|
|
/* Collapsible Sections */
|
|
.collapsible-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
padding: 0.75rem 1rem;
|
|
background: hsl(var(--muted));
|
|
cursor: pointer;
|
|
transition: background 0.15s;
|
|
}
|
|
|
|
.collapsible-header:hover {
|
|
background: hsl(var(--hover));
|
|
}
|
|
|
|
.collapsible-icon {
|
|
transition: transform 0.2s;
|
|
}
|
|
|
|
.collapsible-header.open .collapsible-icon {
|
|
transform: rotate(90deg);
|
|
}
|
|
|
|
.collapsible-content {
|
|
padding: 1rem;
|
|
display: none;
|
|
}
|
|
|
|
.collapsible-content.open {
|
|
display: block;
|
|
}
|
|
|
|
/* ===================================
|
|
Task Drawer (Sidebar Panel)
|
|
=================================== */
|
|
|
|
.drawer-overlay {
|
|
display: none;
|
|
}
|
|
|
|
.drawer-overlay.active {
|
|
display: block;
|
|
}
|
|
|
|
.drawer-task-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
margin-bottom: 1rem;
|
|
padding-bottom: 1rem;
|
|
border-bottom: 1px solid hsl(var(--border));
|
|
}
|
|
|
|
.drawer-tabs {
|
|
display: flex;
|
|
gap: 0.25rem;
|
|
margin-bottom: 1rem;
|
|
border-bottom: 1px solid hsl(var(--border));
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.drawer-tab {
|
|
padding: 0.625rem 1rem;
|
|
background: none;
|
|
border: none;
|
|
border-bottom: 2px solid transparent;
|
|
font-size: 0.875rem;
|
|
color: hsl(var(--muted-foreground));
|
|
cursor: pointer;
|
|
transition: all 0.15s;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.drawer-tab:hover {
|
|
color: hsl(var(--foreground));
|
|
background: hsl(var(--hover));
|
|
}
|
|
|
|
.drawer-tab.active {
|
|
color: hsl(var(--primary));
|
|
border-bottom-color: hsl(var(--primary));
|
|
}
|
|
|
|
.drawer-tab-content {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.drawer-panel {
|
|
display: none;
|
|
}
|
|
|
|
.drawer-panel.active {
|
|
display: block;
|
|
}
|
|
|
|
.drawer-section {
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.drawer-section-title {
|
|
font-size: 0.875rem;
|
|
font-weight: 600;
|
|
color: hsl(var(--foreground));
|
|
margin: 0 0 0.75rem 0;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.empty-section {
|
|
padding: 1rem;
|
|
text-align: center;
|
|
color: hsl(var(--muted-foreground));
|
|
font-size: 0.875rem;
|
|
background: hsl(var(--muted));
|
|
border-radius: 0.375rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
/* Steps List */
|
|
.steps-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.step-item {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 0.75rem;
|
|
padding: 0.75rem;
|
|
background: hsl(var(--card));
|
|
border: 1px solid hsl(var(--border));
|
|
border-radius: 0.375rem;
|
|
}
|
|
|
|
.step-number {
|
|
width: 1.5rem;
|
|
height: 1.5rem;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: hsl(var(--primary));
|
|
color: hsl(var(--primary-foreground));
|
|
border-radius: 50%;
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.step-content {
|
|
flex: 1;
|
|
font-size: 0.875rem;
|
|
color: hsl(var(--foreground));
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.step-description {
|
|
font-size: 0.8rem;
|
|
color: hsl(var(--muted-foreground));
|
|
margin-top: 0.25rem;
|
|
}
|
|
|
|
/* Files List */
|
|
.files-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.375rem;
|
|
}
|
|
|
|
.file-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
padding: 0.5rem 0.75rem;
|
|
background: hsl(var(--muted));
|
|
border-radius: 0.25rem;
|
|
font-family: monospace;
|
|
font-size: 0.8rem;
|
|
color: hsl(var(--foreground));
|
|
}
|
|
|
|
.file-icon {
|
|
font-size: 0.875rem;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
/* Test Commands */
|
|
.test-commands {
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
.command-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
padding: 0.5rem 0.75rem;
|
|
background: hsl(220 13% 18%);
|
|
color: hsl(142 71% 60%);
|
|
border-radius: 0.25rem;
|
|
font-family: monospace;
|
|
font-size: 0.8rem;
|
|
margin-bottom: 0.375rem;
|
|
}
|
|
|
|
/* Flowchart Container */
|
|
.flowchart-container {
|
|
min-height: 300px;
|
|
background: hsl(var(--muted));
|
|
border-radius: 0.5rem;
|
|
padding: 1rem;
|
|
overflow: auto;
|
|
}
|
|
|
|
.flowchart-container svg {
|
|
max-width: 100%;
|
|
}
|
|
|
|
/* JSON View */
|
|
.json-view {
|
|
background: hsl(var(--muted));
|
|
padding: 1rem;
|
|
border-radius: 0.5rem;
|
|
overflow-x: auto;
|
|
font-size: 0.75rem;
|
|
line-height: 1.6;
|
|
color: hsl(var(--foreground));
|
|
max-height: 500px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
|
|
/* ===================================
|
|
Lite Task Detail Page Additions
|
|
=================================== */
|
|
|
|
/* Path Tags */
|
|
.path-tags {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.path-tag {
|
|
padding: 0.25rem 0.5rem;
|
|
background: hsl(var(--muted));
|
|
border-radius: 0.25rem;
|
|
font-family: monospace;
|
|
font-size: 0.8rem;
|
|
color: hsl(var(--foreground));
|
|
}
|
|
|
|
/* JSON Content */
|
|
.json-content {
|
|
background: hsl(var(--muted));
|
|
padding: 1rem;
|
|
border-radius: 0.5rem;
|
|
overflow-x: auto;
|
|
font-size: 0.75rem;
|
|
line-height: 1.6;
|
|
color: hsl(var(--foreground));
|
|
max-height: 500px;
|
|
overflow-y: auto;
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
}
|
|
|
|
/* Button View JSON */
|
|
.btn-view-json {
|
|
padding: 0.25rem 0.5rem;
|
|
background: hsl(var(--muted));
|
|
border: 1px solid hsl(var(--border));
|
|
border-radius: 0.25rem;
|
|
font-size: 0.7rem;
|
|
font-family: monospace;
|
|
color: hsl(var(--muted-foreground));
|
|
cursor: pointer;
|
|
transition: all 0.15s;
|
|
}
|
|
|
|
.btn-view-json:hover {
|
|
background: hsl(var(--hover));
|
|
color: hsl(var(--foreground));
|
|
}
|
|
|
|
/* Context Fields */
|
|
.context-fields {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.context-field {
|
|
padding: 0.75rem;
|
|
background: hsl(var(--muted));
|
|
border-radius: 0.375rem;
|
|
}
|
|
|
|
.context-field label {
|
|
display: block;
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
color: hsl(var(--muted-foreground));
|
|
margin-bottom: 0.5rem;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.context-field p {
|
|
margin: 0;
|
|
font-size: 0.875rem;
|
|
color: hsl(var(--foreground));
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.context-field ul {
|
|
margin: 0;
|
|
padding-left: 1.25rem;
|
|
font-size: 0.875rem;
|
|
color: hsl(var(--foreground));
|
|
}
|
|
|
|
.context-field ul li {
|
|
margin-bottom: 0.25rem;
|
|
}
|
|
|
|
/* Modification Points */
|
|
.mod-points {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.mod-point {
|
|
padding: 0.5rem;
|
|
background: hsl(var(--card));
|
|
border: 1px solid hsl(var(--border));
|
|
border-radius: 0.25rem;
|
|
}
|
|
|
|
.mod-target {
|
|
font-size: 0.75rem;
|
|
color: hsl(var(--muted-foreground));
|
|
margin-left: 0.5rem;
|
|
}
|
|
|
|
.mod-change {
|
|
margin: 0.5rem 0 0 0;
|
|
font-size: 0.8rem;
|
|
color: hsl(var(--foreground));
|
|
}
|
|
|
|
/* Implementation Steps */
|
|
.impl-steps {
|
|
margin: 0;
|
|
padding-left: 1.25rem;
|
|
font-size: 0.875rem;
|
|
color: hsl(var(--foreground));
|
|
}
|
|
|
|
.impl-steps li {
|
|
margin-bottom: 0.5rem;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
/* Implementation Steps List (Drawer) */
|
|
.impl-steps-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.impl-step-item {
|
|
background: hsl(var(--muted) / 0.3);
|
|
border: 1px solid hsl(var(--border));
|
|
border-radius: 0.5rem;
|
|
padding: 1rem;
|
|
transition: border-color 0.2s;
|
|
}
|
|
|
|
.impl-step-item:hover {
|
|
border-color: hsl(var(--primary) / 0.5);
|
|
}
|
|
|
|
.impl-step-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.impl-step-number {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-width: 1.75rem;
|
|
height: 1.75rem;
|
|
padding: 0 0.5rem;
|
|
background: hsl(var(--primary));
|
|
color: hsl(var(--primary-foreground));
|
|
border-radius: 0.375rem;
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.impl-step-title {
|
|
font-weight: 600;
|
|
font-size: 0.9rem;
|
|
color: hsl(var(--foreground));
|
|
flex: 1;
|
|
}
|
|
|
|
.impl-step-desc {
|
|
font-size: 0.85rem;
|
|
color: hsl(var(--muted-foreground));
|
|
line-height: 1.5;
|
|
margin-bottom: 0.75rem;
|
|
padding-left: 2.5rem;
|
|
}
|
|
|
|
.impl-step-columns {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 1rem;
|
|
margin-top: 0.75rem;
|
|
padding-top: 0.75rem;
|
|
border-top: 1px solid hsl(var(--border));
|
|
}
|
|
|
|
.impl-step-mods,
|
|
.impl-step-flow {
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.impl-step-mods strong,
|
|
.impl-step-flow strong {
|
|
display: block;
|
|
font-size: 0.7rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
color: hsl(var(--muted-foreground));
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.impl-step-mods ul,
|
|
.impl-step-flow ol {
|
|
margin: 0;
|
|
padding-left: 1.25rem;
|
|
color: hsl(var(--foreground));
|
|
}
|
|
|
|
.impl-step-mods li,
|
|
.impl-step-flow li {
|
|
margin-bottom: 0.375rem;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.impl-step-mods code {
|
|
font-size: 0.75rem;
|
|
padding: 0.125rem 0.375rem;
|
|
background: hsl(var(--muted));
|
|
border-radius: 0.25rem;
|
|
color: hsl(var(--primary));
|
|
}
|
|
|
|
.impl-step-deps {
|
|
margin-top: 0.75rem;
|
|
padding-top: 0.5rem;
|
|
border-top: 1px dashed hsl(var(--border));
|
|
font-size: 0.75rem;
|
|
color: hsl(var(--muted-foreground));
|
|
}
|
|
|
|
.dep-badge {
|
|
display: inline-block;
|
|
padding: 0.125rem 0.5rem;
|
|
background: hsl(var(--muted));
|
|
border-radius: 0.25rem;
|
|
font-size: 0.7rem;
|
|
margin-left: 0.25rem;
|
|
}
|
|
|
|
/* Field Groups */
|
|
.field-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.field-row {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.field-label {
|
|
font-weight: 500;
|
|
color: hsl(var(--muted-foreground));
|
|
min-width: 100px;
|
|
}
|
|
|
|
.field-value {
|
|
color: hsl(var(--foreground));
|
|
flex: 1;
|
|
}
|
|
|
|
.json-value-null {
|
|
color: hsl(var(--muted-foreground));
|
|
font-style: italic;
|
|
}
|
|
|
|
.json-value-boolean {
|
|
color: hsl(220 80% 60%);
|
|
}
|
|
|
|
.json-value-number {
|
|
color: hsl(142 71% 45%);
|
|
}
|
|
|
|
.json-value-string {
|
|
color: hsl(var(--foreground));
|
|
}
|
|
|
|
/* Array Items */
|
|
.array-value {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.375rem;
|
|
}
|
|
|
|
.array-item {
|
|
padding: 0.125rem 0.375rem;
|
|
background: hsl(var(--muted));
|
|
border-radius: 0.25rem;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.array-item.path-item {
|
|
font-family: monospace;
|
|
background: hsl(var(--accent));
|
|
}
|
|
|
|
/* Nested Array */
|
|
.nested-array {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
margin-top: 0.25rem;
|
|
}
|
|
|
|
.array-object {
|
|
padding: 0.5rem;
|
|
background: hsl(var(--card));
|
|
border: 1px solid hsl(var(--border));
|
|
border-radius: 0.25rem;
|
|
}
|
|
|
|
.array-object-header {
|
|
font-size: 0.7rem;
|
|
font-weight: 600;
|
|
color: hsl(var(--muted-foreground));
|
|
margin-bottom: 0.25rem;
|
|
}
|
|
|
|
/* Collapsible Sections */
|
|
.collapsible-section {
|
|
border-top: 1px solid hsl(var(--border));
|
|
}
|
|
|
|
.collapsible-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
padding: 0.75rem 1rem;
|
|
cursor: pointer;
|
|
transition: background 0.15s;
|
|
}
|
|
|
|
.collapsible-header:hover {
|
|
background: hsl(var(--hover));
|
|
}
|
|
|
|
.collapse-icon {
|
|
font-size: 0.75rem;
|
|
color: hsl(var(--muted-foreground));
|
|
transition: transform 0.2s;
|
|
}
|
|
|
|
.collapsible-header.expanded .collapse-icon {
|
|
transform: rotate(90deg);
|
|
}
|
|
|
|
.section-label {
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
color: hsl(var(--foreground));
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.section-preview {
|
|
flex: 1;
|
|
font-size: 0.75rem;
|
|
color: hsl(var(--muted-foreground));
|
|
text-align: right;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.collapsible-content {
|
|
padding: 1rem;
|
|
background: hsl(var(--muted));
|
|
}
|
|
|
|
.collapsible-content.collapsed {
|
|
display: none;
|
|
}
|
|
|
|
/* Summary Tab */
|
|
.summary-tab-content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.summary-item-collapsible {
|
|
border: 1px solid hsl(var(--border));
|
|
border-radius: 0.5rem;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.summary-collapsible-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
padding: 0.75rem 1rem;
|
|
background: hsl(var(--card));
|
|
cursor: pointer;
|
|
transition: background 0.15s;
|
|
}
|
|
|
|
.summary-collapsible-header:hover {
|
|
background: hsl(var(--hover));
|
|
}
|
|
|
|
.summary-name {
|
|
font-weight: 600;
|
|
color: hsl(var(--foreground));
|
|
}
|
|
|
|
.summary-preview {
|
|
flex: 1;
|
|
font-size: 0.75rem;
|
|
color: hsl(var(--muted-foreground));
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.summary-collapsible-content {
|
|
padding: 1rem;
|
|
background: hsl(var(--muted));
|
|
}
|
|
|
|
.summary-collapsible-content.collapsed {
|
|
display: none;
|
|
}
|
|
|
|
.summary-content-pre {
|
|
margin: 0;
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
font-size: 0.8rem;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
/* JSON Modal */
|
|
.json-modal-overlay {
|
|
position: fixed;
|
|
inset: 0;
|
|
background: rgba(0, 0, 0, 0.5);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 100;
|
|
opacity: 0;
|
|
transition: opacity 0.2s;
|
|
}
|
|
|
|
.json-modal-overlay.active {
|
|
opacity: 1;
|
|
}
|
|
|
|
.json-modal {
|
|
background: hsl(var(--card));
|
|
border-radius: 0.5rem;
|
|
width: 90%;
|
|
max-width: 700px;
|
|
max-height: 80vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
box-shadow: 0 8px 24px rgb(0 0 0 / 0.2);
|
|
}
|
|
|
|
.json-modal-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 1rem;
|
|
border-bottom: 1px solid hsl(var(--border));
|
|
}
|
|
|
|
.json-modal-title {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
font-weight: 600;
|
|
color: hsl(var(--foreground));
|
|
}
|
|
|
|
.json-modal-close {
|
|
width: 2rem;
|
|
height: 2rem;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: none;
|
|
border: none;
|
|
font-size: 1.5rem;
|
|
color: hsl(var(--muted-foreground));
|
|
cursor: pointer;
|
|
border-radius: 0.25rem;
|
|
}
|
|
|
|
.json-modal-close:hover {
|
|
background: hsl(var(--hover));
|
|
color: hsl(var(--foreground));
|
|
}
|
|
|
|
.json-modal-body {
|
|
flex: 1;
|
|
overflow: auto;
|
|
padding: 1rem;
|
|
}
|
|
|
|
.json-modal-content {
|
|
margin: 0;
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
font-size: 0.75rem;
|
|
line-height: 1.6;
|
|
color: hsl(var(--foreground));
|
|
}
|
|
|
|
.json-modal-footer {
|
|
padding: 1rem;
|
|
border-top: 1px solid hsl(var(--border));
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.btn-copy-json {
|
|
padding: 0.5rem 1rem;
|
|
background: hsl(var(--primary));
|
|
color: hsl(var(--primary-foreground));
|
|
border: none;
|
|
border-radius: 0.375rem;
|
|
font-size: 0.875rem;
|
|
cursor: pointer;
|
|
transition: opacity 0.15s;
|
|
}
|
|
|
|
.btn-copy-json:hover {
|
|
opacity: 0.9;
|
|
}
|
|
|
|
/* Flowchart Fallback */
|
|
.flowchart-fallback {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 200px;
|
|
color: hsl(var(--muted-foreground));
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
/* ===================================
|
|
Markdown Modal
|
|
=================================== */
|
|
.markdown-modal.hidden {
|
|
display: none;
|
|
}
|
|
|
|
.md-tab-btn {
|
|
color: hsl(var(--muted-foreground));
|
|
}
|
|
|
|
.md-tab-btn.active {
|
|
background: hsl(var(--background));
|
|
color: hsl(var(--foreground));
|
|
font-weight: 500;
|
|
}
|
|
|
|
.md-tab-btn:hover:not(.active) {
|
|
color: hsl(var(--foreground));
|
|
}
|
|
|
|
/* Markdown Preview Prose Styles */
|
|
.markdown-preview {
|
|
color: hsl(var(--foreground));
|
|
line-height: 1.7;
|
|
}
|
|
|
|
.markdown-preview h1,
|
|
.markdown-preview h2,
|
|
.markdown-preview h3,
|
|
.markdown-preview h4,
|
|
.markdown-preview h5,
|
|
.markdown-preview h6 {
|
|
color: hsl(var(--foreground));
|
|
font-weight: 600;
|
|
margin-top: 1.5em;
|
|
margin-bottom: 0.5em;
|
|
line-height: 1.3;
|
|
}
|
|
|
|
.markdown-preview h1 { font-size: 1.75rem; border-bottom: 1px solid hsl(var(--border)); padding-bottom: 0.3em; }
|
|
.markdown-preview h2 { font-size: 1.5rem; border-bottom: 1px solid hsl(var(--border)); padding-bottom: 0.3em; }
|
|
.markdown-preview h3 { font-size: 1.25rem; }
|
|
.markdown-preview h4 { font-size: 1.1rem; }
|
|
|
|
.markdown-preview p {
|
|
margin-bottom: 1em;
|
|
}
|
|
|
|
.markdown-preview ul,
|
|
.markdown-preview ol {
|
|
margin-bottom: 1em;
|
|
padding-left: 1.5em;
|
|
}
|
|
|
|
.markdown-preview li {
|
|
margin-bottom: 0.25em;
|
|
}
|
|
|
|
.markdown-preview code {
|
|
background: hsl(var(--muted));
|
|
padding: 0.125rem 0.375rem;
|
|
border-radius: 0.25rem;
|
|
font-size: 0.875em;
|
|
color: hsl(var(--primary));
|
|
}
|
|
|
|
.markdown-preview pre {
|
|
background: hsl(var(--muted));
|
|
padding: 1rem;
|
|
border-radius: 0.5rem;
|
|
overflow-x: auto;
|
|
margin-bottom: 1em;
|
|
}
|
|
|
|
.markdown-preview pre code {
|
|
background: none;
|
|
padding: 0;
|
|
color: hsl(var(--foreground));
|
|
}
|
|
|
|
.markdown-preview blockquote {
|
|
border-left: 3px solid hsl(var(--primary));
|
|
padding-left: 1rem;
|
|
margin-left: 0;
|
|
margin-bottom: 1em;
|
|
color: hsl(var(--muted-foreground));
|
|
font-style: italic;
|
|
}
|
|
|
|
.markdown-preview table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
margin-bottom: 1em;
|
|
}
|
|
|
|
.markdown-preview th,
|
|
.markdown-preview td {
|
|
border: 1px solid hsl(var(--border));
|
|
padding: 0.5rem 0.75rem;
|
|
text-align: left;
|
|
}
|
|
|
|
.markdown-preview th {
|
|
background: hsl(var(--muted));
|
|
font-weight: 600;
|
|
}
|
|
|
|
.markdown-preview a {
|
|
color: hsl(var(--primary));
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.markdown-preview hr {
|
|
border: none;
|
|
border-top: 1px solid hsl(var(--border));
|
|
margin: 1.5em 0;
|
|
}
|
|
|
|
/* View Details Button */
|
|
.btn-view-details {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.375rem;
|
|
padding: 0.375rem 0.75rem;
|
|
background: hsl(var(--primary));
|
|
color: hsl(var(--primary-foreground));
|
|
border: none;
|
|
border-radius: 0.375rem;
|
|
font-size: 0.8rem;
|
|
cursor: pointer;
|
|
transition: opacity 0.15s;
|
|
}
|
|
|
|
.btn-view-details:hover {
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.summary-item-card {
|
|
background: hsl(var(--muted) / 0.3);
|
|
border: 1px solid hsl(var(--border));
|
|
border-radius: 0.5rem;
|
|
padding: 1rem;
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
.summary-item-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.summary-item-name {
|
|
font-weight: 500;
|
|
color: hsl(var(--foreground));
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.summary-item-preview {
|
|
font-size: 0.8rem;
|
|
color: hsl(var(--muted-foreground));
|
|
margin-top: 0.5rem;
|
|
line-height: 1.5;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.impl-plan-card {
|
|
background: hsl(var(--muted) / 0.3);
|
|
border: 1px solid hsl(var(--border));
|
|
border-radius: 0.5rem;
|
|
padding: 1rem;
|
|
}
|
|
|
|
.impl-plan-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
.impl-plan-title {
|
|
font-weight: 600;
|
|
color: hsl(var(--foreground));
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.impl-plan-preview {
|
|
font-size: 0.8rem;
|
|
color: hsl(var(--muted-foreground));
|
|
line-height: 1.5;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 3;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* ===================================
|
|
Context Package UI
|
|
=================================== */
|
|
.context-package-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.ctx-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding-bottom: 0.75rem;
|
|
border-bottom: 1px solid hsl(var(--border));
|
|
}
|
|
|
|
.ctx-main-title {
|
|
font-size: 1.125rem;
|
|
font-weight: 600;
|
|
color: hsl(var(--foreground));
|
|
margin: 0;
|
|
}
|
|
|
|
.ctx-section {
|
|
background: hsl(var(--card));
|
|
border: 1px solid hsl(var(--border));
|
|
border-radius: 0.5rem;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.ctx-section-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
padding: 0.875rem 1rem;
|
|
background: hsl(var(--muted) / 0.3);
|
|
cursor: pointer;
|
|
user-select: none;
|
|
transition: background 0.15s;
|
|
}
|
|
|
|
.ctx-section-header:hover {
|
|
background: hsl(var(--muted) / 0.5);
|
|
}
|
|
|
|
.ctx-collapse-icon {
|
|
font-size: 0.75rem;
|
|
color: hsl(var(--muted-foreground));
|
|
width: 1rem;
|
|
}
|
|
|
|
.ctx-section-title {
|
|
font-weight: 600;
|
|
font-size: 0.9rem;
|
|
color: hsl(var(--foreground));
|
|
flex: 1;
|
|
}
|
|
|
|
.ctx-section-content {
|
|
padding: 1rem;
|
|
}
|
|
|
|
.ctx-section-content.collapsed {
|
|
display: none;
|
|
}
|
|
.ctx-badge {
|
|
padding: 0.25rem 0.625rem;
|
|
border-radius: 9999px;
|
|
font-size: 0.7rem;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.ctx-badge-count {
|
|
padding: 0.125rem 0.5rem;
|
|
background: hsl(var(--muted));
|
|
border-radius: 9999px;
|
|
font-size: 0.7rem;
|
|
color: hsl(var(--muted-foreground));
|
|
}
|
|
|
|
.ctx-description {
|
|
font-size: 0.875rem;
|
|
color: hsl(var(--foreground));
|
|
line-height: 1.6;
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
.ctx-keywords {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.375rem;
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
.ctx-keyword-tag {
|
|
padding: 0.25rem 0.5rem;
|
|
background: hsl(var(--primary) / 0.1);
|
|
color: hsl(var(--primary));
|
|
border-radius: 0.25rem;
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
.ctx-meta-row {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
font-size: 0.8rem;
|
|
margin-bottom: 0.375rem;
|
|
}
|
|
|
|
.ctx-meta-label {
|
|
color: hsl(var(--muted-foreground));
|
|
min-width: 70px;
|
|
}
|
|
|
|
.ctx-meta-value {
|
|
color: hsl(var(--foreground));
|
|
}
|
|
.ctx-stack-grid {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.ctx-stack-group {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.ctx-stack-label {
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
color: hsl(var(--muted-foreground));
|
|
min-width: 90px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.ctx-stack-items {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.375rem;
|
|
}
|
|
|
|
.ctx-stack-badge {
|
|
padding: 0.25rem 0.5rem;
|
|
background: hsl(var(--muted));
|
|
border-radius: 0.25rem;
|
|
font-size: 0.75rem;
|
|
color: hsl(var(--foreground));
|
|
}
|
|
|
|
.ctx-subsection {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.ctx-subsection:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.ctx-subsection-title {
|
|
font-size: 0.8rem;
|
|
font-weight: 600;
|
|
color: hsl(var(--muted-foreground));
|
|
margin: 0 0 0.5rem 0;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
}
|
|
|
|
.ctx-pattern-list {
|
|
margin: 0;
|
|
padding-left: 1.25rem;
|
|
font-size: 0.85rem;
|
|
color: hsl(var(--foreground));
|
|
}
|
|
|
|
.ctx-pattern-list li {
|
|
margin-bottom: 0.375rem;
|
|
line-height: 1.4;
|
|
}
|
|
.ctx-conventions-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.ctx-convention-item {
|
|
background: hsl(var(--muted) / 0.3);
|
|
border-radius: 0.375rem;
|
|
padding: 0.75rem;
|
|
}
|
|
|
|
.ctx-convention-key {
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
color: hsl(var(--primary));
|
|
text-transform: capitalize;
|
|
display: block;
|
|
margin-bottom: 0.375rem;
|
|
}
|
|
|
|
.ctx-convention-value {
|
|
font-size: 0.7rem;
|
|
margin: 0;
|
|
overflow-x: auto;
|
|
color: hsl(var(--foreground));
|
|
}
|
|
|
|
.ctx-integration-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.ctx-integration-item {
|
|
display: flex;
|
|
gap: 0.75rem;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.ctx-integration-key {
|
|
font-weight: 500;
|
|
color: hsl(var(--muted-foreground));
|
|
min-width: 140px;
|
|
text-transform: capitalize;
|
|
}
|
|
|
|
.ctx-integration-value {
|
|
color: hsl(var(--foreground));
|
|
flex: 1;
|
|
}
|
|
.ctx-assets-tabs {
|
|
display: flex;
|
|
gap: 0.25rem;
|
|
border-bottom: 1px solid hsl(var(--border));
|
|
margin-bottom: 0.75rem;
|
|
padding-bottom: 0.5rem;
|
|
}
|
|
|
|
.ctx-asset-tab {
|
|
padding: 0.375rem 0.75rem;
|
|
background: none;
|
|
border: none;
|
|
border-radius: 0.25rem;
|
|
font-size: 0.8rem;
|
|
color: hsl(var(--muted-foreground));
|
|
cursor: pointer;
|
|
transition: all 0.15s;
|
|
}
|
|
|
|
.ctx-asset-tab:hover {
|
|
background: hsl(var(--muted) / 0.5);
|
|
}
|
|
|
|
.ctx-asset-tab.active {
|
|
background: hsl(var(--primary));
|
|
color: hsl(var(--primary-foreground));
|
|
}
|
|
|
|
.ctx-asset-panel {
|
|
display: none;
|
|
}
|
|
|
|
.ctx-asset-panel.active {
|
|
display: block;
|
|
}
|
|
|
|
.ctx-asset-item {
|
|
padding: 0.75rem;
|
|
background: hsl(var(--muted) / 0.2);
|
|
border-radius: 0.375rem;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.ctx-asset-main {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.ctx-asset-icon {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.ctx-asset-path {
|
|
font-size: 0.8rem;
|
|
color: hsl(var(--primary));
|
|
word-break: break-all;
|
|
}
|
|
|
|
.ctx-relevance-badge {
|
|
padding: 0.125rem 0.375rem;
|
|
background: hsl(var(--primary) / 0.15);
|
|
color: hsl(var(--primary));
|
|
border-radius: 0.25rem;
|
|
font-size: 0.65rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.ctx-asset-role {
|
|
display: inline-block;
|
|
padding: 0.125rem 0.375rem;
|
|
background: hsl(var(--muted));
|
|
border-radius: 0.25rem;
|
|
font-size: 0.7rem;
|
|
color: hsl(var(--muted-foreground));
|
|
margin-left: auto;
|
|
}
|
|
|
|
.ctx-asset-note {
|
|
font-size: 0.75rem;
|
|
color: hsl(var(--muted-foreground));
|
|
margin-top: 0.375rem;
|
|
font-style: italic;
|
|
}
|
|
|
|
.ctx-asset-tags {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.25rem;
|
|
margin-top: 0.375rem;
|
|
}
|
|
|
|
.ctx-mini-tag {
|
|
padding: 0.125rem 0.375rem;
|
|
background: hsl(var(--muted));
|
|
border-radius: 0.25rem;
|
|
font-size: 0.65rem;
|
|
color: hsl(var(--foreground));
|
|
}
|
|
|
|
.ctx-asset-exports {
|
|
font-size: 0.7rem;
|
|
color: hsl(var(--muted-foreground));
|
|
margin-top: 0.25rem;
|
|
}
|
|
|
|
.ctx-asset-exports code {
|
|
color: hsl(var(--foreground));
|
|
}
|
|
|
|
/* Dependencies Styles */
|
|
.ctx-deps-section {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.ctx-deps-title {
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
color: hsl(var(--muted-foreground));
|
|
margin-bottom: 0.5rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
}
|
|
|
|
.ctx-deps-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.375rem;
|
|
}
|
|
|
|
.ctx-dep-item {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0.5rem 0.75rem;
|
|
background: hsl(var(--muted) / 0.2);
|
|
border-radius: 0.375rem;
|
|
}
|
|
|
|
.ctx-dep-name {
|
|
font-size: 0.8rem;
|
|
color: hsl(var(--foreground));
|
|
font-weight: 500;
|
|
}
|
|
|
|
.ctx-dep-type {
|
|
padding: 0.125rem 0.5rem;
|
|
border-radius: 0.25rem;
|
|
font-size: 0.65rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.ctx-dep-type.critical {
|
|
background: hsl(var(--destructive) / 0.15);
|
|
color: hsl(var(--destructive));
|
|
}
|
|
|
|
.ctx-dep-type.important {
|
|
background: hsl(38 92% 50% / 0.15);
|
|
color: hsl(38 92% 45%);
|
|
}
|
|
|
|
.ctx-dep-type.optional {
|
|
background: hsl(var(--muted));
|
|
color: hsl(var(--muted-foreground));
|
|
}
|
|
|
|
.ctx-dep-reason {
|
|
font-size: 0.7rem;
|
|
color: hsl(var(--muted-foreground));
|
|
margin-top: 0.25rem;
|
|
}
|
|
|
|
/* Conflicts & Risk Styles */
|
|
.ctx-risk-section {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.ctx-risk-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
.ctx-risk-label {
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
color: hsl(var(--muted-foreground));
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
}
|
|
|
|
.ctx-risk-badge {
|
|
padding: 0.25rem 0.75rem;
|
|
border-radius: 0.375rem;
|
|
font-size: 0.7rem;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.ctx-risk-badge.high {
|
|
background: hsl(var(--destructive) / 0.15);
|
|
color: hsl(var(--destructive));
|
|
}
|
|
|
|
.ctx-risk-badge.medium {
|
|
background: hsl(38 92% 50% / 0.15);
|
|
color: hsl(38 92% 45%);
|
|
}
|
|
|
|
.ctx-risk-badge.low {
|
|
background: hsl(142 76% 36% / 0.15);
|
|
color: hsl(142 76% 36%);
|
|
}
|
|
|
|
.ctx-potential-conflicts {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.ctx-conflict-item {
|
|
padding: 0.75rem;
|
|
background: hsl(var(--destructive) / 0.05);
|
|
border-left: 3px solid hsl(var(--destructive));
|
|
border-radius: 0.375rem;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.ctx-conflict-type {
|
|
font-size: 0.7rem;
|
|
font-weight: 600;
|
|
color: hsl(var(--destructive));
|
|
text-transform: uppercase;
|
|
margin-bottom: 0.25rem;
|
|
}
|
|
|
|
.ctx-conflict-desc {
|
|
font-size: 0.8rem;
|
|
color: hsl(var(--foreground));
|
|
}
|
|
|
|
/* Resolved & Historical Conflicts */
|
|
.ctx-resolved-section {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.ctx-resolved-title {
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
color: hsl(142 76% 36%);
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.ctx-resolved-item {
|
|
padding: 0.75rem;
|
|
background: hsl(142 76% 36% / 0.05);
|
|
border-left: 3px solid hsl(142 76% 36%);
|
|
border-radius: 0.375rem;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.ctx-resolved-type {
|
|
font-size: 0.7rem;
|
|
font-weight: 600;
|
|
color: hsl(142 76% 36%);
|
|
text-transform: uppercase;
|
|
margin-bottom: 0.25rem;
|
|
}
|
|
|
|
.ctx-resolved-desc {
|
|
font-size: 0.8rem;
|
|
color: hsl(var(--foreground));
|
|
margin-bottom: 0.375rem;
|
|
}
|
|
|
|
.ctx-resolution {
|
|
font-size: 0.75rem;
|
|
color: hsl(var(--muted-foreground));
|
|
padding: 0.5rem;
|
|
background: hsl(var(--muted) / 0.3);
|
|
border-radius: 0.25rem;
|
|
}
|
|
|
|
.ctx-resolution-label {
|
|
font-weight: 600;
|
|
color: hsl(var(--foreground));
|
|
}
|
|
|
|
.ctx-historical-section {
|
|
margin-top: 1rem;
|
|
padding-top: 1rem;
|
|
border-top: 1px solid hsl(var(--border));
|
|
}
|
|
|
|
.ctx-historical-title {
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
color: hsl(var(--muted-foreground));
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.ctx-historical-item {
|
|
padding: 0.5rem 0.75rem;
|
|
background: hsl(var(--muted) / 0.2);
|
|
border-radius: 0.375rem;
|
|
margin-bottom: 0.375rem;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.ctx-historical-pattern {
|
|
font-size: 0.8rem;
|
|
color: hsl(var(--foreground));
|
|
}
|
|
|
|
.ctx-historical-count {
|
|
font-size: 0.7rem;
|
|
padding: 0.125rem 0.5rem;
|
|
background: hsl(var(--muted));
|
|
border-radius: 0.25rem;
|
|
color: hsl(var(--muted-foreground));
|
|
}
|
|
|
|
/* Empty State */
|
|
.ctx-empty {
|
|
padding: 1.5rem;
|
|
text-align: center;
|
|
color: hsl(var(--muted-foreground));
|
|
font-size: 0.85rem;
|
|
font-style: italic;
|
|
}
|
|
|
|
/* Grid Lines for Context Package */
|
|
.ctx-section {
|
|
border: 1px solid hsl(var(--border) / 0.5);
|
|
}
|
|
|
|
.ctx-section-header {
|
|
border-bottom: 1px solid hsl(var(--border) / 0.3);
|
|
}
|
|
|
|
.ctx-meta-grid {
|
|
border: 1px solid hsl(var(--border) / 0.3);
|
|
border-radius: 0.375rem;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.ctx-meta-item {
|
|
border-bottom: 1px solid hsl(var(--border) / 0.2);
|
|
}
|
|
|
|
.ctx-meta-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.ctx-tech-grid {
|
|
border: 1px solid hsl(var(--border) / 0.3);
|
|
border-radius: 0.375rem;
|
|
padding: 0.75rem;
|
|
}
|
|
|
|
.ctx-arch-subsection {
|
|
border: 1px solid hsl(var(--border) / 0.3);
|
|
border-radius: 0.375rem;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.ctx-arch-title {
|
|
border-bottom: 1px solid hsl(var(--border) / 0.2);
|
|
padding-bottom: 0.375rem;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.ctx-pattern-item {
|
|
border-bottom: 1px dashed hsl(var(--border) / 0.3);
|
|
padding-bottom: 0.5rem;
|
|
}
|
|
|
|
.ctx-pattern-item:last-child {
|
|
border-bottom: none;
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
.ctx-asset-tabs {
|
|
border-bottom: 1px solid hsl(var(--border) / 0.5);
|
|
padding-bottom: 0.5rem;
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
.ctx-asset-item {
|
|
border: 1px solid hsl(var(--border) / 0.3);
|
|
}
|
|
|
|
.ctx-deps-section {
|
|
border: 1px solid hsl(var(--border) / 0.3);
|
|
border-radius: 0.375rem;
|
|
padding: 0.75rem;
|
|
}
|
|
|
|
.ctx-dep-item {
|
|
border: 1px solid hsl(var(--border) / 0.2);
|
|
}
|
|
|
|
.ctx-conflict-item,
|
|
.ctx-resolved-item {
|
|
border: 1px solid hsl(var(--border) / 0.3);
|
|
}
|
|
|
|
.ctx-historical-section {
|
|
border-top: 1px dashed hsl(var(--border) / 0.5);
|
|
}
|
|
|
|
.ctx-historical-item {
|
|
border: 1px solid hsl(var(--border) / 0.2);
|
|
}
|
|
|
|
/* List Markers for Implementation Steps */
|
|
.impl-step-mods ul,
|
|
.impl-step-flow ol {
|
|
list-style-position: inside;
|
|
padding-left: 0.5rem;
|
|
}
|
|
|
|
.impl-step-mods ul {
|
|
list-style-type: disc;
|
|
}
|
|
|
|
.impl-step-mods ul li {
|
|
padding: 0.25rem 0;
|
|
padding-left: 0.25rem;
|
|
}
|
|
|
|
.impl-step-flow ol {
|
|
list-style-type: decimal;
|
|
counter-reset: none;
|
|
}
|
|
|
|
.impl-step-flow ol li {
|
|
padding: 0.25rem 0;
|
|
padding-left: 0.25rem;
|
|
}
|
|
|
|
.impl-step-flow ol li::marker {
|
|
color: hsl(var(--primary));
|
|
font-weight: 600;
|
|
}
|
|
|
|
.impl-step-mods ul li::marker {
|
|
color: hsl(var(--muted-foreground));
|
|
}
|
|
|
|
/* Context Package List Markers */
|
|
.ctx-pattern-list {
|
|
list-style-type: decimal;
|
|
list-style-position: inside;
|
|
padding-left: 0.5rem;
|
|
}
|
|
|
|
.ctx-pattern-item {
|
|
display: list-item;
|
|
}
|
|
|
|
.ctx-convention-list,
|
|
.ctx-integration-list {
|
|
list-style-type: disc;
|
|
list-style-position: inside;
|
|
padding-left: 0.5rem;
|
|
}
|
|
|
|
.ctx-deps-list {
|
|
counter-reset: dep-counter;
|
|
}
|
|
|
|
.ctx-dep-item {
|
|
counter-increment: dep-counter;
|
|
position: relative;
|
|
padding-left: 1.75rem;
|
|
}
|
|
|
|
.ctx-dep-item::before {
|
|
content: counter(dep-counter) ".";
|
|
position: absolute;
|
|
left: 0.5rem;
|
|
color: hsl(var(--muted-foreground));
|
|
font-weight: 600;
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
/* Enhanced List Markers */
|
|
.ctx-pattern-list li {
|
|
padding: 0.375rem 0;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.ctx-pattern-list li::marker {
|
|
color: hsl(var(--primary));
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* Task Detail Lists */
|
|
.impl-steps {
|
|
list-style-type: decimal;
|
|
list-style-position: inside;
|
|
padding-left: 0.5rem;
|
|
}
|
|
|
|
.impl-steps li {
|
|
padding: 0.375rem 0;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.impl-steps li::marker {
|
|
color: hsl(var(--primary));
|
|
font-weight: 600;
|
|
}
|
|
|
|
.mod-points {
|
|
counter-reset: mod-counter;
|
|
}
|
|
|
|
.mod-point {
|
|
counter-increment: mod-counter;
|
|
position: relative;
|
|
padding-left: 1.5rem;
|
|
margin-bottom: 0.375rem;
|
|
}
|
|
|
|
.mod-point::before {
|
|
content: counter(mod-counter) ".";
|
|
position: absolute;
|
|
left: 0;
|
|
color: hsl(var(--muted-foreground));
|
|
font-weight: 600;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
/* Dependencies Section - Improved Layout */
|
|
.ctx-deps-grid {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.ctx-dep-card {
|
|
display: flex;
|
|
align-items: baseline;
|
|
gap: 0.75rem;
|
|
padding: 0.625rem 0.75rem;
|
|
background: hsl(var(--muted) / 0.15);
|
|
border: 1px solid hsl(var(--border) / 0.3);
|
|
border-radius: 0.375rem;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.ctx-dep-name {
|
|
font-weight: 600;
|
|
color: hsl(var(--foreground));
|
|
min-width: 100px;
|
|
}
|
|
|
|
.ctx-dep-version {
|
|
padding: 0.125rem 0.5rem;
|
|
background: hsl(var(--primary) / 0.15);
|
|
color: hsl(var(--primary));
|
|
border-radius: 0.25rem;
|
|
font-size: 0.75rem;
|
|
font-weight: 500;
|
|
font-family: monospace;
|
|
}
|
|
|
|
.ctx-dep-usage {
|
|
color: hsl(var(--muted-foreground));
|
|
font-size: 0.8rem;
|
|
flex: 1;
|
|
}
|
|
|
|
/* Internal Dependencies */
|
|
.ctx-internal-deps {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.375rem;
|
|
}
|
|
|
|
.ctx-internal-dep {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
padding: 0.5rem 0.75rem;
|
|
background: hsl(var(--muted) / 0.1);
|
|
border: 1px solid hsl(var(--border) / 0.2);
|
|
border-radius: 0.375rem;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.ctx-dep-from,
|
|
.ctx-dep-to {
|
|
padding: 0.25rem 0.5rem;
|
|
background: hsl(var(--muted));
|
|
border-radius: 0.25rem;
|
|
font-size: 0.8rem;
|
|
font-family: monospace;
|
|
color: hsl(var(--foreground));
|
|
}
|
|
|
|
.ctx-dep-arrow {
|
|
color: hsl(var(--muted-foreground));
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.ctx-dep-type {
|
|
margin-left: auto;
|
|
padding: 0.2rem 0.5rem;
|
|
background: hsl(var(--primary) / 0.1);
|
|
color: hsl(var(--primary));
|
|
border-radius: 0.25rem;
|
|
font-size: 0.7rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* Coding Conventions - Parsed Values */
|
|
.ctx-conventions-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.ctx-convention-item {
|
|
background: hsl(var(--card));
|
|
border: 1px solid hsl(var(--border) / 0.5);
|
|
border-radius: 0.5rem;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.ctx-convention-key {
|
|
padding: 0.5rem 0.75rem;
|
|
background: hsl(var(--muted) / 0.3);
|
|
font-weight: 600;
|
|
font-size: 0.8rem;
|
|
color: hsl(var(--foreground));
|
|
text-transform: capitalize;
|
|
border-bottom: 1px solid hsl(var(--border) / 0.3);
|
|
}
|
|
|
|
.ctx-convention-body {
|
|
padding: 0.625rem 0.75rem;
|
|
}
|
|
|
|
.ctx-conv-entries {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.375rem;
|
|
}
|
|
|
|
.ctx-conv-entry {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
font-size: 0.8rem;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.ctx-conv-label {
|
|
color: hsl(var(--muted-foreground));
|
|
min-width: 80px;
|
|
flex-shrink: 0;
|
|
text-transform: capitalize;
|
|
}
|
|
|
|
.ctx-conv-value {
|
|
color: hsl(var(--foreground));
|
|
word-break: break-word;
|
|
}
|
|
|
|
.ctx-conv-text {
|
|
font-size: 0.8rem;
|
|
color: hsl(var(--foreground));
|
|
}
|
|
|
|
.ctx-conv-list {
|
|
list-style-type: disc;
|
|
list-style-position: inside;
|
|
padding-left: 0.25rem;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.ctx-conv-list li {
|
|
padding: 0.125rem 0;
|
|
}
|
|
|
|
.ctx-conv-empty {
|
|
color: hsl(var(--muted-foreground));
|
|
font-style: italic;
|
|
}
|
|
|
|
/* Pre-Analysis Sub-Step Numbering */
|
|
ol.step-commands {
|
|
list-style-type: decimal;
|
|
list-style-position: inside;
|
|
padding-left: 0.25rem;
|
|
margin: 0.375rem 0;
|
|
}
|
|
|
|
ol.step-commands li {
|
|
padding: 0.25rem 0;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
ol.step-commands li::marker {
|
|
color: hsl(var(--muted-foreground));
|
|
font-weight: 500;
|
|
}
|
|
|
|
ol.step-commands code {
|
|
background: hsl(var(--muted) / 0.5);
|
|
padding: 0.125rem 0.375rem;
|
|
border-radius: 0.25rem;
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
.step-output-label {
|
|
color: hsl(var(--muted-foreground));
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* ========================================
|
|
Review Session Page Styles
|
|
======================================== */
|
|
|
|
/* Review Progress Section */
|
|
.review-progress-section {
|
|
background: hsl(var(--card));
|
|
border: 1px solid hsl(var(--border));
|
|
border-radius: 0.5rem;
|
|
padding: 1.25rem;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.review-progress-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.review-progress-header h3 {
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
color: hsl(var(--foreground));
|
|
margin: 0;
|
|
}
|
|
|
|
.phase-badge {
|
|
padding: 0.25rem 0.75rem;
|
|
border-radius: 1rem;
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.phase-badge.in-progress {
|
|
background: hsl(var(--primary) / 0.15);
|
|
color: hsl(var(--primary));
|
|
}
|
|
|
|
.phase-badge.completed {
|
|
background: hsl(142 76% 36% / 0.15);
|
|
color: hsl(142 76% 36%);
|
|
}
|
|
|
|
/* Summary Cards Grid */
|
|
.review-summary-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
gap: 1rem;
|
|
margin-bottom: 1.25rem;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.review-summary-grid {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
}
|
|
|
|
.summary-card {
|
|
background: hsl(var(--muted) / 0.3);
|
|
border: 1px solid hsl(var(--border) / 0.5);
|
|
border-radius: 0.5rem;
|
|
padding: 1rem;
|
|
text-align: center;
|
|
transition: transform 0.15s, box-shadow 0.15s;
|
|
}
|
|
|
|
.summary-card:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 12px hsl(var(--foreground) / 0.1);
|
|
}
|
|
|
|
.summary-card.critical {
|
|
border-color: hsl(0 70% 50% / 0.3);
|
|
background: hsl(0 70% 50% / 0.05);
|
|
}
|
|
|
|
.summary-card.high {
|
|
border-color: hsl(25 90% 50% / 0.3);
|
|
background: hsl(25 90% 50% / 0.05);
|
|
}
|
|
|
|
.summary-icon {
|
|
font-size: 1.5rem;
|
|
margin-bottom: 0.375rem;
|
|
}
|
|
|
|
.summary-value {
|
|
font-size: 1.75rem;
|
|
font-weight: 700;
|
|
color: hsl(var(--foreground));
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.summary-card.critical .summary-value {
|
|
color: hsl(0 70% 45%);
|
|
}
|
|
|
|
.summary-card.high .summary-value {
|
|
color: hsl(25 90% 45%);
|
|
}
|
|
|
|
.summary-label {
|
|
font-size: 0.75rem;
|
|
color: hsl(var(--muted-foreground));
|
|
text-transform: uppercase;
|
|
font-weight: 500;
|
|
letter-spacing: 0.025em;
|
|
}
|
|
|
|
/* Dimension Timeline */
|
|
.dimension-timeline {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
overflow-x: auto;
|
|
padding: 0.5rem 0;
|
|
}
|
|
|
|
.dimension-item {
|
|
flex: 0 0 auto;
|
|
min-width: 120px;
|
|
padding: 0.75rem;
|
|
background: hsl(var(--muted) / 0.2);
|
|
border: 1px solid hsl(var(--border) / 0.5);
|
|
border-radius: 0.375rem;
|
|
text-align: center;
|
|
transition: all 0.15s;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.dimension-item:hover {
|
|
background: hsl(var(--muted) / 0.4);
|
|
}
|
|
|
|
.dimension-item.completed {
|
|
border-color: hsl(142 76% 36% / 0.5);
|
|
background: hsl(142 76% 36% / 0.05);
|
|
}
|
|
|
|
.dimension-item.in-progress {
|
|
border-color: hsl(var(--primary) / 0.5);
|
|
background: hsl(var(--primary) / 0.05);
|
|
}
|
|
|
|
.dimension-number {
|
|
font-size: 0.7rem;
|
|
font-weight: 600;
|
|
color: hsl(var(--muted-foreground));
|
|
margin-bottom: 0.25rem;
|
|
}
|
|
|
|
.dimension-name {
|
|
font-size: 0.8rem;
|
|
font-weight: 500;
|
|
color: hsl(var(--foreground));
|
|
margin-bottom: 0.25rem;
|
|
}
|
|
|
|
.dimension-stats {
|
|
font-size: 0.7rem;
|
|
color: hsl(var(--muted-foreground));
|
|
}
|
|
|
|
/* Review Findings Section */
|
|
.review-findings-section {
|
|
background: hsl(var(--card));
|
|
border: 1px solid hsl(var(--border));
|
|
border-radius: 0.5rem;
|
|
padding: 1.25rem;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.findings-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-bottom: 1rem;
|
|
flex-wrap: wrap;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.findings-header h3 {
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
color: hsl(var(--foreground));
|
|
margin: 0;
|
|
}
|
|
|
|
.findings-filters {
|
|
display: flex;
|
|
gap: 0.375rem;
|
|
}
|
|
|
|
.filter-btn {
|
|
padding: 0.375rem 0.75rem;
|
|
border: 1px solid hsl(var(--border));
|
|
border-radius: 0.25rem;
|
|
background: transparent;
|
|
color: hsl(var(--muted-foreground));
|
|
font-size: 0.75rem;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: all 0.15s;
|
|
}
|
|
|
|
.filter-btn:hover {
|
|
background: hsl(var(--muted) / 0.5);
|
|
}
|
|
|
|
.filter-btn.active {
|
|
background: hsl(var(--primary));
|
|
color: hsl(var(--primary-foreground));
|
|
border-color: hsl(var(--primary));
|
|
}
|
|
|
|
/* Findings Grid */
|
|
.findings-grid {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1.25rem;
|
|
}
|
|
|
|
.dimension-findings-group {
|
|
border: 1px solid hsl(var(--border) / 0.5);
|
|
border-radius: 0.5rem;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.dimension-group-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0.75rem 1rem;
|
|
background: hsl(var(--muted) / 0.3);
|
|
border-bottom: 1px solid hsl(var(--border) / 0.3);
|
|
}
|
|
|
|
.dimension-badge {
|
|
padding: 0.25rem 0.625rem;
|
|
background: hsl(var(--primary) / 0.15);
|
|
color: hsl(var(--primary));
|
|
border-radius: 0.25rem;
|
|
font-size: 0.8rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.dimension-count {
|
|
font-size: 0.75rem;
|
|
color: hsl(var(--muted-foreground));
|
|
}
|
|
|
|
.findings-cards {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
|
|
gap: 0.75rem;
|
|
padding: 1rem;
|
|
}
|
|
|
|
.finding-card {
|
|
background: hsl(var(--card));
|
|
border: 1px solid hsl(var(--border) / 0.5);
|
|
border-radius: 0.375rem;
|
|
padding: 0.875rem;
|
|
transition: all 0.15s;
|
|
}
|
|
|
|
.finding-card:hover {
|
|
box-shadow: 0 2px 8px hsl(var(--foreground) / 0.08);
|
|
}
|
|
|
|
.finding-card.severity-critical {
|
|
border-left: 3px solid hsl(0 70% 50%);
|
|
}
|
|
|
|
.finding-card.severity-high {
|
|
border-left: 3px solid hsl(25 90% 50%);
|
|
}
|
|
|
|
.finding-card.severity-medium {
|
|
border-left: 3px solid hsl(45 90% 45%);
|
|
}
|
|
|
|
.finding-card.severity-low {
|
|
border-left: 3px solid hsl(142 76% 36%);
|
|
}
|
|
|
|
.finding-card-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.finding-card-title {
|
|
font-size: 0.85rem;
|
|
font-weight: 600;
|
|
color: hsl(var(--foreground));
|
|
margin-bottom: 0.375rem;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.finding-card-desc {
|
|
font-size: 0.8rem;
|
|
color: hsl(var(--muted-foreground));
|
|
line-height: 1.5;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.finding-card-file {
|
|
font-size: 0.75rem;
|
|
color: hsl(var(--primary));
|
|
font-family: monospace;
|
|
}
|
|
|
|
.fix-status-badge {
|
|
padding: 0.125rem 0.5rem;
|
|
border-radius: 0.75rem;
|
|
font-size: 0.65rem;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.fix-status-badge.status-pending {
|
|
background: hsl(var(--muted));
|
|
color: hsl(var(--muted-foreground));
|
|
}
|
|
|
|
.fix-status-badge.status-in-progress {
|
|
background: hsl(var(--primary) / 0.15);
|
|
color: hsl(var(--primary));
|
|
}
|
|
|
|
.fix-status-badge.status-fixed {
|
|
background: hsl(142 76% 36% / 0.15);
|
|
color: hsl(142 76% 36%);
|
|
}
|
|
|
|
.fix-status-badge.status-failed {
|
|
background: hsl(0 70% 50% / 0.15);
|
|
color: hsl(0 70% 50%);
|
|
}
|
|
|
|
/* Review Header Controls */
|
|
.review-header-controls {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
flex-wrap: wrap;
|
|
margin-bottom: 1rem;
|
|
padding: 0.75rem 1rem;
|
|
background: hsl(var(--muted) / 0.2);
|
|
border: 1px solid hsl(var(--border) / 0.5);
|
|
border-radius: 0.375rem;
|
|
}
|
|
|
|
.selection-controls {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.selection-counter {
|
|
font-size: 0.8rem;
|
|
color: hsl(var(--muted-foreground));
|
|
font-weight: 500;
|
|
}
|
|
|
|
.selection-btn {
|
|
padding: 0.25rem 0.5rem;
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
.finding-checkbox {
|
|
width: 16px;
|
|
height: 16px;
|
|
cursor: pointer;
|
|
accent-color: hsl(var(--primary));
|
|
}
|
|
|
|
.export-btn-fix {
|
|
padding: 0.5rem 1rem;
|
|
background: hsl(142 76% 36%);
|
|
color: white;
|
|
border: none;
|
|
border-radius: 0.25rem;
|
|
font-size: 0.8rem;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: all 0.15s;
|
|
margin-left: auto;
|
|
}
|
|
|
|
.export-btn-fix:hover {
|
|
background: hsl(142 76% 30%);
|
|
}
|
|
|
|
.export-btn-fix:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
/* Empty State */
|
|
.empty-state {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 3rem;
|
|
color: hsl(var(--muted-foreground));
|
|
}
|
|
|
|
.empty-icon {
|
|
font-size: 3rem;
|
|
margin-bottom: 1rem;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.empty-text {
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
/* Exploration Context Styles */
|
|
.exploration-context {
|
|
padding: 16px;
|
|
}
|
|
|
|
.exploration-header {
|
|
margin-bottom: 20px;
|
|
padding-bottom: 16px;
|
|
border-bottom: 1px solid var(--border-color, #e5e7eb);
|
|
}
|
|
|
|
.exploration-header h4 {
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
color: var(--text-primary, #111827);
|
|
margin: 0 0 8px 0;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.exploration-meta {
|
|
display: flex;
|
|
gap: 16px;
|
|
font-size: 12px;
|
|
color: var(--text-secondary, #6b7280);
|
|
}
|
|
|
|
.exploration-meta .meta-item strong {
|
|
color: var(--text-primary, #111827);
|
|
}
|
|
|
|
.exploration-section {
|
|
margin-bottom: 8px;
|
|
border: 1px solid var(--border-color, #e5e7eb);
|
|
border-radius: 6px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.exploration-section .collapsible-header {
|
|
padding: 10px 12px;
|
|
background: var(--bg-secondary, #f9fafb);
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.exploration-section .collapsible-header:hover {
|
|
background: var(--bg-hover, #f3f4f6);
|
|
}
|
|
|
|
.exploration-section .collapsible-content {
|
|
padding: 12px;
|
|
background: var(--bg-primary, #fff);
|
|
}
|
|
|
|
.exploration-section .collapsible-content.collapsed {
|
|
display: none;
|
|
}
|
|
|
|
.exp-field {
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.exp-field:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.exp-field label {
|
|
display: block;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
color: var(--text-secondary, #6b7280);
|
|
margin-bottom: 6px;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.exp-field p {
|
|
font-size: 13px;
|
|
line-height: 1.6;
|
|
color: var(--text-primary, #374151);
|
|
margin: 0;
|
|
}
|
|
|
|
.relevant-files-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.file-item-exp {
|
|
padding: 8px 10px;
|
|
background: var(--bg-secondary, #f9fafb);
|
|
border-radius: 4px;
|
|
border-left: 3px solid var(--primary, #3b82f6);
|
|
}
|
|
|
|
.file-item-exp .file-path code {
|
|
font-size: 12px;
|
|
color: var(--text-primary, #111827);
|
|
}
|
|
|
|
.file-item-exp .file-relevance {
|
|
font-size: 11px;
|
|
color: var(--text-secondary, #6b7280);
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.file-item-exp .file-rationale {
|
|
font-size: 12px;
|
|
color: var(--text-tertiary, #9ca3af);
|
|
margin-top: 4px;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.more-files {
|
|
font-size: 12px;
|
|
color: var(--text-secondary, #6b7280);
|
|
font-style: italic;
|
|
padding: 8px 0;
|
|
}
|
|
|
|
.clarification-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
.clarification-item {
|
|
padding: 10px;
|
|
background: var(--bg-warning, #fffbeb);
|
|
border: 1px solid var(--border-warning, #fcd34d);
|
|
border-radius: 6px;
|
|
}
|
|
|
|
.clarification-question {
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
color: var(--text-primary, #111827);
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.clarification-options {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
}
|
|
|
|
.option-badge {
|
|
padding: 4px 8px;
|
|
background: var(--bg-primary, #fff);
|
|
border: 1px solid var(--border-color, #e5e7eb);
|
|
border-radius: 4px;
|
|
font-size: 11px;
|
|
color: var(--text-secondary, #6b7280);
|
|
}
|
|
|
|
.option-badge.recommended {
|
|
background: var(--bg-success, #d1fae5);
|
|
border-color: var(--border-success, #34d399);
|
|
color: var(--text-success, #065f46);
|
|
}
|
|
|
|
/* Plan drawer styles for lite tasks */
|
|
.mod-point-item {
|
|
padding: 8px 10px;
|
|
background: var(--bg-secondary, #f9fafb);
|
|
border-radius: 4px;
|
|
margin-bottom: 8px;
|
|
border-left: 3px solid var(--primary, #3b82f6);
|
|
}
|
|
|
|
.mod-point-file code {
|
|
font-size: 12px;
|
|
}
|
|
|
|
.mod-point-target {
|
|
font-size: 11px;
|
|
color: var(--text-secondary, #6b7280);
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.mod-point-change {
|
|
font-size: 12px;
|
|
color: var(--text-primary, #374151);
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.implementation-steps-list {
|
|
padding-left: 20px;
|
|
margin: 0;
|
|
}
|
|
|
|
.implementation-steps-list li {
|
|
font-size: 13px;
|
|
line-height: 1.6;
|
|
margin-bottom: 6px;
|
|
color: var(--text-primary, #374151);
|
|
}
|
|
|
|
.ref-pattern,
|
|
.ref-files,
|
|
.ref-examples {
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.acceptance-list {
|
|
padding-left: 20px;
|
|
margin: 0;
|
|
}
|
|
|
|
.acceptance-list li {
|
|
font-size: 13px;
|
|
line-height: 1.5;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.dependencies-list {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
}
|
|
|
|
.task-description {
|
|
font-size: 13px;
|
|
line-height: 1.6;
|
|
color: var(--text-primary, #374151);
|
|
}
|
|
|
|
|
|
/* Lite Task List Item Styles */
|
|
.lite-task-item {
|
|
border: 1px solid var(--border-color, #e5e7eb);
|
|
border-radius: 8px;
|
|
padding: 12px 16px;
|
|
margin-bottom: 8px;
|
|
transition: all 0.2s ease;
|
|
background: var(--bg-primary, #fff);
|
|
}
|
|
|
|
.lite-task-item:hover {
|
|
border-color: var(--primary, #3b82f6);
|
|
box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
|
|
}
|
|
|
|
.task-item-header-lite {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.task-item-header-lite .task-title {
|
|
flex: 1;
|
|
font-weight: 500;
|
|
color: var(--text-primary, #111827);
|
|
}
|
|
|
|
.task-item-meta-lite {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
}
|
|
|
|
.meta-badge {
|
|
padding: 2px 8px;
|
|
border-radius: 4px;
|
|
font-size: 11px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.meta-badge.action {
|
|
background: var(--bg-primary-light, #eff6ff);
|
|
color: var(--primary, #3b82f6);
|
|
border: 1px solid var(--primary, #3b82f6);
|
|
}
|
|
|
|
.meta-badge.scope {
|
|
background: var(--bg-secondary, #f9fafb);
|
|
color: var(--text-secondary, #6b7280);
|
|
}
|
|
|
|
.meta-badge.mods {
|
|
background: var(--bg-warning, #fffbeb);
|
|
color: var(--warning, #d97706);
|
|
}
|
|
|
|
.meta-badge.impl {
|
|
background: var(--bg-success, #ecfdf5);
|
|
color: var(--success, #059669);
|
|
}
|
|
|
|
.meta-badge.accept {
|
|
background: var(--bg-info, #eff6ff);
|
|
color: var(--info, #2563eb);
|
|
}
|
|
|
|
/* Lite Task Drawer Styles */
|
|
.action-badge {
|
|
padding: 4px 10px;
|
|
border-radius: 4px;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
background: var(--primary, #3b82f6);
|
|
color: white;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.scope-path {
|
|
display: block;
|
|
padding: 8px 12px;
|
|
background: var(--bg-secondary, #f9fafb);
|
|
border-radius: 4px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.impl-steps-list {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
counter-reset: step-counter;
|
|
}
|
|
|
|
.impl-step-item {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 12px;
|
|
padding: 10px 0;
|
|
border-bottom: 1px solid var(--border-color, #e5e7eb);
|
|
}
|
|
|
|
.impl-step-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.step-number {
|
|
flex-shrink: 0;
|
|
width: 24px;
|
|
height: 24px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: var(--primary, #3b82f6);
|
|
color: white;
|
|
border-radius: 50%;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.step-text {
|
|
flex: 1;
|
|
font-size: 13px;
|
|
line-height: 1.5;
|
|
color: var(--text-primary, #374151);
|
|
}
|
|
|
|
.mod-points-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
.mod-point-card {
|
|
padding: 12px;
|
|
background: var(--bg-secondary, #f9fafb);
|
|
border-radius: 6px;
|
|
border-left: 3px solid var(--primary, #3b82f6);
|
|
}
|
|
|
|
.mod-point-card .mod-file code {
|
|
font-size: 12px;
|
|
color: var(--primary, #3b82f6);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.mod-point-card .mod-target {
|
|
font-size: 12px;
|
|
color: var(--text-secondary, #6b7280);
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.mod-point-card .mod-change {
|
|
font-size: 13px;
|
|
color: var(--text-primary, #374151);
|
|
margin-top: 6px;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.ref-item {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.ref-item:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.ref-files-list {
|
|
margin: 4px 0 0 16px;
|
|
padding: 0;
|
|
}
|
|
|
|
.ref-files-list li {
|
|
margin-bottom: 4px;
|
|
}
|