From 5a891c085d8b9fdf42db2a94fe3c43357e676000 Mon Sep 17 00:00:00 2001 From: Jottyfan Date: Thu, 27 Mar 2025 22:29:39 +0100 Subject: [PATCH] login icon hover effect --- src/main/resources/static/css/style.css | 13 ++++++ .../static/images/Icon_Profil_hover.svg | 42 +++++++++++++++++++ src/main/resources/templates/template.html | 2 +- 3 files changed, 56 insertions(+), 1 deletion(-) create mode 100644 src/main/resources/static/images/Icon_Profil_hover.svg diff --git a/src/main/resources/static/css/style.css b/src/main/resources/static/css/style.css index 751f23e..18c291d 100644 --- a/src/main/resources/static/css/style.css +++ b/src/main/resources/static/css/style.css @@ -63,6 +63,19 @@ body { background-image: url('../images/logo_hover.png'); } +.icon_profile { + width: 32px; + height: 32px; + background-size: 32px; + background-repeat: no-repeat; + background-image: url('../images/Icon_Profil.svg'); + display: inline-block; +} + +.icon_profile:hover { + background-image: url('../images/Icon_Profil_hover.svg'); +} + a { font-family: 'Fira Sans'; } diff --git a/src/main/resources/static/images/Icon_Profil_hover.svg b/src/main/resources/static/images/Icon_Profil_hover.svg new file mode 100644 index 0000000..0fe003a --- /dev/null +++ b/src/main/resources/static/images/Icon_Profil_hover.svg @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/templates/template.html b/src/main/resources/templates/template.html index 74ba9be..e738c4d 100644 --- a/src/main/resources/templates/template.html +++ b/src/main/resources/templates/template.html @@ -126,7 +126,7 @@