aboutsummaryrefslogblamecommitdiffhomepage
path: root/client/src/app/search/search.component.scss
blob: 06e3c9542863779c42db5fb46456f7c520740f35 (plain) (tree)




























































































                                               
@import '_variables';
@import '_mixins';

.no-result {
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: $font-semibold;
}

.search-result {
  margin-left: 40px;
  margin-top: 40px;

  .results-counter {
    font-size: 15px;
    padding-bottom: 20px;
    margin-bottom: 30px;
    border-bottom: 1px solid #DADADA;

    .search-value {
      font-weight: $font-semibold;
    }
  }

  .entry {
    display: flex;
    min-height: 130px;
    padding-bottom: 20px;
    margin-bottom: 20px;

    &.video {

      my-video-thumbnail {
        margin-right: 10px;
      }

      .video-info {
        flex-grow: 1;

        .video-info-name {
          @include disable-default-a-behaviour;

          color: #000;
          display: block;
          width: fit-content;
          font-size: 18px;
          font-weight: $font-semibold;
        }

        .video-info-date-views {
          font-size: 14px;
        }

        .video-info-account {
          @include disable-default-a-behaviour;

          display: block;
          width: fit-content;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
          font-size: 14px;
          color: #585858;

          &:hover {
            color: #303030;
          }
        }
      }
    }
  }
}

@media screen and (max-width: 800px) {
  .entry {
    flex-direction: column;
    height: auto;
    text-align: center;

    &.video {
      .video-info-name {
        margin: auto;
      }

      my-video-thumbnail {
        margin-right: 0;
      }
    }
  }
}