2 input[type="datetime"],
5 input[type="password"],
12 margin: 0; /* safari fix */
16 /* set placeholder color */
18 input[type="datetime"],
21 input[type="password"],
26 &::-webkit-input-placeholder {
28 color: $wcfInputPlaceholder;
31 /* Mozilla Firefox 19+ */
32 color: $wcfInputPlaceholder;
34 &:-ms-input-placeholder {
35 /* Internet Explorer 10+ */
36 color: $wcfInputPlaceholder;
41 &::-webkit-input-placeholder {
43 color: $wcfInputPlaceholderActive;
46 /* Mozilla Firefox 19+ */
47 color: $wcfInputPlaceholderActive;
49 &:-ms-input-placeholder {
50 /* Internet Explorer 10+ */
51 color: $wcfInputPlaceholderActive;
57 background-color: $wcfInputDisabledBackground !important;
58 border-color: $wcfInputDisabledBorder !important;
59 color: $wcfInputDisabledText !important;
65 -webkit-appearance: none;
68 /* prevent iOS from zooming when focusing inputs */
71 input[type="datetime"],
74 input[type="password"],
91 @include wcfFontDefault;
95 background-color: $wcfInputDisabledBackground !important;
96 border-color: $wcfInputDisabledBorder !important;
97 color: $wcfInputDisabledText !important;
103 -webkit-text-fill-color: $wcfInputDisabledText; /* override safari font color change */
104 -webkit-opacity: 1; /* override mobile safari opacity change affecting text color */
108 // The width is determined by the browser based upon the longest <option> contained,
109 // but this can cause the <select> to overflow the parent container. This is acceptable
110 // to some extent, but on mobile it can cause the entire site to have a horizontal
111 // scrollbar instead. Setting a `max-width` will cause the browser to respect the page
112 // boundaries and nicely wrap the displayed value instead.
123 &:not(:first-child) {
135 &:not(:first-child) {
141 @include screen-sm-up {
142 /* the `margin-bottom` styles are required to deal with buttons wrapping
143 into the next row, also requires some changes to `.dialogFormSubmit`! */
144 margin-bottom: -10px;
147 > input[type="button"],
148 > input[type="reset"],
149 > input[type="submit"],
155 > :not(:first-child) {
179 background-color: $wcfButtonBackground;
180 border: 1px solid $wcfInputBorder;
181 color: $wcfButtonText;
188 border-right-width: 0 !important;
197 border-left-width: 0 !important;
210 .inputAddonTextarea {
213 > .inputPrefix.button {
214 border-bottom-width: 0;
224 margin-top: 0 !important;
250 @include screen-sm-up {
267 color: rgba(204, 0, 1, 1) !important;
273 border-color: rgba(204, 0, 1, 1) !important;
277 /* grid-based form controls */
289 .customOptionRequired {
290 color: rgba(204, 0, 1, 1) !important;
293 /* password strength estimator */
294 .inputAddonPasswordStrength {
295 align-items: flex-start;
298 flex-direction: column;
302 .passwordStrengthRating {
305 @include screen-sm-up {
315 .passwordStrengthScore {
316 background-color: rgb(224, 224, 224);
324 background-color: transparent;
330 transition: background-color 0.12s linear, width 0.12s linear;
334 &[data-score="0"]::before {
335 background-color: #dd2c00;
338 &[data-score="1"]::before {
339 background-color: #ff9100;
342 &[data-score="2"]::before {
343 background-color: #cddc39;
346 &[data-score="3"]::before {
347 background-color: #64dd17;
350 &[data-score="4"]::before {
351 background-color: #2e7d32;