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

Unified Diff: third_party/WebKit/Source/devtools/front_end/devices/devicesView.css

Issue 2864263002: [DevTools] Expose TCP targets config in frontend, use it for Node (Closed)
Patch Set: panel 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/devices/devicesView.css
diff --git a/third_party/WebKit/Source/devtools/front_end/devices/devicesView.css b/third_party/WebKit/Source/devtools/front_end/devices/devicesView.css
index c0a7eefb71782a125d5ad46c98e6e50ca2b91ca9..1fec4e680f82338da8dc9e6a2be8d5d8cbbf9a28 100644
--- a/third_party/WebKit/Source/devtools/front_end/devices/devicesView.css
+++ b/third_party/WebKit/Source/devtools/front_end/devices/devicesView.css
@@ -189,6 +189,73 @@
white-space: pre-wrap;
}
+.network-discovery-header {
+ display: flex;
+ align-items: center;
+ flex-direction: row;
+ margin-top: 5px;
+}
+
+.add-network-target-button {
+ margin: 10px 25px;
+ align-self: flex-start;
+}
+
+.network-discovery-list {
+ margin: 10px 0 0 25px;
+ max-width: 500px;
+ flex: none;
+}
+
+.network-discovery-list-empty {
+ flex: auto;
+ height: 30px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+}
+
+.network-discovery-list-item {
+ padding: 3px 5px 3px 5px;
+ height: 30px;
+ display: flex;
+ align-items: center;
+ position: relative;
+ flex: auto 1 1;
+}
+
+.network-discovery-value {
+ white-space: nowrap;
+ text-overflow: ellipsis;
+ -webkit-user-select: none;
+ color: #222;
+ flex: 3 1 0;
+ overflow: hidden;
+}
+
+.network-discovery-edit-row {
+ flex: none;
+ display: flex;
+ flex-direction: row;
+ margin: 6px 5px;
+ align-items: center;
+}
+
+.network-discovery-edit-row input {
+ width: 100%;
+ text-align: inherit;
+}
+
+.network-discovery-footer {
+ overflow: hidden;
+ margin: 15px 0 0 25px;
+ max-width: 500px;
+}
+
+.network-discovery-footer > * {
+ white-space: pre-wrap;
+}
+
.device-view {
overflow: auto;
-webkit-user-select: text;
@@ -333,3 +400,65 @@
transform: scale(1.2);
background-color: orange;
}
+
+.node-frontend .network-discovery-header {
+ display: none;
+}
+
+.devices-view-panel {
+ align-items: center;
+ justify-content: flex-start;
+}
+
+.node-frontend.network-discovery-view {
+ min-width: 400px;
+ flex: auto;
+}
+
+.node-frontend .add-network-target-button {
+ align-self: center;
+}
+
+:host-context(.node-frontend) .network-discovery-list-empty {
+ height: 40px;
+}
+
+:host-context(.node-frontend) .network-discovery-list-item {
+ padding: 3px 15px;
+ height: 40px;
+}
+
+.node-frontend .network-discovery-list {
+ margin: 20px 0 5px 0;
+ max-width: 600px;
+ max-height: 202px;
+}
+
+.node-frontend .network-discovery-footer {
+ margin: 0;
+}
+
+.devices-view-panel-center {
+ display: flex;
+ align-items: stretch;
+ justify-content: center;
+ max-width: 600px;
+ flex-direction: column;
+ padding-top: 50px;
+}
+
+.devices-view-panel-logo {
+ align-self: center;
+ width: 400px;
+ margin-bottom: 50px;
+ flex: none;
+}
+
+:host-context(.node-frontend) .network-discovery-edit-row input {
+ height: 30px;
+ padding-left: 5px;
+}
+
+:host-context(.node-frontend) .network-discovery-edit-row {
+ margin: 6px 9px;
+}

Powered by Google App Engine
This is Rietveld 408576698