Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(797)

Unified Diff: third_party/WebKit/Source/devtools/front_end/data_grid/dataGrid.css

Issue 2894083002: [DevTools] Set row background instead of the table (Closed)
Patch Set: Fixed a comment Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/devtools/front_end/data_grid/dataGrid.css
diff --git a/third_party/WebKit/Source/devtools/front_end/data_grid/dataGrid.css b/third_party/WebKit/Source/devtools/front_end/data_grid/dataGrid.css
index 236c72afd157781b3a9ebf472229cfc68dd17e78..d020b2c20979f636b06641fb7e28f1ec98a81d45 100644
--- a/third_party/WebKit/Source/devtools/front_end/data_grid/dataGrid.css
+++ b/third_party/WebKit/Source/devtools/front_end/data_grid/dataGrid.css
@@ -66,8 +66,6 @@
right: 0;
bottom: 0;
border-top: 0 none transparent;
- background-image: linear-gradient(to bottom, transparent, transparent 50%, hsla(214, 100%, 40%, 0.05) 50%, hsla(214, 100%, 40%, 0.05));
- background-size: 128px 40px;
table-layout: fixed;
}
@@ -83,6 +81,11 @@
display: table-row;
}
+.striped-data-grid .revealed.data-grid-data-grid-node:nth-child(odd),
+.striped-data-grid-starts-with-odd .revealed.data-grid-data-grid-node:nth-child(even) {
+ background-color: hsl(214, 70%, 97%);
+}
+
.data-grid td,
.data-grid th {
white-space: nowrap;
@@ -203,12 +206,12 @@
-webkit-mask-position: -16px 0;
}
-.data-grid tr.selected {
+.data-grid table.data tr.revealed.selected {
background-color: rgb(212, 212, 212);
color: inherit;
}
-.data-grid:focus tr.selected {
+.data-grid:focus table.data tr.selected {
background-color: rgb(56, 121, 217);
color: white;
}

Powered by Google App Engine
This is Rietveld 408576698