690 lines
12 KiB
CSS
690 lines
12 KiB
CSS
* { margin: 0; padding: 0; box-sizing: border-box; }
|
|
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
|
background: #1a1a2e;
|
|
color: #eee;
|
|
}
|
|
|
|
.header {
|
|
padding: 16px 24px;
|
|
background: #16213e;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
border-bottom: 2px solid #0f3460;
|
|
}
|
|
|
|
.header h1 { font-size: 1.4em; }
|
|
.header .version { color: #888; font-size: 0.9em; }
|
|
|
|
.board {
|
|
display: grid;
|
|
grid-template-columns: repeat(5, 1fr);
|
|
gap: 8px;
|
|
padding: 16px;
|
|
min-height: calc(100vh - 60px);
|
|
}
|
|
|
|
.column {
|
|
background: #16213e;
|
|
border-radius: 8px;
|
|
padding: 12px;
|
|
min-height: 200px;
|
|
}
|
|
|
|
.column-header {
|
|
font-weight: bold;
|
|
padding: 8px;
|
|
margin-bottom: 8px;
|
|
border-bottom: 2px solid #0f3460;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.column-count {
|
|
background: #0f3460;
|
|
border-radius: 12px;
|
|
padding: 2px 8px;
|
|
font-size: 0.85em;
|
|
}
|
|
|
|
.task-card {
|
|
background: #1a1a2e;
|
|
border: 1px solid #333;
|
|
border-radius: 6px;
|
|
padding: 10px;
|
|
margin-bottom: 8px;
|
|
cursor: pointer;
|
|
transition: border-color 0.2s, transform 0.1s;
|
|
}
|
|
|
|
.task-card:hover {
|
|
border-color: #e94560;
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.task-id {
|
|
font-weight: bold;
|
|
color: #e94560;
|
|
}
|
|
|
|
.task-title {
|
|
margin-top: 4px;
|
|
font-size: 0.9em;
|
|
}
|
|
|
|
.task-meta {
|
|
margin-top: 6px;
|
|
font-size: 0.75em;
|
|
color: #888;
|
|
}
|
|
|
|
.task-deps {
|
|
font-size: 0.75em;
|
|
color: #666;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
/* Task detail panel — 50% of screen */
|
|
#task-detail {
|
|
position: fixed;
|
|
top: 0;
|
|
right: -50%;
|
|
width: 50%;
|
|
height: 100vh;
|
|
background: #16213e;
|
|
border-left: 2px solid #0f3460;
|
|
padding: 20px;
|
|
overflow-y: auto;
|
|
z-index: 10;
|
|
transition: right 0.3s ease;
|
|
}
|
|
|
|
#task-detail.active {
|
|
right: 0;
|
|
}
|
|
|
|
/* Board compresses when detail is open */
|
|
.board {
|
|
transition: margin-right 0.3s ease;
|
|
}
|
|
|
|
body.detail-open .board {
|
|
margin-right: 50%;
|
|
}
|
|
|
|
.detail-close {
|
|
cursor: pointer;
|
|
float: right;
|
|
font-size: 1.2em;
|
|
color: #888;
|
|
padding: 4px 8px;
|
|
}
|
|
|
|
.detail-close:hover { color: #e94560; }
|
|
|
|
.detail-meta { margin-top: 12px; font-size: 0.9em; color: #aaa; }
|
|
.detail-meta p { margin-bottom: 4px; }
|
|
|
|
.detail-actions {
|
|
margin-top: 16px;
|
|
display: flex;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.btn {
|
|
display: inline-block;
|
|
padding: 8px 16px;
|
|
border-radius: 6px;
|
|
border: 1px solid #333;
|
|
background: #1a1a2e;
|
|
color: #eee;
|
|
cursor: pointer;
|
|
font-size: 0.85em;
|
|
text-decoration: none;
|
|
transition: background 0.2s;
|
|
}
|
|
|
|
.btn:hover { background: #0f3460; }
|
|
|
|
.btn-move { border-color: #e94560; }
|
|
/* Task action buttons */
|
|
.task-action {
|
|
margin-top: 6px;
|
|
text-align: right;
|
|
}
|
|
|
|
.task-action .btn {
|
|
font-size: 0.75em;
|
|
padding: 4px 10px;
|
|
}
|
|
|
|
.btn-run { border-color: #4ecca3; color: #4ecca3; }
|
|
.btn-run:hover { background: #4ecca3; color: #1a1a2e; }
|
|
|
|
.btn-review { border-color: #6ec6ff; color: #6ec6ff; }
|
|
.btn-review:hover { background: #6ec6ff; color: #1a1a2e; }
|
|
|
|
.btn-approve { border-color: #ffd93d; color: #ffd93d; }
|
|
.btn-approve:hover { background: #ffd93d; color: #1a1a2e; }
|
|
|
|
.btn-report { border-color: #888; color: #888; }
|
|
.btn-report:hover { background: #888; color: #1a1a2e; }
|
|
|
|
.btn-blocked {
|
|
border-color: #444;
|
|
color: #555;
|
|
cursor: default;
|
|
}
|
|
|
|
.btn-running {
|
|
border-color: #e94560;
|
|
color: #e94560;
|
|
cursor: default;
|
|
animation: pulse 1.5s ease infinite;
|
|
}
|
|
|
|
@keyframes pulse {
|
|
0%, 100% { opacity: 1; }
|
|
50% { opacity: 0.5; }
|
|
}
|
|
.btn-success { border-color: #4ecca3; color: #4ecca3; }
|
|
.btn-success:hover { background: #4ecca3; color: #1a1a2e; }
|
|
|
|
.detail-content {
|
|
white-space: pre-wrap;
|
|
font-family: "JetBrains Mono", "Fira Code", monospace;
|
|
font-size: 0.8em;
|
|
margin-top: 16px;
|
|
line-height: 1.6;
|
|
padding: 12px;
|
|
background: #111;
|
|
border-radius: 6px;
|
|
max-height: 60vh;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
/* Sortable column-tasks container */
|
|
.column-tasks {
|
|
min-height: 50px;
|
|
}
|
|
|
|
/* Drag & Drop styles */
|
|
.task-ghost {
|
|
opacity: 0.4;
|
|
border: 2px dashed #e94560;
|
|
background: #0f3460;
|
|
}
|
|
|
|
.task-chosen {
|
|
box-shadow: 0 4px 16px rgba(233, 69, 96, 0.3);
|
|
}
|
|
|
|
.task-drag {
|
|
opacity: 0.9;
|
|
transform: rotate(2deg);
|
|
}
|
|
|
|
/* Drop zone highlight */
|
|
.column-tasks.sortable-drag-over {
|
|
background: rgba(15, 52, 96, 0.3);
|
|
border-radius: 6px;
|
|
}
|
|
|
|
/* Flash animations */
|
|
@keyframes flash-success {
|
|
0% { background: #4ecca3; }
|
|
100% { background: #1a1a2e; }
|
|
}
|
|
|
|
@keyframes flash-error {
|
|
0% { background: #e94560; }
|
|
100% { background: #1a1a2e; }
|
|
}
|
|
|
|
.flash-success { animation: flash-success 0.5s ease; }
|
|
.flash-error { animation: flash-error 0.5s ease; }
|
|
|
|
/* Toast notifications */
|
|
.toast {
|
|
position: fixed;
|
|
bottom: 20px;
|
|
left: 50%;
|
|
transform: translateX(-50%) translateY(100px);
|
|
padding: 12px 24px;
|
|
border-radius: 8px;
|
|
font-size: 0.9em;
|
|
z-index: 100;
|
|
transition: transform 0.3s ease;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.toast-show {
|
|
transform: translateX(-50%) translateY(0);
|
|
}
|
|
|
|
.toast-success {
|
|
background: #4ecca3;
|
|
color: #1a1a2e;
|
|
}
|
|
|
|
.toast-error {
|
|
background: #e94560;
|
|
color: #fff;
|
|
}
|
|
|
|
/* Header right section */
|
|
.header-right {
|
|
display: flex;
|
|
gap: 12px;
|
|
align-items: center;
|
|
}
|
|
|
|
/* Search */
|
|
.search-wrapper {
|
|
position: relative;
|
|
}
|
|
|
|
.search-wrapper input {
|
|
background: #1a1a2e;
|
|
border: 1px solid #333;
|
|
border-radius: 6px;
|
|
color: #eee;
|
|
padding: 6px 12px;
|
|
font-size: 0.85em;
|
|
width: 220px;
|
|
outline: none;
|
|
transition: border-color 0.2s, width 0.3s;
|
|
}
|
|
|
|
.search-wrapper input:focus {
|
|
border-color: #e94560;
|
|
width: 300px;
|
|
}
|
|
|
|
.search-results-dropdown {
|
|
position: absolute;
|
|
top: 100%;
|
|
right: 0;
|
|
width: 400px;
|
|
max-height: 500px;
|
|
overflow-y: auto;
|
|
background: #16213e;
|
|
border-radius: 8px;
|
|
box-shadow: 0 8px 24px rgba(0,0,0,0.4);
|
|
z-index: 50;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.search-results-dropdown:empty {
|
|
display: none;
|
|
}
|
|
|
|
.search-result {
|
|
display: block;
|
|
padding: 10px 14px;
|
|
text-decoration: none;
|
|
color: #eee;
|
|
border-bottom: 1px solid #0f3460;
|
|
transition: background 0.15s;
|
|
}
|
|
|
|
.search-result:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.search-result:hover {
|
|
background: #0f3460;
|
|
}
|
|
|
|
.search-result-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.search-icon { font-size: 0.9em; }
|
|
|
|
.search-title {
|
|
font-weight: bold;
|
|
font-size: 0.85em;
|
|
}
|
|
|
|
.search-status {
|
|
font-size: 0.7em;
|
|
padding: 2px 6px;
|
|
border-radius: 4px;
|
|
background: #0f3460;
|
|
margin-left: auto;
|
|
}
|
|
|
|
.search-status-done { color: #4ecca3; }
|
|
.search-status-active { color: #e94560; }
|
|
.search-status-review { color: #ffd93d; }
|
|
.search-status-ready { color: #6ec6ff; }
|
|
.search-status-backlog { color: #888; }
|
|
|
|
.search-snippet {
|
|
font-size: 0.75em;
|
|
color: #888;
|
|
margin-top: 4px;
|
|
line-height: 1.4;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.search-empty {
|
|
padding: 16px;
|
|
text-align: center;
|
|
color: #888;
|
|
font-size: 0.85em;
|
|
}
|
|
|
|
/* Navigation */
|
|
.nav {
|
|
display: flex;
|
|
gap: 8px;
|
|
align-items: center;
|
|
}
|
|
|
|
.btn-active {
|
|
background: #0f3460;
|
|
border-color: #e94560;
|
|
}
|
|
|
|
/* Docs — full height */
|
|
.docs-container {
|
|
padding: 16px 24px;
|
|
height: calc(100vh - 60px);
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.docs-layout {
|
|
display: grid;
|
|
grid-template-columns: 25% 1fr;
|
|
gap: 16px;
|
|
flex: 1;
|
|
min-height: 0;
|
|
}
|
|
|
|
.docs-sidebar h2 {
|
|
margin-bottom: 12px;
|
|
color: #e94560;
|
|
font-size: 1.1em;
|
|
}
|
|
|
|
.docs-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.doc-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 8px 12px;
|
|
background: #16213e;
|
|
border-radius: 6px;
|
|
color: #eee;
|
|
text-decoration: none;
|
|
font-size: 0.9em;
|
|
font-family: "JetBrains Mono", "Fira Code", monospace;
|
|
transition: background 0.2s;
|
|
}
|
|
|
|
.doc-item:hover {
|
|
background: #0f3460;
|
|
}
|
|
|
|
.doc-icon { font-size: 1em; }
|
|
|
|
.docs-breadcrumbs {
|
|
margin-bottom: 16px;
|
|
font-size: 0.85em;
|
|
}
|
|
|
|
.docs-breadcrumbs a {
|
|
color: #e94560;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.docs-breadcrumbs a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.breadcrumb-sep {
|
|
color: #555;
|
|
margin: 0 4px;
|
|
}
|
|
|
|
.docs-sidebar {
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.docs-main {
|
|
min-width: 0;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.docs-content {
|
|
background: #16213e;
|
|
border-radius: 8px;
|
|
padding: 24px;
|
|
line-height: 1.7;
|
|
font-size: 0.95em;
|
|
}
|
|
|
|
.docs-content h1, .docs-content h2, .docs-content h3 {
|
|
color: #e94560;
|
|
margin-top: 1.2em;
|
|
margin-bottom: 0.5em;
|
|
}
|
|
|
|
.docs-content h1 { font-size: 1.5em; border-bottom: 1px solid #333; padding-bottom: 8px; }
|
|
.docs-content h2 { font-size: 1.2em; }
|
|
.docs-content h3 { font-size: 1.05em; }
|
|
|
|
.docs-content a {
|
|
color: #4ecca3;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.docs-content a:hover { text-decoration: underline; }
|
|
|
|
.docs-content code {
|
|
background: #1a1a2e;
|
|
padding: 2px 6px;
|
|
border-radius: 3px;
|
|
font-family: "JetBrains Mono", "Fira Code", monospace;
|
|
font-size: 0.9em;
|
|
}
|
|
|
|
.docs-content pre {
|
|
background: #1a1a2e;
|
|
padding: 12px;
|
|
border-radius: 6px;
|
|
overflow-x: auto;
|
|
margin: 12px 0;
|
|
}
|
|
|
|
.docs-content pre code {
|
|
background: none;
|
|
padding: 0;
|
|
}
|
|
|
|
.docs-content table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
margin: 12px 0;
|
|
}
|
|
|
|
.docs-content th, .docs-content td {
|
|
border: 1px solid #333;
|
|
padding: 8px 12px;
|
|
text-align: left;
|
|
}
|
|
|
|
.docs-content th {
|
|
background: #0f3460;
|
|
}
|
|
|
|
.docs-content ul, .docs-content ol {
|
|
padding-left: 24px;
|
|
margin: 8px 0;
|
|
}
|
|
|
|
.docs-content li { margin: 4px 0; }
|
|
|
|
.docs-content blockquote {
|
|
border-left: 3px solid #e94560;
|
|
padding-left: 12px;
|
|
color: #aaa;
|
|
margin: 12px 0;
|
|
}
|
|
|
|
.docs-content hr {
|
|
border: none;
|
|
border-top: 1px solid #333;
|
|
margin: 16px 0;
|
|
}
|
|
|
|
/* Console — fullscreen */
|
|
.console-container {
|
|
padding: 16px;
|
|
height: calc(100vh - 60px);
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 80vh;
|
|
}
|
|
|
|
.console-panels {
|
|
display: flex;
|
|
gap: 8px;
|
|
flex: 1;
|
|
min-height: 0;
|
|
}
|
|
|
|
.console-panel {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
background: #16213e;
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.console-panel-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 8px 12px;
|
|
border-bottom: 1px solid #0f3460;
|
|
font-size: 0.9em;
|
|
}
|
|
|
|
.session-status {
|
|
font-size: 0.75em;
|
|
padding: 2px 8px;
|
|
border-radius: 4px;
|
|
background: #0f3460;
|
|
}
|
|
|
|
.session-idle { color: #888; }
|
|
.session-running { color: #4ecca3; }
|
|
|
|
.btn-kill {
|
|
margin-left: auto;
|
|
border-color: #e94560;
|
|
color: #e94560;
|
|
padding: 4px 10px;
|
|
font-size: 0.75em;
|
|
}
|
|
|
|
.console-output {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
padding: 12px;
|
|
font-family: "JetBrains Mono", "Fira Code", monospace;
|
|
font-size: 0.8em;
|
|
line-height: 1.5;
|
|
background: #111;
|
|
}
|
|
|
|
.console-cmd {
|
|
color: #4ecca3;
|
|
font-weight: bold;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.console-line {
|
|
color: #ddd;
|
|
white-space: pre-wrap;
|
|
word-break: break-all;
|
|
}
|
|
|
|
.console-error {
|
|
color: #e94560;
|
|
}
|
|
|
|
.console-done {
|
|
color: #666;
|
|
margin-top: 4px;
|
|
font-style: italic;
|
|
}
|
|
|
|
.console-input-row {
|
|
display: flex;
|
|
gap: 4px;
|
|
padding: 8px;
|
|
border-top: 1px solid #0f3460;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.console-input {
|
|
flex: 1;
|
|
background: #1a1a2e;
|
|
border: 1px solid #333;
|
|
border-radius: 6px;
|
|
color: #eee;
|
|
padding: 8px 12px;
|
|
font-family: "JetBrains Mono", "Fira Code", monospace;
|
|
font-size: 0.85em;
|
|
outline: none;
|
|
}
|
|
|
|
.console-input:focus {
|
|
border-color: #e94560;
|
|
}
|
|
|
|
.console-input:disabled {
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.console-toolbar {
|
|
padding: 8px 0;
|
|
display: flex;
|
|
gap: 8px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
/* Responsive */
|
|
@media (max-width: 1100px) {
|
|
.board { grid-template-columns: repeat(3, 1fr); }
|
|
}
|
|
|
|
@media (max-width: 700px) {
|
|
.board { grid-template-columns: repeat(2, 1fr); }
|
|
#task-detail { width: 100%; right: -100%; }
|
|
body.detail-open .board { margin-right: 0; }
|
|
.docs-layout { grid-template-columns: 1fr; }
|
|
}
|
|
|
|
@media (max-width: 500px) {
|
|
.board { grid-template-columns: 1fr; }
|
|
}
|