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; float: left;
} }
.input input, .input textarea, .input select { .input {
font-size: 1em; input.string, input.email, input.password, select.select, input.numeric {
width: 20em; font-size: 1em;
float: left; width: 20em;
float: left;
}
textarea {
height: 15em;
width: 50em;
}
} }
.input textarea { .input label.boolean {
height: 8em; margin-left: 12em;
} }
.input .hint, .input .error { .input .hint, .input .error {
@ -117,4 +125,4 @@
.btn-link-large { .btn-link-large {
font-size: 2em; font-size: 2em;
} }

View File

@ -1,6 +1,6 @@
h2.entry-title Вход 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 .form-inputs
= f.input :email, required: false, autofocus: true, hint: false = f.input :email, required: false, autofocus: true, hint: false
= f.input :password, required: false, hint: false = f.input :password, required: false, hint: false