2018-10-19 15:17:02 +00:00
|
|
|
%form-row {
|
|
|
|
margin-bottom: 1.4em;
|
|
|
|
}
|
|
|
|
%form-element {
|
|
|
|
@extend %form-row;
|
|
|
|
}
|
2018-09-21 09:18:32 +00:00
|
|
|
%form-element,
|
|
|
|
%form-element > em,
|
|
|
|
%form-element > span,
|
|
|
|
%form-element textarea {
|
|
|
|
display: block;
|
|
|
|
}
|
2018-10-19 15:17:02 +00:00
|
|
|
%form-element a {
|
|
|
|
display: inline;
|
|
|
|
}
|
2018-09-21 09:18:32 +00:00
|
|
|
%form-element > em > code {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
%form-element [type='text'],
|
|
|
|
%form-element [type='password'] {
|
|
|
|
display: inline-flex;
|
|
|
|
justify-content: flex-start;
|
|
|
|
}
|
|
|
|
%form-element textarea {
|
|
|
|
resize: vertical;
|
2018-08-29 11:11:58 +00:00
|
|
|
}
|
|
|
|
%form-element > span {
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
}
|
2018-10-19 15:17:02 +00:00
|
|
|
%form-element > span + em {
|
|
|
|
margin-top: -0.5em;
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
}
|
2018-08-29 11:11:58 +00:00
|
|
|
%form-element textarea {
|
|
|
|
max-width: 100%;
|
|
|
|
min-width: 100%;
|
|
|
|
min-height: 70px;
|
|
|
|
padding: 0.625em 15px;
|
|
|
|
}
|
|
|
|
%form-element [type='text'],
|
|
|
|
%form-element [type='password'] {
|
|
|
|
max-width: 100%;
|
|
|
|
width: 100%;
|
|
|
|
height: 2.25em;
|
|
|
|
}
|
|
|
|
%form-element > em {
|
2018-09-21 09:18:32 +00:00
|
|
|
margin-top: 2px;
|
2018-08-29 11:11:58 +00:00
|
|
|
}
|
2018-09-21 09:18:32 +00:00
|
|
|
%form-element > em > code {
|
|
|
|
padding: 0 4px;
|
2018-08-29 11:11:58 +00:00
|
|
|
}
|
2018-09-21 09:18:32 +00:00
|
|
|
%form-element [type='text'],
|
|
|
|
%form-element [type='password'],
|
|
|
|
%form-element textarea {
|
|
|
|
padding: 17px 13px;
|
|
|
|
}
|
|
|
|
%form-element textarea {
|
|
|
|
padding: 6px 13px;
|
2018-08-29 11:11:58 +00:00
|
|
|
}
|
|
|
|
%form-element > span {
|
|
|
|
margin-bottom: 0.4em !important;
|
|
|
|
}
|