/*
 * completion.css
 *
 * Copyright (C) 2022 by Posit Software, PBC
 *
 * Unless you have received this program directly from Posit Software pursuant
 * to the terms of a commercial license agreement with Posit Software, then
 * this program is licensed to you under the terms of version 3 of the
 * GNU Affero General Public License. This program is distributed WITHOUT
 * ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT,
 * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Please refer to the
 * AGPL (http://www.gnu.org/licenses/agpl-3.0.txt) for more details.
 *
 */

.pm-completion-item {
  display: flex;
  align-items: center;
  height: 52px;
}

.pm-completion-item-type {
  margin-left: 6px;
  margin-right: 6px;
  display: flex;
  align-items: center;
  position: relative;
}

.pm-completion-item-icon {
  border: solid 1px;
  border-radius: 2px;
  padding: 4px;
  height: 24px;
  width: 24px;
  margin-top: 1px;
  margin-right: 6px;
  filter: opacity(0.8);
}

.pm-completion-image-adorn {
  border: solid 1px;
  border-radius: 2px;
  height: 6px;
  width: 6px;
  padding: 2px;
  position: absolute;
  bottom: -3px;
  right: 1px;
  filter: opacity(1.0) !important;
  z-index: 900;
}

.pm-completion-item-summary {
  display: flex;
  flex-direction: column;
  padding-top: 6px;
  padding-right: 4px;
  padding-bottom: 4px;
  padding-left: 0px;
  line-height: 20px;
  font-size: 14px;
}

.pm-completion-item-id {
  display: flex;
  width: 100%;
  justify-content: space-between;
  flex-direction: row;
}

.pm-completion-item-primary {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
}

.pm-completion-item-title {
  margin-right: 8px;

  font-weight: 500;
  font-size: 10pt;
  opacity: 0.8;
}

.pm-completion-item-subTitle {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 18px;

  font-size: 9pt;
  opacity: 0.6;
}

.pm-completion-item-detail {
  font-size: 9pt;
  opacity: 0.6;
}
