chrome-devtools-frontend
Version:
Chrome DevTools UI
84 lines (70 loc) • 1.85 kB
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.
*/
.flame-chart-main-pane {
overflow: hidden;
--selected-group-background: hsl(215deg 85% 98%);
--selected-group-border: hsl(216deg 68% 54%);
}
:host-context(.-theme-with-dark-background) .flame-chart-main-pane {
--selected-group-background: hsl(215deg 85% 15%);
--selected-group-border: hsl(216deg 68% 46%);
}
.flame-chart-marker-highlight-element {
position: absolute;
top: 1px;
height: 18px;
width: 6px;
margin: 0 -3px;
content: "";
display: block;
}
.flame-chart-canvas:focus-visible {
border-top: 1px solid var(--legacy-accent-color);
border-bottom: 1px solid var(--legacy-accent-color);
}
.flame-chart-highlight-element {
position: absolute;
pointer-events: none;
background-color: var(--color-background-hover-overlay);
}
.flame-chart-selected-element {
position: absolute;
pointer-events: none;
outline: 2px solid var(--color-accent-red);
background-color: var(--color-background-hover-overlay);
}
.chart-cursor-element {
position: absolute;
top: 0;
bottom: 0;
z-index: 100;
width: 2px;
background-color: var(--color-selection-highlight-border);
pointer-events: none;
}
.flame-chart-entry-info:not(:empty) {
z-index: 2000;
position: absolute;
background-color: var(--color-background);
pointer-events: none;
padding: 4px 8px;
white-space: nowrap;
max-width: 80%;
box-shadow: var(--drop-shadow);
}
.flame-chart-entry-info table tr td:empty {
padding: 0;
}
.flame-chart-entry-info table tr td:not(:empty) {
padding: 0 5px;
white-space: nowrap;
}
.flame-chart-entry-info table tr td:first-child {
font-weight: bold;
}
.flame-chart-entry-info table tr td span {
margin-right: 5px;
}