2016-11-03 19:40:54 +00:00
|
|
|
.input-icon-field {
|
2021-04-10 00:30:42 +00:00
|
|
|
margin-top: $pad-medium;
|
2016-11-03 19:40:54 +00:00
|
|
|
position: relative;
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
|
|
&__icon {
|
|
|
|
|
position: absolute;
|
|
|
|
|
right: 6px;
|
|
|
|
|
top: 28px;
|
2016-12-09 16:14:16 +00:00
|
|
|
font-size: 18px;
|
2021-04-30 21:32:50 +00:00
|
|
|
color: $core-fleet-blue;
|
2016-11-03 19:40:54 +00:00
|
|
|
|
|
|
|
|
&--active {
|
2021-04-09 19:04:11 +00:00
|
|
|
color: $core-vibrant-blue;
|
2016-11-03 19:40:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&--error {
|
2021-06-18 18:56:11 +00:00
|
|
|
border: 1px solid $core-vibrant-red;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
border-radius: 4px;
|
2016-11-03 19:40:54 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&__input {
|
2021-04-09 19:04:11 +00:00
|
|
|
border: 1px solid $ui-fleet-blue-15;
|
2020-12-02 14:59:44 +00:00
|
|
|
background-color: $ui-light-grey;
|
2021-04-10 00:30:42 +00:00
|
|
|
border-radius: $border-radius;
|
|
|
|
|
padding: 9px 30px 9px $pad-medium;
|
2020-12-02 14:59:44 +00:00
|
|
|
font-size: $small;
|
2016-11-03 19:40:54 +00:00
|
|
|
text-indent: 1px;
|
|
|
|
|
position: relative;
|
|
|
|
|
width: 100%;
|
|
|
|
|
box-sizing: border-box;
|
2021-04-09 19:04:11 +00:00
|
|
|
color: $core-fleet-black;
|
2020-11-20 00:51:22 +00:00
|
|
|
font-weight: $regular;
|
2016-12-01 18:57:19 +00:00
|
|
|
|
2019-01-03 20:46:55 +00:00
|
|
|
::placeholder {
|
2021-04-30 21:32:50 +00:00
|
|
|
color: $core-fleet-blue;
|
2016-12-01 18:57:19 +00:00
|
|
|
}
|
2016-11-03 19:40:54 +00:00
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
|
outline: none;
|
|
|
|
|
}
|
|
|
|
|
|
2021-07-06 16:22:51 +00:00
|
|
|
&:disabled {
|
|
|
|
|
color: $ui-fleet-black-50;
|
|
|
|
|
cursor: not-allowed;
|
|
|
|
|
}
|
|
|
|
|
|
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-03 19:40:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&__label {
|
2022-02-28 21:25:06 +00:00
|
|
|
display: block;
|
2020-12-02 14:59:44 +00:00
|
|
|
font-size: $x-small;
|
|
|
|
|
font-weight: $bold;
|
2021-04-10 00:30:42 +00:00
|
|
|
margin-bottom: $pad-xsmall;
|
2022-02-28 21:25:06 +00:00
|
|
|
|
|
|
|
|
&[data-has-tooltip="true"] {
|
|
|
|
|
margin-bottom: $pad-small;
|
|
|
|
|
}
|
2016-11-03 19:40:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&__errors {
|
2020-12-02 14:59:44 +00:00
|
|
|
font-size: $x-small;
|
2021-06-18 18:56:11 +00:00
|
|
|
font-weight: $bold;
|
2021-09-28 20:30:36 +00:00
|
|
|
color: $core-vibrant-red;
|
2016-11-03 19:40:54 +00:00
|
|
|
}
|
2016-12-01 18:57:19 +00:00
|
|
|
|
|
|
|
|
&__hint {
|
2020-12-02 14:59:44 +00:00
|
|
|
font-size: $x-small;
|
|
|
|
|
font-style: italic;
|
2020-11-20 00:51:22 +00:00
|
|
|
font-weight: $regular;
|
2020-12-02 14:59:44 +00:00
|
|
|
line-height: 20px;
|
|
|
|
|
display: inline-block;
|
2021-04-10 00:30:42 +00:00
|
|
|
margin-top: $pad-small;
|
2016-12-01 18:57:19 +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-01 18:57:19 +00:00
|
|
|
}
|
|
|
|
|
}
|
2021-09-10 19:06:37 +00:00
|
|
|
|
|
|
|
|
// overwrite icon position and input padding
|
|
|
|
|
&--icon-start {
|
|
|
|
|
input {
|
|
|
|
|
padding: 9px 1rem 9px 3rem;
|
|
|
|
|
}
|
|
|
|
|
.fleeticon {
|
|
|
|
|
right: auto;
|
|
|
|
|
left: 16px;
|
|
|
|
|
top: 39px;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
}
|
|
|
|
|
}
|
2016-11-03 19:40:54 +00:00
|
|
|
}
|