mirror of
https://github.com/picocss/pico.git
synced 2025-04-23 01:46:14 -04:00
fix: readonly input
This commit is contained in:
parent
8f572c156c
commit
9a18b46e12
10 changed files with 18 additions and 18 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue