Windows: Reduce input style specificity to fix directory fields (#5112)

This commit is contained in:
Abe Jellinek 2025-04-02 05:33:26 -04:00 • committed by GitHub
parent 4f03c5d360
commit c59c1f7e7c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -13,6 +13,7 @@
@mixin windows-input-active {
outline: none;
background-clip: border-box, padding-box;
background-repeat: no-repeat;
@media (prefers-color-scheme: light) {
border: 1px solid var(--fill-quinary);
border-bottom-color: var(--accent-blue);
@ -49,13 +50,17 @@
}
input:is([type=color], [type=date], [type=datetime-local], [type=email], [type=month],
[type=number], [type=password], [type=search], [type=tel], [type=text], [type=time],
[type=url], [type=week], [type=autocomplete]):not([no-windows-native]),
input:not([type], [no-windows-native]),
textbox:not([no-windows-native]),
search-textbox:not([no-windows-native]),
textarea:not([no-windows-native]) {
:is(
input:where(
[type=color], [type=date], [type=datetime-local], [type=email], [type=month],
[type=number], [type=password], [type=search], [type=tel], [type=text], [type=time],
[type=url], [type=week], [type=autocomplete],
:not([type])
),
textbox,
search-textbox,
textarea
):where(:not([no-windows-native])) {
appearance: none;
height: 26px;
padding: 0;