]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/videos/+video-watch/video-watch.component.scss
Add other video description tests
[github/Chocobozzz/PeerTube.git] / client / src / app / videos / +video-watch / video-watch.component.scss
CommitLineData
e31f6ad6 1#video-container {
e56b20f5 2 width: 100%;
e31f6ad6 3 height: 100%;
e56b20f5
C
4}
5
9c89a45c
C
6#video-not-found {
7 height: 300px;
8 line-height: 300px;
9 margin-top: 50px;
10 text-align: center;
11 font-weight: bold;
12}
13
cb11e775 14.embed-responsive {
9ced64e0 15 height: 500px;
1f0215a9
C
16
17 @media screen and (max-width: 600px) {
18 height: 300px;
19 }
cb11e775 20}
da932efc 21
9ced64e0
C
22#torrent-info {
23 font-size: 10px;
a64668c0
C
24 margin-top: 10px;
25 text-align: center;
9ced64e0
C
26
27 div {
a64668c0
C
28 min-width: 60px;
29 }
30}
31
d1992b93 32#video-info {
09223546
C
33 .video-name-views {
34 font-weight: bold;
35 font-size: 18px;
e02573ad
C
36 min-height: $video-watch-title-height;
37 display: flex;
38 align-items: center;
897ec54d
C
39
40 .video-name {
41 padding-left: $video-watch-info-padding-left;
42 }
d1992b93 43
09223546
C
44 .video-views {
45 text-align: right;
897ec54d
C
46 // Keep a symmetry with the video name
47 padding-right: $video-watch-info-padding-left
d1992b93 48 }
3eeeb87f 49
09223546 50 }
d1992b93 51
09223546 52 .video-small-blocks {
ea9f487b 53 height: $video-watch-info-height;
09223546
C
54 color: $video-watch-info-color;
55 border-color: $video-watch-border-color;
56 border-width: 1px 0px;
57 border-style: solid;
58
59 .video-small-block {
60 height: $video-watch-info-height;
61 display: flex;
62 flex-direction: column;
63 justify-content: center;
64 text-align: center;
65
66 a {
67 cursor: pointer;
68 transition: color 0.3s;
3eeeb87f
C
69 white-space: nowrap;
70 overflow: hidden;
71 text-overflow: ellipsis;
09223546
C
72
73 &, &:hover {
74 color: inherit;
75 text-decoration:none;
76 }
d38b8281 77
09223546
C
78 &:hover {
79 color: #000 !important;
80 }
4e1b0973
C
81
82 &:hover > .glyphicon {
83 opacity: 1 !important;
84 }
d38b8281
C
85 }
86
09223546
C
87 .option .glyphicon {
88 font-size: 22px;
89 color: inherit;
4e1b0973 90 opacity: 0.15;
09223546 91 margin-bottom: 10px;
4e1b0973 92 transition: opacity 0.3s;
d38b8281
C
93 }
94
09223546
C
95 .video-small-block-text {
96 font-size: 15px;
97 font-weight: bold;
d38b8281
C
98 }
99 }
100
09223546
C
101 .video-small-block:not(:last-child) {
102 border-width: 0 1px 0 0;
103 border-color: $video-watch-border-color;
104 border-style: solid;
d1992b93 105 }
4f8c0eb0 106
4e1b0973
C
107 .video-small-block-author, .video-small-block-more {
108 a.option {
109 display: block;
110
111 .glyphicon {
112 display: block;
113 }
114 }
4f8c0eb0 115 }
d1992b93 116
09223546
C
117 .video-small-block-share, .video-small-block-more {
118 a.option {
119 display: block;
d1992b93 120
09223546
C
121 .glyphicon {
122 display: block;
123 }
124 }
d1992b93
C
125 }
126
09223546
C
127 .video-small-block-more .video-small-block-dropdown {
128 position: relative;
129
130 .dropdown-item .glyphicon {
131 margin-right: 5px;
132 }
d1992b93 133 }
d1992b93 134
09223546 135 .video-small-block-rating {
d1992b93 136
09223546
C
137 .video-small-block-like {
138 margin-bottom: 10px;
139 }
05a9feaa 140
09223546
C
141 .video-small-block-text {
142 vertical-align: top;
143 }
d1992b93 144
09223546
C
145 .glyphicon {
146 font-size: 18px;
147 margin: 0 10px 0 0;
4e1b0973 148 opacity: 0.3;
09223546 149 }
6e07c3de 150
09223546
C
151 .interactive {
152 cursor: pointer;
4e1b0973 153 transition: opacity, color 0.3s;
09223546
C
154
155 &.activated, &:hover {
4e1b0973 156 opacity: 1;
09223546
C
157 color: #000;
158 }
159 }
6e07c3de
C
160 }
161 }
162
09223546
C
163 .video-details {
164 margin-top: 30px;
d07137b9 165
09223546 166 .video-details-date-description {
897ec54d 167 padding-left: $video-watch-info-padding-left;
d1992b93 168
09223546
C
169 .video-details-date {
170 font-weight: bold;
171 margin-bottom: 30px;
172 }
173 }
174
175 .video-details-attributes {
d1992b93 176 font-weight: bold;
09223546
C
177 font-size: 12px;
178
e02573ad
C
179 .video-details-attribute {
180 display: flex;
181
182 .video-details-attribute-label {
183 color: $video-watch-info-color;
184 flex-basis: 60px;
185 flex-grow: 0;
186 flex-shrink: 0;
187 margin-right: 5px;
188 }
09223546 189 }
d1992b93 190 }
8ce9e815
C
191
192 .video-details-tags {
e02573ad
C
193 display: flex;
194 flex-wrap: wrap;
8ce9e815
C
195
196 a {
e02573ad 197 margin: 0 3px 3px 0;
8ce9e815
C
198 font-size: 11px;
199 }
200 }
d1992b93 201 }
3eeeb87f
C
202
203 @media screen and (max-width: 400px) {
204 .video-name-views {
205 font-size: 16px !important;
206 }
207 }
208
209 @media screen and (max-width: 800px) {
210 .video-name-views {
211 .video-name {
212 padding-left: 5px;
213 padding-right: 0px;
214 }
215
216 .video-views {
217 padding-left: 0px;
218 padding-right: 5px;
219 }
220 }
221
222 .video-small-blocks {
223 a, .video-small-block-text {
224 font-size: 13px !important;
225 }
226
227 .glyphicon {
228 font-size: 18px !important;
229 }
230
231 .video-small-block-author {
232 padding-left: 10px;
233 }
234 }
235
236 .video-details {
237 .video-details-date-description {
238 padding-left: 10px;
239 font-size: 13px !important;
240 }
241
242 .video-details-attributes {
243 font-size: 11px !important;
244
245 .video-details-attribute-label {
246 width: 50px;
247 }
248 }
249 }
250 }
d1992b93 251}