mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-05 11:31:31 +08:00
This CL does a couple of things to preserve the current behavior: - It folds `node_main` into `node_app`, since we no longer require that distinction (this was only required prior where we used `autostart` for `node_main`, which we no longer do) - It removes as much side-effect instantiation from various modules and moves them into `node_app.ts`. The order is a bit awkward, but the calls at the end of `node_app.ts` is the order of side-effect calls as it exists currently. After we cleaned up all entrypoints, we can remove some of the calls and clean it up further, but let's keep them here explicitly to ensure we retain existing behavior. - Folds `node_app-meta.ts` into `node_app.ts` for simplicity - We now roll up everything into `node_app.ts` directly, rather than having a separate meta script. Since this is an entrypoint, we can do that here. Since the entrypoint will always eagerly load, we don't need an explicit difference between the meta file and the module implementation. R=jacktfranklin@chromium.org Bug: 1127902 Change-Id: Ida1cee76ae04b3d590dcd16d0225f65852bce5a5 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3306499 Commit-Queue: Tim Van der Lippe <tvanderlippe@chromium.org> Reviewed-by: Jack Franklin <jacktfranklin@chromium.org>
110 lines
1.8 KiB
CSS
110 lines
1.8 KiB
CSS
/*
|
|
* Copyright (c) 2015 The Chromium Authors. All rights reserved.
|
|
* Use of this source code is governed by a BSD-style license that can be
|
|
* found in the LICENSE file.
|
|
*/
|
|
|
|
.add-network-target-button {
|
|
margin: 10px 25px;
|
|
align-self: center;
|
|
}
|
|
|
|
.network-discovery-list {
|
|
flex: none;
|
|
max-width: 600px;
|
|
max-height: 202px;
|
|
margin: 20px 0 5px;
|
|
}
|
|
|
|
.network-discovery-list-empty {
|
|
flex: auto;
|
|
height: 30px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.network-discovery-list-item {
|
|
padding: 3px 5px;
|
|
height: 30px;
|
|
display: flex;
|
|
align-items: center;
|
|
position: relative;
|
|
flex: auto 1 1;
|
|
}
|
|
|
|
.network-discovery-value {
|
|
flex: 3 1 0;
|
|
}
|
|
|
|
.list-item .network-discovery-value {
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
user-select: none;
|
|
color: var(--color-text-primary);
|
|
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 {
|
|
margin: 0;
|
|
overflow: hidden;
|
|
max-width: 500px;
|
|
}
|
|
|
|
.network-discovery-footer > * {
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
.node-panel {
|
|
align-items: center;
|
|
justify-content: flex-start;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.network-discovery-view {
|
|
min-width: 400px;
|
|
text-align: left;
|
|
}
|
|
|
|
:host-context(.node-frontend) .network-discovery-list-empty {
|
|
height: 40px;
|
|
}
|
|
|
|
:host-context(.node-frontend) .network-discovery-list-item {
|
|
padding: 3px 15px;
|
|
height: 40px;
|
|
}
|
|
|
|
.node-panel-center {
|
|
max-width: 600px;
|
|
padding-top: 50px;
|
|
text-align: center;
|
|
}
|
|
|
|
.node-panel-logo {
|
|
width: 400px;
|
|
margin-bottom: 50px;
|
|
}
|
|
|
|
: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;
|
|
}
|