Skip to content

Commit

Permalink
Merge pull request #427 from newfold-labs/PRESS2-1574-ui-fixes
Browse files Browse the repository at this point in the history
ui fixes
  • Loading branch information
arunshenoy99 authored Jan 25, 2024
2 parents cc905da + 907c2d0 commit 8ef143f
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ const NextButtonSiteGen = ( {
}
} }
>
{ text }
<p className="nfd-onboarding-button--site-gen-next--text">{ text }</p>

{ showChevronRight && (
<Icon
className={ 'nfd-onboarding-button--site-gen-next--icon' }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,14 @@
color: var(--nfd-onboarding-secondary);
}
}

&--disabled &--text {
opacity: 0.5;
}

&--disabled &--icon {
opacity: 0.5;
}
}

&--icon {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
font-weight: 300;
text-align: center;
color: var(--nfd-onboarding-primary);
margin: 35px !important;
margin: 35px 35px 15px 35px !important;
font-size: 30px;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
flex-direction: column;
justify-content: center;
margin-left: 18px;
max-width: 27vw;
max-width: 26vw;

@media (max-width: #{ ($break-large) }) {
width: 60vw;
Expand Down
11 changes: 7 additions & 4 deletions src/OnboardingSPA/components/StartOptions/stylesheet.scss
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,16 @@
}

&__span {
background-color: var(--nfd-onboarding-white);
color: rgb(6, 0, 0);
background-color: var(--nfd-onboarding-primary);
color: var(--nfd-onboarding-secondary);
padding-right: 6px;
padding-left: 5px;
margin-right: 5px;
border: 1px solid #fff;
border: 1px solid var(--nfd-onboarding-primary);
border-radius: 8px;
font-size: clamp(15px, 17px, 19px);
padding-top: 3px;
padding-bottom: 2px;
}
}

Expand Down Expand Up @@ -84,7 +87,7 @@
font-weight: 510;
text-align: center;
font-size: 14px;
line-height: 16.71px;
margin-top: 0;
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/OnboardingSPA/steps/SiteGen/SiteLogo/stylesheet.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
&__buttons {
width: 99%;
display: flex;
padding: 16px;
flex-direction: row;
align-items: center;
justify-content: flex-end;
margin-top: 20px;

&__skip {
font-size: clamp(0.6rem, 0.755rem + 0.227vw, 1.3rem);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
display: flex;
align-items: center;
justify-content: flex-end;
padding: 16px;
margin-top: 20px;

&__skip {
font-size: clamp(0.6rem, 0.755rem + 0.227vw, 1.3rem);
Expand Down
2 changes: 1 addition & 1 deletion src/OnboardingSPA/styles/_branding.scss
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ body {
--nfd-onboarding-progress-bar-fill: #0060f0;
--nfd-onboarding-progress-bar-background: #d5d5d5;
--nfd-onboarding-site-logo-on-drag: rgba(53, 59, 64, 0.3);
--nfd-onboarding-navigation-back-background: rgba(54, 62, 68, 0.35);
--nfd-onboarding-navigation-back-background: rgba(212, 212, 212, 0.35);
--nfd-onboarding-site-logo-border: var(--nfd-onboarding-primary);
--nfd-onboarding-header-border: rgba(var(--nfd-onboarding-primary-rgb), 0.3);
--nfd-onboarding-card-overlay: rgba(0, 0, 0, 0.4);
Expand Down

0 comments on commit 8ef143f

Please sign in to comment.