@import "../../../themes/default";

:global {
  .app-list-item {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .app-list-item-pointer {
    cursor: pointer;
    .items-center();

    &:hover {
      color: @color-base !important;

      .app-icon {
        background-color: @color-base;
      }
    }
  }

  .app-list-item-live {
    cursor: pointer;
  }

  .app-list-item-avatar {
    margin-right: 12px;
    min-width: 50px;
    text-align: right;

    .app-text {
      border-radius: 2px;
    }
  }

  .app-list-item-content {
    -webkit-box-flex: 1;
    -webkit-flex: 1 0;
    -ms-flex: 1 0;
    flex: 1 0;

    p:last-child {
      margin-bottom: 0;
    }
  }

  .app-list-item-active {
    border-bottom: 1px solid #ff4d4f;

    &:hover {
      color: @color-white !important;

      .app-icon {
        background-color: @color-white-65
      }
    }

    .app-icon {
      background-color: @color-white !important;
    }
  }

  .app-list-heading {
    display: table;
    width: 100%;
    padding-top: 24px;
    padding-bottom: 12px;
    margin: 0;
    font-size: 21px;
  }

  .app-list-content {
    position: relative;

    .app-carousel-item {
      margin-bottom: 32px;
    }

    .app-row {
      flex-wrap: wrap;
      display: flex;
    }

    .app-col {
      display: flex;
      flex-direction: column;
    }
  }

  .app-list-empty {
    text-align: center;
    position: absolute;
    width: 100%;
    height: 50vh;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 99;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
  }
}
