]> git.openstreetmap.org Git - rails.git/commitdiff
Tweak the dropdown menu hover and active colours
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 29 Jan 2020 16:49:41 +0000 (17:49 +0100)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 29 Jan 2020 17:23:47 +0000 (18:23 +0100)
app/assets/stylesheets/common.scss

index 540c887b3c9c0480f2b5963864da86c158529cfd..ae3b7c954c1cccb98f01d2655580bc5e203ca213 100644 (file)
@@ -278,6 +278,15 @@ nav.secondary {
   }
 }
 
+nav.primary, nav.secondary {
+  .dropdown-item {
+    &:hover, &:active {
+      background-color: $green;
+      color: white;
+    }
+  }
+}
+
 #compact-secondary-nav {
   display: none;
 }