Files
react-native-devtools-frontend/front_end/object_ui/objectValue.css
T
Benedikt Meurer 069aa1b511 [devtools] Properly render whitespace in strings in the Watch panel.
Previously we would not show the whitespace properly for expressions
yielding strings directly, although it was working for properties inside
of objects.

Tbr: yangguo@chromium.org
Bug: chromium:1005797
Change-Id: I4bcb8197bac40b5e8564fc70082940d9c07fb006
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1827013
Reviewed-by: Benedikt Meurer <bmeurer@chromium.org>
Reviewed-by: Mathias Bynens <mathias@chromium.org>
Commit-Queue: Benedikt Meurer <bmeurer@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#700615}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: dd158e11b9527655a9a7fde8ac35c9b8ad3b1bab
2019-09-27 08:22:27 +00:00

104 lines
2.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.
*/
.object-value-scientific-notation-exponent {
flex-shrink: 0;
}
.object-value-scientific-notation-mantissa {
overflow: hidden;
text-overflow: ellipsis;
flex-shrink: 1;
min-width: 1ex;
}
.object-value-scientific-notation-number {
display: flex !important;
}
.value.object-value-node:hover {
background-color: var(--item-hover-color);
}
.object-value-function-prefix,
.object-value-boolean {
color: rgb(13, 34, 170);
}
.object-value-function {
font-style: italic;
}
.object-value-function.linkified:hover {
background-color: rgba(0, 0, 0, 0.1);
cursor: pointer;
}
.object-value-number {
color: rgb(28, 0, 207);
}
.object-value-bigint {
color: rgb(0, 93, 0);
}
.object-value-string,
.object-value-regexp,
.object-value-symbol {
white-space: pre !important;
unicode-bidi: -webkit-isolate;
color: rgb(196, 26, 22);
}
.object-value-string-quote {
color: #222;
}
.object-value-node {
position: relative;
vertical-align: baseline;
color: rgb(48, 57, 66);
display: inline-block;
}
.object-value-null,
.object-value-undefined {
color: rgb(128, 128, 128);
}
.object-value-calculate-value-button:hover {
text-decoration: underline;
}
.object-properties-section-custom-section {
display: inline-flex;
flex-direction: column;
}
.-theme-with-dark-background .object-value-number,
:host-context(.-theme-with-dark-background) .object-value-number,
.-theme-with-dark-background .object-value-boolean,
:host-context(.-theme-with-dark-background) .object-value-boolean {
color: hsl(252, 100%, 75%);
}
.object-properties-section .object-description {
color: gray;
}
.value .object-properties-preview {
white-space: nowrap;
}
.name {
color: rgb(136, 19, 145);
flex-shrink: 0;
}
.object-properties-preview .name {
color: #565656;
}