2016-09-02 19:05:42 +02:00
|
|
|
.form-error {
|
|
|
|
display: block;
|
2016-12-16 00:43:58 +01:00
|
|
|
padding-top: #{4 / $base-font-size}rem;
|
2016-09-02 19:05:42 +02:00
|
|
|
width: #{300 / $base-font-size}rem;
|
2020-04-12 17:00:00 +02:00
|
|
|
font-size: #{12 / $base-font-size}rem;
|
2016-12-16 00:43:58 +01:00
|
|
|
text-align: left;
|
2019-04-17 23:05:55 +02:00
|
|
|
@include themify() {
|
2019-05-22 15:38:24 +02:00
|
|
|
color: getThemifyVariable('error-color');
|
2019-04-17 23:05:55 +02:00
|
|
|
}
|
2016-09-02 23:37:34 +02:00
|
|
|
}
|
|
|
|
|
2020-04-19 22:45:09 +02:00
|
|
|
.form > * + * {
|
|
|
|
margin-top: #{12 / $base-font-size}rem;
|
|
|
|
}
|
|
|
|
|
2019-05-15 12:11:58 +02:00
|
|
|
.form--inline {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
2016-09-02 23:37:34 +02:00
|
|
|
.form__cancel-button {
|
|
|
|
margin-top: #{10 / $base-font-size}rem;
|
2016-10-12 20:25:24 +02:00
|
|
|
font-size: #{12 / $base-font-size}rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form__navigation-options {
|
2016-12-16 00:43:58 +01:00
|
|
|
margin-top: #{16 / $base-font-size}rem;
|
|
|
|
font-size: #{12 / $base-font-size}rem;
|
2019-05-22 15:38:24 +02:00
|
|
|
@include themify() {
|
|
|
|
color: getThemifyVariable('form-navigation-options-color');
|
|
|
|
}
|
2016-12-16 00:43:58 +01:00
|
|
|
}
|
|
|
|
|
2019-05-15 12:11:58 +02:00
|
|
|
.form__legend{
|
|
|
|
font-size: #{21 / $base-font-size}rem;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2016-12-16 00:43:58 +01:00
|
|
|
.form__label {
|
2016-10-12 20:25:24 +02:00
|
|
|
font-size: #{12 / $base-font-size}rem;
|
2016-12-16 00:43:58 +01:00
|
|
|
margin-top: #{25 / $base-font-size}rem;
|
|
|
|
margin-bottom: #{7 / $base-font-size}rem;
|
2016-12-19 22:49:37 +01:00
|
|
|
display: block;
|
2019-05-22 15:38:24 +02:00
|
|
|
@include themify() {
|
|
|
|
color: getThemifyVariable('form-secondary-title-color');
|
|
|
|
}
|
2016-12-16 00:43:58 +01:00
|
|
|
}
|
|
|
|
|
2019-05-15 12:11:58 +02:00
|
|
|
.form__label--hidden {
|
|
|
|
@extend %hidden-element;
|
|
|
|
}
|
|
|
|
|
2016-12-16 00:43:58 +01:00
|
|
|
.form__input {
|
2019-05-24 11:09:41 +02:00
|
|
|
width: 100%;
|
|
|
|
min-width: #{360 / $base-font-size}rem;
|
2016-12-16 00:43:58 +01:00
|
|
|
height: #{40 / $base-font-size}rem;
|
2019-05-24 11:09:41 +02:00
|
|
|
font-size: #{16 / $base-font-size}rem;
|
2019-05-22 15:38:24 +02:00
|
|
|
@include themify() {
|
|
|
|
color: getThemifyVariable('form-input-text-color');
|
2020-04-24 02:25:39 +02:00
|
|
|
background-color: getThemifyVariable('input-background-color');
|
2019-05-24 11:09:41 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-07-09 18:24:09 +02:00
|
|
|
.form__input-flexible-height {
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
|
2019-05-24 11:09:41 +02:00
|
|
|
.form__input::placeholder {
|
|
|
|
@include themify() {
|
|
|
|
color: getThemifyVariable('form-input-placeholder-text-color');
|
2019-05-22 15:38:24 +02:00
|
|
|
}
|
2016-12-19 22:49:37 +01:00
|
|
|
}
|
|
|
|
|
2017-06-26 18:48:28 +02:00
|
|
|
.form__context {
|
|
|
|
text-align: left;
|
|
|
|
margin-top: #{15 / $base-font-size}rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form__status {
|
2019-05-22 15:38:24 +02:00
|
|
|
@include themify() {
|
|
|
|
color: getThemifyVariable('form-navigation-options-color');
|
|
|
|
}
|
2017-06-26 18:48:28 +02:00
|
|
|
}
|
|
|
|
|
2019-05-24 11:09:41 +02:00
|
|
|
.form [type="submit"] {
|
2020-04-19 22:45:09 +02:00
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
2016-12-16 00:43:58 +01:00
|
|
|
}
|
2018-10-30 00:33:37 +01:00
|
|
|
|
2020-04-19 22:45:09 +02:00
|
|
|
// .form [type="submit"] {
|
|
|
|
// @extend %button;
|
|
|
|
// padding: #{8 / $base-font-size}rem #{25 / $base-font-size}rem;
|
|
|
|
// margin: #{39 / $base-font-size}rem 0 #{24 / $base-font-size}rem 0;
|
|
|
|
// }
|
2019-07-09 18:24:09 +02:00
|
|
|
|
2020-04-19 22:45:09 +02:00
|
|
|
// .form [type="submit"][disabled] {
|
|
|
|
// cursor: not-allowed;
|
|
|
|
// }
|
2019-07-09 18:24:09 +02:00
|
|
|
|
2020-04-19 22:45:09 +02:00
|
|
|
// .form--inline [type="submit"] {
|
|
|
|
// margin: 0 0 0 #{24 / $base-font-size}rem;
|
|
|
|
// }
|
|
|
|
|
|
|
|
// .form [type="submit"][disabled],
|
|
|
|
// .form--inline [type="submit"][disabled] {
|
|
|
|
// cursor: not-allowed;
|
|
|
|
// }
|