mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-23 07:38:07 -05:00
Merge pull request #3274 from benjiwheeler/join-flow-misc
Join flow misc UI improvements
This commit is contained in:
commit
ae8f5a1e90
3 changed files with 12 additions and 2 deletions
|
@ -87,6 +87,7 @@ class BirthDateStep extends React.Component {
|
|||
return (
|
||||
<JoinFlowStep
|
||||
description={this.props.intl.formatMessage({id: 'registration.private'})}
|
||||
descriptionClassName="join-flow-birthdate-description"
|
||||
headerImgSrc="/images/join-flow/birthdate-header.png"
|
||||
infoMessage={this.props.intl.formatMessage({id: 'registration.birthDateStepInfo'})}
|
||||
innerClassName="join-flow-inner-birthdate-step"
|
||||
|
|
|
@ -29,7 +29,7 @@ class CountryStep extends React.Component {
|
|||
this.countryOptions = [...countryData.registrationCountryOptions];
|
||||
this.countryOptions.unshift({
|
||||
disabled: true,
|
||||
label: this.props.intl.formatMessage({id: 'registration.selectCountry'}),
|
||||
label: this.props.intl.formatMessage({id: 'general.country'}),
|
||||
value: 'null'
|
||||
});
|
||||
}
|
||||
|
|
|
@ -101,6 +101,11 @@
|
|||
padding-top: 3rem;
|
||||
}
|
||||
|
||||
.join-flow-birthdate-description {
|
||||
margin-left: -.5rem;
|
||||
margin-right: -.5rem;
|
||||
}
|
||||
|
||||
.join-flow-gender-description {
|
||||
margin-top: .625rem;
|
||||
margin-bottom: 1.25rem;
|
||||
|
@ -118,7 +123,11 @@
|
|||
align-items: center;
|
||||
}
|
||||
|
||||
.gender-radio-row-selected {
|
||||
.gender-radio-row:hover {
|
||||
background-color: $ui-blue-10percent;
|
||||
}
|
||||
|
||||
.gender-radio-row-selected, .gender-radio-row-selected:hover {
|
||||
transition: all .125s ease;
|
||||
background-color: $ui-blue-25percent;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue