From c1072a5f0cccc908a1cce7223f980fcbca86d0da Mon Sep 17 00:00:00 2001 From: arunshenoy99 Date: Wed, 21 Dec 2022 15:50:17 +0530 Subject: [PATCH 1/2] add the right cursor states --- .../SelectableCardWithInfo/index.js | 9 +- .../SelectableCardWithInfo/stylesheet.scss | 6 +- .../pages/Steps/DesignColors/stylesheet.scss | 111 +++++----- .../Steps/DesignHeaderMenu/stylesheet.scss | 9 +- .../Steps/DesignHomepageMenu/stylesheet.scss | 192 ++++++++---------- .../DesignThemeStyles/Menu/stylesheet.scss | 4 +- .../DesignThemeStyles/Preview/stylesheet.scss | 4 + .../Steps/DesignTypography/stylesheet.scss | 5 + .../pages/Steps/SitePages/stylesheet.scss | 8 +- 9 files changed, 180 insertions(+), 168 deletions(-) diff --git a/src/OnboardingSPA/components/LivePreview/SelectableCardWithInfo/index.js b/src/OnboardingSPA/components/LivePreview/SelectableCardWithInfo/index.js index 3c643483b..fa8e93aa0 100644 --- a/src/OnboardingSPA/components/LivePreview/SelectableCardWithInfo/index.js +++ b/src/OnboardingSPA/components/LivePreview/SelectableCardWithInfo/index.js @@ -27,10 +27,11 @@ const SelectableCardWithInfo = ( { }; return ( -
-
+
+
handleCheck( ! selected ) } + > Date: Fri, 23 Dec 2022 15:34:58 +0530 Subject: [PATCH 2/2] add not-allowed to skeleton states --- .gitignore | 3 ++- .../CheckboxTemplate/CheckboxListSkeleton/stylesheet.scss | 1 + .../components/LivePreview/BlockPreview/stylesheet.scss | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index c30a19820..be16d05be 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ node_modules vendor -.DS_Store \ No newline at end of file +.DS_Store +.vscode \ No newline at end of file diff --git a/src/OnboardingSPA/components/CheckboxTemplate/CheckboxListSkeleton/stylesheet.scss b/src/OnboardingSPA/components/CheckboxTemplate/CheckboxListSkeleton/stylesheet.scss index 031e25352..89de99623 100644 --- a/src/OnboardingSPA/components/CheckboxTemplate/CheckboxListSkeleton/stylesheet.scss +++ b/src/OnboardingSPA/components/CheckboxTemplate/CheckboxListSkeleton/stylesheet.scss @@ -9,6 +9,7 @@ $main-color-light: var(--nfd-onboarding-white); margin-top: 16px; background: $main-color-light; border: 0.5px solid $white-offset; + cursor: not-allowed; width: clamp(15rem, 25vw, 35rem); box-shadow: 0px 2px 8px 2px rgba(204, 204, 204, 0.175295); } diff --git a/src/OnboardingSPA/components/LivePreview/BlockPreview/stylesheet.scss b/src/OnboardingSPA/components/LivePreview/BlockPreview/stylesheet.scss index cbc048510..53c4e4712 100644 --- a/src/OnboardingSPA/components/LivePreview/BlockPreview/stylesheet.scss +++ b/src/OnboardingSPA/components/LivePreview/BlockPreview/stylesheet.scss @@ -28,6 +28,7 @@ $main-color-light-rgb: var(--nfd-onboarding-white-rgb); height: 100%; display: flex; position: absolute; + cursor: not-allowed; align-items: center; flex-direction: column; background-color: $main-color-grey;