style(next): file input: change the foreground color depending on the state

This commit is contained in:
Adorian Doran 2025-02-06 07:28:12 +02:00
parent e4d49cc45d
commit cba504fb24

View File

@ -364,8 +364,14 @@ optgroup {
display: none;
}
.tn-file-input input[type="file"]:focus {
.tn-file-input:hover input[type="file"] {
color: var(--input-hover-color);
}
.tn-file-input input[type="file"]:focus,
.tn-file-input input[type="file"]:active {
outline: none;
color: var(--input-focus-color);
}
/* The browse icon */