mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-10 13:44:39 +08:00
Move and rename files. NOAUTOREVERT=true NOPRESUBMIT=true NOTREECHECKS=true Bug: 768828 TBR=darin@chromium.org NOTRY=true Change-Id: I66d3b155808bc5bdbf237b80208e1e552bcf7f28 Reviewed-on: https://chromium-review.googlesource.com/1001153 Reviewed-by: Blink Reformat <blink-reformat@chromium.org> Commit-Queue: Blink Reformat <blink-reformat@chromium.org> Cr-Original-Commit-Position: refs/heads/master@{#549061} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: 0aee4434a4dba42a42abaea9bfbc0cd196a63bc1
120 lines
2.2 KiB
CSS
120 lines
2.2 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.
|
|
*/
|
|
|
|
.metrics {
|
|
padding: 8px;
|
|
font-size: 10px;
|
|
text-align: center;
|
|
white-space: nowrap;
|
|
min-height: var(--metrics-height);
|
|
display: flex;
|
|
flex-direction: column;
|
|
-webkit-align-items: center;
|
|
-webkit-justify-content: center;
|
|
}
|
|
|
|
:host {
|
|
--metrics-height: 190px;
|
|
height: var(--metrics-height);
|
|
contain: strict;
|
|
}
|
|
|
|
:host-context(.-theme-with-dark-background) .metrics {
|
|
color: #222;
|
|
}
|
|
|
|
:host-context(.-theme-with-dark-background) .metrics > div:hover {
|
|
color: #ccc;
|
|
}
|
|
|
|
.metrics .label {
|
|
position: absolute;
|
|
font-size: 10px;
|
|
margin-left: 3px;
|
|
padding-left: 2px;
|
|
padding-right: 2px;
|
|
}
|
|
|
|
.metrics .position {
|
|
border: 1px rgb(66%, 66%, 66%) dotted;
|
|
background-color: white;
|
|
display: inline-block;
|
|
text-align: center;
|
|
padding: 3px;
|
|
margin: 3px;
|
|
}
|
|
|
|
.metrics .margin {
|
|
border: 1px dashed;
|
|
background-color: white;
|
|
display: inline-block;
|
|
text-align: center;
|
|
vertical-align: middle;
|
|
padding: 3px;
|
|
margin: 3px;
|
|
}
|
|
|
|
.metrics .border {
|
|
border: 1px black solid;
|
|
background-color: white;
|
|
display: inline-block;
|
|
text-align: center;
|
|
vertical-align: middle;
|
|
padding: 3px;
|
|
margin: 3px;
|
|
}
|
|
|
|
.metrics .padding {
|
|
border: 1px grey dashed;
|
|
background-color: white;
|
|
display: inline-block;
|
|
text-align: center;
|
|
vertical-align: middle;
|
|
padding: 3px;
|
|
margin: 3px;
|
|
}
|
|
|
|
.metrics .content {
|
|
position: static;
|
|
border: 1px gray solid;
|
|
background-color: white;
|
|
display: inline-block;
|
|
text-align: center;
|
|
vertical-align: middle;
|
|
padding: 3px;
|
|
margin: 3px;
|
|
min-width: 80px;
|
|
overflow: visible;
|
|
}
|
|
|
|
.metrics .content span {
|
|
display: inline-block;
|
|
}
|
|
|
|
.metrics .editing {
|
|
position: relative;
|
|
z-index: 100;
|
|
cursor: text;
|
|
}
|
|
|
|
.metrics .left {
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.metrics .right {
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.metrics .top {
|
|
display: inline-block;
|
|
}
|
|
|
|
.metrics .bottom {
|
|
display: inline-block;
|
|
}
|