From 17ee9ebc7086a9a45e58a10e308ef2d479fee387 Mon Sep 17 00:00:00 2001 From: LrxGaelle Date: Wed, 26 Jan 2022 09:22:54 +0100 Subject: [PATCH] PATCH: fix bimdata button disabled (#152) * add no hover effect when btn disabled * add default cursor for number of items into navigation --- src/BIMDataComponents/BIMDataButton/_BIMDataButton.scss | 9 +++++++++ .../BIMDataNavigation/_BIMDataNavigation.scss | 1 + 2 files changed, 10 insertions(+) diff --git a/src/BIMDataComponents/BIMDataButton/_BIMDataButton.scss b/src/BIMDataComponents/BIMDataButton/_BIMDataButton.scss index ca396b0f..5798adb9 100644 --- a/src/BIMDataComponents/BIMDataButton/_BIMDataButton.scss +++ b/src/BIMDataComponents/BIMDataButton/_BIMDataButton.scss @@ -92,6 +92,9 @@ background-color: var(--color-silver-dark); color: var(--color-white); cursor: auto; + &:hover { + background-color: transparent; + } } } &__ripple { @@ -231,6 +234,9 @@ border-color: var(--color-silver-dark); color: var(--color-silver-dark); cursor: auto; + &:hover { + background-color: transparent; + } } } &__ghost { @@ -278,6 +284,9 @@ &:disabled { color: var(--color-silver-dark); cursor: auto; + &:hover { + background-color: transparent; + } } } } diff --git a/src/BIMDataComponents/BIMDataNavigation/_BIMDataNavigation.scss b/src/BIMDataComponents/BIMDataNavigation/_BIMDataNavigation.scss index bb15e0cb..03b55526 100644 --- a/src/BIMDataComponents/BIMDataNavigation/_BIMDataNavigation.scss +++ b/src/BIMDataComponents/BIMDataNavigation/_BIMDataNavigation.scss @@ -24,5 +24,6 @@ &__right { padding: 6px 2px; font-size: 10px; + cursor: default; } }