2019-11-25 17:43:25 +00:00
|
|
|
%form-element-text-input {
|
|
|
|
-moz-appearance: none;
|
|
|
|
-webkit-appearance: none;
|
2021-10-07 18:21:11 +00:00
|
|
|
box-shadow: inset var(--decor-elevation-100);
|
|
|
|
border-radius: var(--decor-radius-100);
|
|
|
|
border: var(--decor-border-100);
|
2019-11-25 17:43:25 +00:00
|
|
|
outline: none;
|
|
|
|
}
|
2021-02-19 16:42:16 +00:00
|
|
|
textarea:disabled + .CodeMirror,
|
|
|
|
%form-element-text-input:disabled,
|
|
|
|
%form-element-text-input:read-only {
|
|
|
|
cursor: not-allowed;
|
|
|
|
}
|
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 {
|
2021-10-07 18:21:11 +00:00
|
|
|
color: rgb(var(--tone-gray-400));
|
2019-11-25 17:43:25 +00:00
|
|
|
}
|
|
|
|
%form-element-error > input,
|
|
|
|
%form-element-error > textarea {
|
2021-10-07 18:21:11 +00:00
|
|
|
border-color: var(--decor-error-500, rgb(var(--tone-red-500))) !important;
|
2019-11-25 17:43:25 +00:00
|
|
|
}
|
|
|
|
%form-element-text-input {
|
2021-10-07 18:21:11 +00:00
|
|
|
color: rgb(var(--tone-gray-500));
|
|
|
|
border-color: rgb(var(--tone-gray-300));
|
2019-11-25 17:43:25 +00:00
|
|
|
}
|
|
|
|
%form-element-text-input-hover {
|
2021-10-07 18:21:11 +00:00
|
|
|
border-color: rgb(var(--tone-gray-500));
|
2019-11-25 17:43:25 +00:00
|
|
|
}
|
|
|
|
%form-element-text-input-focus {
|
2021-10-07 18:21:11 +00:00
|
|
|
border-color: var(--typo-action-500, rgb(var(--tone-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
|
|
|
}
|