/*
  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;
}

.tab-content {
  display: flex;
  flex: auto;
  overflow: hidden;
}

.tab-strip {
  color: var(--toolbar-color);
  display: flex;
  box-shadow: var(--box-shadow);
  background-color: var(--toolbar-bg-color);
  height: 32px;
  align-items: center;
  padding-right: 10px;
  flex: none;
  width: 100%;
  z-index: 2;
}

.tab-strip:focus {
  outline: none;
}

.tab-element {
  padding: 2px 10px 0 10px;
  margin-right: 4px;
  cursor: pointer;
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  user-select: none;
  border-bottom: 2px solid transparent;
  outline: none;
  height: 100%;
}

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

.tab-count {
  font-size: 10px;
  display: flex;
  align-self: flex-start;
  width: 0px;
}

.tab-element.selected {
  border-bottom-color: #666;
}

.tab-element:hover {
  color: #333;
}
