2019-11-25 17:43:25 +00:00
|
|
|
%form-element-text-input {
|
|
|
|
-moz-appearance: none;
|
|
|
|
-webkit-appearance: none;
|
2020-03-05 14:16:48 +00:00
|
|
|
box-shadow: inset $decor-elevation-100;
|
2019-11-25 17:43:25 +00:00
|
|
|
border-radius: $decor-radius-100;
|
|
|
|
border: $decor-border-100;
|
|
|
|
outline: none;
|
|
|
|
}
|
2020-05-11 15:37:11 +00:00
|
|
|
%form fieldset > p,
|
|
|
|
%form-element-note,
|
2019-11-25 17:43:25 +00:00
|
|
|
%form-element-text-input::placeholder {
|
|
|
|
color: $gray-400;
|
|
|
|
}
|
|
|
|
%form-element-note > code {
|
|
|
|
border-radius: $decor-radius-100;
|
|
|
|
}
|
|
|
|
%form-element-error > input,
|
|
|
|
%form-element-error > textarea {
|
2020-05-11 15:37:11 +00:00
|
|
|
border-color: var(--decor-error-500, $red-500) !important;
|
2019-11-25 17:43:25 +00:00
|
|
|
}
|
|
|
|
%form-element-text-input {
|
|
|
|
color: $gray-500;
|
|
|
|
border-color: $gray-300;
|
|
|
|
}
|
|
|
|
%form-element-text-input-hover {
|
|
|
|
border-color: $gray-500;
|
|
|
|
}
|
|
|
|
%form-element-text-input-focus {
|
2020-05-11 15:37:11 +00:00
|
|
|
border-color: var(--typo-action-500, $blue-500);
|
2019-11-25 17:43:25 +00:00
|
|
|
}
|
|
|
|
%form-element-label {
|
2020-05-11 15:37:11 +00:00
|
|
|
color: var(--typo-contrast-999, inherit);
|
2019-11-25 17:43:25 +00:00
|
|
|
}
|
|
|
|
%form-element-note > code {
|
|
|
|
background-color: $gray-200;
|
2020-05-05 16:31:18 +00:00
|
|
|
color: var(--typo-brand-600, inherit);
|
2019-11-25 17:43:25 +00:00
|
|
|
}
|