Merge pull request #218 from foodcoop-adam/article-dialog
Edit article user-interface update
This commit is contained in:
commit
c5b1236f21
3 changed files with 78 additions and 10 deletions
|
|
@ -251,3 +251,40 @@ tr.unavailable {
|
|||
.modal form {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
// multiple-column layout in forms (landscape tablet and wider only)
|
||||
@media (min-width: 768px) {
|
||||
.form-horizontal .fold-line {
|
||||
.control-group {
|
||||
float: left;
|
||||
}
|
||||
.control-group + .control-group {
|
||||
.control-label {
|
||||
width: auto;
|
||||
margin: 0 10px;
|
||||
}
|
||||
.controls {
|
||||
float: left;
|
||||
margin-left: 0;
|
||||
}
|
||||
// fix margin somehow off
|
||||
// XXX there must be a better way
|
||||
margin-bottom: 0;
|
||||
.help-block {
|
||||
margin-top: 0;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
}
|
||||
.control-group:last-child {
|
||||
float: none;
|
||||
.controls {
|
||||
float: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
// allow to have indicator text instead of input with same markup
|
||||
.control-text {
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue