Signup steps with validation
This commit is contained in:
28
app/assets/stylesheets/forms.scss
Normal file
28
app/assets/stylesheets/forms.scss
Normal file
@@ -0,0 +1,28 @@
|
||||
form {
|
||||
.field_with_errors {
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
||||
|
||||
.layout-signup {
|
||||
label {
|
||||
display: none;
|
||||
}
|
||||
|
||||
input[type=text], input[type=email], input[type=password] {
|
||||
font-size: 1.25rem;
|
||||
padding: 0.5rem 1rem;
|
||||
}
|
||||
|
||||
span.at-sign, span.domain {
|
||||
font-size: 1.25rem;
|
||||
}
|
||||
|
||||
.error-msg {
|
||||
color: #bc0101;
|
||||
}
|
||||
|
||||
.actions {
|
||||
margin-top: 2rem;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user