]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/videos/+video-watch/video-watch.component.scss
Fix dropdown menu in video watch
[github/Chocobozzz/PeerTube.git] / client / src / app / videos / +video-watch / video-watch.component.scss
CommitLineData
e31f6ad6 1#video-container {
be6a4802
C
2 background-color: #000;
3 display: flex;
4 justify-content: center;
5
6 #video-element {
7 width: 888px;
8 height: 500px;
7b272fd7
C
9
10 // VideoJS create an inner video player
11 video {
12 outline: 0;
13 }
be6a4802 14 }
e56b20f5
C
15}
16
9c89a45c
C
17#video-not-found {
18 height: 300px;
19 line-height: 300px;
20 margin-top: 50px;
21 text-align: center;
22 font-weight: bold;
23}
24
b1fa3eba
C
25.video-bottom {
26 margin-top: 40px;
27 display: flex;
d1992b93 28
b1fa3eba
C
29 .video-info {
30 flex-grow: 1;
31 margin-right: 28px;
3eeeb87f 32
b1fa3eba
C
33 .video-info-name-actions {
34 display: flex;
35 align-items: center;
d1992b93 36
b1fa3eba
C
37 .video-info-name {
38 font-size: 27px;
39 font-weight: $font-semibold;
40 flex-grow: 1;
41 }
09223546 42
b1fa3eba
C
43 .video-info-actions {
44 .action-button {
45 @include peertube-button;
7b272fd7 46 @include grey-button;
09223546 47
b1fa3eba
C
48 font-size: 15px;
49 font-weight: $font-semibold;
b1fa3eba
C
50 display: inline-block;
51 padding: 0 10px 0 10px;
09223546 52
7b272fd7
C
53 .icon {
54 display: inline-block;
55 background-repeat: no-repeat;
56 background-size: contain;
57 width: 21px;
58 height: 21px;
59 vertical-align: middle;
60 position: relative;
61 top: -2px;
62
63 &.icon-like {
64 background-image: url('../../../assets/images/video/like-grey.svg');
65 }
66
67 &.icon-dislike {
68 background-image: url('../../../assets/images/video/dislike-grey.svg');
69 }
70
71 &.icon-share {
72 background-image: url('../../../assets/images/video/share.svg');
73 }
74
75 &.icon-more {
76 background-image: url('../../../assets/images/video/more.svg');
77 }
b1fa3eba 78 }
d38b8281 79
7b272fd7
C
80 &.activated {
81 @include orange-button;
4e1b0973 82
7b272fd7
C
83 .icon-like {
84 background-image: url('../../../assets/images/video/like-white.svg');
85 }
d38b8281 86
7b272fd7
C
87 .icon-dislike {
88 background-image: url('../../../assets/images/video/dislike-white.svg');
89 }
b1fa3eba 90 }
7b272fd7 91 }
d38b8281 92
7b272fd7
C
93 .action-more {
94 display: inline-block;
4f8c0eb0 95
7b272fd7
C
96 .dropdown-menu .icon {
97 display: inline-block;
98 background-repeat: no-repeat;
99 background-size: contain;
100 width: 21px;
101 height: 21px;
102 vertical-align: middle;
103 margin-right: 5px;
104 position: relative;
105 top: -1px;
106
107 &.icon-download {
108 background-image: url('../../../assets/images/video/download.svg');
109 }
110
111 &.icon-alert {
112 background-image: url('../../../assets/images/video/alert.svg');
113 }
114
115 &.icon-blacklist {
116 background-image: url('../../../assets/images/video/eye-closed.svg');
117 }
b1fa3eba 118 }
4e1b0973
C
119 }
120 }
4f8c0eb0 121 }
d1992b93 122
6a9e1d42
C
123 .video-info-date-views-bar {
124 display: flex;
125
126 .video-info-date-views {
127 font-size: 16px;
128 margin-bottom: 10px;
129 flex-grow: 1;
130 }
131
132 .video-info-likes-dislikes-bar {
133 height: 5px;
134 width: 186px;
135 background-color: #E5E5E5;
136 margin-top: 25px;
137
138 .likes-bar {
139 height: 100%;
140 background-color: #39CC0B;
141 }
142 }
d1992b93
C
143 }
144
b1fa3eba
C
145 .video-info-channel {
146 font-weight: $font-semibold;
147 font-size: 15px;
d1992b93 148 }
d1992b93 149
b1fa3eba
C
150 .video-info-by {
151 display: flex;
152 align-items: center;
153 font-size: 13px;
09223546 154
b1fa3eba
C
155 img {
156 width: 16px;
157 height: 16px;
158 margin-left: 3px;
09223546 159 }
6e07c3de 160 }
d07137b9 161
b1fa3eba
C
162 .video-info-description {
163 margin: 20px 0;
164 font-size: 15px;
d1992b93 165
80958c78
C
166 .description-loading {
167 display: inline-block;
168 }
169
b1fa3eba 170 .video-info-description-more {
2de96f4d 171 cursor: pointer;
b1fa3eba
C
172 font-weight: $font-semibold;
173 color: #585858;
174 font-size: 14px;
2de96f4d
C
175
176 .glyphicon {
177 position: relative;
178 top: 2px;
179 }
180 }
09223546
C
181 }
182
b1fa3eba
C
183 .video-attributes {
184 .video-attribute {
185 font-size: 13px;
186 display: block;
187 margin-bottom: 12px;
3eeeb87f 188
b1fa3eba
C
189 .video-attribute-label {
190 width: 86px;
191 display: inline-block;
192 color: #585858;
193 font-weight: $font-bold;
3eeeb87f
C
194 }
195 }
196 }
41c3dfac
C
197 }
198
199 .other-videos {
200 .title-page {
201 margin-top: 0;
202 }
203
204 /deep/ .video-miniature {
205 display: flex;
206 height: 100%;
207 margin-bottom: 20px;
a01f107b 208
41c3dfac
C
209 .video-miniature-information {
210 margin-left: 10px;
211 }
212 }
a01f107b 213 }
d1992b93 214}
41c3dfac 215