Commit 095bf6fe authored by eustas@chromium.org's avatar eustas@chromium.org

DevTools: DataGrid: move unrelated CSS.

Drive-by: fix highlighting in CPU profiles.

BUG=

Review URL: https://codereview.chromium.org/460543002

git-svn-id: svn://svn.chromium.org/blink/trunk@179961 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 2fd402b7
......@@ -5,14 +5,6 @@
line-height: 120%;
}
.data-grid .highlight {
background-color: rgb(255, 230, 179);
}
.data-grid tr.selected .highlight {
background-color: transparent;
}
.data-grid table {
table-layout: fixed;
border-spacing: 0;
......
......@@ -70,7 +70,7 @@ WebInspector.ProfileDataGridNode.prototype = {
if (this._deoptReason)
cell.classList.add("not-optimized");
if (this.profileNode._searchMatchedFunctionColumn)
if (this._searchMatchedFunctionColumn)
cell.classList.add("highlight");
if (this.profileNode.scriptId !== "0") {
......
......@@ -38,6 +38,10 @@
background: white;
}
.profile-view .data-grid tr:not(.selected) .highlight {
background-color: rgb(255, 230, 179);
}
.profile-view .data-grid tr:hover td:not(.bottom-filler-td) {
background-color: rgba(0, 0, 0, 0.1);
}
......@@ -259,4 +263,4 @@ select.chrome-select {
display: block;
margin-top: 14px;
margin-left: 0px;
}
\ No newline at end of file
}
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