diff --git a/src/components/NavigationAdmin.js b/src/components/NavigationAdmin.js index d50a6cc..99f4d96 100644 --- a/src/components/NavigationAdmin.js +++ b/src/components/NavigationAdmin.js @@ -7,17 +7,31 @@ const NavigationAdmin = () => {
- + - + - +
- ); }; +function changeColor() { + let button = document.getElementById("bouton_créer"); + button.style.backgroundColor = "rgb(170,170,170)"; +} + +function changeColor2() { + let button = document.getElementById("bouton_modif"); + button.style.backgroundColor = "rgb(170,170,170)"; +} + +function changeColor3() { + let button = document.getElementById("bouton_sup"); + button.style.backgroundColor = "rgb(170,170,170)"; +} + export default NavigationAdmin; \ No newline at end of file diff --git a/src/pages/Admin_modif.js b/src/pages/Admin_modif.js index 5d5b9c6..86041b9 100644 --- a/src/pages/Admin_modif.js +++ b/src/pages/Admin_modif.js @@ -21,11 +21,6 @@ const Admin_modif = () => {

Mot de passe :

- -
- -
- @@ -33,6 +28,11 @@ const Admin_modif = () => { + +
+ +
+ diff --git a/src/pages/Admin_supp.js b/src/pages/Admin_supp.js index cd59252..78f418a 100644 --- a/src/pages/Admin_supp.js +++ b/src/pages/Admin_supp.js @@ -42,5 +42,4 @@ const Admin_supp = () => { ); }; - export default Admin_supp; \ No newline at end of file diff --git a/src/pages/Dashboard.js b/src/pages/Dashboard.js index b3bb2cc..439e19a 100644 --- a/src/pages/Dashboard.js +++ b/src/pages/Dashboard.js @@ -3,11 +3,11 @@ import React from 'react'; const Dashboard = () => { return ( - + -
+
{/* Create a principal page */}

Dashboard

diff --git a/src/styles/components/_admin.scss b/src/styles/components/_admin.scss index dce2825..08d6be8 100644 --- a/src/styles/components/_admin.scss +++ b/src/styles/components/_admin.scss @@ -48,7 +48,7 @@ transition: 1s box-shadow; border: none; box-shadow: 0 0 5px rgba(0, 0, 0, 0.5); - background-color: rgba(163, 163, 163, 0.371); + background-color: rgb(163, 163, 163, 0.371); border: 1px solid rgba(255,255,255,0.1); backdrop-filter: blur(30px); color: rgb(255, 255, 255); @@ -145,6 +145,7 @@ border-radius: 5px; border: 1px solid black; box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37); + cursor: pointer; } } }