/*
  Copyright (c) Microsoft Corporation.

  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.
*/

.tabbed-pane {
  display: flex;
  flex: auto;
  overflow: hidden;
}

.tabbed-pane .toolbar {
  background-color: var(--vscode-sideBar-background);
}

.tabbed-pane .tab-content {
  display: flex;
  flex: auto;
  overflow: hidden;
  position: relative;
  flex-direction: column;
}

.tabbed-pane-tab {
  padding: 2px 6px 0 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  border-bottom: 2px solid transparent;
  outline: none;
  height: 100%;
}

.tabbed-pane-tab-label {
  max-width: 250px;
  white-space: pre;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
}

.tabbed-pane-tab.selected {
  background-color: var(--vscode-tab-activeBackground);
}

.tabbed-pane-tab-counter {
  padding: 0 4px;
  background: var(--vscode-menu-separatorBackground);
  border-radius: 8px;
  height: 16px;
  margin-left: 4px;
  line-height: 16px;
  min-width: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tabbed-pane-tab-counter.error {
  background: var(--vscode-list-errorForeground);
  color: var(--vscode-button-foreground);
}
