]> git.openstreetmap.org Git - rails.git/commitdiff
Enable focus outline on More button
authorAnton Khorev <tony29@yandex.ru>
Tue, 17 Oct 2023 14:21:25 +0000 (17:21 +0300)
committerAnton Khorev <tony29@yandex.ru>
Tue, 17 Oct 2023 14:21:25 +0000 (17:21 +0300)
app/assets/stylesheets/common.scss
app/views/layouts/_header.html.erb

index 6ff46c07ce5be5304b8d42d0cfc777bef7974b85..1904169838e09b9985919ac2a70e6492875196f3 100644 (file)
@@ -187,19 +187,17 @@ nav.secondary {
     color: darken($darkgrey, 25%);
   }
 
-  .login-menu {
-    .btn-outline-secondary {
-      @include button-outline-variant($darkgrey, $color-hover: $white, $active-color: $white);
+  .btn-outline-secondary {
+    @include button-outline-variant($darkgrey, $color-hover: $darkgrey, $active-background: white, $active-border: $darkgrey);
+    border-color: $grey;
+    &:hover {
+      border-color: $grey;
     }
   }
 
-  .user-menu {
+  .login-menu {
     .btn-outline-secondary {
-      @include button-outline-variant($darkgrey, $color-hover: $darkgrey, $active-background: white, $active-border: $darkgrey);
-      border-color: $grey;
-      &:hover {
-        border-color: $grey;
-      }
+      @include button-outline-variant($darkgrey, $color-hover: $white, $active-color: $white);
     }
   }
 
index 8ff04536d19b6d4cbe99f41117b1448538c619f8..2a04ef2bd64c37dc21b84cfb6d5211044982f11e 100644 (file)
@@ -60,7 +60,7 @@
         <%= link_to t("layouts.about"), about_path, :class => "nav-link" %>
       </li>
       <li id="compact-secondary-nav" class="dropdown nav-item">
-        <button class="dropdown-toggle nav-link btn" type="button" data-bs-toggle="dropdown"><%= t "layouts.more" %></button>
+        <button class="dropdown-toggle nav-link btn btn-outline-secondary border-0" type="button" data-bs-toggle="dropdown"><%= t "layouts.more" %></button>
         <ul class="dropdown-menu">
           <% if Settings.status != "database_offline" && can?(:index, Issue) %>
             <li class="<%= current_page_class(issues_path) %>">