diff --git a/frontend/src/components/admin/AdminSidebar.tsx b/frontend/src/components/admin/AdminSidebar.tsx index 13a8d62..fbd826b 100644 --- a/frontend/src/components/admin/AdminSidebar.tsx +++ b/frontend/src/components/admin/AdminSidebar.tsx @@ -35,9 +35,9 @@ export function AdminSidebar({ activeTab, onNavigate, onLogout }: { onClick={() => onNavigate(id)} style={{ display: "flex", alignItems: "center", gap: 10, - background: activeTab === id ? "rgba(128,157,253,0.1)" : "none", + background: activeTab === id ? "var(--epi-blue)" : "none", border: "none", - color: activeTab === id ? "var(--epi-accent)" : "var(--epi-muted)", + color: activeTab === id ? "#fff" : "var(--epi-muted)", fontSize: 13, fontWeight: activeTab === id ? 700 : 500, padding: "9px 12px", borderRadius: 8, cursor: "pointer", transition: "background 0.15s, color 0.15s", diff --git a/frontend/src/components/admin/AdminSubjectsTab.tsx b/frontend/src/components/admin/AdminSubjectsTab.tsx index 21c1c30..af6a87f 100644 --- a/frontend/src/components/admin/AdminSubjectsTab.tsx +++ b/frontend/src/components/admin/AdminSubjectsTab.tsx @@ -466,10 +466,10 @@ export function AdminSubjectsTab({ token, onAddSubject }: { title="Ajouter" style={{ width: 48, height: 48, borderRadius: "50%", - background: "var(--epi-accent)", border: "none", + background: "var(--epi-blue)", border: "none", color: "#fff", cursor: "pointer", display: "flex", alignItems: "center", justifyContent: "center", - boxShadow: "0 4px 14px rgba(128,157,253,0.35)", + boxShadow: "0 4px 14px rgba(1,58,251,0.4)", transition: "transform 0.2s", transform: fabOpen ? "rotate(45deg)" : "rotate(0)", }} @@ -528,7 +528,7 @@ export function AdminSubjectsTab({ token, onAddSubject }: { }}>Annuler