Files
kanbante/static/css/style.css
T
Spark 2fde103e93 feat(nav): header unifié desktop/mobile (issue #16)
Partiel _header.html unique pour les 19 pages (fin des copies qui
dérivaient): desktop une ligne — primaires + menu Plus + Ctrl K,
page active déduite du gabarit dans render(); mobile ≤900px
burger + panneau ≥44px, Échap/clic extérieur; wallboard sans
header et triage sur le même partiel. nav.js partagé.
2026-10-11 20:15:23 -04:00

1212 lines
43 KiB
CSS

/* ═══════════════════════════════════════════════
Kanbante — design system 0.4
Dark, calm, modern. One accent gradient, generous
radii, soft depth, visible focus, quiet motion.
═══════════════════════════════════════════════ */
:root {
--bg: #0b0e14;
--bg-glow-1: rgba(124, 92, 252, 0.13);
--bg-glow-2: rgba(91, 138, 247, 0.10);
--surface: #141822;
--surface-2: #1b202e;
--surface-3: #232939;
--border: rgba(148, 152, 164, 0.16);
--border-strong: rgba(148, 152, 164, 0.30);
--text: #eceef3;
--text-2: #9aa0ae;
--text-3: #6d7280;
--accent: #7c5cfc;
--accent-2: #5b8af7;
--green: #10b981;
--yellow: #f59e0b;
--red: #ef4444;
--radius: 14px;
--radius-sm: 10px;
--shadow: 0 8px 28px rgba(0, 0, 0, 0.38);
--shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.25);
--ring: 0 0 0 3px rgba(124, 92, 252, 0.35);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
background:
radial-gradient(900px 480px at 12% -8%, var(--bg-glow-1), transparent 60%),
radial-gradient(820px 460px at 88% -10%, var(--bg-glow-2), transparent 60%),
var(--bg);
background-attachment: fixed;
color: var(--text);
min-height: 100vh;
display: flex;
flex-direction: column;
-webkit-font-smoothing: antialiased;
line-height: 1.45;
}
::selection { background: rgba(124, 92, 252, 0.45); }
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible {
outline: none;
box-shadow: var(--ring);
border-radius: 6px;
}
button, input, select, textarea { font: inherit; }
/* ── App header ─────────────────────────────── */
.app-header, header {
position: sticky;
top: 0;
z-index: 100;
display: flex;
justify-content: space-between;
align-items: center;
gap: 16px;
padding: 12px 24px;
background: rgba(16, 19, 28, 0.82);
backdrop-filter: blur(14px);
-webkit-backdrop-filter: blur(14px);
border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.logo {
display: inline-flex;
align-items: center;
gap: 9px;
font-size: 1.18rem;
font-weight: 700;
color: var(--text);
white-space: nowrap;
}
.logo:hover { text-decoration: none; }
.logo-mark {
display: inline-flex;
align-items: center;
justify-content: center;
width: 34px;
height: 34px;
border-radius: 10px;
background: linear-gradient(135deg, var(--accent), var(--accent-2));
box-shadow: var(--shadow-sm);
font-size: 1rem;
}
.gradient-text {
background: linear-gradient(120deg, #a78bfa, #7dd3fc);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
}
.crumb { color: var(--text-2); font-size: 1.02rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crumb .sep, header h1 .sep { color: var(--text-3); margin: 0 4px; }
.crumb strong { color: var(--text); }
header h1 { font-size: 1.2rem; font-weight: 600; }
.nav-pills, nav { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.nav-pill {
padding: 7px 14px;
border-radius: 999px;
font-size: 0.86rem;
font-weight: 500;
color: var(--text-2);
border: 1px solid transparent;
transition: background 0.15s, color 0.15s, border-color 0.15s;
white-space: nowrap;
}
.nav-pill:hover { color: var(--text); background: var(--surface-2); text-decoration: none; }
.nav-pill.active {
color: #fff;
background: linear-gradient(135deg, rgba(124,92,252,.85), rgba(91,138,247,.85));
border-color: rgba(255,255,255,0.12);
}
.badge {
padding: 4px 12px;
border-radius: 999px;
font-size: 0.78rem;
font-weight: 600;
background: color-mix(in srgb, var(--accent) 18%, transparent);
color: #c4b5fd;
}
.badge.secondary { background: var(--surface-2); color: var(--text-2); }
.btn-sm {
padding: 7px 14px;
border-radius: 999px;
font-size: 0.85rem;
font-weight: 500;
background: var(--surface-2);
border: 1px solid var(--border);
color: var(--text);
cursor: pointer;
transition: background 0.15s, border-color 0.15s, transform 0.1s;
}
.btn-sm:hover { background: var(--surface-3); border-color: var(--border-strong); text-decoration: none; }
.btn-sm:active { transform: scale(0.97); }
/* ── Hero (dashboard) ───────────────────────── */
.hero {
display: flex;
justify-content: space-between;
align-items: flex-end;
gap: 24px;
flex-wrap: wrap;
padding: 30px 24px 6px;
}
.hero-text h2 { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 6px; }
.hero-text p { color: var(--text-2); font-size: 0.95rem; max-width: 520px; }
.stat-tiles { display: flex; gap: 10px; flex-wrap: wrap; }
.stat-tile {
background: linear-gradient(180deg, var(--surface-2), var(--surface));
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 12px 18px;
min-width: 118px;
display: flex;
flex-direction: column;
gap: 2px;
}
.stat-num { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.01em; }
.stat-label { font-size: 0.72rem; color: var(--text-2); text-transform: uppercase; letter-spacing: 0.4px; }
/* ── Tabs + search (dashboard) ──────────────── */
.tabs {
display: flex;
gap: 6px;
padding: 18px 24px 0;
flex-wrap: wrap;
}
.tabs button {
padding: 8px 16px;
border: 1px solid var(--border);
border-radius: 999px;
background: var(--surface);
color: var(--text-2);
cursor: pointer;
font-size: 0.88rem;
font-weight: 500;
transition: all 0.15s;
}
.tabs button.active {
color: #fff;
background: linear-gradient(135deg, rgba(124,92,252,.9), rgba(91,138,247,.9));
border-color: transparent;
}
.tabs button:hover { color: var(--text); }
.tabs button.active:hover { color: #fff; }
.search-bar { padding: 14px 24px 2px; display: flex; align-items: center; gap: 10px; }
.search-bar input {
width: 100%;
max-width: 430px;
padding: 11px 16px;
border-radius: 999px;
border: 1px solid var(--border);
background: var(--surface);
color: var(--text);
font-size: 0.92rem;
outline: none;
transition: border-color 0.15s, box-shadow 0.15s;
}
.search-bar input:focus { border-color: var(--accent); box-shadow: var(--ring); }
.kbd {
font-size: 0.72rem;
color: var(--text-3);
border: 1px solid var(--border);
border-bottom-width: 2px;
border-radius: 6px;
padding: 2px 7px;
background: var(--surface);
}
/* ── Project cards ──────────────────────────── */
.project-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
gap: 16px;
padding: 20px 24px 28px;
}
.project-card {
background: linear-gradient(180deg, var(--surface-2), var(--surface));
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 20px;
transition: transform 0.18s ease, border-color 0.18s, box-shadow 0.18s;
}
.project-card:hover {
transform: translateY(-3px);
border-color: var(--border-strong);
box-shadow: var(--shadow);
}
.project-card.archived { opacity: 0.55; }
.project-card.archived:hover { opacity: 0.85; }
.card-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 10px;
}
.org-tag {
font-size: 0.68rem;
text-transform: uppercase;
letter-spacing: 0.6px;
color: #c4b5fd;
font-weight: 700;
}
.date { font-size: 0.75rem; color: var(--text-3); }
.project-card h3 { font-size: 1.08rem; margin-bottom: 6px; letter-spacing: -0.01em; }
.project-card h3 a { color: var(--text); }
.project-card h3 a:hover { color: #a5c4fd; text-decoration: none; }
.desc {
font-size: 0.85rem;
color: var(--text-2);
line-height: 1.45;
margin-bottom: 14px;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
min-height: 2.4em;
}
.card-footer {
display: flex;
justify-content: space-between;
align-items: center;
font-size: 0.8rem;
color: var(--text-2);
gap: 10px;
}
.mini-progress { display: flex; gap: 4px; }
.chip {
padding: 2px 9px;
border-radius: 999px;
font-size: 0.7rem;
font-weight: 700;
}
.progress {
height: 6px;
border-radius: 999px;
background: var(--surface-3);
overflow: hidden;
margin-bottom: 12px;
}
.progress > span {
display: block;
height: 100%;
border-radius: 999px;
background: linear-gradient(90deg, var(--green), #34d399);
transition: width 0.4s ease;
}
.progress-lg { height: 10px; flex: 1; margin-bottom: 0; }
.empty-state {
grid-column: 1 / -1;
border: 1.5px dashed var(--border-strong);
border-radius: var(--radius);
padding: 34px 24px;
text-align: center;
color: var(--text-2);
font-size: 0.95rem;
background: rgba(255,255,255,0.015);
}
/* ── Milestones (board) ─────────────────────── */
.milestone-bar {
display: flex;
align-items: center;
gap: 8px;
flex-wrap: wrap;
padding: 14px 24px 0;
}
.milestone-label { font-size: 0.82rem; color: var(--text-2); font-weight: 600; margin-right: 2px; }
.milestone-chip {
padding: 6px 13px;
border-radius: 999px;
border: 1px solid var(--border);
background: var(--surface);
color: var(--text-2);
font-size: 0.83rem;
font-weight: 500;
transition: all 0.15s;
}
.milestone-chip:hover { color: var(--text); text-decoration: none; border-color: var(--border-strong); }
.milestone-chip.active {
color: #fff;
background: linear-gradient(135deg, rgba(124,92,252,.9), rgba(91,138,247,.9));
border-color: transparent;
}
.milestone-banner {
display: flex;
align-items: center;
gap: 16px;
margin: 14px 24px 0;
padding: 14px 18px;
background: linear-gradient(120deg, rgba(124,92,252,.14), rgba(91,138,247,.10));
border: 1px solid rgba(124,92,252,.35);
border-radius: var(--radius);
flex-wrap: wrap;
}
.milestone-info { display: flex; gap: 14px; align-items: baseline; flex-wrap: wrap; font-size: 0.92rem; }
.milestone-due, .milestone-count { color: var(--text-2); font-size: 0.85rem; }
.milestone-pct { font-weight: 700; font-size: 1.05rem; }
/* ── Board toolbar ──────────────────────────── */
.board-toolbar {
display: flex;
gap: 10px;
align-items: center;
flex-wrap: wrap;
padding: 16px 24px 4px;
}
.board-toolbar input[type="text"],
.board-toolbar select {
padding: 10px 15px;
border-radius: 999px;
border: 1px solid var(--border);
background: var(--surface);
color: var(--text);
font-size: 0.9rem;
outline: none;
transition: border-color 0.15s, box-shadow 0.15s;
}
.board-toolbar select { border-radius: var(--radius-sm); }
.board-toolbar input[type="text"]:focus,
.board-toolbar select:focus { border-color: var(--accent); box-shadow: var(--ring); }
.board-toolbar form { display: flex; gap: 8px; flex: 1; min-width: 260px; }
.board-toolbar form input { flex: 1; }
.btn-inline { margin-top: 0; padding: 10px 20px; border-radius: 999px; }
/* ── Kanban board ───────────────────────────── */
.board-container {
display: flex;
flex: 1;
overflow: hidden;
}
.kanban-board {
display: flex;
flex: 1;
overflow-x: auto;
padding: 16px 24px 22px;
gap: 14px;
align-items: flex-start;
scroll-snap-type: x proximity;
}
.kanban-column {
min-width: 282px;
max-width: 342px;
flex: 1;
display: flex;
flex-direction: column;
background: rgba(20, 24, 34, 0.72);
border-radius: var(--radius);
border: 1px solid var(--border);
scroll-snap-align: start;
max-height: calc(100vh - 210px);
}
.column-header {
padding: 13px 16px 11px;
display: flex;
justify-content: space-between;
align-items: center;
border-radius: var(--radius) var(--radius) 0 0;
}
.column-title { font-weight: 650; font-size: 0.9rem; letter-spacing: 0.01em; }
.column-count {
background: var(--surface-3);
padding: 2px 10px;
border-radius: 999px;
font-size: 0.74rem;
font-weight: 600;
color: var(--text-2);
}
.column-count.over {
background: color-mix(in srgb, var(--red) 22%, transparent);
color: #fca5a5;
font-weight: 700;
}
.column-cards {
flex: 1;
padding: 4px 10px 12px;
min-height: 90px;
overflow-y: auto;
}
.column-empty {
color: var(--text-3);
font-size: 0.8rem;
text-align: center;
padding: 16px 8px;
border: 1.5px dashed var(--border);
border-radius: var(--radius-sm);
margin-top: 4px;
}
/* Cards */
.kanban-card {
background: linear-gradient(180deg, var(--surface-3), var(--surface-2));
border: 1px solid var(--border);
border-radius: var(--radius-sm);
padding: 12px 13px;
margin-bottom: 9px;
cursor: grab;
transition: box-shadow 0.16s, transform 0.16s, border-color 0.16s;
}
.kanban-card:hover {
box-shadow: var(--shadow-sm);
border-color: var(--border-strong);
transform: translateY(-1px);
}
.kanban-card:active { cursor: grabbing; }
.kanban-card.dragging { opacity: 0.55; transform: rotate(2deg) scale(1.02); box-shadow: var(--shadow); }
.card-id {
font-size: 0.7rem;
color: #c4b5fd;
font-weight: 700;
margin-bottom: 4px;
display: flex;
gap: 6px;
align-items: center;
}
.card-id a { color: var(--text-3); }
.card-id a:hover { color: var(--accent-2); text-decoration: none; }
.card-title { font-size: 0.87rem; line-height: 1.42; margin-bottom: 7px; }
.card-labels { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
.label-tag {
padding: 1px 8px;
border-radius: 999px;
font-size: 0.64rem;
font-weight: 700;
}
.card-meta {
display: flex;
justify-content: space-between;
align-items: center;
gap: 8px;
font-size: 0.7rem;
color: var(--text-3);
}
.avatar { width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--border-strong); }
.age-badge {
background: color-mix(in srgb, var(--yellow) 18%, transparent);
color: #fcd34d;
padding: 1px 8px;
border-radius: 999px;
font-weight: 700;
}
.age-badge.stale {
background: color-mix(in srgb, var(--red) 20%, transparent);
color: #fca5a5;
}
/* Notes panel */
.notes-panel {
width: 292px;
background: rgba(20, 24, 34, 0.72);
border-left: 1px solid var(--border);
padding: 20px;
display: flex;
flex-direction: column;
}
.notes-panel h3 { font-size: 0.92rem; margin-bottom: 6px; }
.notes-hint { font-size: 0.78rem; color: var(--text-3); margin-bottom: 12px; line-height: 1.45; }
.notes-panel form { display: flex; flex-direction: column; flex: 1; }
.notes-panel textarea {
flex: 1;
background: var(--bg);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
color: var(--text);
padding: 12px;
font-size: 0.85rem;
font-family: inherit;
resize: none;
outline: none;
transition: border-color 0.15s, box-shadow 0.15s;
}
.notes-panel textarea:focus { border-color: var(--accent); box-shadow: var(--ring); }
.btn-save {
margin-top: 10px;
padding: 10px 18px;
background: linear-gradient(135deg, var(--accent), var(--accent-2));
color: #fff;
border: none;
border-radius: var(--radius-sm);
cursor: pointer;
font-size: 0.87rem;
font-weight: 600;
transition: filter 0.15s, transform 0.1s;
box-shadow: var(--shadow-sm);
}
.btn-save:hover { filter: brightness(1.12); }
.btn-save:active { transform: scale(0.98); }
/* Footer */
footer {
padding: 14px 24px;
border-top: 1px solid var(--border);
font-size: 0.79rem;
color: var(--text-3);
display: flex;
justify-content: space-between;
gap: 12px;
flex-wrap: wrap;
margin-top: auto;
}
/* Toast + live pill */
.toast {
position: fixed;
bottom: 24px;
right: 24px;
padding: 12px 20px;
border-radius: var(--radius-sm);
background: linear-gradient(135deg, #059669, var(--green));
color: #fff;
font-size: 0.86rem;
font-weight: 500;
box-shadow: var(--shadow);
z-index: 1000;
animation: toast-in 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
.toast.error { background: linear-gradient(135deg, #b91c1c, var(--red)); }
@keyframes toast-in { from { transform: translateY(16px) scale(0.96); opacity: 0; } }
#live-pill {
position: fixed;
bottom: 24px;
left: 50%;
transform: translateX(-50%);
z-index: 1000;
padding: 11px 20px;
border-radius: 999px;
border: 1px solid rgba(255,255,255,0.18);
background: linear-gradient(135deg, var(--accent), var(--accent-2));
color: #fff;
font-size: 0.87rem;
font-weight: 600;
cursor: pointer;
box-shadow: var(--shadow);
animation: toast-in 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
#live-pill:hover { filter: brightness(1.12); }
/* Scrollbars */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-3); }
/* ── Focus view ─────────────────────────────── */
.focus-main { padding: 26px 24px; max-width: 1120px; width: 100%; margin: 0 auto; }
.focus-intro { color: var(--text-2); margin-bottom: 22px; font-size: 0.96rem; }
.focus-empty {
font-size: 1.02rem;
padding: 36px 24px;
text-align: center;
border: 1.5px dashed var(--border-strong);
border-radius: var(--radius);
color: var(--text-2);
}
.focus-group { margin-bottom: 30px; }
.focus-group h2 { font-size: 1.06rem; margin-bottom: 12px; display: flex; gap: 10px; align-items: center; }
.focus-group h2 a { color: var(--text); }
.focus-group h2 a:hover { color: #a5c4fd; text-decoration: none; }
.focus-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.focus-card { margin-bottom: 0; cursor: default; }
/* ── Error page ─────────────────────────────── */
.error-main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 24px; }
.error-box {
background: linear-gradient(180deg, var(--surface-2), var(--surface));
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 36px;
max-width: 560px;
text-align: center;
box-shadow: var(--shadow-sm);
}
.error-box h2 { margin-bottom: 12px; }
.error-box p { color: var(--text-2); margin-bottom: 16px; line-height: 1.55; }
/* ── Card detail drawer ─────────────────────── */
.detail-overlay {
position: fixed; inset: 0;
background: rgba(4, 6, 10, 0.6);
backdrop-filter: blur(3px);
z-index: 200;
animation: fade-in 0.18s ease;
}
@keyframes fade-in { from { opacity: 0; } }
.card-detail {
position: fixed; top: 0; right: 0;
width: min(500px, 94vw); height: 100dvh;
background: var(--surface);
border-left: 1px solid var(--border-strong);
z-index: 201;
padding: 22px;
overflow-y: auto;
box-shadow: var(--shadow);
animation: drawer-in 0.24s cubic-bezier(0.2, 0.8, 0.3, 1);
}
@keyframes drawer-in { from { transform: translateX(40px); opacity: 0; } }
.detail-head { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
.detail-head .btn-sm { margin-left: auto; }
.card-detail h2 { font-size: 1.18rem; line-height: 1.35; margin-bottom: 8px; letter-spacing: -0.01em; }
.detail-meta { color: var(--text-2); font-size: 0.85rem; margin-bottom: 10px; }
.detail-body {
background: var(--bg);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
padding: 15px;
font-size: 0.9rem;
line-height: 1.6;
margin: 12px 0;
word-break: break-word;
}
.detail-body p { margin-bottom: 10px; }
.detail-body ul, .detail-body ol { margin: 0 0 10px 20px; }
.detail-body pre { background: var(--surface-2); padding: 11px; border-radius: 8px; overflow-x: auto; margin-bottom: 10px; }
.detail-body code { font-size: 0.82rem; }
.detail-body a { word-break: break-all; }
.detail-empty { color: var(--text-3); font-style: italic; }
.detail-comments-title { font-size: 0.96rem; margin: 18px 0 10px; }
.comment {
background: var(--surface-2);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
padding: 11px 13px;
margin-bottom: 9px;
}
.comment-head { font-size: 0.74rem; color: var(--text-3); margin-bottom: 6px; }
.comment-body { font-size: 0.88rem; line-height: 1.55; word-break: break-word; }
.comment-body p { margin-bottom: 8px; }
#comment-form textarea {
width: 100%;
background: var(--bg);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
color: var(--text);
padding: 11px;
font-family: inherit;
font-size: 0.88rem;
resize: vertical;
outline: none;
transition: border-color 0.15s, box-shadow 0.15s;
}
#comment-form textarea:focus { border-color: var(--accent); box-shadow: var(--ring); }
.detail-foot { margin-top: 14px; font-size: 0.85rem; }
/* ── Activity feed ──────────────────────────── */
.activity-list { display: flex; flex-direction: column; gap: 8px; }
.activity-item {
display: flex; gap: 12px; align-items: baseline;
background: linear-gradient(180deg, var(--surface-2), var(--surface));
border: 1px solid var(--border);
border-radius: var(--radius-sm);
padding: 11px 15px;
font-size: 0.9rem;
transition: border-color 0.15s;
}
.activity-item:hover { border-color: var(--border-strong); }
.activity-date { color: var(--text-3); font-size: 0.77rem; margin-left: 8px; white-space: nowrap; }
.activity-icon { font-size: 1rem; line-height: 1; }
.activity-text { flex: 1; }
.card-date { color: var(--text-3); }
/* ── Search / my issues / briefing ──────────── */
.search-hero { display: flex; gap: 10px; margin-bottom: 18px; }
.search-hero input {
flex: 1;
padding: 13px 18px;
border-radius: 999px;
border: 1px solid var(--border);
background: var(--surface);
color: var(--text);
font-size: 1rem;
outline: none;
}
.search-hero input:focus { border-color: var(--accent); box-shadow: var(--ring); }
.issue-results { display: flex; flex-direction: column; gap: 7px; }
.issue-row {
display: flex;
align-items: center;
gap: 10px;
flex-wrap: wrap;
background: linear-gradient(180deg, var(--surface-2), var(--surface));
border: 1px solid var(--border);
border-radius: var(--radius-sm);
padding: 10px 14px;
font-size: 0.9rem;
transition: border-color 0.15s;
}
.issue-row:hover { border-color: var(--border-strong); }
.issue-main { color: var(--text); flex: 1; min-width: 220px; }
.issue-main:hover { color: #a5c4fd; text-decoration: none; }
.col-chip {
padding: 2px 10px;
border-radius: 999px;
font-size: 0.72rem;
font-weight: 700;
}
.briefing-tiles { margin-bottom: 18px; }
.briefing-card {
background: linear-gradient(180deg, var(--surface-2), var(--surface));
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 20px;
margin-bottom: 16px;
}
.briefing-card h2 { font-size: 1.02rem; margin-bottom: 12px; }
.briefing-text {
white-space: pre-wrap;
font-family: inherit;
font-size: 0.9rem;
line-height: 1.6;
color: var(--text);
}
.briefing-card code, .empty-state code {
background: var(--surface-3);
padding: 1px 6px;
border-radius: 5px;
font-size: 0.82em;
}
/* ── Notes panel v2 ─────────────────────────── */
.notes-panel { position: relative; transition: width 0.18s ease; }
.notes-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.notes-head h3 { margin-bottom: 0; }
.notes-toggle { padding: 4px 10px; }
.notes-panel.collapsed { width: 54px !important; padding: 14px 10px; }
.notes-panel.collapsed .notes-body-wrap { display: none; }
.notes-panel.collapsed .notes-head h3 { display: none; }
.notes-panel.collapsed .notes-head { justify-content: center; }
.notes-resize {
position: absolute;
left: -3px; top: 0;
width: 7px; height: 100%;
cursor: col-resize;
z-index: 5;
}
.notes-resize:hover { background: rgba(124, 92, 252, 0.35); }
.notes-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 10px; }
.notes-foot .btn-save { margin-top: 0; }
.notes-status { font-size: 0.76rem; color: var(--text-3); }
/* ── Label manager + toggles ────────────────── */
.modal {
position: fixed; inset: 0;
background: rgba(4, 6, 10, 0.6);
backdrop-filter: blur(3px);
z-index: 300;
display: flex;
align-items: flex-start;
justify-content: center;
padding: 8vh 16px 16px;
}
.modal[hidden] { display: none; }
.modal-box {
background: var(--surface);
border: 1px solid var(--border-strong);
border-radius: var(--radius);
box-shadow: var(--shadow);
width: min(560px, 94vw);
max-height: 80vh;
overflow-y: auto;
padding: 22px;
animation: drawer-in 0.22s cubic-bezier(0.2, 0.8, 0.3, 1);
}
.modal-box h2 { font-size: 1.1rem; }
.label-list { display: flex; flex-direction: column; gap: 8px; margin: 14px 0; }
.label-row {
display: flex;
justify-content: space-between;
align-items: center;
background: var(--surface-2);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
padding: 8px 12px;
}
.label-del { font-size: 0.78rem; padding: 5px 10px; }
.label-create-form { display: flex; gap: 8px; align-items: center; }
.label-create-form input[type="text"] {
flex: 1;
padding: 10px 14px;
border-radius: var(--radius-sm);
border: 1px solid var(--border);
background: var(--bg);
color: var(--text);
outline: none;
}
.label-create-form input[type="text"]:focus { border-color: var(--accent); box-shadow: var(--ring); }
.label-create-form input[type="color"] {
width: 44px; height: 40px;
border: 1px solid var(--border);
border-radius: var(--radius-sm);
background: var(--bg);
cursor: pointer;
padding: 3px;
}
.label-swatches { display: flex; gap: 6px; margin-top: 10px; }
.swatch {
width: 22px; height: 22px;
border-radius: 50%;
border: 2px solid rgba(255,255,255,0.25);
cursor: pointer;
padding: 0;
}
.swatch:hover { transform: scale(1.15); }
.detail-labels-manage { margin: 4px 0 10px; }
.label-toggles { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.label-toggle { cursor: pointer; opacity: 0.45; transition: opacity 0.15s, transform 0.1s; }
.label-toggle:hover { opacity: 0.85; }
.label-toggle.on { opacity: 1; box-shadow: 0 0 0 1.5px currentColor inset; }
/* ── Responsive ─────────────────────────────── */
@media (max-width: 900px) {
.hero { flex-direction: column; align-items: flex-start; }
.kanban-column { max-height: none; }
}
@media (max-width: 768px) {
.app-header, header { padding: 10px 14px; }
.crumb { display: none; }
.hero, .tabs, .search-bar, .project-grid, .board-toolbar, .milestone-bar { padding-left: 14px; padding-right: 14px; }
.milestone-banner { margin-left: 14px; margin-right: 14px; }
.board-container { flex-direction: column; overflow: visible; }
.notes-panel { width: 100%; max-height: 240px; border-left: none; border-top: 1px solid var(--border); }
.kanban-board { flex-direction: column; overflow-x: visible; padding: 14px; }
.kanban-column { max-width: 100%; min-width: 100%; }
.project-grid { grid-template-columns: 1fr; }
.column-cards { overflow-y: visible; }
footer { padding: 12px 14px; }
}
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
animation-duration: 0.01ms !important;
transition-duration: 0.01ms !important;
scroll-behavior: auto !important;
}
}
/* ── Wallboard (0.6.0) : affichage plein écran, lisible à 3 mètres ── */
.wall-body {
background: #0b1220;
color: #e5ecf5;
margin: 0;
font-family: inherit;
}
.wall-stage { position: relative; min-height: 100vh; }
.wall-slide {
display: none;
min-height: 100vh;
box-sizing: border-box;
padding: 4vh 4vw;
flex-direction: column;
gap: 3vh;
}
.wall-slide.active { display: flex; animation: wall-in 0.45s ease; }
@keyframes wall-in { from { opacity: 0; } to { opacity: 1; } }
.wall-head {
display: flex; justify-content: space-between; align-items: flex-start; gap: 24px;
}
.wall-kicker { font-size: 1rem; letter-spacing: 0.22em; text-transform: uppercase; color: #8fa3bf; }
.wall-project { font-size: clamp(2.2rem, 5.2vw, 4.2rem); margin: 0.4rem 0 0; line-height: 1.05; }
.wall-clock { text-align: right; }
.wall-time { font-size: clamp(2rem, 4.5vw, 3.6rem); font-weight: 800; line-height: 1; }
.wall-date { color: #8fa3bf; font-size: 1.15rem; margin-top: 0.35rem; text-transform: capitalize; }
.wall-rotation { color: #5b6b84; margin-top: 0.4rem; font-size: 1rem; }
.wall-counts {
display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px;
}
.wall-count {
border: 1.5px solid var(--col);
border-top: 6px solid var(--col);
border-radius: 14px;
padding: 14px 10px 12px;
text-align: center;
background: rgba(255, 255, 255, 0.03);
}
.wall-count-n { display: block; font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 800; }
.wall-count-l { display: block; color: #aebdd2; font-size: clamp(0.78rem, 1.25vw, 1.02rem); margin-top: 2px; }
.wall-cards { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.wall-card {
display: flex; align-items: center; gap: 18px;
background: rgba(255, 255, 255, 0.045);
border-radius: 14px;
padding: 16px 20px;
font-size: clamp(1.15rem, 2.1vw, 1.7rem);
}
.wall-card-col {
border: 1.5px solid var(--col); color: var(--col);
border-radius: 999px; padding: 4px 14px;
font-size: 0.62em; font-weight: 700; white-space: nowrap;
}
.wall-card-title { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wall-card-age { color: #fbbf24; font-weight: 700; white-space: nowrap; }
.wall-card-age.hot { color: #f87171; }
.wall-idle { font-size: 1.5rem; color: #8fa3bf; }
.wall-foot {
margin-top: auto;
display: flex; gap: 36px; flex-wrap: wrap;
font-size: clamp(1rem, 1.7vw, 1.35rem); color: #aebdd2;
}
.wall-live { color: #34d399; font-weight: 700; letter-spacing: 0.08em; }
.wall-empty {
min-height: 100vh; display: flex; flex-direction: column;
align-items: center; justify-content: center; gap: 10px; text-align: center;
color: #aebdd2; padding: 24px;
}
.wall-empty h1 { color: #e5ecf5; font-size: 2.6rem; margin: 0; }
.wall-empty code { background: rgba(255,255,255,0.08); padding: 2px 8px; border-radius: 6px; }
@media (max-width: 900px) {
.wall-counts { grid-template-columns: repeat(3, 1fr); }
}
/* ── Capture éclair (0.7.0) ── */
.capture-form { display: flex; flex-direction: column; gap: 12px; }
.capture-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; }
.capture-form input, .capture-form textarea, .capture-form select {
padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm);
background: var(--bg-2); color: var(--text-1); font: inherit; font-weight: 400;
}
.capture-form .btn { align-self: flex-start; }
.capture-pre {
background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-sm);
padding: 12px 14px; overflow-x: auto; font-size: 0.82rem; line-height: 1.5;
}
/* ── Palette de commandes (0.8.0, #10) ── */
.palette-overlay {
position: fixed; inset: 0; z-index: 200;
background: rgba(5, 10, 20, 0.62);
backdrop-filter: blur(3px);
display: flex; justify-content: center; align-items: flex-start;
padding: 10vh 16px 16px;
}
.palette-overlay[hidden] { display: none; }
.palette {
width: min(640px, 100%);
background: var(--surface-1, #131a29);
border: 1px solid var(--border-strong, #2c3a52);
border-radius: 16px;
box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
overflow: hidden;
animation: wall-in 0.15s ease;
}
.palette-input-row {
display: flex; align-items: center; gap: 12px;
padding: 14px 16px; border-bottom: 1px solid var(--border, #22304a);
}
.palette-input-row input {
flex: 1; background: transparent; border: none; outline: none;
color: var(--text-1); font: inherit; font-size: 1.05rem;
}
.palette-input-row kbd {
background: var(--surface-3, #1d2942); border: 1px solid var(--border, #22304a);
border-radius: 6px; padding: 2px 8px; font-size: 0.75rem; color: var(--text-3);
}
.palette-results { list-style: none; margin: 0; padding: 8px; max-height: 46vh; overflow-y: auto; }
.palette-item {
display: flex; align-items: center; gap: 12px;
padding: 10px 12px; border-radius: 10px; cursor: pointer;
}
.palette-item.active { background: var(--surface-3, #1d2942); }
.palette-item-icon { font-size: 1.05rem; width: 24px; text-align: center; }
.palette-item-main { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.palette-item-sub { color: var(--text-3); font-size: 0.8rem; white-space: nowrap; }
.palette-empty { padding: 18px 14px; color: var(--text-3); text-align: center; }
.palette-hint {
padding: 9px 16px; border-top: 1px solid var(--border, #22304a);
color: var(--text-3); font-size: 0.78rem; text-align: right;
}
.palette-trigger { cursor: pointer; font: inherit; }
/* ── Mode Triage (0.10.0, #11) ── */
.triage-main { max-width: 860px; margin: 0 auto; padding: 24px 16px 40px; }
.triage-head h1 { margin: 0 0 12px; font-size: 1.4rem; }
.triage-progress-wrap { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.triage-progress { flex: 1; height: 10px; border-radius: 99px; background: var(--surface-3, #1d2942); overflow: hidden; }
.triage-progress-bar { height: 100%; width: 0; background: var(--good, #3fb950); border-radius: 99px; transition: width 0.25s ease; }
.triage-progress-label { color: var(--text-3); font-size: 0.85rem; white-space: nowrap; }
.triage-card {
background: var(--surface-1, #131a29);
border: 1px solid var(--border-strong, #2c3a52);
border-radius: 16px; padding: 26px 28px; min-height: 220px;
}
.triage-card-top { display: flex; gap: 14px; align-items: baseline; color: var(--text-3); font-size: 0.88rem; }
.triage-card-num { font-weight: 700; color: var(--accent, #58a6ff); }
.triage-card-link { margin-left: auto; color: var(--text-3); text-decoration: none; }
.triage-card-title { margin: 10px 0 8px; font-size: 1.5rem; line-height: 1.3; }
.triage-card-labels { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.triage-card-excerpt { color: var(--text-2, #b6c2d2); line-height: 1.55; white-space: pre-wrap; }
.triage-card-assign { color: var(--text-3); }
.triage-keys { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.triage-keys button {
background: var(--surface-2, #182236); color: var(--text-1);
border: 1px solid var(--border, #22304a); border-radius: 10px;
padding: 9px 13px; font: inherit; font-size: 0.9rem; cursor: pointer;
}
.triage-keys button:hover { border-color: var(--accent, #58a6ff); }
.triage-keys kbd {
background: var(--surface-3, #1d2942); border: 1px solid var(--border-strong, #2c3a52);
border-radius: 5px; padding: 1px 6px; font-size: 0.78rem; margin-right: 4px;
}
.triage-status { min-height: 22px; margin-top: 12px; color: var(--good, #3fb950); }
.triage-labels {
margin-top: 14px; background: var(--surface-1, #131a29);
border: 1px solid var(--border-strong, #2c3a52); border-radius: 14px; padding: 16px 18px;
}
.triage-labels-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.triage-labels-list { display: flex; gap: 8px; flex-wrap: wrap; }
.triage-label-chip {
background: var(--surface-3, #1d2942); color: var(--text-1);
border: 1px solid var(--border, #22304a); border-radius: 99px;
padding: 5px 12px; font: inherit; font-size: 0.85rem; cursor: pointer;
}
.triage-label-chip.on { border-color: var(--good, #3fb950); color: var(--good, #3fb950); }
.triage-done { background: var(--surface-1, #131a29); border: 1px solid var(--border-strong, #2c3a52); border-radius: 16px; padding: 26px 28px; }
.triage-summary { line-height: 1.9; }
.triage-projects { display: grid; gap: 10px; }
.triage-project {
display: flex; justify-content: space-between; align-items: center;
background: var(--surface-1, #131a29); border: 1px solid var(--border, #22304a);
border-radius: 12px; padding: 16px 20px; color: var(--text-1); text-decoration: none;
}
.triage-project:hover { border-color: var(--accent, #58a6ff); }
.triage-project-count { color: var(--text-3); }
/* ── Wallboard : navigation manuelle (0.11.0) ── */
.wall-nav {
position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%);
display: flex; align-items: center; gap: 14px; z-index: 50;
}
.wall-nav-btn {
width: 46px; height: 46px; border-radius: 50%;
background: rgba(19, 26, 41, 0.72); color: #dbe4f0;
border: 1px solid rgba(143, 163, 191, 0.45);
font-size: 1.15rem; cursor: pointer; backdrop-filter: blur(4px);
}
.wall-nav-btn:hover { border-color: #58a6ff; color: #fff; }
.wall-dots { display: flex; gap: 8px; }
.wall-dot {
width: 13px; height: 13px; border-radius: 50%; padding: 0;
background: rgba(143, 163, 191, 0.35); border: 1px solid rgba(143, 163, 191, 0.5);
cursor: pointer;
}
.wall-dot.on { background: #58a6ff; border-color: #58a6ff; }
.wall-paused {
position: fixed; top: 18px; left: 50%; transform: translateX(-50%);
background: rgba(19, 26, 41, 0.85); color: #f0b429;
border: 1px solid rgba(240, 180, 41, 0.55); border-radius: 99px;
padding: 6px 16px; font-size: 0.95rem; z-index: 51;
}
/* ── Focus du jour (0.12.0, #5) ── */
.pin-btn {
background: transparent; border: none; cursor: pointer;
font-size: 0.82rem; padding: 0 2px; margin-left: auto; opacity: 0.45;
}
.pin-btn:hover { opacity: 1; transform: scale(1.15); }
.today-main { max-width: 880px; margin: 0 auto; padding: 28px 16px 44px; }
.today-title { font-size: 1.9rem; margin: 0 0 4px; text-transform: capitalize; }
.today-sub { color: var(--text-3); margin: 0 0 22px; }
.today-picks { display: grid; gap: 14px; margin-bottom: 20px; }
.today-card {
background: var(--surface-1, #131a29); border: 1px solid var(--border-strong, #2c3a52);
border-left: 5px solid var(--accent, #58a6ff); border-radius: 14px; padding: 20px 24px;
}
.today-card.done { border-left-color: var(--good, #3fb950); opacity: 0.85; }
.today-card-top { display: flex; justify-content: space-between; color: var(--text-3); font-size: 0.85rem; }
.today-card h2 { margin: 8px 0 12px; font-size: 1.3rem; line-height: 1.35; }
.today-card-actions { display: flex; gap: 16px; align-items: center; }
.today-card-actions a { color: var(--accent, #58a6ff); text-decoration: none; font-size: 0.9rem; }
.today-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.today-list li { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.today-list em { color: var(--text-3); font-style: normal; font-size: 0.85rem; }
/* ── Prévisions + Récit (0.12.0, #7 #4) ── */
.forecast-flex { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.sparkline { width: 168px; height: 48px; }
.sparkline rect { fill: var(--accent, #58a6ff); opacity: 0.85; }
.forecast-nums p { margin: 4px 0; }
.forecast-milestones { margin: 12px 0 0; padding-left: 18px; line-height: 1.8; }
.forecast-line { color: var(--accent, #58a6ff); }
.milestone-forecast { color: var(--accent, #58a6ff); font-weight: 600; }
.milestone-sprint { color: var(--text-1); text-decoration: none; border: 1px solid var(--border, #22304a); border-radius: 8px; padding: 2px 10px; }
.milestone-sprint:hover { border-color: var(--accent, #58a6ff); }
.sprint-render { line-height: 1.65; }
.sprint-render h1 { font-size: 1.5rem; }
.sprint-render h2 { font-size: 1.15rem; margin-top: 22px; }
.sprint-render a { color: var(--accent, #58a6ff); }
/* ── Code lié (0.13.0, #1) ── */
.card-code { font-size: 0.78rem; color: var(--accent, #58a6ff); margin-top: 5px; }
.detail-code { margin: 10px 0; }
.code-line { padding: 3px 0; font-size: 0.9rem; color: var(--text-2, #b6c2d2); }
.code-line a { color: var(--accent, #58a6ff); text-decoration: none; }
.code-line code { background: var(--surface-3, #1d2942); border-radius: 4px; padding: 0 5px; }
/* ── Branche depuis la carte (0.14.0, #3) ── */
.branch-input {
background: var(--surface-3, #1d2942); color: var(--text-1);
border: 1px solid var(--border, #22304a); border-radius: 6px;
padding: 3px 8px; font-family: monospace; font-size: 0.85rem;
}
/* ── Santé du flux (0.14.0, #9) ── */
.health-table { width: 100%; border-collapse: collapse; margin: 10px 0; }
.health-table th, .health-table td { text-align: left; padding: 6px 10px; border-bottom: 1px solid var(--border, #22304a); }
.health-slowest td { color: var(--warn, #e8a33d); font-weight: 600; }
.zombie-actions { display: flex; gap: 6px; flex-shrink: 0; }
/* ── Header unifié (0.15.0, #16) ── */
.main-nav { flex-wrap: nowrap; }
.header-actions { display: flex; gap: 6px; align-items: center; margin-left: auto; }
.nav-more { position: relative; }
.nav-more-btn { background: transparent; cursor: pointer; }
.nav-more-btn.active-soft { color: var(--text); border-color: var(--accent, #58a6ff); }
.nav-more-menu {
position: absolute; right: 0; top: calc(100% + 8px); z-index: 120;
min-width: 232px; display: flex; flex-direction: column; gap: 2px;
background: var(--surface-1, #131a29); border: 1px solid var(--border);
border-radius: 12px; padding: 6px;
box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
}
.nav-more-menu .nav-pill { display: flex; border-radius: 8px; }
.nav-more-menu[hidden], .mobile-nav[hidden] { display: none !important; }
.nav-burger {
display: none; width: 40px; height: 40px; border-radius: 10px;
background: var(--surface-2); border: 1px solid var(--border);
color: var(--text); font-size: 1.05rem; cursor: pointer;
align-items: center; justify-content: center;
}
.mobile-nav {
position: absolute; top: 100%; left: 0; right: 0; z-index: 110;
display: flex; flex-direction: column; gap: 2px;
background: rgba(16, 19, 28, 0.97); backdrop-filter: blur(14px);
border-bottom: 1px solid var(--border); padding: 10px 14px 16px;
}
.mobile-nav a {
display: flex; align-items: center; min-height: 44px;
padding: 10px 12px; border-radius: 10px;
color: var(--text-2); font-size: 1rem; text-decoration: none;
}
.mobile-nav a:hover { background: var(--surface-2); color: var(--text); text-decoration: none; }
.mobile-nav a.active {
color: #fff;
background: linear-gradient(135deg, rgba(124,92,252,.85), rgba(91,138,247,.85));
}
.crumb a { color: inherit; text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
@media (max-width: 900px) {
.main-nav { display: none; }
.nav-burger { display: inline-flex; }
.crumb { display: none; }
}