Files
react-native-devtools-frontend/front_end/node_main/nodeConnectionsPanel.css
T
Joel Einbinder e1c93d9cb6 DevTools: Remove 20kb of unused CSS
These css rules used classes that don't exist anywhere in the
javascript. A script was written to find them, but manually checking
is still needed because some scripts generate class names by
string concatenation like 'icon-' + iconType

Change-Id: I15c4f26451b9fa371b366a8977021e2af7eca449
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1618043
Commit-Queue: Joel Einbinder <einbinder@chromium.org>
Reviewed-by: Alexei Filippov <alph@chromium.org>
Reviewed-by: Erik Luo <luoe@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#661630}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e6f259d6e2834c9b0e2cbb0fdd7c9703e1fc6968
2019-05-21 06:16:13 +00:00

127 lines
2.2 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: 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;
}
.list-item .network-discovery-value {
white-space: nowrap;
text-overflow: ellipsis;
-webkit-user-select: none;
color: #222;
overflow: hidden;
}
.network-discovery-value {
flex: 3 1 0;
}
.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;
}
.node-panel {
align-items: center;
justify-content: flex-start;
}
.network-discovery-view {
min-width: 400px;
flex: auto;
}
.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;
}
.network-discovery-list {
margin: 20px 0 5px 0;
max-width: 600px;
max-height: 202px;
}
.network-discovery-footer {
margin: 0;
}
.node-panel-center {
display: flex;
align-items: stretch;
justify-content: center;
max-width: 600px;
flex-direction: column;
padding-top: 50px;
}
.node-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;
}