mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-01 01:38:07 +08:00
R=mathias@chromium.org Bug: chromium:1083142 Change-Id: Ifc8f95653ef3dc762f6eadd116a98c79eb507fdd Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2259844 Commit-Queue: Simon Zünd <szuend@chromium.org> Commit-Queue: Mathias Bynens <mathias@chromium.org> Auto-Submit: Simon Zünd <szuend@chromium.org> Reviewed-by: Mathias Bynens <mathias@chromium.org>
86 lines
1.8 KiB
CSS
86 lines
1.8 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.
|
|
*/
|
|
|
|
.tree-outline {
|
|
padding: 0;
|
|
}
|
|
|
|
.tree-outline li {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
padding: 2px 5px;
|
|
overflow: hidden;
|
|
margin: 2px 0;
|
|
border-top: 1px solid transparent;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.tree-outline .lock-icon,
|
|
.tree-outline .security-property {
|
|
margin-right: 4px;
|
|
flex: none;
|
|
}
|
|
|
|
.tree-outline li.selected:focus .lock-icon,
|
|
.tree-outline .security-sidebar-tree-item.selected:focus .icon {
|
|
background-color: var(--selection-fg-color);
|
|
}
|
|
|
|
@media (forced-colors: active) {
|
|
.tree-outline .lock-icon,
|
|
.tree-outline .security-property {
|
|
forced-color-adjust: none;
|
|
}
|
|
|
|
.tree-outline li.selected:focus .lock-icon,
|
|
.tree-outline .security-sidebar-tree-item.selected:focus .icon {
|
|
background-color: HighlightText;
|
|
}
|
|
}
|
|
|
|
.tree-outline .security-main-view-sidebar-tree-item {
|
|
border-bottom: 1px solid rgb(230 230 230);
|
|
padding: 16px 0;
|
|
}
|
|
|
|
.tree-outline li.security-sidebar-origins {
|
|
padding: 1px 8px 1px 13px;
|
|
margin-top: 1em;
|
|
margin-bottom: 0.5em;
|
|
color: rgb(90 90 90);
|
|
border-top: none;
|
|
line-height: 16px;
|
|
text-shadow: rgb(255 255 255 / 75%) 0 1px 0;
|
|
}
|
|
|
|
.tree-outline ol {
|
|
padding-left: 0;
|
|
}
|
|
|
|
.tree-outline li::before {
|
|
content: none;
|
|
}
|
|
|
|
.tree-outline .security-main-view-sidebar-tree-item,
|
|
.tree-outline .security-sidebar-origins,
|
|
.tree-outline li.security-sidebar-origins + .children > li {
|
|
padding-left: 16px;
|
|
}
|
|
|
|
.security-sidebar-tree-item {
|
|
padding: 2px 0;
|
|
}
|
|
|
|
.security-sidebar-tree-item .title {
|
|
overflow: hidden;
|
|
margin-right: 5px;
|
|
}
|
|
|
|
.security-main-view-reload-message .tree-element-title {
|
|
color: rgb(0 0 0 / 60%);
|
|
padding-left: 8px;
|
|
}
|