| // 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. |
| |
| .pf-tab-strip { |
| display: flex; |
| align-items: baseline; |
| |
| &__tabs { |
| display: flex; |
| overflow: hidden; |
| flex: 1; |
| } |
| |
| &__tab { |
| color: var(--pf-color-text-muted); |
| padding: 4px; |
| margin-top: 3px; |
| align-items: center; |
| cursor: pointer; |
| overflow: hidden; |
| white-space: nowrap; |
| text-overflow: ellipsis; |
| display: flex; |
| align-items: baseline; |
| gap: 2px; |
| |
| &:hover { |
| background-color: color_hover(transparent); |
| } |
| |
| &[active] { |
| color: var(--pf-color-primary); |
| border-bottom: solid 2px var(--pf-color-primary); |
| cursor: default; |
| } |
| |
| &:nth-child(1) { |
| margin-left: 3px; |
| } |
| } |
| |
| &__tab-title { |
| margin: 0px 4px; |
| overflow: hidden; |
| } |
| |
| &__tab-icon { |
| &--left { |
| margin-right: 4px; |
| align-self: center; |
| } |
| |
| &--right { |
| margin-left: 4px; |
| align-self: center; |
| } |
| } |
| } |