mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-13 18:14:37 +08:00
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
87 lines
1.5 KiB
CSS
87 lines
1.5 KiB
CSS
/*
|
|
* Copyright 2017 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.
|
|
*/
|
|
|
|
.perfmon-pane {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.perfmon-pane.suspended {
|
|
opacity: 0.4;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.perfmon-pane .perfmon-chart-suspend-overlay {
|
|
display: none;
|
|
font-size: 26px;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.perfmon-pane.suspended .perfmon-chart-suspend-overlay {
|
|
display: flex;
|
|
}
|
|
|
|
.perfmon-control-pane {
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 6px 0;
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.perfmon-chart-container {
|
|
display: flex;
|
|
flex: 1 1;
|
|
border-left: 1px solid #ccc;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.perfmon-chart-container canvas {
|
|
width: 100%;
|
|
}
|
|
|
|
.perfmon-indicator {
|
|
padding: 6px 12px;
|
|
margin: -1px 0;
|
|
display: flex;
|
|
flex-shrink: 0;
|
|
width: 210px;
|
|
}
|
|
|
|
.perfmon-indicator:hover {
|
|
background-color: #f8f8f8;
|
|
}
|
|
|
|
.perfmon-indicator[data-keyboard-focus="true"]:focus {
|
|
background-color: #f8f8f8;
|
|
}
|
|
|
|
.perfmon-indicator-swatch {
|
|
margin-right: 6px;
|
|
}
|
|
|
|
.perfmon-indicator:not(.active) .perfmon-indicator-swatch {
|
|
background-color: #eee !important;
|
|
}
|
|
|
|
.perfmon-indicator-title {
|
|
flex: 0 0 115px;
|
|
}
|
|
|
|
.perfmon-indicator:not(.active) .perfmon-indicator-title {
|
|
color: #aaa;
|
|
}
|
|
|
|
.perfmon-indicator-value {
|
|
flex: 0 0 55px;
|
|
text-align: right;
|
|
overflow: visible;
|
|
}
|
|
|
|
.perfmon-indicator:not(.active) .perfmon-indicator-value {
|
|
opacity: 0;
|
|
}
|