aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos/+video-watch/video-watch.component.scss
blob: d7f47ed7570127239c13cd55a34a7cfe094d9d97 (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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
#video-container {
  background-color: #000;
  display: flex;
  justify-content: center;

  #video-element {
    width: 888px;
    height: 500px;
  }
}

#video-not-found {
  height: 300px;
  line-height: 300px;
  margin-top: 50px;
  text-align: center;
  font-weight: bold;
}

.video-bottom {
  margin-top: 40px;
  display: flex;

  .video-info {
    flex-grow: 1;
    margin-right: 28px;

    .video-info-name-actions {
      display: flex;
      align-items: center;

      .video-info-name {
        font-size: 27px;
        font-weight: $font-semibold;
        flex-grow: 1;
      }

      .video-info-actions {
        .action-button {
          @include peertube-button;

          font-size: 15px;
          font-weight: $font-semibold;
          color: #585858;
          background-color: #E5E5E5;
          display: inline-block;
          padding: 0 10px 0 10px;

          &:hover {
            background-color: #EFEFEF;
          }
        }

        .action-more {
          display: inline-block;
        }

        .icon {
          display: inline-block;
          background-repeat: no-repeat;
          background-size: contain;
          width: 21px;
          height: 21px;
          vertical-align: middle;
          position: relative;
          top: -2px;

          &.icon-like {
            background-image: url('../../../assets/images/video/like.svg');
          }

          &.icon-dislike {
            background-image: url('../../../assets/images/video/dislike.svg');
          }

          &.icon-share {
            background-image: url('../../../assets/images/video/share.svg');
          }

          &.icon-more {
            background-image: url('../../../assets/images/video/more.svg');
          }
        }
      }
    }

    .video-info-date-views-bar {
      display: flex;

      .video-info-date-views {
        font-size: 16px;
        margin-bottom: 10px;
        flex-grow: 1;
      }

      .video-info-likes-dislikes-bar {
        height: 5px;
        width: 186px;
        background-color: #E5E5E5;
        margin-top: 25px;

        .likes-bar {
          height: 100%;
          background-color: #39CC0B;
        }
      }
    }

    .video-info-channel {
      font-weight: $font-semibold;
      font-size: 15px;
    }

    .video-info-by {
      display: flex;
      align-items: center;
      font-size: 13px;

      img {
        width: 16px;
        height: 16px;
        margin-left: 3px;
      }
    }

    .video-info-description {
      margin: 20px 0;
      font-size: 15px;

      .description-loading {
        display: inline-block;
      }

      .video-info-description-more {
        cursor: pointer;
        font-weight: $font-semibold;
        color: #585858;
        font-size: 14px;

        .glyphicon {
          position: relative;
          top: 2px;
        }
      }
    }

    .video-attributes {
      .video-attribute {
        font-size: 13px;
        display: block;
        margin-bottom: 12px;

        .video-attribute-label {
          width: 86px;
          display: inline-block;
          color: #585858;
          font-weight: $font-bold;
        }
      }
    }
  }

  .other-videos {
    .title-page {
      margin-top: 0;
    }

    /deep/ .video-miniature {
      display: flex;
      height: 100%;
      margin-bottom: 20px;

      .video-miniature-information {
        margin-left: 10px;
      }
    }
  }
}