More CSS tweaks

This commit is contained in:
Petko Bordjukov 2014-08-31 18:48:53 +03:00
parent 673c1de4a0
commit 2562055206
2 changed files with 16 additions and 8 deletions

View File

@ -16,14 +16,22 @@
float: left;
}
.input input, .input textarea, .input select {
.input {
input.string, input.email, input.password, select.select, input.numeric {
font-size: 1em;
width: 20em;
float: left;
}
.input textarea {
height: 8em;
textarea {
height: 15em;
width: 50em;
}
}
.input label.boolean {
margin-left: 12em;
}
.input .hint, .input .error {

View File

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