Files
react-native-devtools-frontend/front_end/source_frame/xmlTree.css
T
Mathias Bynens ca9fa2d73f Consistently format CSS color and opacity values
- 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>
2020-05-19 16:50:26 +00:00

54 lines
849 B
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 ol {
list-style: none;
padding: 0;
margin: 0;
padding-inline-start: 16px;
}
ol.tree-outline {
padding-inline-start: 0;
}
.tree-outline li {
min-height: 12px;
}
.tree-outline li.shadow-xml-view-close-tag {
margin-left: -16px;
}
.shadow-xml-view-tag {
color: rgb(136 18 128);
}
.shadow-xml-view-comment {
color: rgb(35 110 37);
}
.shadow-xml-view-processing-instruction {
color: rgb(35 110 37);
}
.shadow-xml-view-attribute-name {
color: rgb(153 69 0);
}
.shadow-xml-view-attribute-value {
color: rgb(26 26 166);
}
.shadow-xml-view-text {
color: rgb(0 0 0);
white-space: pre;
}
.shadow-xml-view-cdata {
color: rgb(0 0 0);
}