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

Unified Diff: Source/devtools/front_end/dataGrid.css

Issue 458903003: DevTools: DataGrid: simplify CSS. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/dataGrid.css
diff --git a/Source/devtools/front_end/dataGrid.css b/Source/devtools/front_end/dataGrid.css
index 94e0ca62285bf46f1d3af1d20145aa8c2b055d1c..ee490db454b8e9293a68a45a2570023145c271ed 100644
--- a/Source/devtools/front_end/dataGrid.css
+++ b/Source/devtools/front_end/dataGrid.css
@@ -41,24 +41,16 @@
-webkit-transform: translateZ(0);
}
-.data-grid.inline {
- border-left: none;
-}
-
.data-grid.inline .header-container,
.data-grid.inline .data-container {
position: static;
}
-.data-grid.inline col.corner,
-.data-grid.inline th.corner,
-.data-grid.inline td.corner {
+.data-grid.inline .corner {
display: none;
}
-.data-grid th.corner,
-.data-grid td.corner,
-.data-grid col.corner {
+.data-grid .corner {
width: 14px;
padding-right: 0;
padding-left: 0;
@@ -104,26 +96,20 @@
border-left: 1px solid #aaa;
}
-.data-grid td {
- height: 16px; /* Keep in sync with .data-grid table.data @ background-size */
-}
-
-.data-grid th {
- height: auto;
-}
-
-.data-grid:not(.inline) th:first-child,
-.data-grid:not(.inline) td:first-child {
+.data-grid th:first-child,
+.data-grid td:first-child {
border-left: none !important;
}
.data-grid td {
+ height: 16px; /* Keep in sync with .data-grid table.data @ background-size */
vertical-align: top;
padding: 1px 4px;
-webkit-user-select: text;
}
.data-grid th {
+ height: auto;
text-align: left;
background-color: rgb(236, 236, 236);
border-bottom: 1px solid #aaa;
@@ -139,10 +125,6 @@
overflow: hidden;
}
-.data-grid th > div {
- overflow: hidden;
-}
-
.data-grid td.editing > div {
text-overflow: clip;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698