chrome-devtools-frontend
Version:
Chrome DevTools UI
105 lines (83 loc) • 2.41 kB
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.
*/
.value.object-value-node:hover {
background-color: var(--sys-color-state-hover-on-subtle);
}
.object-value-function-prefix,
.object-value-boolean {
color: var(--sys-color-token-attribute-value);
}
.object-value-function {
font-style: italic;
}
.object-value-function.linkified:hover {
--override-linkified-hover-background: rgb(0 0 0 / 10%);
background-color: var(--override-linkified-hover-background);
cursor: pointer;
}
.theme-with-dark-background .object-value-function.linkified:hover,
:host-context(.theme-with-dark-background) .object-value-function.linkified:hover {
--override-linkified-hover-background: rgb(230 230 230 / 10%);
}
.object-value-number {
color: var(--sys-color-token-attribute-value);
}
.object-value-bigint {
color: var(--sys-color-token-comment);
}
.object-value-string,
.object-value-regexp,
.object-value-symbol {
white-space: pre;
unicode-bidi: -webkit-isolate;
color: var(--sys-color-token-property-special);
}
.object-value-node {
position: relative;
vertical-align: baseline;
color: var(--sys-color-token-variable);
white-space: nowrap;
}
.object-value-null,
.object-value-undefined {
color: var(--sys-color-state-disabled);
}
.object-value-unavailable {
color: var(--sys-color-token-tag);
}
.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 {
--override-primitive-dark-mode-color: hsl(252deg 100% 75%);
color: var(--override-primitive-dark-mode-color);
}
.object-properties-section .object-description {
color: var(--sys-color-token-subtle);
}
.value .object-properties-preview {
white-space: nowrap;
}
.name {
color: var(--sys-color-token-tag);
flex-shrink: 0;
}
.object-properties-preview .name {
color: var(--sys-color-token-subtle);
}
@media (forced-colors: active) {
.object-value-calculate-value-button:hover {
forced-color-adjust: none;
color: Highlight;
}
}