More CSS tweaks
This commit is contained in:
parent
673c1de4a0
commit
2562055206
|
@ -16,14 +16,22 @@
|
|||
float: left;
|
||||
}
|
||||
|
||||
.input input, .input textarea, .input select {
|
||||
font-size: 1em;
|
||||
width: 20em;
|
||||
float: left;
|
||||
.input {
|
||||
input.string, input.email, input.password, select.select, input.numeric {
|
||||
font-size: 1em;
|
||||
width: 20em;
|
||||
float: left;
|
||||
}
|
||||
|
||||
textarea {
|
||||
height: 15em;
|
||||
width: 50em;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.input textarea {
|
||||
height: 8em;
|
||||
.input label.boolean {
|
||||
margin-left: 12em;
|
||||
}
|
||||
|
||||
.input .hint, .input .error {
|
||||
|
@ -117,4 +125,4 @@
|
|||
|
||||
.btn-link-large {
|
||||
font-size: 2em;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
h2.entry-title Вход
|
||||
|
||||
= simple_form_for(resource, as: resource_name, url: session_path(resource_name)) do |f|
|
||||
= simple_form_for(resource, as: resource_name, url: session_path(resource_name), ) do |f|
|
||||
.form-inputs
|
||||
= f.input :email, required: false, autofocus: true, hint: false
|
||||
= f.input :password, required: false, hint: false
|
||||
|
|
Loading…
Reference in New Issue