| // 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. |
| |
| // Title bar sub-layout (left group, actions). |
| .pf-memscope-title-bar__left { |
| display: flex; |
| align-items: baseline; |
| gap: 12px; |
| flex-shrink: 0; |
| } |
| |
| // Right-side cluster: device identity + button group. |
| .pf-memscope-session-pill { |
| display: inline-flex; |
| align-items: center; |
| gap: 12px; |
| } |
| |
| .pf-memscope-session-pill__device { |
| display: flex; |
| align-items: baseline; |
| gap: 6px; |
| font-size: var(--pf-font-size-m); |
| font-weight: 500; |
| color: var(--pf-color-text-hint); |
| } |
| |
| // Snapshot info popup content. |
| .pf-memscope-snapshot-info { |
| padding: 4px 6px; |
| min-width: 200px; |
| display: flex; |
| flex-direction: column; |
| gap: 2px; |
| } |
| |
| .pf-memscope-snapshot-info__heading { |
| font-size: var(--pf-font-size-xs); |
| font-weight: 600; |
| text-transform: uppercase; |
| letter-spacing: 0.06em; |
| color: var(--pf-color-text-muted); |
| margin-bottom: 4px; |
| } |
| |
| .pf-memscope-snapshot-info__row { |
| display: flex; |
| justify-content: space-between; |
| gap: 24px; |
| padding: 2px 0; |
| font-size: var(--pf-font-size-s); |
| color: var(--pf-color-text); |
| |
| span:first-child { |
| color: var(--pf-color-text-muted); |
| } |
| |
| &.pf-memscope-snapshot-info__sum { |
| margin-top: 6px; |
| padding-top: 8px; |
| border-top: 1px solid var(--pf-col-border); |
| font-weight: 600; |
| font-size: var(--pf-font-size-m); |
| |
| span:first-child { |
| color: var(--pf-color-text); |
| } |
| } |
| } |
| |
| .pf-memscope-snapshot-info__overrun { |
| display: flex; |
| align-items: baseline; |
| gap: 5px; |
| margin-top: 8px; |
| padding: 5px 8px; |
| border-radius: 4px; |
| font-size: var(--pf-font-size-xs); |
| background: var(--pf-color-warning-container); |
| color: var(--pf-color-warning); |
| |
| .material-icons { |
| font-size: 13px; |
| } |
| } |
| |
| .pf-memscope-snapshot-info__empty { |
| font-size: var(--pf-font-size-s); |
| color: var(--pf-color-text-muted); |
| font-style: italic; |
| padding: 4px 0; |
| } |