@@ -702,7 +702,7 @@ input[type=radio]:checked::checkmark {
702
702
button,
703
703
::file-selector-button,
704
704
select,
705
- input[type="color"] {
705
+ input:is( [type="color"] , [type="button"] , [type="reset"] , [type="submit"] ) {
706
706
border: 1px solid currentColor;
707
707
background-color: transparent;
708
708
color: inherit;
@@ -733,15 +733,15 @@ input[type="color"] {
733
733
734
734
user-select: none;
735
735
}
736
- :is(button, select, input[type="color"] ):enabled:hover,
736
+ :is(button, select, input:is( [type="color"] , [type="button"] , [type="reset"] , [type="submit"] ) ):enabled:hover,
737
737
:enabled::file-selector-button:hover {
738
738
background-color: color-mix(in lab, currentColor 10%, transparent);
739
739
}
740
- :is(button, select, input[type="color"] ):enabled:active,
740
+ :is(button, select, input:is( [type="color"] , [type="button"] , [type="reset"] , [type="submit"] ) ):enabled:active,
741
741
:enabled::file-selector-button:active {
742
742
background-color: color-mix(in lab, currentColor 20%, transparent);
743
743
}
744
- :is(button, select, input[type="color"] ):disabled,
744
+ :is(button, select, input:is( [type="color"] , [type="button"] , [type="reset"] , [type="submit"] ) ):disabled,
745
745
:disabled::file-selector-button {
746
746
color: color-mix(in srgb, currentColor 50%, transparent);
747
747
}
0 commit comments