1063 lines
20 KiB
CSS
1063 lines
20 KiB
CSS
:root {
|
|
--bg: #0f0a0f;
|
|
--bg-elevated: #111a16;
|
|
--bg-card: #152019;
|
|
--bg-input: #0d1511;
|
|
--fg: #e8f0ec;
|
|
--fg-muted: #7a9488;
|
|
--fg-dim: #4a6558;
|
|
--accent: #00e68a;
|
|
--accent-dim: #00b36b;
|
|
--accent-glow: rgba(0, 230, 138, 0.15);
|
|
--accent-glow-strong: rgba(0, 230, 138, 0.3);
|
|
--border: #1e3028;
|
|
--danger: #ff4d6a;
|
|
--warning: #ffb84d;
|
|
--info: #4dc8ff;
|
|
--radius: 10px;
|
|
--radius-lg: 16px;
|
|
--shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
|
|
}
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: 'DM Sans', sans-serif;
|
|
background: var(--bg);
|
|
color: var(--fg);
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.bg-grid {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 0;
|
|
pointer-events: none;
|
|
background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
|
|
background-size: 60px 60px;
|
|
opacity: 0.3;
|
|
mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 20%, transparent 70%);
|
|
}
|
|
|
|
.bg-glow {
|
|
position: fixed;
|
|
z-index: 0;
|
|
pointer-events: none;
|
|
width: 600px;
|
|
height: 600px;
|
|
border-radius: 50%;
|
|
filter: blur(120px);
|
|
opacity: 0.12;
|
|
}
|
|
|
|
.bg-glow--1 {
|
|
top: -200px;
|
|
right: -100px;
|
|
background: var(--accent);
|
|
animation: gf 12s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes gf {
|
|
|
|
0%,
|
|
100% {
|
|
transform: translate(0, 0) scale(1)
|
|
}
|
|
|
|
50% {
|
|
transform: translate(30px, -40px) scale(1.1)
|
|
}
|
|
}
|
|
|
|
.app {
|
|
position: relative;
|
|
z-index: 1;
|
|
max-width: 90%;
|
|
margin: 0 auto;
|
|
padding: 32px 24px 80px;
|
|
}
|
|
|
|
.header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
margin-bottom: 40px;
|
|
padding-bottom: 24px;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.header-icon {
|
|
width: 52px;
|
|
height: 52px;
|
|
background: linear-gradient(135deg, var(--accent), var(--accent-dim));
|
|
border-radius: 14px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 22px;
|
|
color: var(--bg);
|
|
box-shadow: 0 0 30px var(--accent-glow-strong);
|
|
}
|
|
|
|
.header-text h1 {
|
|
font-size: 26px;
|
|
font-weight: 900;
|
|
letter-spacing: -0.5px;
|
|
}
|
|
|
|
.header-text p {
|
|
color: var(--fg-muted);
|
|
font-size: 14px;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.badge-api {
|
|
background: var(--accent-glow);
|
|
color: var(--accent);
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
padding: 4px 10px;
|
|
border-radius: 20px;
|
|
border: 1px solid rgba(0, 230, 138, 0.2);
|
|
margin-left: auto;
|
|
font-family: 'JetBrains Mono', monospace;
|
|
}
|
|
|
|
.card-form {
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-lg);
|
|
padding: 28px;
|
|
margin-bottom: 24px;
|
|
box-shadow: var(--shadow);
|
|
max-width: 60%;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.card-title {
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
margin-bottom: 20px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.card-title i {
|
|
color: var(--accent);
|
|
font-size: 14px;
|
|
}
|
|
|
|
.form-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 16px;
|
|
}
|
|
|
|
.form-grid .full {
|
|
grid-column: 1 / -1;
|
|
}
|
|
|
|
.form-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
}
|
|
|
|
.form-group label {
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
color: var(--fg-muted);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.8px;
|
|
}
|
|
|
|
.form-group input,
|
|
.form-group textarea {
|
|
background: var(--bg-input);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
padding: 11px 14px;
|
|
color: var(--fg);
|
|
font-family: 'DM Sans', sans-serif;
|
|
font-size: 14px;
|
|
outline: none;
|
|
transition: border-color 0.25s, box-shadow 0.25s;
|
|
}
|
|
|
|
.form-group input:focus,
|
|
.form-group textarea:focus {
|
|
border-color: var(--accent);
|
|
box-shadow: 0 0 0 3px var(--accent-glow);
|
|
}
|
|
|
|
.form-group textarea {
|
|
resize: vertical;
|
|
min-height: 60px;
|
|
font-family: 'JetBrains Mono', monospace;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.hint {
|
|
font-size: 11px;
|
|
color: var(--fg-dim);
|
|
font-style: italic;
|
|
}
|
|
|
|
.btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 12px 24px;
|
|
border-radius: var(--radius);
|
|
border: none;
|
|
font-family: 'DM Sans', sans-serif;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.25s;
|
|
outline: none;
|
|
}
|
|
|
|
.btn:focus-visible {
|
|
box-shadow: 0 0 0 3px var(--accent-glow-strong);
|
|
}
|
|
|
|
.btn-primary {
|
|
background: linear-gradient(135deg, var(--accent), var(--accent-dim));
|
|
color: var(--bg);
|
|
box-shadow: 0 4px 20px var(--accent-glow-strong);
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.btn-primary:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
transform: none;
|
|
}
|
|
|
|
.btn-secondary {
|
|
background: var(--bg-input);
|
|
color: var(--fg);
|
|
border: 1px solid var(--border);
|
|
}
|
|
|
|
.btn-secondary:hover {
|
|
border-color: var(--fg-dim);
|
|
}
|
|
|
|
.btn-danger {
|
|
background: rgba(255, 77, 106, 0.1);
|
|
color: var(--danger);
|
|
border: 1px solid rgba(255, 77, 106, 0.2);
|
|
}
|
|
|
|
.btn-group {
|
|
display: flex;
|
|
gap: 12px;
|
|
flex-wrap: wrap;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.alert {
|
|
padding: 14px 18px;
|
|
border-radius: var(--radius);
|
|
font-size: 13px;
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 10px;
|
|
margin-bottom: 16px;
|
|
animation: fadeIn 0.3s ease;
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(-8px)
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0)
|
|
}
|
|
}
|
|
|
|
.alert-info {
|
|
background: rgba(77, 200, 255, 0.1);
|
|
border: 1px solid rgba(77, 200, 255, 0.2);
|
|
color: var(--info);
|
|
}
|
|
|
|
.alert-danger {
|
|
background: rgba(255, 77, 106, 0.1);
|
|
border: 1px solid rgba(255, 77, 106, 0.2);
|
|
color: var(--danger);
|
|
}
|
|
|
|
.spinner {
|
|
display: inline-block;
|
|
width: 18px;
|
|
height: 18px;
|
|
border: 2px solid transparent;
|
|
border-top-color: currentColor;
|
|
border-radius: 50%;
|
|
animation: spin 0.7s linear infinite;
|
|
}
|
|
|
|
@keyframes spin {
|
|
to {
|
|
transform: rotate(360deg)
|
|
}
|
|
}
|
|
|
|
.stats-row {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
|
|
gap: 12px;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.stat-card {
|
|
background: var(--bg-elevated);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
padding: 16px;
|
|
text-align: center;
|
|
transition: transform 0.25s;
|
|
}
|
|
|
|
.stat-card:hover {
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.stat-value {
|
|
font-size: 28px;
|
|
font-weight: 900;
|
|
color: var(--accent);
|
|
font-family: 'JetBrains Mono', monospace;
|
|
}
|
|
|
|
.stat-label {
|
|
font-size: 11px;
|
|
color: var(--fg-muted);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.8px;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.tabs {
|
|
display: flex;
|
|
gap: 4px;
|
|
background: var(--bg-input);
|
|
border-radius: var(--radius);
|
|
padding: 4px;
|
|
margin-bottom: 20px;
|
|
border: 1px solid var(--border);
|
|
width: fit-content;
|
|
}
|
|
|
|
.tab-btn {
|
|
padding: 9px 20px;
|
|
border: none;
|
|
background: transparent;
|
|
color: var(--fg-muted);
|
|
font-family: 'DM Sans', sans-serif;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
border-radius: 7px;
|
|
cursor: pointer;
|
|
transition: all 0.25s;
|
|
outline: none;
|
|
}
|
|
|
|
.tab-btn.active {
|
|
background: var(--accent);
|
|
color: var(--bg);
|
|
box-shadow: 0 2px 12px var(--accent-glow-strong);
|
|
}
|
|
|
|
.tab-panel {
|
|
display: none;
|
|
}
|
|
|
|
.tab-panel.active {
|
|
display: block;
|
|
animation: fadeIn 0.3s ease;
|
|
}
|
|
|
|
.table-wrap {
|
|
overflow-x: auto;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
}
|
|
|
|
table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
font-size: 13px;
|
|
}
|
|
|
|
thead {
|
|
background: var(--bg-elevated);
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 2;
|
|
}
|
|
|
|
th {
|
|
padding: 12px 14px;
|
|
text-align: left;
|
|
font-weight: 700;
|
|
font-size: 11px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.8px;
|
|
color: var(--fg-muted);
|
|
border-bottom: 2px solid var(--border);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
td {
|
|
padding: 10px 14px;
|
|
border-bottom: 1px solid var(--border);
|
|
color: var(--fg);
|
|
max-width: 260px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
tr:hover td {
|
|
background: rgba(0, 230, 138, 0.03);
|
|
}
|
|
|
|
.ticket-key {
|
|
font-family: 'JetBrains Mono', monospace;
|
|
font-weight: 700;
|
|
color: var(--accent);
|
|
font-size: 12px;
|
|
text-decoration: underline;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.status-badge {
|
|
display: inline-block;
|
|
padding: 3px 10px;
|
|
border-radius: 20px;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.s-done {
|
|
background: rgba(0, 230, 138, 0.15);
|
|
color: #00e68a;
|
|
}
|
|
|
|
.s-progress {
|
|
background: rgba(77, 200, 255, 0.15);
|
|
color: #4dc8ff;
|
|
}
|
|
|
|
.s-todo {
|
|
background: rgba(255, 184, 77, 0.15);
|
|
color: #ffb84d;
|
|
}
|
|
|
|
.s-blocked {
|
|
background: rgba(255, 77, 106, 0.15);
|
|
color: #ff4d6a;
|
|
}
|
|
|
|
.s-other {
|
|
background: rgba(122, 148, 136, 0.15);
|
|
color: #7a9488;
|
|
}
|
|
|
|
.empty-cell {
|
|
color: var(--fg-dim);
|
|
font-style: italic;
|
|
}
|
|
|
|
/* Date input styling */
|
|
.date-input {
|
|
background: var(--bg-input);
|
|
border: 1px solid var(--border);
|
|
border-radius: 6px;
|
|
padding: 4px 8px;
|
|
color: var(--fg);
|
|
font-family: 'DM Sans', sans-serif;
|
|
font-size: 12px;
|
|
outline: none;
|
|
transition: border-color 0.25s, box-shadow 0.25s;
|
|
width: 150px;
|
|
}
|
|
|
|
.date-input:focus {
|
|
border-color: var(--accent);
|
|
box-shadow: 0 0 0 2px var(--accent-glow);
|
|
}
|
|
|
|
.date-input::-webkit-calendar-picker-indicator {
|
|
filter: invert(1);
|
|
opacity: 0.6;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.date-input::-webkit-calendar-picker-indicator:hover {
|
|
opacity: 1;
|
|
}
|
|
|
|
/* Update button styling */
|
|
.btn-update {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
padding: 4px 10px;
|
|
border-radius: 6px;
|
|
border: none;
|
|
font-family: 'DM Sans', sans-serif;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.25s;
|
|
background: linear-gradient(135deg, var(--accent), var(--accent-dim));
|
|
color: var(--bg);
|
|
}
|
|
|
|
.btn-update:hover {
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 2px 8px var(--accent-glow-strong);
|
|
}
|
|
|
|
.btn-update:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
transform: none;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.btn-update .spinner {
|
|
width: 12px;
|
|
height: 12px;
|
|
border-width: 2px;
|
|
}
|
|
|
|
.btn-update i {
|
|
font-size: 10px;
|
|
}
|
|
|
|
.json-viewer {
|
|
background: var(--bg-input);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
padding: 20px;
|
|
max-height: 600px;
|
|
overflow: auto;
|
|
font-family: 'JetBrains Mono', monospace;
|
|
font-size: 12px;
|
|
line-height: 1.7;
|
|
white-space: pre-wrap;
|
|
word-break: break-all;
|
|
}
|
|
|
|
.json-key {
|
|
color: #4dc8ff;
|
|
}
|
|
|
|
.json-string {
|
|
color: #00e68a;
|
|
}
|
|
|
|
.json-number {
|
|
color: #ffb84d;
|
|
}
|
|
|
|
.json-bool {
|
|
color: #ff4d6a;
|
|
}
|
|
|
|
.json-null {
|
|
color: var(--fg-dim);
|
|
}
|
|
|
|
.search-bar {
|
|
position: relative;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.search-bar i {
|
|
position: absolute;
|
|
left: 14px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
color: var(--fg-dim);
|
|
}
|
|
|
|
.search-bar input {
|
|
width: 100%;
|
|
background: var(--bg-input);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
padding: 11px 14px 11px 38px;
|
|
color: var(--fg);
|
|
font-family: 'DM Sans', sans-serif;
|
|
font-size: 14px;
|
|
outline: none;
|
|
transition: border-color 0.25s, box-shadow 0.25s;
|
|
}
|
|
|
|
.search-bar input:focus {
|
|
border-color: var(--accent);
|
|
box-shadow: 0 0 0 3px var(--accent-glow);
|
|
}
|
|
|
|
#results-section {
|
|
display: none;
|
|
}
|
|
|
|
#results-section.visible {
|
|
display: block;
|
|
animation: fadeIn 0.4s ease;
|
|
}
|
|
|
|
.toast-container {
|
|
position: fixed;
|
|
top: 24px;
|
|
right: 24px;
|
|
z-index: 9999;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
.toast {
|
|
padding: 14px 20px;
|
|
border-radius: var(--radius);
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
|
|
animation: tIn 0.35s ease, tOut 0.35s ease 3s forwards;
|
|
max-width: 400px;
|
|
}
|
|
|
|
.toast-success {
|
|
background: #0d2818;
|
|
border: 1px solid rgba(0, 230, 138, 0.3);
|
|
color: var(--accent);
|
|
}
|
|
|
|
.toast-error {
|
|
background: #280d14;
|
|
border: 1px solid rgba(255, 77, 106, 0.3);
|
|
color: var(--danger);
|
|
}
|
|
|
|
@keyframes tIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateX(40px)
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
transform: translateX(0)
|
|
}
|
|
}
|
|
|
|
@keyframes tOut {
|
|
to {
|
|
opacity: 0;
|
|
transform: translateX(40px)
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.form-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.btn-group {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.btn {
|
|
width: 100%;
|
|
justify-content: center;
|
|
}
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
animation-duration: 0.01ms !important;
|
|
transition-duration: 0.01ms !important;
|
|
}
|
|
}
|
|
|
|
|
|
/* --- Classes Utilitaires --- */
|
|
.mt-24 { margin-top: 24px; }
|
|
.mb-16 { margin-bottom: 16px; }
|
|
.p-20 { padding: 20px; }
|
|
.p-small { padding: 12px 20px; }
|
|
.no-margin { margin-top: 0 !important; }
|
|
.uppercase-input { text-transform: uppercase; }
|
|
|
|
/* --- Alignements --- */
|
|
.flex-center-between {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
flex-wrap: wrap;
|
|
gap: 12px;
|
|
}
|
|
|
|
/* --- Boutons et Badges Spécifiques --- */
|
|
.badge-api i {
|
|
margin-right: 6px;
|
|
}
|
|
|
|
.btn-drawio {
|
|
background: linear-gradient(135deg, #4dc8ff, #0d8bbf);
|
|
}
|
|
|
|
.btn-sm {
|
|
padding: 8px 16px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.info-icon {
|
|
color: var(--info);
|
|
margin-right: 8px;
|
|
}
|
|
|
|
/* --- Organisation de la barre d'actions --- */
|
|
.card-actions {
|
|
padding: 16px 20px;
|
|
}
|
|
|
|
.actions-wrapper {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
flex-wrap: wrap;
|
|
gap: 12px;
|
|
}
|
|
|
|
.tabs .tab-btn i {
|
|
margin-right: 6px;
|
|
}
|
|
|
|
/* --- Ajustement Roadmap Preview --- */
|
|
#roadmapPreview {
|
|
/* Suppression du padding ici car il est dans le parent .card p-20 */
|
|
background: var(--bg-input);
|
|
border-radius: var(--radius);
|
|
min-height: 300px;
|
|
}
|
|
|
|
|
|
/*
|
|
==========
|
|
GANTT
|
|
==========
|
|
*/
|
|
|
|
/* Conteneur principal avec scrollbar */
|
|
.gantt-container {
|
|
position: relative;
|
|
height: 600px;
|
|
overflow: auto; /* Un seul scroll géré ici */
|
|
background: #0a0f0d;
|
|
border: 1px solid #1e3028;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
/* Ligne du temps (Header) */
|
|
.gantt-header {
|
|
display: flex;
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 100;
|
|
background: #111a16;
|
|
border-bottom: 2px solid #1e3028;
|
|
}
|
|
|
|
.gantt-header-label {
|
|
position: sticky;
|
|
left: 0;
|
|
z-index: 101;
|
|
background: #1a1a1a;
|
|
border-right: 2px solid var(--border);
|
|
padding-left: 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
font-weight: bold;
|
|
color: var(--primary);
|
|
}
|
|
|
|
/* Groupes par Assigné */
|
|
.gantt-group-row {
|
|
display: flex;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border-bottom: 1px solid var(--border);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.gantt-assignee-sticky {
|
|
position: sticky;
|
|
left: 0;
|
|
z-index: 50;
|
|
background: #1a1a1a;
|
|
padding: 8px 10px;
|
|
border-right: 2px solid var(--border);
|
|
color: var(--accent);
|
|
font-size: 12px;
|
|
}
|
|
|
|
/* Lignes de tickets */
|
|
.gantt-ticket-row {
|
|
display: flex;
|
|
border-bottom: 1px solid var(--border);
|
|
height: 45px;
|
|
position: relative;
|
|
align-items: center;
|
|
}
|
|
|
|
.gantt-key-sticky {
|
|
position: sticky;
|
|
left: 0;
|
|
z-index: 50;
|
|
background: var(--bg-input);
|
|
border-right: 2px solid var(--border);
|
|
height: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
padding-left: 25px;
|
|
font-size: 11px;
|
|
color: var(--fg-dim);
|
|
}
|
|
|
|
/* La barre Gantt elle-même */
|
|
.gantt-bar {
|
|
position: absolute;
|
|
height: 28px;
|
|
border-radius: 4px;
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 0 8px;
|
|
font-size: 10px;
|
|
color: white;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
cursor: help;
|
|
z-index: 10;
|
|
}
|
|
|
|
/* Colonne assigné/ticket figée à gauche */
|
|
.gantt-sticky-col {
|
|
position: sticky;
|
|
left: 0;
|
|
z-index: 110;
|
|
background: #111a16;
|
|
border-right: 2px solid #1e3028;
|
|
padding: 0 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
/* La ligne rouge verticale pour aujourd'hui */
|
|
.gantt-today-line {
|
|
position: absolute;
|
|
top: 0;
|
|
bottom: 0;
|
|
width: 2px;
|
|
background-color: #ff4d6a;
|
|
z-index: 80;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.gantt-today-label {
|
|
position: absolute;
|
|
top: 2px;
|
|
transform: translateX(-50%);
|
|
background: #ff4d6a;
|
|
color: white;
|
|
padding: 2px 5px;
|
|
border-radius: 3px;
|
|
font-size: 9px;
|
|
font-weight: bold;
|
|
z-index: 81;
|
|
}
|
|
|
|
/* --- Structure de la Grille Gantt --- */
|
|
|
|
/* Conteneur de la largeur totale du canvas */
|
|
.gantt-canvas {
|
|
position: relative;
|
|
display: inline-block;
|
|
min-width: 100%;
|
|
}
|
|
|
|
/* Colonnes des mois dans le header */
|
|
.gantt-month-header {
|
|
min-width: 140px; /* Doit correspondre à monthWidth dans le JS */
|
|
width: 140px;
|
|
text-align: center;
|
|
font-size: 11px;
|
|
color: #7a9488;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-left: 1px solid #1e3028;
|
|
}
|
|
|
|
/* Ligne de groupe (Assigné) */
|
|
.gantt-group-header {
|
|
display: flex;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border-bottom: 1px solid #1e3028;
|
|
}
|
|
|
|
.gantt-group-name {
|
|
width: 250px; /* Doit correspondre à leftWidth dans le JS */
|
|
padding: 8px 10px;
|
|
color: var(--accent);
|
|
font-weight: bold;
|
|
}
|
|
|
|
/* Ligne de ticket */
|
|
.gantt-row {
|
|
display: flex;
|
|
height: 45px;
|
|
border-bottom: 1px solid #1e3028;
|
|
position: relative;
|
|
align-items: center;
|
|
}
|
|
|
|
.gantt-ticket-id {
|
|
width: 250px; /* leftWidth */
|
|
height: 100%;
|
|
font-size: 11px;
|
|
color: #7a9488;
|
|
padding-left: 20px;
|
|
}
|
|
|
|
/* Grille de fond (colonnes verticales sous les barres) */
|
|
.gantt-grid-col {
|
|
min-width: 140px;
|
|
border-right: 1px solid rgba(255, 255, 255, 0.05);
|
|
height: 100%;
|
|
}
|
|
|
|
.view-controls {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.mr-8 { margin-right: 8px; }
|
|
|
|
/* Optionnel : style pour le bouton de vue actif */
|
|
.view-controls .btn.active {
|
|
background-color: var(--primary);
|
|
color: white;
|
|
border-color: var(--primary);
|
|
}
|
|
/* --- ALIGNEMENT ROADMAP --- */
|
|
|
|
/* Alignement horizontal : Vues à gauche, Export à droite */
|
|
.toolbar-roadmap {
|
|
display: flex !important;
|
|
justify-content: space-between !important;
|
|
align-items: center !important;
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-lg);
|
|
padding: 12px 20px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
/* On s'assure que les deux blocs enfants se placent bien */
|
|
.toolbar-roadmap > div {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
/* Style de la boîte Draw.io (le deuxième enfant) */
|
|
.toolbar-roadmap > div:last-child {
|
|
margin-left: auto; /* Sécurité supplémentaire pour pousser à droite */
|
|
border: 1px solid var(--accent); /* Optionnel: pour bien la voir */
|
|
border-radius: var(--radius-lg);
|
|
background: rgba(0, 230, 138, 0.05);
|
|
padding: 5px 15px;
|
|
}
|
|
|
|
/* Style de la boîte verte d'export */
|
|
.export-drawio-box {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 15px;
|
|
background: rgba(0, 230, 138, 0.1); /* Fond vert transparent */
|
|
border: 1px solid var(--accent); /* Bordure verte */
|
|
padding: 6px 15px;
|
|
border-radius: var(--radius);
|
|
}
|
|
|
|
.export-label {
|
|
color: var(--accent);
|
|
font-weight: bold;
|
|
font-size: 12px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
/* On s'assure que les contrôles de vue restent simples */
|
|
.view-controls {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.zoom-controls-card, .drawio-export-card {
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-lg);
|
|
padding: 12px 20px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 15px;
|
|
}
|
|
|
|
.drawio-export-card {
|
|
border-color: var(--accent-dim);
|
|
background: rgba(0, 230, 138, 0.03);
|
|
}
|
|
|
|
.zoom-label, .export-label {
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.zoom-label { color: var(--fg-muted); }
|
|
.export-label { color: var(--accent); }
|
|
|
|
.mr-4 { margin-right: 4px; }
|
|
|
|
|