Add background effect to active menu page
authorChocobozzz <me@florianbigard.com>
Thu, 15 Nov 2018 10:41:25 +0000 (11:41 +0100)
committerChocobozzz <me@florianbigard.com>
Thu, 15 Nov 2018 15:38:36 +0000 (16:38 +0100)
client/src/app/menu/menu.component.scss

index a842765ba089615c5619d13987dbfc9775babaec..b271ebfd28b6b0b36c1176fb731a8b38ed23f0b8 100644 (file)
@@ -131,10 +131,14 @@ menu {
       transition: background-color .1s ease-in-out;
       @include disable-default-a-behaviour;
 
-      &:hover, &.focus-visible {
+      &.active {
         background-color: rgba(255, 255, 255, 0.15);
       }
 
+      &:hover, &.focus-visible {
+        background-color: rgba(255, 255, 255, 0.10);
+      }
+
       .icon {
         @include icon(22px);