Style import 2nd step

[MAILPOET-1626]
This commit is contained in:
Pavel Dohnal
2019-02-12 15:39:40 +01:00
committed by M. Shull
parent b50defa24e
commit 17f54daea6
2 changed files with 31 additions and 8 deletions

View File

@@ -76,3 +76,23 @@ span
&.select2-search--dropdown
display none !important
.import_validation_step
max-width: 600px
display: flex
flex-direction: column
.import_step_buttons
flex-direction: row
margin-top: 1.5em
p
margin-left: 2em
label
margin-top: 1.5em
margin-bottom: 0.3em
padding-left: 35px;
text-indent: -35px;
input
margin-right: 0.5em

View File

@@ -10,6 +10,7 @@ const renderServicesMessage = () => {
href="https://www.briteverify.com"
target="_blank"
rel="noreferrer noopener"
key="BriteVerify"
>
BriteVerify
</a>
@@ -19,6 +20,7 @@ const renderServicesMessage = () => {
href="https://www.datavalidation.com/"
target="_blank"
rel="noreferrer noopener"
key="DataValidation"
>
DataValidation
</a>
@@ -28,6 +30,7 @@ const renderServicesMessage = () => {
href="https://neverbounce.com/"
target="_blank"
rel="noreferrer noopener"
key="NeverBounce"
>
NeverBounce
</a>
@@ -59,7 +62,7 @@ class StepInputValidation extends Component {
{ 'button-disabled': !this.isFormValid() },
);
return (
<>
<div className="import_step_buttons">
<button
className="button-primary wysija button"
type="button"
@@ -79,13 +82,13 @@ class StepInputValidation extends Component {
>
{MailPoet.I18n.t('nextStep')}
</button>
</>
</div>
);
}
render() {
return (
<>
<div className="import_validation_step">
<label htmlFor="subscribers_agreed">
<input
type="checkbox"
@@ -96,7 +99,7 @@ class StepInputValidation extends Component {
/>
{MailPoet.I18n.t('subscribersAgreed')}
</label>
<p>
<p className="description">
{MailPoet.I18n.t('dontEmailSubscribers')}
{' '}
<a
@@ -117,10 +120,10 @@ class StepInputValidation extends Component {
/>
{MailPoet.I18n.t('sentOnceYear')}
</label>
<p>
<p className="description">
{MailPoet.I18n.t('emailAddressesWillBounce')}
</p>
<p>
<p className="description">
{renderServicesMessage()}
</p>
<label htmlFor="understand">
@@ -133,11 +136,11 @@ class StepInputValidation extends Component {
/>
{MailPoet.I18n.t('youUnderstand')}
</label>
<p>
<p className="description">
{MailPoet.I18n.t('weWillSuspend')}
</p>
{this.renderStepButtons()}
</>
</div>
);
}
}