From eb5e96ff3935c117fda1769b6c6dc75a4270612c Mon Sep 17 00:00:00 2001 From: NoaSlld <102046195+NoaSlld@users.noreply.github.com> Date: Wed, 17 Jan 2024 08:15:49 +0100 Subject: [PATCH 1/2] uniformisation des boutons --- .../authentification/FormulaireConnexion.css | 14 +++++++++----- VeraxShield/VeraxShield/wwwroot/css/index.css | 14 ++++++++++++-- 2 files changed, 21 insertions(+), 7 deletions(-) diff --git a/VeraxShield/VeraxShield/wwwroot/css/composants/authentification/FormulaireConnexion.css b/VeraxShield/VeraxShield/wwwroot/css/composants/authentification/FormulaireConnexion.css index 1eeaf24..e8edfff 100644 --- a/VeraxShield/VeraxShield/wwwroot/css/composants/authentification/FormulaireConnexion.css +++ b/VeraxShield/VeraxShield/wwwroot/css/composants/authentification/FormulaireConnexion.css @@ -33,11 +33,15 @@ } .btn-se-connecter { - background-color: darkblue; + background-color: #053679; color: white; } + .btn-se-connecter:hover, .btn-s-inscrire:hover { + background-color: #afc1db; + color: #053679; + } -.btn-s-inscrire { - background-color: grey; - color: white; -} + .btn-s-inscrire { + background-color: grey; + color: white; + } diff --git a/VeraxShield/VeraxShield/wwwroot/css/index.css b/VeraxShield/VeraxShield/wwwroot/css/index.css index a5863c7..23d3ff4 100644 --- a/VeraxShield/VeraxShield/wwwroot/css/index.css +++ b/VeraxShield/VeraxShield/wwwroot/css/index.css @@ -48,11 +48,17 @@ main { cursor: pointer; } -/*Authorized + .btn-link:hover { + background-color: #afc1db; + color: #053679; + } + + + /*Authorized --------------------------------------------------- */ -.navbar { + .navbar { background-color: #053679; } @@ -61,6 +67,10 @@ main { background-color: none; } + .btn-navbar:hover { + color: #afc1db; + } + .home-center-box { background-color: white; padding: 40px; From e6d1d0d82d8f9e344ee33f597138e28423d06489 Mon Sep 17 00:00:00 2001 From: NoaSlld <102046195+NoaSlld@users.noreply.github.com> Date: Wed, 17 Jan 2024 10:44:42 +0100 Subject: [PATCH 2/2] update page index --- VeraxShield/VeraxShield/pages/Index.razor | 8 +++++--- VeraxShield/VeraxShield/wwwroot/css/index.css | 17 ++++++++++------- 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/VeraxShield/VeraxShield/pages/Index.razor b/VeraxShield/VeraxShield/pages/Index.razor index 916a44a..65ade79 100644 --- a/VeraxShield/VeraxShield/pages/Index.razor +++ b/VeraxShield/VeraxShield/pages/Index.razor @@ -19,7 +19,7 @@ - @@ -40,6 +40,9 @@ + @@ -65,5 +68,4 @@ - - + \ No newline at end of file diff --git a/VeraxShield/VeraxShield/wwwroot/css/index.css b/VeraxShield/VeraxShield/wwwroot/css/index.css index 23d3ff4..f86e667 100644 --- a/VeraxShield/VeraxShield/wwwroot/css/index.css +++ b/VeraxShield/VeraxShield/wwwroot/css/index.css @@ -3,7 +3,7 @@ */ body { - background-color: #afc1db; + background-color: white; margin: 0; padding: 0; font-family: Arial, sans-serif; @@ -15,7 +15,7 @@ header { text-align: center; padding: 10px; margin: 0; - background-color:white; + background-color: #afc1db; } main { @@ -27,7 +27,7 @@ main { } .center-box { - background-color: white; + background-color: #afc1db; padding: 20px; text-align: center; border-radius: 10px; @@ -35,6 +35,9 @@ main { .button-container { margin-top: 10px; + display: flex; + justify-content: center; + align-items: center; } .btn-link { @@ -46,14 +49,14 @@ main { border-radius: 5px; display: block; cursor: pointer; + width:100%; } .btn-link:hover { - background-color: #afc1db; + background-color: white; color: #053679; } - /*Authorized --------------------------------------------------- */ @@ -72,10 +75,10 @@ main { } .home-center-box { - background-color: white; + background-color: #afc1db; padding: 40px; text-align: center; border-radius: 10px; width: 80%; - } +