Commit 6c0df2c0 authored by Nicolas Frandeboeuf's avatar Nicolas Frandeboeuf Committed by Benjamin Bouvier
Browse files

[CSS] Rename initform in new-bank-form

parent d16a2620
......@@ -224,7 +224,7 @@ class InitForm extends AccessForm {
}
return (
<form className="initform" ref={this.refForm} onSubmit={this.handleSubmit}>
<form className="new-bank-form" ref={this.refForm} onSubmit={this.handleSubmit}>
<div className="bank">
<label htmlFor="bank">{$t('client.accountwizard.bank')}</label>
<FuzzyOrNativeSelect
......
......@@ -564,60 +564,60 @@ input.category-color {
}
/* Bank creation form */
.initform label {
.new-bank-form label {
vertical-align: middle;
}
.initform > div {
.new-bank-form > div {
margin-bottom: 1em;
}
.initform > div:last-child {
.new-bank-form > div:last-child {
margin-bottom: 0;
}
.initform > div.bank,
.initform > div.alert-email {
.new-bank-form > div.bank,
.new-bank-form > div.alert-email {
display: grid;
grid-template-columns: 3fr 9fr;
align-items: center;
}
.initform > div.credentials {
.new-bank-form > div.credentials {
display: grid;
grid-template-columns: 6fr 6fr;
grid-gap: 2em;
}
.initform input[type='checkbox'] {
.new-bank-form input[type='checkbox'] {
margin-top: 0;
vertical-align: middle;
}
.initform input[type='checkbox'] + label {
.new-bank-form input[type='checkbox'] + label {
display: inline;
margin-left: 1ex;
}
@media (max-width: 768px) {
.initform > div.bank,
.initform > div.credentials,
.initform > div.alert-email {
.new-bank-form > div.bank,
.new-bank-form > div.credentials,
.new-bank-form > div.alert-email {
grid-template-columns: 12fr;
grid-gap: 0;
}
.initform > div.credentials > div:not(:first-child) {
.new-bank-form > div.credentials > div:not(:first-child) {
margin-top: 1em;
}
}
.initform .buttons-toolbar {
.new-bank-form .buttons-toolbar {
display: flex;
justify-content: flex-end;
}
.wizard .initform .buttons-toolbar {
.wizard .new-bank-form .buttons-toolbar {
margin-bottom: 0;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment