diff --git a/static/css/style.css b/static/css/style.css index 5f138bc..cd361cc 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -315,8 +315,15 @@ a.kpi:hover { background: var(--surface-2); text-decoration: none; } display: flex; justify-content: space-between; align-items: center; - margin-bottom: 10px; + gap: 12px; + margin-bottom: 12px; } +.card-header-left, .card-header-actions { + display: flex; align-items: center; gap: 8px; min-width: 0; +} +.card-header-actions { flex-shrink: 0; } +.card-header .date { white-space: nowrap; } +.card-header .star-btn { margin-left: 0; } .org-tag { font-size: 0.68rem; text-transform: uppercase; @@ -340,20 +347,33 @@ a.kpi:hover { background: var(--surface-2); text-decoration: none; } 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; + display: flex; flex-direction: column; align-items: stretch; + font-size: 0.8rem; color: var(--text-2); gap: 10px; + border-top: 1px solid var(--border); + padding-top: 12px; margin-top: 14px; } -.mini-progress { display: flex; gap: 4px; } +.foot-main, .foot-dist { + display: flex; justify-content: space-between; align-items: center; + gap: 10px; flex-wrap: wrap; +} +.foot-count { font-weight: 600; color: var(--text); } +.card-board-link.btn-sm { text-decoration: none; } +.mini-progress { display: flex; gap: 4px; flex-wrap: wrap; } +.mini-progress .chip { white-space: nowrap; } +.forecast-line { white-space: nowrap; } .chip { padding: 2px 9px; border-radius: var(--radius-full); font-size: 0.7rem; font-weight: 700; } +.card-progress { margin-bottom: 12px; } +.progress-head { + display: flex; justify-content: space-between; align-items: baseline; + gap: 10px; margin-bottom: 6px; + font-size: 0.78rem; color: var(--text-2); +} +.progress-head span:last-child { font-weight: 600; color: var(--text); white-space: nowrap; } .progress { height: 6px; border-radius: var(--radius-full); @@ -1387,7 +1407,24 @@ body.nav-closed-admin [data-group="admin"] .side-chevron { transform: rotate(-90 .theme-toggle-foot:hover { color: var(--text); } .side-foot { margin-top: auto; padding-top: 12px; - display: flex; align-items: center; justify-content: space-between; gap: 8px; + display: flex; flex-direction: column; align-items: stretch; gap: 8px; + border-top: 1px solid var(--border); +} +.side-foot-user { display: flex; align-items: center; gap: 8px; } +.side-foot-user .side-profile { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; } +.side-logout.logout-icon { + width: 36px; height: 36px; flex-shrink: 0; + display: inline-flex; align-items: center; justify-content: center; + border: 1px solid var(--border); border-radius: var(--radius-sm); +} +.side-logout.logout-icon:hover { border-color: var(--accent, #0d9488); } +.side-foot-meta { + display: flex; justify-content: space-between; align-items: center; gap: 8px; +} +.fresh-dot { + width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; + background: var(--accent-2); display: inline-block; margin-right: 6px; + vertical-align: 1px; } .side-collapse { /* Depuis la 0.22.0 : bouton icône seule dans l'en-tête de la @@ -1403,7 +1440,7 @@ body.nav-closed-admin [data-group="admin"] .side-chevron { transform: rotate(-90 color: var(--text); border-color: var(--accent, #0d9488); transform: translateY(-1px); } -.side-fresh { color: var(--text-3); font-size: 0.76rem; white-space: nowrap; } +.side-fresh { color: var(--text-3); font-size: 0.76rem; white-space: nowrap; display: inline-flex; align-items: center; } .side-logout { color: var(--text-3); font-size: 0.85rem; white-space: nowrap; } .side-logout:hover { color: var(--text); text-decoration: none; } .side-collapse-ico { display: inline-block; transition: transform 0.18s ease; } @@ -1412,7 +1449,9 @@ body.sidebar-collapsed .side-collapse-ico { transform: rotate(180deg); } body.sidebar-collapsed .side-label { display: none; } body.sidebar-collapsed .side-link { justify-content: center; padding-left: 0; padding-right: 0; } body.sidebar-collapsed .side-logo { justify-content: center; padding-left: 0; padding-right: 0; } -body.sidebar-collapsed .side-foot { justify-content: center; } +body.sidebar-collapsed .side-foot { align-items: center; } +body.sidebar-collapsed .side-foot-meta { display: none; } +body.sidebar-collapsed .side-foot-user { justify-content: center; } .side-backdrop { position: fixed; inset: 0; z-index: 190; background: rgba(4, 6, 10, 0.55); @@ -1449,7 +1488,19 @@ body.sidebar-collapsed .side-foot { justify-content: center; } .star-btn:hover { transform: scale(1.2); } .star-btn:disabled { opacity: 0.5; } .card-board-link { font-weight: 600; } -.ms-block { margin: 10px 0 2px; } +.ms-block { + margin: 14px 0 2px; padding-top: 12px; + border-top: 1px solid var(--border); +} +.ms-head { + display: flex; justify-content: space-between; align-items: baseline; + gap: 10px; margin-bottom: 6px; +} +.ms-kicker { + font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.6px; + color: var(--text-3); font-weight: 700; +} +.ms-block .ms-line { margin-bottom: 2px; } .ms-line { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; } .ms-title { font-weight: 600; font-size: 0.92rem; } .ms-due { font-size: 0.8rem; color: var(--text-2); white-space: nowrap; } @@ -1485,7 +1536,7 @@ body.sidebar-collapsed .side-foot { justify-content: center; } .proj-notes-body { white-space: pre-wrap; font-size: 0.93rem; background: var(--surface-2); border-radius: 10px; padding: 12px 14px; } /* ── Dashboard vague 2 suite (0.18.0, #19 #21 #22 #23) ── */ -.activity-line { margin-top: 8px; font-size: 0.82rem; color: var(--text-2); } +.activity-line { margin-top: 10px; font-size: 0.78rem; color: var(--text-3); } /* Barre d'outils unique du dashboard (0.20.0) : onglets segmentés, filtre, tri, regroupement et vue dans UN cadre. */ .dash-toolbar {