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
191 lines
3.2 KiB
CSS
191 lines
3.2 KiB
CSS
/*
|
|
* Copyright 2016 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.
|
|
*/
|
|
|
|
/* Tree outline overrides */
|
|
|
|
:host {
|
|
padding: 0;
|
|
}
|
|
|
|
ol.tree-outline {
|
|
overflow: auto;
|
|
flex: auto;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.tree-outline li {
|
|
height: 36px;
|
|
padding-right: 5px;
|
|
margin-top: 1px;
|
|
line-height: 34px;
|
|
border-top: 1px solid transparent;
|
|
}
|
|
|
|
.tree-outline li:not(.parent)::before {
|
|
display: none;
|
|
}
|
|
|
|
:host-context(.some-expandable) .tree-outline li:not(.parent) {
|
|
margin-left: 10px;
|
|
}
|
|
|
|
.tree-outline li.profiles-tree-section {
|
|
height: 18px;
|
|
padding: 0 10px;
|
|
white-space: nowrap;
|
|
margin-top: 1px;
|
|
color: rgb(92, 110, 129);
|
|
text-shadow: rgba(255, 255, 255, 0.75) 0 1px 0;
|
|
line-height: 18px;
|
|
}
|
|
|
|
.tree-outline li.profiles-tree-section::before {
|
|
display: none;
|
|
}
|
|
|
|
.tree-outline ol {
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* Generic items styling */
|
|
|
|
.title-container > .save-link {
|
|
text-decoration: underline;
|
|
margin-left: auto;
|
|
display: none;
|
|
}
|
|
|
|
li.selected .title-container > .save-link {
|
|
display: block;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.tree-outline > .icon {
|
|
margin-left: 16px;
|
|
}
|
|
|
|
li .icon {
|
|
width: 32px;
|
|
height: 32px;
|
|
margin-top: 1px;
|
|
margin-right: 3px;
|
|
flex: none;
|
|
}
|
|
|
|
li.wait .icon {
|
|
content: none;
|
|
}
|
|
|
|
li.wait .icon::before {
|
|
display: block;
|
|
width: 24px;
|
|
height: 24px;
|
|
margin: 4px;
|
|
border: 3px solid grey;
|
|
border-radius: 12px;
|
|
clip: rect(0, 15px, 15px, 0);
|
|
content: "";
|
|
position: absolute;
|
|
-webkit-animation: spinner-animation 1s linear infinite;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
li.wait.small .icon::before {
|
|
width: 14px;
|
|
height: 14px;
|
|
margin: 1px;
|
|
clip: rect(0, 9px, 9px, 0);
|
|
border-width: 2px;
|
|
}
|
|
|
|
li.wait.selected .icon::before {
|
|
border-color: white;
|
|
}
|
|
|
|
@-webkit-keyframes spinner-animation {
|
|
from { transform: rotate(0); }
|
|
to { transform: rotate(360deg); }
|
|
}
|
|
|
|
li.small {
|
|
height: 20px;
|
|
}
|
|
|
|
li.small .icon {
|
|
width: 16px;
|
|
height: 16px;
|
|
}
|
|
|
|
li .titles {
|
|
display: flex;
|
|
flex-direction: column;
|
|
top: 5px;
|
|
line-height: 12px;
|
|
padding-bottom: 1px;
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
flex: auto;
|
|
}
|
|
|
|
li .titles > .title-container {
|
|
display: flex;
|
|
}
|
|
|
|
li.small .titles {
|
|
top: 2px;
|
|
line-height: normal;
|
|
}
|
|
|
|
li:not(.small) .title::after {
|
|
content: "\A";
|
|
white-space: pre;
|
|
}
|
|
|
|
li .subtitle {
|
|
font-size: 80%;
|
|
}
|
|
|
|
li.small .subtitle {
|
|
display: none;
|
|
}
|
|
|
|
/* Heap profiles */
|
|
|
|
.heap-snapshot-sidebar-tree-item .icon {
|
|
content: url(Images/profileIcon.png);
|
|
}
|
|
|
|
.heap-snapshot-sidebar-tree-item.small .icon {
|
|
content: url(Images/profileSmallIcon.png);
|
|
}
|
|
|
|
/* Launcher */
|
|
|
|
.profile-launcher-view-tree-item {
|
|
margin-left: 0 !important;
|
|
}
|
|
|
|
.profile-launcher-view-tree-item > .icon {
|
|
width: 8px !important;
|
|
visibility: hidden;
|
|
}
|
|
|
|
/* CPU profiles */
|
|
|
|
.profile-sidebar-tree-item .icon {
|
|
content: url(Images/profileIcon.png);
|
|
}
|
|
|
|
.profile-sidebar-tree-item.small .icon {
|
|
content: url(Images/profileSmallIcon.png);
|
|
}
|
|
|
|
.profile-group-sidebar-tree-item .icon {
|
|
content: url(Images/profileGroupIcon.png);
|
|
}
|