Use background-color rather than background in a few CSS rules

In a couple of spots, mostly related to the debugging tools, we're unnecessarily using a somewhat "complex" `background`-format only to specify a solid color. This can be simplified by using `background-color` instead, and the patch also removes a `color`-rule that's being ignored anyway.
This commit is contained in:
Jonas Jenwald 2022-04-12 12:33:51 +02:00
parent 3aed103ce8
commit 93c5c6e5e9

View File

@ -1254,7 +1254,7 @@ a:focus > .thumbnail > .thumbnailSelectionRing,
}
#errorWrapper {
background: none repeat scroll 0 0 var(--errorWrapper-bg-color);
background-color: var(--errorWrapper-bg-color);
color: var(--main-color);
left: 0;
position: absolute;
@ -1364,7 +1364,7 @@ dialog :link {
}
#PDFBug {
background: none repeat scroll 0 0 rgba(255, 255, 255, 1);
background-color: rgba(255, 255, 255, 1);
border: 1px solid rgba(102, 102, 102, 1);
position: fixed;
top: 32px;
@ -1393,12 +1393,9 @@ dialog :link {
#PDFBug button.active {
font-weight: bold;
}
.debuggerShowText {
background: none repeat scroll 0 0 rgba(255, 255, 0, 1);
color: rgba(0, 0, 255, 1);
}
.debuggerShowText,
.debuggerHideText:hover {
background: none repeat scroll 0 0 rgba(255, 255, 0, 1);
background-color: rgba(255, 255, 0, 1);
}
#PDFBug .stats {
font-family: courier;