blob: 343e784e5ec19ad6608497753f9bda6a67df429e [file]
// Copyright (C) 2026 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.
// Inline "share %" bar used in table columns.
.pf-memscope-sharebar {
display: inline-flex;
align-items: center;
gap: 6px;
&__track {
width: 80px;
height: 8px;
border-radius: 4px;
background: var(--pf-col-border);
overflow: hidden;
flex-shrink: 0;
}
&__fill {
height: 100%;
border-radius: 4px;
background: var(--pf-color-accent, #4285f4);
}
&__pct {
min-width: 30px;
text-align: right;
font-size: var(--pf-font-size-xs);
color: var(--pf-color-text-muted);
font-variant-numeric: tabular-nums;
}
}