fer
This commit is contained in:
parent
da1e177156
commit
24dec6c4b1
|
|
@ -120,76 +120,125 @@ body {
|
||||||
box-shadow: 0 4px 12px rgba(11, 94, 124, 0.3);
|
box-shadow: 0 4px 12px rgba(11, 94, 124, 0.3);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 3. Sidebar */
|
/* ================================================= */
|
||||||
|
/* SIDEBAR - Version corrigée */
|
||||||
|
/* ================================================= */
|
||||||
|
|
||||||
.sidebar {
|
.sidebar {
|
||||||
width: var(--sidebar-width);
|
width: 260px;
|
||||||
background: white;
|
background: linear-gradient(180deg, #1e2b3a 0%, #15232e 100%);
|
||||||
border-right: 1px solid var(--border-color);
|
color: #fff;
|
||||||
padding: 1.5rem 0.5rem;
|
position: fixed;
|
||||||
transition: width 0.3s ease;
|
left: 0;
|
||||||
|
top: 0;
|
||||||
|
height: 100vh;
|
||||||
|
overflow-y: auto;
|
||||||
|
transition: all 0.3s;
|
||||||
|
z-index: 1000;
|
||||||
|
box-shadow: 2px 0 10px rgba(0,0,0,0.1);
|
||||||
|
}
|
||||||
|
|
||||||
|
.sidebar-brand {
|
||||||
|
padding: 25px 20px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 10px;
|
||||||
|
border-bottom: 1px solid rgba(255,255,255,0.1);
|
||||||
|
margin-bottom: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sidebar-brand img {
|
||||||
|
width: 40px;
|
||||||
|
height: 40px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sidebar-brand span {
|
||||||
|
font-size: 1.2rem;
|
||||||
|
font-weight: 600;
|
||||||
|
color: white;
|
||||||
|
letter-spacing: 0.5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sidebar-nav {
|
||||||
|
list-style: none;
|
||||||
|
padding: 0 10px;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sidebar-nav .nav-item {
|
||||||
|
margin-bottom: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sidebar-nav .nav-link {
|
.sidebar-nav .nav-link {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 0.75rem;
|
padding: 12px 15px;
|
||||||
padding: 0.7rem 1rem;
|
color: rgba(255,255,255,0.8);
|
||||||
color: #4b5563;
|
text-decoration: none;
|
||||||
border-radius: 12px;
|
border-radius: 10px;
|
||||||
margin-bottom: 0.2rem;
|
transition: all 0.3s;
|
||||||
transition: all 0.2s;
|
gap: 12px;
|
||||||
font-weight: 500;
|
font-size: 0.95rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sidebar-nav .nav-link i:first-child {
|
.sidebar-nav .nav-link i {
|
||||||
font-size: 1.3rem;
|
width: 24px;
|
||||||
width: 1.75rem;
|
font-size: 1.2rem;
|
||||||
color: var(--primary);
|
color: rgba(255,255,255,0.6);
|
||||||
transition: all 0.2s;
|
transition: all 0.3s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sidebar-nav .nav-link:hover {
|
.sidebar-nav .nav-link:hover {
|
||||||
background: var(--primary-light);
|
background: rgba(255,255,255,0.1);
|
||||||
color: var(--primary);
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sidebar-nav .nav-link[aria-expanded="true"] {
|
.sidebar-nav .nav-link:hover i {
|
||||||
background: var(--primary-light);
|
color: white;
|
||||||
color: var(--primary);
|
}
|
||||||
|
|
||||||
|
.sidebar-nav .nav-link.active {
|
||||||
|
background: #0b5e7c;
|
||||||
|
color: white;
|
||||||
|
box-shadow: 0 4px 10px rgba(11,94,124,0.3);
|
||||||
|
}
|
||||||
|
|
||||||
|
.sidebar-nav .nav-link.active i {
|
||||||
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Sous-menus */
|
/* Sous-menus */
|
||||||
.nav-content {
|
.nav-content {
|
||||||
padding-left: 2.5rem;
|
|
||||||
list-style: none;
|
list-style: none;
|
||||||
|
padding-left: 45px;
|
||||||
|
margin: 5px 0 10px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-content li {
|
||||||
|
margin-bottom: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-content a {
|
.nav-content a {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 0.5rem;
|
padding: 8px 15px;
|
||||||
padding: 0.5rem 0;
|
color: rgba(255,255,255,0.7);
|
||||||
color: #6b7280;
|
|
||||||
font-size: 0.9rem;
|
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
transition: all 0.2s;
|
border-radius: 8px;
|
||||||
border-radius: 10px;
|
font-size: 0.9rem;
|
||||||
|
gap: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-content a i {
|
.nav-content a i {
|
||||||
font-size: 0.5rem;
|
font-size: 0.5rem;
|
||||||
color: #9ca3af;
|
color: rgba(255,255,255,0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-content a:hover,
|
.nav-content a:hover {
|
||||||
.nav-content a.active {
|
background: rgba(255,255,255,0.05);
|
||||||
color: var(--primary);
|
color: white;
|
||||||
background: transparent;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-content a.active i {
|
|
||||||
color: var(--primary);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* 4. Main content */
|
/* 4. Main content */
|
||||||
.main {
|
.main {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user