This commit is contained in:
2026-03-05 09:55:37 +01:00
parent 7060a43859
commit 27564c8e9e
5 changed files with 354 additions and 123 deletions
+95
View File
@@ -1016,3 +1016,98 @@ th.col-laia {
align-items: center;
}
}
/* ============================================================================
13. STYLES SPÉCIFIQUES AU SUIVI MENSUEL (suivi.php)
============================================================================ */
.cat-card {
background: var(--bg-card);
border-radius: var(--radius-l);
border: 1px solid #e2e8f0;
display: flex;
flex-direction: column;
overflow: hidden;
position: relative;
}
.btn-add-item {
background: rgba(255, 255, 255, 0.6);
color: inherit;
border: 1px solid rgba(0, 0, 0, 0.1);
width: 28px;
height: 28px;
border-radius: 50%;
font-size: 18px;
line-height: 1;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.btn-add-item:hover {
background: var(--bg-card);
transform: rotate(90deg) scale(1.1);
box-shadow: var(--shadow-sm);
border-color: currentColor;
}
.progress-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 20px;
margin-top: 20px;
}
/* Animation "Charges à venir" */
.fade-pulse {
animation: pulseText 2s infinite;
}
@keyframes pulseText {
0% {
opacity: 0.8;
}
50% {
opacity: 1;
}
100% {
opacity: 0.8;
}
}
/* Navigation par mois (Si elle n'est pas déjà gérée par .nav-group au-dessus) */
.suivi-nav-group {
display: flex;
background: #e2e8f0;
border-radius: var(--radius-s);
overflow: hidden;
}
.suivi-btn-nav {
padding: 6px 12px;
color: var(--text-muted);
text-decoration: none;
font-size: 0.85rem;
font-weight: bold;
border-right: 1px solid #cbd5e1;
transition:
background 0.2s,
color 0.2s;
}
.suivi-btn-nav:last-child {
border-right: none;
}
.suivi-btn-nav:hover {
background: var(--bg-card);
color: var(--primary);
}
/* Sélecteur dynamique de mois (dans l'import CSV) */
input[type="month"].pf-input {
font-family: inherit;
color: var(--text-main);
background: white;
border: 1px solid #cbd5e1;
border-radius: var(--radius-s);
}