mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
7436f4fec2
It's quite common to want the web-view to match the native OS widgets, so let's make that easy to do.
35 lines
818 B
CSS
35 lines
818 B
CSS
/*
|
|
* Stylesheet designed to be used as the user stylesheet by apps that want their
|
|
* web content to look like the native GUI.
|
|
*/
|
|
|
|
html {
|
|
background-color: -libweb-palette-base;
|
|
color: -libweb-palette-base-text;
|
|
}
|
|
|
|
input, textarea {
|
|
border-color: -libweb-palette-threed-shadow1;
|
|
}
|
|
|
|
button, input[type=submit], input[type=button], input[type=reset] {
|
|
background-color: -libweb-palette-button;
|
|
border-color: -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;
|
|
}
|
|
|
|
:link {
|
|
color: -libweb-link;
|
|
}
|
|
|
|
:visited {
|
|
color: -libweb-palette-visited-link;
|
|
}
|
|
|
|
:link:active, :visited:active {
|
|
color: -libweb-palette-active-link;
|
|
}
|