2 min-block-size: rem(36);
3 padding-block: em(7); // 36px height with wrapper borders, same as buttons
4 padding-inline: em(16);
5 border: 1px solid var(--field-norm);
6 border-radius: var(--border-radius-md);
7 background-color: var(--field-background-color);
8 color: var(--field-text-color);
10 filter: none; // fixes Firefox autofill color
11 transition: 0.15s easing(ease-out-quint), block-size 0s;
13 @include media('<=xsmall') {
14 padding-inline: em(8);
17 @include media('<=small') {
18 font-size: max(16px, em($base-font-size));
22 font-size: em($base-font-size);
27 border-color: var(--field-hover);
28 background-color: var(--field-hover-background-color);
29 color: var(--field-hover-text-color);
34 border-color: var(--focus-outline);
35 box-shadow: 0 0 0 #{$focus-ring-size} var(--focus-ring);
36 background-color: var(--field-focus-background-color);
37 color: var(--field-focus-text-color);
41 border-color: var(--signal-danger);
45 border-color: var(--field-disabled);
46 background-color: var(--field-disabled-background-color);
47 color: var(--field-disabled-text-color);
56 // fixes some Firefox issues with HTML5 validation
62 border-color: transparent;
65 background-color: transparent;