1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 22:28:11 +00:00

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

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;
}