@import "variables";

:host {
  cursor: pointer;

  .card-name {
    height: 32px;
  }

  .project-name {
    max-width: 240px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    color: $blue-200;
  }

  .last-run {
    margin-bottom: 6px;
    font-size: 12px;
    color: $blue-300;
  }
  .title {
    font-weight: 500;
  }

  .footer-tags {
    display: flex;
    min-height: 38px;
    background-color: $blue-600;
    padding: 0 16px;
    align-items: center;
    flex-wrap: wrap;
  }

  .rename-state .last-run {
    visibility: hidden;
    height: 18px;
  }

  .sub-projects-list {
    height: 100%;
    padding: 6px 0;

    a {
      color: $blue-200;
      padding: 0 24px;
      line-height: 30px;
      text-decoration: none;
      display: flex;

      ::ng-deep .sub-path {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 120px;
        &.double-width{
          max-width:260px;
        }
      }

      &:hover {
        background-color: $blue-400;
      }
    }
  }
}
