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

.action-list-content {
  display: flex;
  flex-direction: column;
  flex: auto;
  position: relative;
  user-select: none;
  color: #555;
  overflow: auto;
  outline: none;
}

.action-entry {
  display: flex;
  flex: none;
  cursor: pointer;
  align-items: center;
  white-space: nowrap;
  line-height: 28px;
  padding-left: 5px;
}

.action-entry.highlighted,
.action-entry.selected {
  background-color: var(--gray);
}

.action-entry.highlighted {
  background-color: var(--light-gray);
}

.action-list-content:focus .action-entry.selected {
  background-color: var(--blue);
}

.action-entry.highlighted *,
.action-entry.selected * {
  color: white !important;
}

.action-title {
  flex: auto;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.action-duration {
  margin: 0 4px;
  color: var(--gray);
}

.action-icon {
  flex: none;
  display: flex;
  align-items: center;
  padding-right: 3px;
}

.action-icons {
  flex: none;
  display: flex;
  flex-direction: row;
  cursor: pointer;
  height: 20px;
  position: relative;
  top: 1px;
  border-bottom: 1px solid transparent;
}

.action-icons:hover {
  border-bottom: 1px solid white;
}

.action-error {
  color: red;
  position: relative;
  margin-right: 2px;
  flex: none;
}

.action-selector {
  display: inline;
  flex: none;
  padding-left: 5px;
  color: var(--orange);
}

.action-url {
  display: inline;
  flex: none;
  padding-left: 5px;
  color: var(--blue);
}

.action-entry .codicon {
  padding: 0 2px;
}

.action-entry .codicon-error, .action-entry .codicon-issues {
  color: red;
}

.action-entry .codicon-warning {
  color: darkorange;
}

.no-actions-entry {
  flex: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
