From 2b3bd4a864482f8c29fcb06a2fd3cb63defcd830 Mon Sep 17 00:00:00 2001 From: Giovanni-Josserand Date: Mon, 12 Jan 2026 14:04:00 +0100 Subject: [PATCH] update glassBorder class --- src/components/homePage/calendar.module.css | 8 -------- src/components/homePage/eventList.module.css | 10 +--------- src/index.css | 2 +- src/pages/Profile/ProfilePage.jsx | 4 ++-- src/pages/Profile/ProfilePage.module.css | 2 -- 5 files changed, 4 insertions(+), 22 deletions(-) diff --git a/src/components/homePage/calendar.module.css b/src/components/homePage/calendar.module.css index 9bbfda8..95b2b74 100644 --- a/src/components/homePage/calendar.module.css +++ b/src/components/homePage/calendar.module.css @@ -106,16 +106,8 @@ .eventBox { width: 100%; - border-radius: 20px; padding: 15px; margin-top: 16px; - border: none; - background: rgb(255, 255, 255, 0.25); - box-shadow: - inset 1.25px 1.25px 1px rgba(255, 255, 255, 1), - inset -1.25px -1.25px 1px rgba(255, 255, 255, 1), - inset -0.25px 0.25px 1px rgba(0, 0, 0, 0.2), - inset 0.25px -0.25px 1px rgba(0, 0, 0, 0.2); } .eventBox ul { diff --git a/src/components/homePage/eventList.module.css b/src/components/homePage/eventList.module.css index 6bb0b67..fb9c1f3 100644 --- a/src/components/homePage/eventList.module.css +++ b/src/components/homePage/eventList.module.css @@ -50,16 +50,8 @@ h2{ } .eventGroup{ - margin: 16px 0px 16px 0px; + margin: 16px 0 16px 0; padding: 10px 20px 10px 20px; - border-radius: 20px; - border: none; - background: transparent; - box-shadow: - inset 1.25px 1.25px 1px rgba(255, 255, 255, 1), - inset -1.25px -1.25px 1px rgba(255, 255, 255, 1), - inset -0.25px 0.25px 1px rgba(0, 0, 0, 0.2), - inset 0.25px -0.25px 1px rgba(0, 0, 0, 0.2); } .eventTitle { diff --git a/src/index.css b/src/index.css index be95afd..c18fc90 100644 --- a/src/index.css +++ b/src/index.css @@ -68,7 +68,7 @@ body { .glassBorder{ border-radius: 20px; border: none; - background: rgba(255, 255, 255, 0.5); + background: rgb(255, 255, 255, 0.25); box-shadow: inset 1.25px 1.25px 1px rgba(255, 255, 255, 1), inset -1.25px -1.25px 1px rgba(255, 255, 255, 1), diff --git a/src/pages/Profile/ProfilePage.jsx b/src/pages/Profile/ProfilePage.jsx index a47e87c..9f61466 100644 --- a/src/pages/Profile/ProfilePage.jsx +++ b/src/pages/Profile/ProfilePage.jsx @@ -24,11 +24,11 @@ function ProfilePage() {

{user.name} {user.lastname}

-
+

Role : {user.role}

Membre depuis : {formatDate(user.created_at)}

-
+

Mail : {user.email}

Téléphone : {user.phone === null ? "Pas de numéro enregistré" : user.phone}

diff --git a/src/pages/Profile/ProfilePage.module.css b/src/pages/Profile/ProfilePage.module.css index 9b20a37..2ebba4b 100644 --- a/src/pages/Profile/ProfilePage.module.css +++ b/src/pages/Profile/ProfilePage.module.css @@ -47,9 +47,7 @@ .infoBlock { width: 100%; - background: rgba(255, 255, 255, 0.1); padding: 10px; - border-radius: 5px; } .eventTasks {