/* Default user-agent stylesheet for LibWeb * Note: This stylesheet starts with a bunch of ad-hoc custom rules. * After that, rules from the HTML spec follow. */ html { font-family: sans-serif; color: -libweb-palette-base-text; } body { margin: 8px; } center { text-align: -libweb-center; } blink { display: inline; } /* FIXME: This doesn't seem right. */ label { display: inline-block; } /* FIXME: This is a temporary hack until we can render a native-looking frame for these. */ input, textarea { border: 1px solid -libweb-palette-threed-shadow1; min-width: 80px; min-height: 16px; width: 120px; cursor: text; overflow: hidden; } textarea { padding: 2px; display: inline-block; overflow: scroll; } input[type=submit], input[type=button], input[type=reset], input[type=checkbox], input[type=radio] { border: none; min-width: unset; min-height: unset; width: unset; cursor: unset; } input::placeholder { color: rgb(117, 117, 117); } button, input[type=submit], input[type=button], input[type=reset] { padding: 1px 4px; background-color: -libweb-palette-button; border: 1px solid -libweb-palette-threed-shadow1; color: -libweb-palette-button-text; } button:hover, input[type=submit]:hover, input[type=button]:hover, input[type=reset]:hover { background-color: -libweb-palette-hover-highlight; } input[type=checkbox] { display: inline-block; width: 12px; height: 12px; margin: 2px; border: 1px solid -libweb-palette-threed-shadow1; } input[type=checkbox]:checked { /* This roughly resembles ClassicStylePainter's paint_check_box() while uncoupling the styling from LibGfx, similar to