@@ -702,7 +702,7 @@ input[type=radio]:checked::checkmark {
702702button,
703703::file-selector-button,
704704select,
705- input[type="color"] {
705+ input:is( [type="color"] , [type="button"] , [type="reset"] , [type="submit"] ) {
706706 border: 1px solid currentColor;
707707 background-color: transparent;
708708 color: inherit;
@@ -733,15 +733,15 @@ input[type="color"] {
733733
734734 user-select: none;
735735}
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,
737737:enabled::file-selector-button:hover {
738738 background-color: color-mix(in lab, currentColor 10%, transparent);
739739}
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,
741741:enabled::file-selector-button:active {
742742 background-color: color-mix(in lab, currentColor 20%, transparent);
743743}
744- :is(button, select, input[type="color"] ):disabled,
744+ :is(button, select, input:is( [type="color"] , [type="button"] , [type="reset"] , [type="submit"] ) ):disabled,
745745:disabled::file-selector-button {
746746 color: color-mix(in srgb, currentColor 50%, transparent);
747747}
0 commit comments