fix: readonly input

This commit is contained in:
Lucas Larroche 2024-01-04 13:11:26 +07:00
parent 8f572c156c
commit 9a18b46e12
10 changed files with 18 additions and 18 deletions

View file

@ -194,7 +194,7 @@
[type="radio"],
[readonly]
),
:where(select, textarea) {
:where(select, textarea):not([readonly]) {
&:is(:active, :focus) {
#{$css-var-prefix}background-color: var(
#{$css-var-prefix}form-element-active-background-color
@ -204,7 +204,7 @@
// Active & Focus
input:not([type="submit"], [type="button"], [type="reset"], [role="switch"], [readonly]),
:where(select, textarea) {
:where(select, textarea):not([readonly]) {
&:is(:active, :focus) {
#{$css-var-prefix}border-color: var(#{$css-var-prefix}form-element-active-border-color);
}
@ -219,7 +219,7 @@
[type="file"],
[readonly]
),
:where(select, textarea) {
:where(select, textarea):not([readonly]) {
&:focus {
#{$css-var-prefix}box-shadow: 0
0