forms.less: Properly align checkboxes and autosubmit warnings

It's far from perfect, but it looks nearly the same in FF and Chrome..
This commit is contained in:
Johannes Meyer 2015-09-16 09:09:45 +02:00
parent 402440735c
commit 19945d074c
1 changed files with 9 additions and 0 deletions

View File

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