make new article dialog more responsive

This commit is contained in:
wvengen 2013-12-10 16:41:26 +01:00
parent 58de1a231b
commit 85b6ff908b
3 changed files with 41 additions and 25 deletions

View file

@ -248,11 +248,28 @@ tr.unavailable {
margin: 0;
}
.inline-inputs {
.control-label {
float: none;
display: inline;
vertical-align: middle;
margin: 0 10px;
// two-column layout in forms (landscape tablet and wider only)
@media (min-width: 768px) {
.form-horizontal .twocol {
.control-group:nth-child(odd) {
float: left;
}
.control-group:nth-child(even) {
.control-label {
width: auto;
margin: 0 10px;
}
// fix margin somehow off
// XXX there must be a better way
margin-bottom: 0;
.controls p {
margin-bottom: 20px;
}
}
}
}
// allow to have indicator text instead of input with same markup
.control-text {
margin-top: 5px;
}