blob: 997e5746a6b938b79c3dd9fe837e0b494bc0e62b [file] [edit]
// 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.
@import "../assets/theme";
.pf-task-status {
display: inline-flex;
align-items: baseline;
justify-content: center;
gap: 4px;
width: 42px;
padding: 4px 0;
font-family: var(--pf-font-compact);
font-size: var(--pf-font-size-s);
color: var(--pf-color-on-surface);
cursor: default;
user-select: none;
.pf-icon {
align-self: center;
}
&__count {
min-width: 1ch;
font-variant-numeric: tabular-nums;
}
&__list {
display: flex;
flex-direction: column;
gap: 4px;
min-width: 150px;
max-width: 300px;
}
&__item {
display: flex;
justify-content: space-between;
align-items: baseline;
gap: 12px;
padding: 2px 0;
}
&__label {
flex: 1;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
&__elapsed {
flex-shrink: 0;
font-variant-numeric: tabular-nums;
color: var(--pf-color-on-surface-muted);
}
}