blob: 2340b4ab0760e03f7b7cec671937d186a7952b32 [file]
// Copyright (C) 2025 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
.pf-chart {
// Position-relative creates an anchor point for the popups,
// so relative offsets can be provided when creating a popup.
position: relative;
}
.pf-chart-popup {
width: max-content;
font-size: 15px;
display: flex;
flex-direction: column;
padding: 4px;
row-gap: 4px;
&__tooltip-text-line {
cursor: text;
}
&__tooltip-bold-text {
font-weight: 600;
cursor: text;
}
}
// EChartView component styles
.pf-echart-view {
position: relative;
width: 100%;
&--fill-parent {
height: 100%;
}
&__canvas {
width: 100%;
height: 100%;
&--hidden {
display: none;
}
}
&__loading,
&__empty {
display: flex;
align-items: center;
justify-content: center;
height: 100%;
color: var(--pf-color-text-muted);
font-size: 14px;
}
}