@import 'variables';

.table-issues {
  margin-bottom: $spacer-1;

  .issue-banner {
    height: 40px;
    padding: $spacer-1;
    display: flex;
    flex-direction: row;
    border-top: 1px solid $stroke-light;
    color: $text-secondary;
    line-height: 24px;

    &:last-child {
      border-bottom: 1px solid $stroke-light;
    }

    .table-issue-priority {
      line-height: 20px;
    }
  }
  .table-issue-link {
    margin-right: $spacer-1;
    min-width: fit-content;
  }
  .issue-title-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: fit-content;
  }
  .issue-title-display-text {
    display: flex;
    max-width: fit-content;
  }
  .table-issue-status {
    display: flex;
    justify-content: flex-end;
    flex-grow: 1.1;
    min-width: fit-content;
    margin-left: $spacer-2;
  }
  .table-issue-priority {
    margin-right: $spacer-1;
    border: 1px solid $rose80;
    border-radius: 5px;
    padding: 1px 2px;
    flex: none;
  }
  .blocker {
    color: $priority-text-blocker;
    // default is $rose80
    background-color: rgba($priority-bg-color, 1);
  }
  .critical {
    background-color: rgba($priority-bg-color, .6);
  }
  .major {
    background-color: rgba($priority-bg-color, .3);
  }
  .minor {
    background-color: rgba($priority-bg-color, .1);
  }
  .loading-spinner {
    margin-top: auto;
  }
}
.table-issue-more-issues {
  margin-bottom: $spacer-1;
  margin-right: $spacer-1;
}
.table-more-issues {
  display: flex;
  font-size: 16px;
}
.table-report-new-issue {
  margin-bottom: $spacer-1;

  &.ml-1 {
    margin-left: $spacer-1;
  }
}
