Commit 54c197af authored by Marc Ducobu's avatar Marc Ducobu
Browse files

Improving form display : vertical space between fields

parent 0f350301
......@@ -55,4 +55,8 @@ ul.custom_fields.choice li {
.errors {
color: $red;
}
.blop label {
line-height: 1 + ($base-spacing / 3);
}
\ No newline at end of file
......@@ -3396,9 +3396,13 @@ input, label, select {
label.inline {
display: inline;
margin-right: 1em; }
line-height: 2em;
margin-right: 1em;
font-weight: normal; }
label {
padding-top: 0.5em;
padding-bottom: 0.5em;
font-weight: bold;
margin-bottom: 0.375em; }
label.required:after {
......@@ -3420,7 +3424,7 @@ select[multiple=multiple] {
box-shadow: none;
/*font-family: $form-font-family;
font-size: $form-font-size; */
margin-bottom: 0.75em;
margin-bottom: 0.375em;
padding: 0.5em 0.5em;
width: 100%; }
textarea:hover,
......@@ -3447,9 +3451,9 @@ input[type="file"] {
width: 100%; }
select {
margin-bottom: 0.75em;
padding-top: 0.5em;
padding-bottom: 0.5em;
margin-bottom: 0.375em;
padding-top: 0.3em;
padding-bottom: 0.3em;
width: 100%; }
form p.tip {
......@@ -3772,4 +3776,7 @@ ul.custom_fields.choice li {
.errors {
color: #c91111; }
.blop label {
line-height: 1.5em; }
/*# sourceMappingURL=scratch.css.map */
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment