From cdbf659cd2530f379b7db8ad299c1d9288568851 Mon Sep 17 00:00:00 2001 From: Gabor Hojtsy <gabor@hojtsy.hu> Date: Fri, 16 Feb 2018 14:01:09 +0100 Subject: [PATCH] Issue #2941647 by markconroy, JayKandari, cehfisher, smaz, andrewmacpherson: Link hover styles unintentionally applied to administration toolbar --- .../css/components/navigation/toolbar/toolbar.css | 14 ++++++++++++++ .../demo_umami/themes/umami/umami.libraries.yml | 1 + 2 files changed, 15 insertions(+) create mode 100644 core/profiles/demo_umami/themes/umami/css/components/navigation/toolbar/toolbar.css diff --git a/core/profiles/demo_umami/themes/umami/css/components/navigation/toolbar/toolbar.css b/core/profiles/demo_umami/themes/umami/css/components/navigation/toolbar/toolbar.css new file mode 100644 index 000000000000..bd04faee122e --- /dev/null +++ b/core/profiles/demo_umami/themes/umami/css/components/navigation/toolbar/toolbar.css @@ -0,0 +1,14 @@ +/** + * @file + * Visual styles for toolbar. + * + * Our global styling from base.css is causing the background color of hovered + * <a> tags to apply to the toolbar as well. This file is used to reset that. + */ + +.toolbar-item:hover, +.toolbar-item:focus, +.toolbar-tray a:hover, +.toolbar-tray a:focus { + background-color: inherit; +} diff --git a/core/profiles/demo_umami/themes/umami/umami.libraries.yml b/core/profiles/demo_umami/themes/umami/umami.libraries.yml index b0afce0db956..9c4b08dc22dd 100644 --- a/core/profiles/demo_umami/themes/umami/umami.libraries.yml +++ b/core/profiles/demo_umami/themes/umami/umami.libraries.yml @@ -25,6 +25,7 @@ global: css/components/navigation/menu-account/menu-account.css: {} css/components/navigation/skip-link/skip-link.css: {} css/components/navigation/tabs/tabs.css: {} + css/components/navigation/toolbar/toolbar.css: {} css/components/navigation/breadcrumbs/breadcrumbs.css: {} css/components/regions/bottom/bottom.css: {} css/components/regions/footer/footer.css: {} -- GitLab