67 lines
1.9 KiB
CSS
67 lines
1.9 KiB
CSS
/* --- BASE --- */
|
|
:root {
|
|
--primary: #2C3E50;
|
|
--accent: #08C5D1;
|
|
--bg-body: #F4F7FB;
|
|
}
|
|
|
|
body { background: var(--bg-body); color: #444; }
|
|
|
|
/* --- HEADER FLOATING --- */
|
|
#header {
|
|
background: rgba(255, 255, 255, 0.9);
|
|
backdrop-filter: blur(10px);
|
|
margin: 10px 15px;
|
|
width: calc(100% - 30px);
|
|
border-radius: 12px;
|
|
box-shadow: 0 4px 20px rgba(0,0,0,0.04);
|
|
}
|
|
|
|
/* --- LE "WAHOO" : MAIN CARD --- */
|
|
#main {
|
|
margin: 95px 20px 20px 320px; /* Espace pour la sidebar */
|
|
background: white;
|
|
border-radius: 20px;
|
|
min-height: 80vh;
|
|
padding: 30px;
|
|
border: 1px solid #edf2f7;
|
|
/* On évite les ombres lourdes, on mise sur la netteté */
|
|
}
|
|
|
|
/* --- SIDEBAR : UNITÉ VISUELLE --- */
|
|
#sidebar {
|
|
background: var(--primary);
|
|
border-right: none;
|
|
margin: 10px 0 10px 15px;
|
|
height: calc(100vh - 20px);
|
|
border-radius: 15px;
|
|
}
|
|
|
|
/* --- CONTEXTE (Sidenav) --- */
|
|
.sidenav-context {
|
|
position: fixed;
|
|
right: -340px;
|
|
top: 10px;
|
|
height: calc(100vh - 20px);
|
|
width: 320px;
|
|
background: white;
|
|
border-radius: 20px 0 0 20px;
|
|
box-shadow: -10px 0 40px rgba(0,0,0,0.05);
|
|
z-index: 1060;
|
|
transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
|
padding: 25px;
|
|
}
|
|
.sidenav-context.active { right: 0; }
|
|
|
|
/* --- WIDGETS DE DONNÉES --- */
|
|
.context-label { font-size: 0.65rem; font-weight: 800; text-transform: uppercase; color: #94a3b8; letter-spacing: 1px; }
|
|
.context-value-box { padding: 12px; background: #f8fafc; border-radius: 10px; border: 1px solid #eef2f7; display: flex; align-items: center; }
|
|
.assured-card { cursor: pointer; transition: 0.3s; padding: 10px; border-radius: 12px; }
|
|
.assured-card:hover { background: #f0f9fa; transform: translateY(-2px); }
|
|
|
|
/* Avatar initials */
|
|
.initials-circle {
|
|
width: 40px; height: 40px; background: var(--accent); color: white;
|
|
display: flex; align-items: center; justify-content: center;
|
|
border-radius: 50%; font-weight: bold;
|
|
} |