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
160 lines
3.0 KiB
CSS
160 lines
3.0 KiB
CSS
/*
|
|
* Copyright 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.
|
|
*/
|
|
|
|
:host {
|
|
flex: 1 1;
|
|
padding: 2px 0 0 0;
|
|
}
|
|
|
|
.tree-outline-disclosure:not(.tree-outline-disclosure-hide-overflow) {
|
|
min-width: 100%;
|
|
display: inline-block;
|
|
}
|
|
|
|
.tree-outline {
|
|
padding: 0 0 4px 4px;
|
|
margin: 0;
|
|
z-index: 0;
|
|
position: relative;
|
|
}
|
|
|
|
.tree-outline li.hovered:not(.selected) .selection {
|
|
display: block;
|
|
left: 3px;
|
|
right: 3px;
|
|
background-color: rgba(56, 121, 217, 0.1);
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.tree-outline li .selection {
|
|
display: none;
|
|
z-index: -1;
|
|
margin-left: -10000px;
|
|
}
|
|
|
|
.tree-outline li.selected .selection {
|
|
display: block;
|
|
background-color: var(--selection-inactive-bg-color);
|
|
}
|
|
|
|
.tree-outline li.in-clipboard .highlight {
|
|
outline: 1px dotted darkgrey;
|
|
}
|
|
|
|
.tree-outline li.elements-drag-over .selection {
|
|
display: block;
|
|
margin-top: -2px;
|
|
border-top: 2px solid;
|
|
border-top-color: var(--selection-bg-color);
|
|
}
|
|
|
|
ol.tree-outline li.selected:focus .selection {
|
|
background-color: var(--selection-bg-color);
|
|
}
|
|
|
|
ol.tree-outline li.parent.selected:focus::before {
|
|
background-color: var(--selection-fg-color);
|
|
}
|
|
|
|
ol.tree-outline,
|
|
.tree-outline ol {
|
|
list-style-type: none;
|
|
}
|
|
|
|
.tree-outline-no-padding {
|
|
padding: 0;
|
|
}
|
|
|
|
.tree-outline ol {
|
|
padding-left: 12px;
|
|
}
|
|
|
|
.tree-outline li {
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
min-height: 16px;
|
|
}
|
|
|
|
ol.tree-outline li.selected:focus {
|
|
color: var(--selection-fg-color);
|
|
}
|
|
|
|
ol.tree-outline li.selected:focus * {
|
|
color: inherit;
|
|
}
|
|
|
|
.tree-outline li .icons-container {
|
|
align-self: center;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.tree-outline li .leading-icons {
|
|
margin-right: 4px;
|
|
}
|
|
|
|
.tree-outline li .trailing-icons {
|
|
margin-left: 4px;
|
|
}
|
|
|
|
.tree-outline li::before {
|
|
-webkit-user-select: none;
|
|
-webkit-mask-image: url(Images/treeoutlineTriangles.png);
|
|
-webkit-mask-size: 32px 24px;
|
|
content: "aa";
|
|
color: transparent;
|
|
text-shadow: none;
|
|
margin-right: -2px;
|
|
height: 12px;
|
|
}
|
|
|
|
.tree-outline li:not(.parent)::before {
|
|
background-color: transparent;
|
|
}
|
|
|
|
@media (-webkit-min-device-pixel-ratio: 1.1) {
|
|
.tree-outline li::before {
|
|
-webkit-mask-image: url(Images/treeoutlineTriangles_2x.png);
|
|
}
|
|
} /* media */
|
|
|
|
.tree-outline li::before {
|
|
-webkit-mask-position: 0 0;
|
|
background-color: #727272;
|
|
}
|
|
|
|
.tree-outline li.parent.expanded::before {
|
|
-webkit-mask-position: -16px 0;
|
|
}
|
|
|
|
.tree-outline ol.children {
|
|
display: none;
|
|
}
|
|
|
|
.tree-outline ol.children.expanded {
|
|
display: block;
|
|
}
|
|
|
|
.tree-outline.tree-outline-dense li {
|
|
margin-top: 1px;
|
|
min-height: 12px;
|
|
}
|
|
|
|
.tree-outline.tree-outline-dense li.parent {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.tree-outline.tree-outline-dense li.parent::before {
|
|
top: 0;
|
|
}
|
|
|
|
.tree-outline.tree-outline-dense ol {
|
|
padding-left: 10px;
|
|
}
|