From b665d3234975be17d045dd7ccfb33e585a165e3f Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Wed, 5 Feb 2025 07:32:09 +0000 Subject: [PATCH] Fix low contrast of icons on flyout menu by adjusting stroke color (#42182). Patch by Mizuki ISHIKAWA (user:ishikawa999). git-svn-id: https://svn.redmine.org/redmine/trunk@23489 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/assets/stylesheets/responsive.css | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/responsive.css b/app/assets/stylesheets/responsive.css index 4eff84187..ec580037c 100644 --- a/app/assets/stylesheets/responsive.css +++ b/app/assets/stylesheets/responsive.css @@ -440,6 +440,10 @@ color: white; } + .flyout-menu .icon svg { + stroke: white; + } + .flyout-menu ul li a:hover { text-decoration: none; } @@ -560,8 +564,10 @@ #admin-menu a.selected { line-height: 40px; padding: 0; - padding-left: 32px !important; - background-position: 8px 50%; + } + + #admin-menu a.icon:not(:has(svg)) { + padding-left: 20px !important; } /*----------------------------------------*\