mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 21:34:25 +00:00
Improving form display : vertical space between fields
This commit is contained in:
parent
0f3503015b
commit
54c197afcf
@ -55,4 +55,8 @@ ul.custom_fields.choice li {
|
|||||||
|
|
||||||
.errors {
|
.errors {
|
||||||
color: $red;
|
color: $red;
|
||||||
|
}
|
||||||
|
|
||||||
|
.blop label {
|
||||||
|
line-height: 1 + ($base-spacing / 3);
|
||||||
}
|
}
|
@ -3396,9 +3396,13 @@ input, label, select {
|
|||||||
|
|
||||||
label.inline {
|
label.inline {
|
||||||
display: inline;
|
display: inline;
|
||||||
margin-right: 1em; }
|
line-height: 2em;
|
||||||
|
margin-right: 1em;
|
||||||
|
font-weight: normal; }
|
||||||
|
|
||||||
label {
|
label {
|
||||||
|
padding-top: 0.5em;
|
||||||
|
padding-bottom: 0.5em;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
margin-bottom: 0.375em; }
|
margin-bottom: 0.375em; }
|
||||||
label.required:after {
|
label.required:after {
|
||||||
@ -3420,7 +3424,7 @@ select[multiple=multiple] {
|
|||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
/*font-family: $form-font-family;
|
/*font-family: $form-font-family;
|
||||||
font-size: $form-font-size; */
|
font-size: $form-font-size; */
|
||||||
margin-bottom: 0.75em;
|
margin-bottom: 0.375em;
|
||||||
padding: 0.5em 0.5em;
|
padding: 0.5em 0.5em;
|
||||||
width: 100%; }
|
width: 100%; }
|
||||||
textarea:hover,
|
textarea:hover,
|
||||||
@ -3447,9 +3451,9 @@ input[type="file"] {
|
|||||||
width: 100%; }
|
width: 100%; }
|
||||||
|
|
||||||
select {
|
select {
|
||||||
margin-bottom: 0.75em;
|
margin-bottom: 0.375em;
|
||||||
padding-top: 0.5em;
|
padding-top: 0.3em;
|
||||||
padding-bottom: 0.5em;
|
padding-bottom: 0.3em;
|
||||||
width: 100%; }
|
width: 100%; }
|
||||||
|
|
||||||
form p.tip {
|
form p.tip {
|
||||||
@ -3772,4 +3776,7 @@ ul.custom_fields.choice li {
|
|||||||
.errors {
|
.errors {
|
||||||
color: #c91111; }
|
color: #c91111; }
|
||||||
|
|
||||||
|
.blop label {
|
||||||
|
line-height: 1.5em; }
|
||||||
|
|
||||||
/*# sourceMappingURL=scratch.css.map */
|
/*# sourceMappingURL=scratch.css.map */
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user