LibWeb: Add indeterminate checkbox styling to useragent stylesheet

This commit is contained in:
Srikavin Ramkumar 2023-03-20 04:36:36 -04:00 committed by Sam Atkins
parent c3d6709a9e
commit def08bcfcf
Notes: sideshowbarker 2024-07-16 23:34:44 +09:00

View file

@ -83,6 +83,12 @@ input[type=checkbox]:checked {
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAABHNCSVQICAgIfAhkiAAAAEhJREFUKFNjYBgs4D/MIYxEuAiuGKiWkZAGFMUgw5mQbECWBAljKAYJwmxAl0Tnw81FdhK6DcgGYtWA0xlw1TgY2GzCoZQWwgCU1woFwvnCFQAAAABJRU5ErkJggg==);
}
input[type=checkbox]:indeterminate {
image-rendering: pixelated;
/* FIXME: Eventually respect the `accent-color` property here. */
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAAXNSR0IArs4c6QAAACZJREFUKFNjZCARMJKonmGQa/hPwD9g5yP7gWQNRAXYIA8lovwAAHYYAg3vRihbAAAAAElFTkSuQmCC);
}
option {
display: none;
}