aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/search/search.component.scss
blob: 06e3c9542863779c42db5fb46456f7c520740f35 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
@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;
      }
    }
  }
}