From 19945d074c4161db61302e343d16ba74176a7eaf Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Wed, 16 Sep 2015 09:09:45 +0200 Subject: [PATCH] forms.less: Properly align checkboxes and autosubmit warnings It's far from perfect, but it looks nearly the same in FF and Chrome.. --- public/css/icinga/forms.less | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/public/css/icinga/forms.less b/public/css/icinga/forms.less index 2ab93f869..f149c3272 100644 --- a/public/css/icinga/forms.less +++ b/public/css/icinga/forms.less @@ -36,6 +36,11 @@ input, select, textarea { font-family: Calibri, Helvetica, sans-serif; } +input[type=checkbox] { + margin-top: 0.3em; + margin-bottom: 0.1em; +} + input:focus, select:focus { border-color: #333; } @@ -360,6 +365,10 @@ i.autosubmit-warning { } } +input[type=checkbox] + i.autosubmit-warning { + margin-top: 0.15em; +} + html.no-js i.autosubmit-warning { .sr-only; }