Merge pull request #3274 from benjiwheeler/join-flow-misc

Join flow misc UI improvements
This commit is contained in:
Benjamin Wheeler 2019-08-21 01:40:16 +02:00 committed by GitHub
commit ae8f5a1e90
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 2 deletions

View file

@ -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"

View file

@ -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'
});
}

View file

@ -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;
}