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

Unified Diff: chrome/browser/resources/inspect/inspect.css

Issue 23441060: DevTools: Improve design of WebViews available for inspection in chrome://inspect (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 3 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 | « chrome/browser/devtools/devtools_adb_bridge.cc ('k') | chrome/browser/resources/inspect/inspect.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/inspect/inspect.css
diff --git a/chrome/browser/resources/inspect/inspect.css b/chrome/browser/resources/inspect/inspect.css
index 052759366c5f9e8cb69ba2fefefbf69e80400bf6..b0327cb44f7d2d4b995c1b256234f21f044f75bb 100644
--- a/chrome/browser/resources/inspect/inspect.css
+++ b/chrome/browser/resources/inspect/inspect.css
@@ -138,7 +138,10 @@ img {
}
.row {
+ -webkit-flex-direction: row;
+ display: -webkit-flex;
padding: 6px 0;
+ position: relative;
}
.subrow {
@@ -150,8 +153,30 @@ img {
margin-right: 0.5em;
}
-.subrow.webview {
- margin-top: -2px;
+.webview-thumbnail {
+ -webkit-box-align: center;
+ -webkit-box-orient: horizontal;
+ -webkit-box-pack: center;
+ display: -webkit-box;
+ height: 60px;
+ margin: 0 1px;
+ overflow: hidden;
+}
+
+.screen-rect {
+ background-color: #eee;
+ position: relative;
+}
+
+.view-rect {
+ background-color: #ccc;
+ min-height: 1px;
+ min-width: 1px;
+ position: absolute;
+}
+
+.view-rect.hidden {
+ background-color: #ddd;
}
.guest {
@@ -176,12 +201,6 @@ a {
text-decoration: none;
}
-.list.pages .subrow + a,
-.subrow.webview > div:first-child,
-.guest .subrow + a {
- margin-left: 24px; /* Align with the favicon */
-}
-
.list:not(.pages) .subrow {
height: 19px;
}
« no previous file with comments | « chrome/browser/devtools/devtools_adb_bridge.cc ('k') | chrome/browser/resources/inspect/inspect.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698