From 9abfdb998f18600493c3dc21e131557a28d66ea7 Mon Sep 17 00:00:00 2001 From: kennylam Date: Thu, 12 Jan 2023 19:08:29 -0500 Subject: [PATCH] fix(styles): update disabled card hover styles (#9892) ### Related Ticket(s) #9815 ### Description Removes hover styles from `disabled` card links. ### Changelog **New** - add disabled hover styles to card links --- packages/styles/scss/components/card/index.scss | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/packages/styles/scss/components/card/index.scss b/packages/styles/scss/components/card/index.scss index a4a232021fe..b8fda3e5648 100644 --- a/packages/styles/scss/components/card/index.scss +++ b/packages/styles/scss/components/card/index.scss @@ -1,5 +1,5 @@ /** - * Copyright IBM Corp. 2016, 2022 + * Copyright IBM Corp. 2016, 2023 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. @@ -42,6 +42,14 @@ background-color: $hover-ui; } + &.#{$prefix}--card__CTA--disabled.#{$prefix}--tile--clickable { + background-color: $ui-01; + + > * { + background-color: $ui-01; + } + } + ::slotted(#{$dds-prefix}-image), ::slotted(#{$dds-prefix}-card-cta-image), .#{$prefix}--card__img,