2016-11-03 19:40:54 +00:00
|
|
|
.input-field {
|
2021-12-05 23:12:55 +00:00
|
|
|
line-height: 1.5;
|
2020-11-24 16:59:03 +00:00
|
|
|
background-color: $ui-light-grey;
|
2023-01-05 15:23:27 +00:00
|
|
|
border: solid 1px $ui-fleet-black-10;
|
2020-11-24 16:59:03 +00:00
|
|
|
border-radius: 4px;
|
|
|
|
|
font-size: $small;
|
2022-09-23 14:44:14 +00:00
|
|
|
padding: 7px 12px;
|
2021-04-30 21:32:50 +00:00
|
|
|
color: $core-fleet-blue;
|
2023-05-12 13:40:43 +00:00
|
|
|
font-family: "Inter", sans-serif;
|
2016-11-11 14:42:23 +00:00
|
|
|
box-sizing: border-box;
|
|
|
|
|
height: 40px;
|
2022-10-05 14:43:54 +00:00
|
|
|
transition: border-color 100ms;
|
2022-12-16 18:32:10 +00:00
|
|
|
width: 100%;
|
2016-11-03 19:40:54 +00:00
|
|
|
|
2021-12-02 15:03:56 +00:00
|
|
|
&::placeholder {
|
|
|
|
|
color: $ui-fleet-black-50;
|
2016-11-03 19:40:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
|
outline: none;
|
2021-04-30 21:32:50 +00:00
|
|
|
border-color: $core-vibrant-blue;
|
2016-11-03 19:40:54 +00:00
|
|
|
}
|
|
|
|
|
|
2022-10-05 14:43:54 +00:00
|
|
|
&:hover {
|
|
|
|
|
box-shadow: none;
|
|
|
|
|
border: 1px solid $core-vibrant-blue;
|
|
|
|
|
}
|
|
|
|
|
|
2017-01-13 23:27:58 +00:00
|
|
|
&--disabled {
|
2021-06-24 20:42:29 +00:00
|
|
|
color: $ui-fleet-black-50;
|
2017-01-13 23:27:58 +00:00
|
|
|
}
|
|
|
|
|
|
2016-11-03 19:40:54 +00:00
|
|
|
&--error {
|
2021-06-18 18:56:11 +00:00
|
|
|
color: $core-vibrant-red;
|
|
|
|
|
border: 1px solid $core-vibrant-red;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
border-radius: 4px;
|
2016-11-09 14:00:40 +00:00
|
|
|
|
|
|
|
|
&:focus {
|
2021-11-16 17:30:04 +00:00
|
|
|
border-color: $ui-error;
|
2021-04-30 21:32:50 +00:00
|
|
|
background-color: $core-white;
|
|
|
|
|
color: $core-fleet-black;
|
2016-11-09 14:00:40 +00:00
|
|
|
}
|
2016-11-03 19:40:54 +00:00
|
|
|
}
|
|
|
|
|
|
2016-11-09 14:00:40 +00:00
|
|
|
&__textarea {
|
|
|
|
|
min-height: 100px;
|
|
|
|
|
max-width: 100%;
|
2016-12-21 17:25:54 +00:00
|
|
|
display: block;
|
2016-11-09 14:00:40 +00:00
|
|
|
}
|
|
|
|
|
|
2016-11-03 19:40:54 +00:00
|
|
|
&__label {
|
2016-11-09 14:00:40 +00:00
|
|
|
display: block;
|
2020-11-20 00:51:22 +00:00
|
|
|
font-size: $medium;
|
|
|
|
|
font-weight: $regular;
|
2021-04-30 21:32:50 +00:00
|
|
|
color: $core-fleet-black;
|
2016-11-09 14:00:40 +00:00
|
|
|
margin-bottom: $pad-xsmall;
|
|
|
|
|
|
2016-11-03 19:40:54 +00:00
|
|
|
&--error {
|
2021-06-18 18:56:11 +00:00
|
|
|
font-weight: $bold;
|
2022-01-21 17:06:58 +00:00
|
|
|
color: $ui-error;
|
2016-11-03 19:40:54 +00:00
|
|
|
}
|
|
|
|
|
}
|
2016-11-09 14:00:40 +00:00
|
|
|
|
|
|
|
|
&__wrapper {
|
2021-04-30 21:32:50 +00:00
|
|
|
margin-bottom: $pad-medium;
|
2016-11-09 14:00:40 +00:00
|
|
|
}
|
2016-12-16 15:54:49 +00:00
|
|
|
|
|
|
|
|
&__hint {
|
2021-04-30 21:32:50 +00:00
|
|
|
font-size: $x-small;
|
2020-11-20 00:51:22 +00:00
|
|
|
font-weight: $regular;
|
2016-12-16 15:54:49 +00:00
|
|
|
line-height: 1.57;
|
|
|
|
|
letter-spacing: 1px;
|
2021-04-30 21:32:50 +00:00
|
|
|
color: $core-fleet-blue;
|
2016-12-16 15:54:49 +00:00
|
|
|
|
|
|
|
|
code {
|
2021-04-30 21:32:50 +00:00
|
|
|
color: $core-vibrant-blue;
|
|
|
|
|
background-color: $ui-gray;
|
|
|
|
|
padding: $pad-xxsmall;
|
2021-04-12 13:32:25 +00:00
|
|
|
font-family: "SourceCodePro", $monospace;
|
2016-12-16 15:54:49 +00:00
|
|
|
}
|
|
|
|
|
}
|
2023-08-08 14:57:55 +00:00
|
|
|
|
|
|
|
|
&__input-container.copy-enabled {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: $pad-medium;
|
|
|
|
|
}
|
2016-11-03 19:40:54 +00:00
|
|
|
}
|
2022-11-11 21:12:00 +00:00
|
|
|
|
|
|
|
|
// Removes arrows on Firefox number fields
|
|
|
|
|
input[type="number"] {
|
|
|
|
|
-moz-appearance: textfield;
|
|
|
|
|
}
|