From bd0fdce2adcb83c7e1ceb1bf96a244062a6a18aa Mon Sep 17 00:00:00 2001 From: Michael Benson Date: Wed, 3 Jun 2020 12:27:42 -0700 Subject: [PATCH] fix feature section hover behavior --- .../content-placement-container.styles.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sites/fast-website/src/app/components/content-placement-container/content-placement-container.styles.ts b/sites/fast-website/src/app/components/content-placement-container/content-placement-container.styles.ts index f9c73dafb4d..77139306bd9 100644 --- a/sites/fast-website/src/app/components/content-placement-container/content-placement-container.styles.ts +++ b/sites/fast-website/src/app/components/content-placement-container/content-placement-container.styles.ts @@ -26,10 +26,15 @@ export const ContentPlacementContainerStyles = css` /* This creates the color, background, and elevation changes on hover */ + :host([section="feature"]:hover) site-card-section, :host([section="community"]:hover) site-content-placement { color: var(--neutral-foreground-hint); } + :host([section="feature"]) site-feature-card:hover { + color: var(--neutral-foreground-rest); + } + :host([section="community"]) site-content-placement:hover { --elevation: 4; cursor: pointer;