Commit fba650dc authored by Cliff Smolinsky's avatar Cliff Smolinsky Committed by Commit Bot

Fix the HC colors for the process-internals page.

This change fixes multiple issues with the process-internals page when
viewed in high contrast. Specifically, the header background and tree
highlight colors are fixed. See the bug for screenshots.

Bug: 1023585
Change-Id: I6405e8b02c5020eb64d3aff93c564ab20a613ef0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1911482Reviewed-by: default avatarTommy Li <tommycli@chromium.org>
Commit-Queue: Cliff Smolinsky <cliffsmo@microsoft.com>
Cr-Commit-Position: refs/heads/master@{#714514}
parent 528f5933
...@@ -81,6 +81,12 @@ body { ...@@ -81,6 +81,12 @@ body {
z-index: 1; z-index: 1;
} }
@media(forced-colors) {
.content-header {
background: none;
}
}
.tree-label { .tree-label {
user-select: text; user-select: text;
} }
......
...@@ -171,3 +171,15 @@ html[dir=rtl] .tree-item[editing] input { ...@@ -171,3 +171,15 @@ html[dir=rtl] .tree-item[editing] input {
margin: -2px -3px -2px -8px; margin: -2px -3px -2px -8px;
padding: 1px 1px 1px 7px; padding: 1px 1px 1px 7px;
} }
@media(forced-colors) {
.tree-row[selected],
.tree-row:hover,
.tree-row[selected]:hover,
tree:focus .tree-row[selected] {
background-color: Highlight;
background-image: none;
color: HighlightText;
forced-color-adjust: none;
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment