From 7238f2ba5f922a9ac102c6032ab137af3ce6fc89 Mon Sep 17 00:00:00 2001 From: Felix Niklas Date: Fri, 26 Sep 2014 17:08:41 +0200 Subject: [PATCH] fix form checkboxes --- app/assets/stylesheets/zzz.css.erb | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/zzz.css.erb b/app/assets/stylesheets/zzz.css.erb index 3dcdb7cbf..97682f0c6 100644 --- a/app/assets/stylesheets/zzz.css.erb +++ b/app/assets/stylesheets/zzz.css.erb @@ -420,7 +420,9 @@ label { opacity: 0.2; } -input:not([type=submit]), +input[type=text], +input[type=password], +input[type=email], textarea, .form-control { display: block; @@ -3414,6 +3416,30 @@ footer { resize: none; } +.checkbox.form-group .checkbox { + margin: 10px 0 0; + margin-bottom: 15px; +} + +.checkbox.form-group label { + padding: 0 2px; + cursor: default; +} + +.checkbox.form-group .controls label { + padding-left: 20px; + display: block; + font: inherit; + font-size: 13px; + color: inherit; + text-transform: inherit; + cursor: pointer; +} + +.checkbox.form-group input[type=checkbox] { + margin-top: 1px; +} + /* ----------------