2016-12-16 15:54:49 +00:00
|
|
|
.form-field {
|
2021-04-10 00:30:42 +00:00
|
|
|
margin-bottom: $pad-large;
|
2016-12-16 15:54:49 +00:00
|
|
|
|
|
|
|
|
&__label {
|
2022-11-22 22:41:10 +00:00
|
|
|
font-size: $small;
|
2021-05-27 16:06:24 +00:00
|
|
|
font-weight: $bold;
|
2021-04-09 19:04:11 +00:00
|
|
|
color: $core-fleet-black;
|
2016-12-16 15:54:49 +00:00
|
|
|
display: block;
|
2022-11-22 22:41:10 +00:00
|
|
|
margin-bottom: $pad-small;
|
2022-12-08 18:57:28 +00:00
|
|
|
min-height: $form-field-label-height;
|
2016-12-16 15:54:49 +00:00
|
|
|
|
|
|
|
|
&--error {
|
2021-06-18 18:56:11 +00:00
|
|
|
font-weight: $bold;
|
2022-01-25 16:06:47 +00:00
|
|
|
color: $core-vibrant-red;
|
2016-12-16 15:54:49 +00:00
|
|
|
}
|
2022-02-28 21:25:06 +00:00
|
|
|
|
2022-04-11 19:04:41 +00:00
|
|
|
// so tooltips won't be triggered with whitespace
|
2022-02-28 21:25:06 +00:00
|
|
|
&[data-has-tooltip="true"] {
|
|
|
|
|
margin-bottom: $pad-small;
|
2022-04-11 19:04:41 +00:00
|
|
|
display: inline-flex;
|
2022-02-28 21:25:06 +00:00
|
|
|
}
|
2016-12-16 15:54:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&__hint {
|
2021-06-18 18:56:11 +00:00
|
|
|
font-size: $x-small;
|
2020-11-20 00:51:22 +00:00
|
|
|
font-weight: $regular;
|
2021-06-18 18:56:11 +00:00
|
|
|
line-height: 20px;
|
|
|
|
|
display: inline-block;
|
|
|
|
|
margin-top: $pad-small;
|
2016-12-16 15:54:49 +00:00
|
|
|
|
|
|
|
|
code {
|
2021-04-09 19:04:11 +00:00
|
|
|
color: $core-vibrant-blue;
|
2020-11-24 16:59:03 +00:00
|
|
|
background-color: $ui-light-grey;
|
2021-04-30 21:32:50 +00:00
|
|
|
padding: $pad-xxsmall;
|
2021-04-12 13:32:25 +00:00
|
|
|
font-family: "SourceCodePro", $monospace;
|
2016-12-16 15:54:49 +00:00
|
|
|
}
|
|
|
|
|
}
|
2022-01-04 17:49:42 +00:00
|
|
|
|
|
|
|
|
&--checkbox {
|
|
|
|
|
margin-bottom: $pad-medium;
|
|
|
|
|
}
|
2022-03-11 17:56:14 +00:00
|
|
|
|
|
|
|
|
&--slider {
|
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
}
|
2016-12-16 15:54:49 +00:00
|
|
|
}
|