]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame_incremental - 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
1#video-container {
2 background-color: #000;
3 display: flex;
4 justify-content: center;
5
6 #video-element {
7 width: 888px;
8 height: 500px;
9
10 // VideoJS create an inner video player
11 video {
12 outline: 0;
13 }
14 }
15}
16
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
25.video-bottom {
26 margin-top: 40px;
27 display: flex;
28
29 .video-info {
30 flex-grow: 1;
31 margin-right: 28px;
32
33 .video-info-name-actions {
34 display: flex;
35 align-items: center;
36
37 .video-info-name {
38 font-size: 27px;
39 font-weight: $font-semibold;
40 flex-grow: 1;
41 }
42
43 .video-info-actions {
44 .action-button {
45 @include peertube-button;
46 @include grey-button;
47
48 font-size: 15px;
49 font-weight: $font-semibold;
50 display: inline-block;
51 padding: 0 10px 0 10px;
52
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 }
78 }
79
80 &.activated {
81 @include orange-button;
82
83 .icon-like {
84 background-image: url('../../../assets/images/video/like-white.svg');
85 }
86
87 .icon-dislike {
88 background-image: url('../../../assets/images/video/dislike-white.svg');
89 }
90 }
91 }
92
93 .action-more {
94 display: inline-block;
95
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 }
118 }
119 }
120 }
121 }
122
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 }
143 }
144
145 .video-info-channel {
146 font-weight: $font-semibold;
147 font-size: 15px;
148 }
149
150 .video-info-by {
151 display: flex;
152 align-items: center;
153 font-size: 13px;
154
155 img {
156 width: 16px;
157 height: 16px;
158 margin-left: 3px;
159 }
160 }
161
162 .video-info-description {
163 margin: 20px 0;
164 font-size: 15px;
165
166 .description-loading {
167 display: inline-block;
168 }
169
170 .video-info-description-more {
171 cursor: pointer;
172 font-weight: $font-semibold;
173 color: #585858;
174 font-size: 14px;
175
176 .glyphicon {
177 position: relative;
178 top: 2px;
179 }
180 }
181 }
182
183 .video-attributes {
184 .video-attribute {
185 font-size: 13px;
186 display: block;
187 margin-bottom: 12px;
188
189 .video-attribute-label {
190 width: 86px;
191 display: inline-block;
192 color: #585858;
193 font-weight: $font-bold;
194 }
195 }
196 }
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;
208
209 .video-miniature-information {
210 margin-left: 10px;
211 }
212 }
213 }
214}
215