@acorex/styles 19.13.0-next.0 → 19.13.0-next.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/base/_preflight.scss +19 -0
- package/package.json +1 -1
package/base/_preflight.scss
CHANGED
@@ -403,3 +403,22 @@ Make elements with the HTML hidden attribute stay hidden by default.
|
|
403
403
|
[hidden] {
|
404
404
|
display: none;
|
405
405
|
}
|
406
|
+
|
407
|
+
/*
|
408
|
+
The :autofill CSS pseudo-class matches when an <input> element has its value autofilled by the browser.
|
409
|
+
*/
|
410
|
+
|
411
|
+
input:is(:-webkit-autofill, :autofill) {
|
412
|
+
&,
|
413
|
+
&:hover,
|
414
|
+
&:focus,
|
415
|
+
&:active,
|
416
|
+
&:focus-within,
|
417
|
+
&:focus-visible {
|
418
|
+
color: rgba(var(--ax-comp-editor-text-color));
|
419
|
+
caret-color: rgba(var(--ax-comp-editor-text-color));
|
420
|
+
-webkit-text-fill-color: rgba(var(--ax-comp-editor-text-color));
|
421
|
+
box-shadow: 0 0 0 50px rgba(var(--ax-comp-editor-bg-color)) inset !important;
|
422
|
+
-webkit-box-shadow: 0 0 0 50px rgba(var(--ax-comp-editor-bg-color)) inset !important;
|
423
|
+
}
|
424
|
+
}
|