2018-03-26 23:32:43 +02:00
|
|
|
.form-row {
|
2018-01-21 20:29:48 +01:00
|
|
|
display: flex;
|
2018-03-26 23:32:43 +02:00
|
|
|
flex-direction: row;
|
|
|
|
align-items: flex-end;
|
2018-01-21 20:29:48 +01:00
|
|
|
|
2018-03-26 23:32:43 +02:00
|
|
|
.form-field:not(:first-of-type) {
|
|
|
|
padding-left: $spacing-vertical;
|
2018-01-21 20:29:48 +01:00
|
|
|
}
|
2017-04-10 14:32:40 +02:00
|
|
|
|
2018-03-22 17:14:26 +01:00
|
|
|
&.form-row--centered {
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
2018-03-26 23:32:43 +02:00
|
|
|
&.form-row--padded {
|
|
|
|
padding-top: $spacing-vertical * 2/3;
|
2017-04-10 20:12:07 +02:00
|
|
|
}
|
|
|
|
|
2018-03-22 17:14:26 +01:00
|
|
|
&.form-row--vertically-centered {
|
2018-03-26 23:32:43 +02:00
|
|
|
align-items: center;
|
2017-10-15 21:50:13 +02:00
|
|
|
}
|
|
|
|
|
2018-04-06 03:56:05 +02:00
|
|
|
&.form-row--stretch {
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
|
2018-05-11 19:47:05 +02:00
|
|
|
&.form-row--right {
|
|
|
|
justify-content: flex-end;
|
|
|
|
}
|
|
|
|
|
2018-03-26 23:32:43 +02:00
|
|
|
.form-field.form-field--stretch {
|
2017-10-15 06:52:32 +02:00
|
|
|
width: 100%;
|
2017-08-20 07:58:03 +02:00
|
|
|
|
2018-03-26 23:32:43 +02:00
|
|
|
input {
|
|
|
|
width: 100%;
|
|
|
|
max-width: 400px;
|
2017-04-12 16:55:19 +02:00
|
|
|
}
|
2017-04-10 14:32:40 +02:00
|
|
|
}
|
|
|
|
|
2018-03-26 23:32:43 +02:00
|
|
|
input + .btn {
|
|
|
|
margin-left: $spacing-vertical * 1/3;
|
2017-04-10 14:32:40 +02:00
|
|
|
}
|
|
|
|
}
|
2017-10-16 01:13:32 +02:00
|
|
|
|
2017-06-15 21:30:56 +02:00
|
|
|
.form-field--SimpleMDE {
|
|
|
|
display: block;
|
2018-03-26 23:32:43 +02:00
|
|
|
width: 100%;
|
2017-06-15 21:30:56 +02:00
|
|
|
}
|
2017-04-10 14:32:40 +02:00
|
|
|
|
2018-03-26 23:32:43 +02:00
|
|
|
.form-field__input {
|
|
|
|
display: flex;
|
|
|
|
padding-top: $spacing-vertical / 3;
|
|
|
|
|
2018-04-01 12:46:38 +02:00
|
|
|
input[type='checkbox'] {
|
|
|
|
margin-top: 4px;
|
|
|
|
}
|
|
|
|
|
2018-03-26 23:32:43 +02:00
|
|
|
input[type='radio'] {
|
2018-04-01 12:46:38 +02:00
|
|
|
margin-top: 2px;
|
2017-10-15 00:37:40 +02:00
|
|
|
}
|
2018-03-22 17:14:26 +01:00
|
|
|
|
|
|
|
input.paginate-channel {
|
2018-03-30 18:13:11 +02:00
|
|
|
width: 35px;
|
|
|
|
}
|
|
|
|
|
|
|
|
input.paginate-channel {
|
2018-03-22 17:14:26 +01:00
|
|
|
width: 35px;
|
|
|
|
}
|
2018-04-01 12:46:38 +02:00
|
|
|
|
2018-03-30 02:29:05 +02:00
|
|
|
&.form-field--auto-height {
|
|
|
|
height: auto;
|
|
|
|
}
|
2017-04-10 14:32:40 +02:00
|
|
|
}
|
2017-04-09 17:06:23 +02:00
|
|
|
|
2018-03-26 23:32:43 +02:00
|
|
|
.form-field__help,
|
|
|
|
.form-field__label,
|
|
|
|
.form-field__error {
|
|
|
|
font-size: 12px;
|
|
|
|
font-family: 'metropolis-medium';
|
2017-04-09 17:06:23 +02:00
|
|
|
}
|
|
|
|
|
2018-03-26 23:32:43 +02:00
|
|
|
.form-field__label {
|
2018-04-17 04:21:19 +02:00
|
|
|
color: var(--form-label-color);
|
2017-04-09 17:06:23 +02:00
|
|
|
}
|
|
|
|
|
2018-03-26 23:32:43 +02:00
|
|
|
.form-field__help {
|
2018-04-17 04:21:19 +02:00
|
|
|
color: var(--color-help);
|
2018-06-13 07:20:53 +02:00
|
|
|
padding-top: $spacing-vertical * 2/3;
|
2017-04-12 16:55:19 +02:00
|
|
|
}
|
|
|
|
|
2018-03-26 23:32:43 +02:00
|
|
|
.form-field__error {
|
|
|
|
color: var(--color-error);
|
2017-04-10 20:12:07 +02:00
|
|
|
}
|
|
|
|
|
2018-03-26 23:32:43 +02:00
|
|
|
.form-field__prefix,
|
|
|
|
.form-field__postfix {
|
|
|
|
font-family: 'metropolis-medium';
|
2018-06-13 07:20:53 +02:00
|
|
|
|
|
|
|
&.form-field--fix-no-height {
|
|
|
|
line-height: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.form-field--align-center {
|
|
|
|
align-self: center;
|
|
|
|
}
|
2017-04-09 17:06:23 +02:00
|
|
|
}
|
|
|
|
|
2018-03-26 23:32:43 +02:00
|
|
|
.form-field__prefix {
|
|
|
|
padding-right: $spacing-vertical * 1/3;
|
2017-04-09 17:06:23 +02:00
|
|
|
}
|
|
|
|
|
2018-03-26 23:32:43 +02:00
|
|
|
.form-field__postfix {
|
|
|
|
padding-left: $spacing-vertical * 1/3;
|
2017-04-09 17:06:23 +02:00
|
|
|
}
|
2018-03-26 23:32:43 +02:00
|
|
|
|
2018-05-25 06:36:43 +02:00
|
|
|
.form-field__select {
|
|
|
|
min-width: 60px;
|
|
|
|
height: 30px;
|
|
|
|
border-radius: 8px;
|
|
|
|
background-color: var(--input-select-bg-color);
|
|
|
|
font: normal 12px/30px 'metropolis-medium';
|
|
|
|
color: var(--input-select-color);
|
|
|
|
|
|
|
|
&:disabled {
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-03-26 23:32:43 +02:00
|
|
|
// Not sure if I like these
|
|
|
|
// Maybe this should be in gui.scss?
|
|
|
|
.input--price-amount {
|
2018-05-17 05:36:38 +02:00
|
|
|
width: 80px;
|
2017-06-15 21:30:56 +02:00
|
|
|
}
|
|
|
|
|
2018-03-26 23:32:43 +02:00
|
|
|
.input--address {
|
|
|
|
width: 370px;
|
2017-08-18 07:37:35 +02:00
|
|
|
}
|