This commit is contained in:
KONE SOREL 2026-04-02 16:42:04 +00:00
parent b507fb1033
commit 1e8328f7be

View File

@ -67,19 +67,19 @@
/* === BASE RESET & GLOBALS === */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 14px; scroll-behavior: smooth; }
html { font-size: 13px; scroll-behavior: smooth; }
body {
font-family: 'DM Sans', system-ui, sans-serif;
background: var(--bg-base);
color: var(--text-primary);
line-height: 1.6;
line-height: 1.5;
-webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6,
.fw-bold, .fw-semibold, .nav-link span {
h1, h2, h3, h4, h5, h6, .fw-bold, .fw-semibold {
font-family: 'Syne', sans-serif;
letter-spacing: -0.01em;
}
/* === SCROLLBAR === */
@ -88,17 +88,16 @@ h1, h2, h3, h4, h5, h6,
::-webkit-scrollbar-thumb { background: var(--border-medium); border-radius: var(--radius-full); }
::-webkit-scrollbar-thumb:hover { background: var(--color-primary-light); }
/* ==============================
HEADER
============================== */
/* === HEADER MODERNE === */
#header {
height: var(--header-height);
background: var(--bg-header);
border-bottom: 1px solid var(--border-light);
box-shadow: var(--shadow-xs);
padding: 0 1.25rem;
padding: 0 1.5rem;
z-index: 2000;
transition: background var(--transition-base);
display: flex;
align-items: center;
/* Suppression de l'ombre portée pour un look plus plat/pro */
}
#header.mode-test {
@ -110,6 +109,15 @@ h1, h2, h3, h4, h5, h6,
text-decoration: none;
}
#header .logo span {
font-family: 'Syne', sans-serif;
font-weight: 800;
font-size: 1.1rem;
color: var(--color-primary);
text-transform: uppercase; /* Plus ERP */
letter-spacing: 0.5px;
}
#header .logo img {
width: 34px;
height: 34px;
@ -117,14 +125,6 @@ h1, h2, h3, h4, h5, h6,
object-fit: contain;
}
#header .logo span {
font-family: 'Syne', sans-serif;
font-weight: 800;
font-size: 1.05rem;
color: var(--color-primary);
letter-spacing: -0.02em;
}
/* Toggle sidebar button */
.toggle-sidebar-btn {
font-size: 1.4rem;
@ -135,11 +135,13 @@ h1, h2, h3, h4, h5, h6,
transition: all var(--transition-fast);
margin-left: 12px;
}
.toggle-sidebar-btn:hover {
color: var(--color-primary);
background: var(--color-primary-ghost);
}
/* Breadcrumb */
.breadcrumb {
background: transparent !important;
@ -147,15 +149,21 @@ h1, h2, h3, h4, h5, h6,
margin: 0;
font-size: 0.8rem;
}
.breadcrumb-item a {
color: var(--text-muted);
text-decoration: none;
transition: color var(--transition-fast);
}
/* Breadcrumb & Titre Vue */
.breadcrumb-item a:hover { color: var(--color-primary); }
.breadcrumb-item.active { color: var(--color-primary); }
.breadcrumb-item + .breadcrumb-item::before { color: var(--border-medium); }
#descriptionVue{color:#212E53 !important; font-weight: bold;}
.breadcrumb-item a { color: var(--text-muted); font-weight: 500; }
.breadcrumb-item.active { color: var(--color-primary); font-weight: 600; }
#descriptionVue {
color: var(--color-primary) !important;
font-family: 'Syne', sans-serif;
font-weight: 700;
font-size: 1.1rem;
margin-left: 15px;
}
/* Header Nav Icons */
#header .header-nav .nav-link {
@ -165,40 +173,34 @@ h1, h2, h3, h4, h5, h6,
transition: all var(--transition-fast);
position: relative;
}
#header .header-nav .nav-link:hover {
color: var(--color-primary);
background: var(--color-primary-ghost);
}
/* Badge Notifications (Simplifié) */
.badge-number {
position: absolute;
top: 2px; right: 4px;
background: var(--color-urgent) !important;
font-size: 0.6rem;
min-width: 16px;
height: 16px;
border-radius: var(--radius-full);
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
border: 2px solid white;
transition: transform var(--transition-fast);
font-size: 10px;
font-weight: 700;
border: 2px solid var(--bg-header);
}
.badge-number:hover { transform: scale(1.2); }
/* Company logo area */
/* Company Area (Refonte Minimaliste) */
.company-logo-area {
display: flex;
align-items: center;
gap: 8px;
padding: 4px 10px;
border-radius: var(--radius-md);
gap: 10px;
padding: 5px 12px;
border-radius: var(--radius-sm);
border: 1px solid var(--border-light);
background: var(--bg-surface-2);
transition: all var(--transition-fast);
max-width: 180px;
max-width: 200px;
}
.company-logo-area:hover {
border-color: var(--color-primary-light);
box-shadow: var(--shadow-sm);
@ -213,22 +215,21 @@ h1, h2, h3, h4, h5, h6,
text-overflow: ellipsis;
}
/* User Initials Badge */
/* User Badge (Suppression du Gradient) */
.initials {
width: 32px;
height: 32px;
width: 30px;
height: 30px;
border-radius: var(--radius-sm);
background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
background: var(--color-primary); /* Couleur pleine, pas de gradient */
color: white;
font-family: 'Syne', sans-serif;
font-weight: 700;
font-size: 0.75rem;
font-size: 0.7rem;
display: inline-flex;
align-items: center;
justify-content: center;
box-shadow: var(--shadow-primary);
transition: transform var(--transition-fast);
}
.nav-link:hover .initials { transform: scale(1.08); }
/* Dropdown */