From 769919384adc2271ca885650b2008f4867db2d06 Mon Sep 17 00:00:00 2001 From: Francesco Lorenzo D'Amico Date: Fri, 18 Sep 2026 14:47:32 +0200 Subject: [PATCH] Fix highlighted state on the white service-box variant --- BewerbungWebseite/wwwroot/css/style.css | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/BewerbungWebseite/wwwroot/css/style.css b/BewerbungWebseite/wwwroot/css/style.css index 252c62b..31d0d7e 100644 --- a/BewerbungWebseite/wwwroot/css/style.css +++ b/BewerbungWebseite/wwwroot/css/style.css @@ -2813,9 +2813,30 @@ li.nav-item { bottom: 0; transition: 0.5s; } -.active.techno-sinlge-service-box:hover:before { +.active.techno-sinlge-service-box-1:before { + position: absolute; + content: ""; + z-index: -1; + width: 100%; + height: 100%; + background: #ed2c41; + left: 0; + bottom: 0; + transition: 0.5s; +} +.active.techno-sinlge-service-box:hover:before, +.active.techno-sinlge-service-box-1:hover:before { height: 0; } +.active.techno-sinlge-service-box-1:hover .techno-service-icon i { + color: #ed2c41; +} +.active.techno-sinlge-service-box-1:hover .techno-service-title h2 { + color: #151423; +} +.active.techno-sinlge-service-box-1:hover .techno-service-title p { + color: #33354b; +} .active.techno-sinlge-service-box:hover .techno-service-icon i { color: #ed2c41; }