mirror of
https://github.com/picocss/pico.git
synced 2025-04-22 09:26:14 -04:00
fix: readonly input
This commit is contained in:
parent
8f572c156c
commit
9a18b46e12
10 changed files with 18 additions and 18 deletions
|
@ -1452,12 +1452,12 @@ input:not([type=submit],
|
|||
[type=checkbox],
|
||||
[type=radio],
|
||||
[readonly]):is(:active, :focus),
|
||||
:where(select, textarea):is(:active, :focus) {
|
||||
:where(select, textarea):not([readonly]):is(:active, :focus) {
|
||||
--pico-background-color: var(--pico-form-element-active-background-color);
|
||||
}
|
||||
|
||||
input:not([type=submit], [type=button], [type=reset], [role=switch], [readonly]):is(:active, :focus),
|
||||
:where(select, textarea):is(:active, :focus) {
|
||||
:where(select, textarea):not([readonly]):is(:active, :focus) {
|
||||
--pico-border-color: var(--pico-form-element-active-border-color);
|
||||
}
|
||||
|
||||
|
@ -1467,7 +1467,7 @@ input:not([type=submit],
|
|||
[type=range],
|
||||
[type=file],
|
||||
[readonly]):focus,
|
||||
:where(select, textarea):focus {
|
||||
:where(select, textarea):not([readonly]):focus {
|
||||
--pico-box-shadow: 0 0 0 var(--pico-outline-width) var(--pico-form-element-focus-color);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue