diff --git a/sources/task-list-mockup.html b/sources/task-list-mockup.html index 6a1d9143..e16560ba 100644 --- a/sources/task-list-mockup.html +++ b/sources/task-list-mockup.html @@ -187,12 +187,98 @@ background: var(--surface); border: 1px solid var(--border); border-radius: 6px; - min-height: 320px; + padding: 16px; + min-width: 0; + } + + /* Results header: count left, page size right */ + .results-header { + display: flex; + flex-wrap: wrap; + align-items: center; + justify-content: space-between; + gap: 8px 16px; + margin-bottom: 16px; + } + .results-count { color: var(--text-muted); } + .results-count strong { color: var(--text); font-weight: 600; } + .page-size { display: flex; align-items: center; - justify-content: center; - padding: 16px; + gap: 8px; + color: var(--text-muted); } + .page-size .form-control { width: auto; } + + /* ---------- Data table ---------- */ + .table-wrap { + overflow-x: auto; + border: 1px solid var(--border); + border-radius: 6px; + margin-bottom: 16px; + } + .task-table { + width: 100%; + border-collapse: collapse; + white-space: nowrap; + } + .task-table th, + .task-table td { + padding: 12px 16px; + text-align: left; + vertical-align: middle; + border-bottom: 1px solid var(--border); + } + .task-table thead th { + background: var(--secondary-bg); + font-size: 12px; + font-weight: 600; + color: var(--text-muted); + text-transform: uppercase; + letter-spacing: 0.03em; + } + .sort-link { + display: inline-flex; + align-items: center; + gap: 4px; + color: inherit; + text-decoration: none; + } + .sort-link:hover { color: var(--primary); } + th[aria-sort="ascending"] .sort-link, + th[aria-sort="descending"] .sort-link { color: var(--text); } + .sort-indicator { font-size: 10px; } + .task-table tbody tr:last-child td { border-bottom: 0; } + .task-table tbody tr:hover { background: var(--secondary-bg); } + + .task-title { font-weight: 600; white-space: normal; min-width: 200px; } + .task-id { display: block; font-size: 12px; color: var(--text-muted); } + + /* Status badge — neutral until badge colors are specified */ + .badge { + display: inline-block; + padding: 2px 8px; + border-radius: 12px; + font-size: 12px; + font-weight: 500; + background: #eaecef; + color: var(--text); + } + + /* Priority: 8px dot + label */ + .priority { display: inline-flex; align-items: center; gap: 6px; } + .priority-indicator { + width: 8px; + height: 8px; + border-radius: 50%; + flex-shrink: 0; + } + .priority-high .priority-indicator { background: #cb2431; } + .priority-medium .priority-indicator { background: #e67e22; } + .priority-low .priority-indicator { background: #28a745; } + + .btn-sm { padding: 3px 12px; font-size: 12px; } + .placeholder { color: var(--text-muted); text-align: center; @@ -240,18 +326,21 @@