mirror of https://github.com/status-im/consul.git
77 lines
1.3 KiB
SCSS
77 lines
1.3 KiB
SCSS
%form-element,
|
|
%form-element > em,
|
|
%form-element > span,
|
|
%form-element textarea {
|
|
display: block;
|
|
}
|
|
%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;
|
|
}
|
|
%form-element > span {
|
|
margin-bottom: 0.5em;
|
|
}
|
|
%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 {
|
|
margin-top: 2px;
|
|
}
|
|
%form-element > em > code {
|
|
padding: 0 4px;
|
|
}
|
|
%form-element [type='text'],
|
|
%form-element [type='password'],
|
|
%form-element textarea {
|
|
padding: 17px 13px;
|
|
}
|
|
%form-element textarea {
|
|
padding: 6px 13px;
|
|
}
|
|
%form-element > span {
|
|
margin-bottom: 0.4em !important;
|
|
}
|
|
%form-element,
|
|
%radio-group {
|
|
margin-bottom: 1.55em;
|
|
}
|
|
%radio-group {
|
|
overflow: hidden;
|
|
}
|
|
%radio-group label {
|
|
float: left;
|
|
}
|
|
%radio-group label > span {
|
|
float: right;
|
|
}
|
|
%radio-group {
|
|
padding-left: 1px;
|
|
}
|
|
%radio-group label:not(:last-child) {
|
|
margin-right: 25px;
|
|
}
|
|
%radio-group label > span {
|
|
margin-left: 1em;
|
|
margin-top: 0.2em;
|
|
}
|
|
%radio-group label,
|
|
%radio-group label > span {
|
|
margin-bottom: 0 !important;
|
|
}
|