aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos/video-watch/video-watch.component.scss
blob: abd2832df7337a846db89974e4b82213ef4bb3ae (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
#video-container {
  width: 100%;
  height: 100%;
}

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

.embed-responsive {
  height: 500px;
}

#torrent-info {
  font-size: 10px;
  margin-top: 10px;
  text-align: center;

  div {
    min-width: 60px;
  }
}

.embed-responsive {
  @media screen and (max-width: 600px) {
    height: 300px;
  }
}

#video-info {
  .video-name-views {
    font-weight: bold;
    font-size: 18px;
    height: $video-watch-title-height;
    line-height: $video-watch-title-height;
    padding: 0 30px;

    .video-views {
      text-align: right;
    }
  }

  .video-small-blocks {
    height: $video-watch-info-height;
    color: $video-watch-info-color;
    border-color: $video-watch-border-color;
    border-width: 1px 0px;
    border-style: solid;

    .video-small-block {
      height: $video-watch-info-height;
      display: flex;
      flex-direction: column;
      justify-content: center;
      text-align: center;

      a {
        cursor: pointer;
        transition: color 0.3s;

        &, &:hover {
          color: inherit;
          text-decoration:none;
        }

        &:hover {
          color: #000 !important;
        }
      }

      .option .glyphicon {
        font-size: 22px;
        color: inherit;
        opacity: 0.9;
        margin-bottom: 10px;
      }

      .video-small-block-text {
        font-size: 15px;
        font-weight: bold;
      }
    }

    .video-small-block:not(:last-child) {
      border-width: 0 1px 0 0;
      border-color: $video-watch-border-color;
      border-style: solid;
    }

    .video-small-block-author {
      font-size: 15px;
      font-weight: bold;
    }

    .video-small-block-share, .video-small-block-more {
      a.option {
        display: block;

        .glyphicon {
          display: block;
        }
      }
    }

    .video-small-block-more .video-small-block-dropdown {
      position: relative;

      .dropdown-item .glyphicon {
        margin-right: 5px;
      }
    }

    .video-small-block-rating {

      .video-small-block-like {
        margin-bottom: 10px;
      }

      .video-small-block-text {
        vertical-align: top;
      }

      .glyphicon {
        font-size: 18px;
        margin: 0 10px 0 0;
      }

      .interactive {
        cursor: pointer;
        transition: color 0.3s;

        &.activated, &:hover {
          color: #000;
        }
      }
    }
  }

  .video-details {
    margin-top: 30px;

    .video-details-date-description {
      padding-left: 30px;

      .video-details-date {
        font-weight: bold;
        margin-bottom: 30px;
      }
    }

    .video-details-attributes {
      font-weight: bold;
      font-size: 12px;

      .video-details-attribute-label {
        color: $video-watch-info-color;
        display: inline-block;
        width: 60px;
        margin-right: 5px;
      }
    }
  }
}