From 4d96a08cd363bbc566b4971c529a700efb4e172f Mon Sep 17 00:00:00 2001 From: Esenjin Date: Mon, 30 Dec 2024 23:05:59 +0100 Subject: [PATCH] mise en avant du super admin --- styles-admin.css | 26 ++++++++++++++++++++++++++ utilisateurs.php | 20 ++++++++++++++++---- 2 files changed, 42 insertions(+), 4 deletions(-) diff --git a/styles-admin.css b/styles-admin.css index 12e294a..42527f1 100644 --- a/styles-admin.css +++ b/styles-admin.css @@ -220,6 +220,32 @@ body { gap: 0.5rem; } +.admin-table tr.main-admin { + background-color: rgba(33, 150, 243, 0.1); +} + +.admin-table tr.main-admin:hover { + background-color: rgba(33, 150, 243, 0.15); +} + +.admin-badge { + display: inline-flex; + align-items: center; + gap: 0.5rem; + padding: 0.25rem 0.5rem; + border-radius: 1rem; + font-size: 0.8rem; + font-weight: 500; + background-color: #2196f3; + color: white; + margin-left: 0.5rem; +} + +.admin-badge .icon { + width: 12px; + height: 12px; +} + /* Formulaires */ .form-group { margin-bottom: 1.5rem; diff --git a/utilisateurs.php b/utilisateurs.php index 524e7d9..4933f54 100644 --- a/utilisateurs.php +++ b/utilisateurs.php @@ -195,10 +195,22 @@ while ($row = $result->fetchArray(SQLITE3_ASSOC)) { - - + + - + + + + + + + + Admin principal + + + - +