mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-07 12:33:47 +08:00
- Prefer the modern comma-free CSS color function syntax over the legacy syntax. [1] - Explicitly use the `deg` suffix for angle values in colors, to clarify the range. - Explicitly use the `%` suffix for percentages instead of formatting the value as a number, again to clarify the range. [1]: https://twitter.com/mathias/status/1253242715304857601 [2]: https://goo.gle/devtools-css-color Bug: chromium:1083142 Fixed: chromium:1073885 Change-Id: I8e1582a2dee3553a61df88564051ea84c2011d76 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2209091 Reviewed-by: Alex Rudenko <alexrudenko@chromium.org> Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org> Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org> Auto-Submit: Mathias Bynens <mathias@chromium.org>
82 lines
1.2 KiB
CSS
82 lines
1.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.
|
|
*/
|
|
|
|
.widget.ax-subpane {
|
|
overflow-x: hidden;
|
|
user-select: text;
|
|
}
|
|
|
|
.ax-ignored-info {
|
|
padding: 6px;
|
|
}
|
|
|
|
.ax-ignored-node-pane {
|
|
flex: none;
|
|
}
|
|
|
|
.invalid {
|
|
text-decoration: line-through;
|
|
}
|
|
|
|
span.ax-value-undefined {
|
|
font-style: italic;
|
|
}
|
|
|
|
.ax-value-source-unused {
|
|
opacity: 70%;
|
|
}
|
|
|
|
.ax-value-source-superseded,
|
|
.ax-value-source-invalid {
|
|
text-decoration: line-through;
|
|
}
|
|
|
|
.tree-outline span[is=dt-icon-label] {
|
|
position: relative;
|
|
left: -11px;
|
|
}
|
|
|
|
.tree-outline li {
|
|
display: block;
|
|
overflow-x: hidden;
|
|
align-items: baseline;
|
|
}
|
|
|
|
.tree-outline li::before {
|
|
content: "";
|
|
width: 14px;
|
|
display: inline-block;
|
|
}
|
|
|
|
.tree-outline li.property {
|
|
color: rgb(33 33 33);
|
|
}
|
|
|
|
.tree-outline li.invalid {
|
|
position: relative;
|
|
left: -2px;
|
|
}
|
|
|
|
.tree-outline span[is=dt-icon-label] + .ax-name {
|
|
margin-left: -11px;
|
|
}
|
|
|
|
.tree-outline li span {
|
|
flex-shrink: 0;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
@media (forced-colors: active) {
|
|
.ax-value-source-unused {
|
|
opacity: 100%;
|
|
}
|
|
|
|
.tree-outline-disclosure:hover li.parent::before {
|
|
background-color: ButtonText;
|
|
}
|
|
}
|