From 3fc971d03ce9fb90813607274c7a5ef863597b30 Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Tue, 17 Oct 2023 17:21:25 +0300 Subject: [PATCH] Enable focus outline on More button --- app/assets/stylesheets/common.scss | 16 +++++++--------- app/views/layouts/_header.html.erb | 2 +- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index 6ff46c07c..190416983 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -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); } } diff --git a/app/views/layouts/_header.html.erb b/app/views/layouts/_header.html.erb index 8ff04536d..2a04ef2bd 100644 --- a/app/views/layouts/_header.html.erb +++ b/app/views/layouts/_header.html.erb @@ -60,7 +60,7 @@ <%= link_to t("layouts.about"), about_path, :class => "nav-link" %>