mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 17:10:23 +00:00
LibWeb: Add styling for disabled button elements
This commit is contained in:
parent
e18501f67f
commit
c92222dcae
Notes:
sideshowbarker
2024-07-16 20:51:53 +09:00
Author: https://github.com/tcl3 Commit: https://github.com/LadybirdBrowser/ladybird/commit/c92222dcae Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/601
1 changed files with 9 additions and 0 deletions
|
@ -52,6 +52,15 @@ button, input[type=submit], input[type=button], input[type=reset], select {
|
|||
cursor: default;
|
||||
}
|
||||
|
||||
button:disabled, input[type=submit]:disabled, input[type=button]:disabled, input[type=reset]:disabled, select:disabled {
|
||||
/* FIXME: There isn't a <system-color> keyword for this, so this is a slightly lightened
|
||||
* version of our light ButtonFace color. Once we support `color-scheme: dark`
|
||||
* we'll need to use a different color for that.
|
||||
*/
|
||||
background-color: #e5e0d7;
|
||||
color: GrayText;
|
||||
}
|
||||
|
||||
input[type=image] {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue