| // 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. |
| |
| // Page title bar. |
| .pf-memscope-title-bar { |
| display: flex; |
| align-items: baseline; |
| justify-content: space-between; |
| gap: 16px; |
| |
| h1 { |
| margin: 0; |
| font-size: 22px; |
| font-weight: 700; |
| text-transform: uppercase; |
| align-self: center; |
| color: var(--pf-color-text-muted); |
| } |
| } |
| |
| .pf-memscope-status-bar__dot { |
| width: 8px; |
| height: 8px; |
| border-radius: 50%; |
| background: var(--pf-color-success); |
| flex-shrink: 0; |
| animation: pf-memscope-pulse 2s ease-in-out infinite; |
| |
| &--paused { |
| background: var(--pf-color-warning); |
| animation: none; |
| } |
| } |
| |
| @keyframes pf-memscope-pulse { |
| 0%, |
| 100% { |
| opacity: 1; |
| } |
| 50% { |
| opacity: 0.3; |
| } |
| } |
| |
| .pf-memscope-error { |
| color: var(--pf-color-error); |
| font-size: var(--pf-font-size-s); |
| } |
| |
| .pf-memscope-oom-item { |
| display: flex; |
| align-items: center; |
| gap: 6px; |
| } |
| |
| .pf-memscope-search-row { |
| display: flex; |
| align-items: stretch; |
| gap: 8px; |
| padding: 8px; |
| } |
| |
| .pf-memscope-device-list { |
| display: flex; |
| flex-direction: column; |
| gap: 8px; |
| width: 100%; |
| max-width: 400px; |
| } |