This commit is contained in:
2026-02-23 12:10:01 +00:00
parent 310de1a8e6
commit 59dbc75115
3 changed files with 50 additions and 51 deletions

View File

@@ -1,67 +1,66 @@
:root {
--primary: #1e293b;
--accent: #08C5D1;
--border-light: #f1f5f9;
--text-main: #334155;
--bg-light: #ffffff;
--bg-body: #edf2f7; /* Gris bleuté pour le fond */
--shadow-wahoo: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
body {
background-color: #f8fafc !important; /* Fond de page gris très léger */
color: var(--text-main);
background-color: var(--bg-body) !important;
font-family: 'Plus Jakarta Sans', sans-serif !important;
}
/* On supprime le cadre blanc du main pour qu'il se fonde dans le décor */
/* LE SECRET : On ne touche pas au bord de l'écran */
#main {
margin-top: 70px !important;
margin-left: 260px !important; /* Ajuster selon ta sidebar */
padding: 30px 40px !important;
background: transparent !important;
box-shadow: none !important;
margin: 85px 25px 25px 285px !important; /* Sidebar large + marge */
background: #ffffff !important;
border-radius: 30px !important; /* Arrondi très fort */
box-shadow: var(--shadow-wahoo) !important;
border: none !important;
min-height: calc(100vh - 110px);
padding: 40px !important;
}
/* SIDEBAR : Elle doit être détachée ou très sombre */
.sidebar {
background: var(--primary) !important;
width: 260px !important;
border: none !important;
}
/* --- TABLEAUX : LE SECRET DU WAHOO EST ICI --- */
/* On abandonne les bordures de cellules pour des lignes aérées */
.table {
background: white !important;
border-radius: 12px !important;
border: 1px solid #e2e8f0 !important;
border-collapse: collapse !important;
overflow: hidden;
/* HEADER : On le rend invisible ou très léger */
.header {
background: rgba(248, 250, 252, 0.8) !important;
backdrop-filter: blur(8px);
border: none !important;
box-shadow: none !important;
}
.table thead th {
background: #f8fafc !important;
border-bottom: 1px solid #e2e8f0 !important;
color: #64748b !important;
font-weight: 700 !important;
font-size: 0.75rem !important;
text-transform: uppercase;
padding: 15px 20px !important;
/* --- LES TABLEAUX "WAHOO" (Effet Liste de Cartes) --- */
.table {
border-collapse: separate !important;
border-spacing: 0 12px !important; /* Espace entre les lignes */
background: transparent !important;
}
.table tbody tr {
border-bottom: 1px solid #f1f5f9 !important;
transition: all 0.2s ease;
background: white !important;
border-radius: 15px !important;
box-shadow: 0 2px 10px rgba(0,0,0,0.03) !important;
transition: all 0.3s ease !important;
}
.table tbody tr:hover {
background-color: #f1f9fa !important; /* Un bleu-vert très pâle au survol */
transform: translateY(-4px) scale(1.01);
box-shadow: 0 15px 30px rgba(8, 197, 209, 0.15) !important;
}
.table td {
padding: 15px 20px !important;
font-size: 0.9rem !important;
padding: 20px !important;
border: none !important;
vertical-align: middle !important;
vertical-align: middle;
}
/* --- BARRE DE CONTEXTE DROITE (FLAT & CLEAN) --- */
.sidenav {
background: white !important;
border-left: 1px solid #e2e8f0 !important;
box-shadow: none !important;
width: 300px !important;
padding: 90px 20px 20px 20px !important;
}
/* Arrondis pour chaque ligne */
.table td:first-child { border-radius: 15px 0 0 15px !important; }
.table td:last-child { border-radius: 0 15px 15px 0 !important; }