11 font-weight: var(--font-weight-semibold);
12 margin-block-end: rem(4);
20 margin-block-end: rem(1);
23 color: var(--text-weak);
24 font-weight: var(--font-weight-normal);
28 margin-block-start: rem(4);
30 color: var(--text-weak);
43 color: var(--signal-danger);
44 font-weight: var(--font-weight-semibold);
47 &--invalid .multi-select-container {
48 border-color: var(--signal-danger);
52 color: var(--signal-warning);
53 font-weight: var(--font-weight-semibold);
56 &--warning .multi-select-container {
57 border-color: var(--signal-warning);
60 &--disabled:not(.field-two--disabled-only-field) {
61 color: var(--field-disabled-text-color);
66 &--disabled &-assist {
72 --field-norm: var(--background-weak);
73 --field-hover: var(--background-strong);
74 --field-background-color: var(--background-weak);
75 --field-hover-background-color: var(--background-weak);
76 --field-focus-background-color: var(--background-weak);
79 &--disabled-only-field {
82 background-color: var(--background-weak);
83 color: var(--text-hint);
84 border-color: var(--background-weak);
88 &--bigger .input-element,
90 padding-block: rem(11); // 44px height, same as buttons
95 border-radius: var(--border-radius-md);
96 border: 1px solid var(--field-norm);
97 background-color: var(--field-background-color);
98 color: var(--field-text-color);
100 0.15s easing(ease-out-quint),
101 visibility 0s; // Disable visibility transition due to auto focus, e.g. login form
105 border-color: var(--field-hover);
106 background-color: var(--field-hover-background-color);
107 color: var(--field-hover-text-color);
111 &:not(.disabled):focus-within {
112 border-color: var(--focus-outline);
113 background-color: var(--field-focus-background-color);
114 color: var(--field-focus-text-color);
115 box-shadow: 0 0 0 #{$focus-ring-size} var(--focus-ring);
119 border-color: var(--signal-danger);
123 border-color: var(--field-disabled);
124 background-color: var(--field-disabled-background-color);
125 color: var(--field-disabled-text-color);
130 border-color: transparent;
133 background-color: transparent;
139 min-block-size: rem(34);
140 padding-block: em(7); // 36px height with wrapper borders, same as buttons
141 padding-inline: em(16);
142 border-radius: var(--border-radius-md);
146 filter: none; // fixes Firefox autofill color
148 @include media('<=xsmall') {
149 padding-inline: em(8);
152 @include media('<=small') {
153 font-size: max(16px, em($base-font-size));
156 @include media('print') {
161 font-size: em($base-font-size);
165 // fixes some Firefox issues with HTML5 validation
169 &[type='search']::-webkit-search-cancel-button {
173 select#{&}::-ms-expand {
179 color: var(--text-weak);
180 max-inline-size: 60%;
182 .button:not([class*='button-underline']) {
184 margin-inline-start: -0.25em;
188 margin-inline-end: -0.25em;
193 &.disabled &-element::placeholder,
194 &.disabled &-adornment {
198 & > .input-adornment + * > &-element {
199 padding-inline-start: 0.5em;
202 & > *:has(+ .input-adornment) > &-element {
203 padding-inline-end: 0.5em;