1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 15:17:36 +00:00

LibWeb/HTMLInputElement: Improve appearance of color picker

Instead of a plain ButtonBox, it now appears as a color well styled
after the buttons.
This commit is contained in:
circl 2023-10-14 12:00:40 +02:00 committed by Sam Atkins
parent 63cd6b0d3c
commit a1cce69db0
3 changed files with 52 additions and 3 deletions

View file

@ -26,7 +26,7 @@ label {
}
/* FIXME: This is a temporary hack until we can render a native-looking frame for these. */
input:not([type=submit], input[type=button], input[type=reset], input[type=checkbox], input[type=radio]), textarea {
input:not([type=submit], input[type=button], input[type=reset], input[type=color], input[type=checkbox], input[type=radio]), textarea {
border: 1px solid ButtonBorder;
min-width: 80px;
min-height: 16px;