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

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

Issue 22685003: Visualize status of port forwarding sockets in chrome:inspect Devices tab (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 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 | « chrome/browser/devtools/tethering_adb_filter.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 83775d839ee89cc8c24e8bff94b6e9ca95e5e383..8cc00a936af558faf2856e7e2ccbe3ff12834f68 100644
--- a/chrome/browser/resources/inspect/inspect.css
+++ b/chrome/browser/resources/inspect/inspect.css
@@ -74,13 +74,59 @@ img {
padding-bottom: 4px;
}
-.section {
- font-size: 150%;
+.device-header {
+ -webkit-box-align: baseline;
+ -webkit-box-orient: horizontal;
+ display: -webkit-box;
margin: 10px 0 0;
padding: 2px 0;
}
-.small-section {
+.device-name {
+ font-size: 150%;
+}
+
+.device-serial {
+ color: #888;
+ font-size: 80%;
+ margin-left: 6px;
+}
+
+.device-ports {
+ -webkit-box-orient: horizontal;
+ display: -webkit-box;
+ margin-left: 8px;
+}
+
+.port-icon {
+ -webkit-border-radius: 6px;
+ background-color: rgb(64, 192, 64);
+ border: 0 solid transparent;
+ height: 12px;
+ margin: 2px;
+ width: 12px;
+}
+
+.port-icon.error {
+ background-color: rgb(224, 32, 32);
+}
+
+.port-icon.connected {
+ -webkit-transform: scale(1.2);
+ background-color: rgb(0, 255, 0);
+}
+
+.port-icon.transient {
+ -webkit-transform: scale(1.2);
+ background-color: orange;
+}
+
+.port-number {
+ height: 16px;
+ margin-right: 5px;
+}
+
+.browser-header {
font-weight: bold;
margin: 5px 0 0;
padding: 2px 0;
« no previous file with comments | « chrome/browser/devtools/tethering_adb_filter.cc ('k') | chrome/browser/resources/inspect/inspect.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698