From 5db6bb61a6dbf6d77ed998176bc3951f7ef6c449 Mon Sep 17 00:00:00 2001 From: David Blankenship Date: Wed, 3 Jan 2024 08:49:47 -0500 Subject: [PATCH] fix(YALB-520): change link hover back to menu-link-color --- .../modules/custom/ys_links/css/ys_links.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/web/profiles/custom/yalesites_profile/modules/custom/ys_links/css/ys_links.css b/web/profiles/custom/yalesites_profile/modules/custom/ys_links/css/ys_links.css index 93b77e9d09..16cea3ccef 100644 --- a/web/profiles/custom/yalesites_profile/modules/custom/ys_links/css/ys_links.css +++ b/web/profiles/custom/yalesites_profile/modules/custom/ys_links/css/ys_links.css @@ -73,3 +73,9 @@ a[class*="cta"].link--with-icon.ys_linked.link { table a.ys_linked.link { display: inline; } + +/* applying data attributes causes the hover color to change, but in a menu we +* don't do that. */ +li.primary-nav__item a.link--with-icon.ys_linked:hover { + color: var(--menu-link-color); +}