mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-11-01 18:59:10 +08:00
This reverts commitf746fe4a57. Reason for revert: fix the missing script_args variable. Original change's description: > Revert "Fix all issues found by StyleLint 14" > > This reverts commitfb8852321b. > > Reason for revert: breaks the presubmit. Since the tree is closed, > a fix forward is not landing soon. Therefore, let's pre-emptively revert. > > Original change's description: > > Fix all issues found by StyleLint 14 > > > > These are mostly auto-fixed by Stylelint 14 with a couple of manual > > fixes (adding quotes around urls and fixing some shorthand properties). > > > > A follow-up CL will update us to Stylelint 14, at which point they will > > be enforced. > > > > R=szuend@chromium.org > > > > Bug: none > > Change-Id: Ia813854accd1eb86eccea64a5fbf1f8534563964 > > Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3259540 > > Auto-Submit: Tim van der Lippe <tvanderlippe@chromium.org> > > Commit-Queue: Simon Zünd <szuend@chromium.org> > > Reviewed-by: Simon Zünd <szuend@chromium.org> > > Bug: none > Change-Id: I155ef7e0633cba15b47439a37a71158b6dcb8f91 > No-Presubmit: true > No-Tree-Checks: true > No-Try: true > Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3259702 > Auto-Submit: Tim van der Lippe <tvanderlippe@chromium.org> > Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> > Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Bug: none Change-Id: I81b402e4a30981cb1a0360053b3553cd1934cbe6 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3259703 Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org> Reviewed-by: Simon Zünd <szuend@chromium.org>
74 lines
1.5 KiB
CSS
74 lines
1.5 KiB
CSS
/*
|
|
* Copyright (c) 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.
|
|
*/
|
|
|
|
:host {
|
|
overflow: auto;
|
|
background-color: var(--color-background-elevation-1);
|
|
}
|
|
|
|
.tree-outline-disclosure {
|
|
max-width: 100%;
|
|
padding-left: 6px;
|
|
}
|
|
|
|
.count {
|
|
flex: none;
|
|
margin: 0 8px;
|
|
}
|
|
|
|
[is="ui-icon"] {
|
|
margin: 0 5px;
|
|
}
|
|
|
|
li {
|
|
height: 24px;
|
|
}
|
|
|
|
li .largeicon-navigator-file {
|
|
margin: 0;
|
|
}
|
|
|
|
li .largeicon-navigator-folder {
|
|
margin: -3px -3px 0 -5px;
|
|
}
|
|
|
|
.tree-element-title {
|
|
flex-shrink: 100;
|
|
flex-grow: 1;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.tree-outline li:hover:not(.selected) .selection {
|
|
display: block;
|
|
background-color: var(--item-hover-color);
|
|
}
|
|
|
|
@media (forced-colors: active) {
|
|
[is="ui-icon"].icon-mask {
|
|
background-color: ButtonText;
|
|
}
|
|
|
|
.tree-outline li:hover:not(.selected) .selection {
|
|
forced-color-adjust: none;
|
|
background-color: Highlight;
|
|
}
|
|
|
|
.tree-outline li:hover .tree-element-title,
|
|
.tree-outline li.selected .tree-element-title,
|
|
.tree-outline li:hover .count,
|
|
.tree-outline li.selected .count {
|
|
forced-color-adjust: none;
|
|
color: HighlightText;
|
|
}
|
|
|
|
.tree-outline li:hover [is="ui-icon"].icon-mask,
|
|
.tree-outline li.selected [is="ui-icon"].icon-mask,
|
|
.tree-outline li.selected:focus .spritesheet-mediumicons:not(.icon-mask) {
|
|
background-color: HighlightText !important; /* stylelint-disable-line declaration-no-important */
|
|
}
|
|
}
|