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