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

.attachments-tab {
  flex: auto;
  line-height: 24px;
  white-space: pre;
  overflow: auto;
  user-select: text;
}

.attachments-section {
  padding-left: 6px;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--vscode-sideBarTitle-foreground);
  line-height: 24px;
}

.attachments-section:not(:first-child) {
  border-top: 1px solid var(--vscode-panel-border);
  margin-top: 10px;
}

.attachment-item {
  margin: 4px 8px;
}

.attachment-title-highlight {
  text-decoration: underline var(--vscode-terminal-findMatchBackground);
  text-decoration-thickness: 1.5px;
}

.attachment-item img {
  flex: none;
  min-width: 200px;
  max-width: 80%;
  box-shadow: 0 12px 28px 0 rgba(0,0,0,.2), 0 2px 4px 0 rgba(0,0,0,.1);
}

a.codicon-cloud-download:hover{
  background-color: var(--vscode-list-inactiveSelectionBackground)
}

.yellow-flash {
  animation: yellowflash-bg 2s;
}
@keyframes yellowflash-bg {
  from { background: var(--vscode-peekViewEditor-matchHighlightBackground); }
  to   { background: transparent; }
}
