blob: ef8dc381353a20040116ad1d3bae9c2b9b2d868f [file] [edit]
// Copyright (C) 2025 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.
// The tab bar and tab handles are styled by tab_strip.scss; only the container,
// content area and drag-and-drop reordering indicators live here.
.pf-tabs {
display: flex;
flex-direction: column;
height: 100%;
&__tab {
&--dragging {
opacity: 0.5;
}
}
// Drop indicators are box-shadows, so they need to out-rank the active
// tab's box-shadow in tab_strip.scss (in both variants).
.pf-tab-strip__tab.pf-tabs__tab--drop-before {
box-shadow: -2px 0 0 0 var(--pf-color-primary);
}
.pf-tab-strip__tab.pf-tabs__tab--drop-after {
box-shadow: 2px 0 0 0 var(--pf-color-primary);
}
&__new-tab-btn {
margin-left: 2px;
}
&__content {
flex: 1;
overflow: auto;
}
}