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