]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame_incremental - 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
1#video-container {
2 width: 100%;
3 height: 100%;
4}
5
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
14.embed-responsive {
15 height: 500px;
16
17 @media screen and (max-width: 600px) {
18 height: 300px;
19 }
20}
21
22#torrent-info {
23 font-size: 10px;
24 margin-top: 10px;
25 text-align: center;
26
27 div {
28 min-width: 60px;
29 }
30}
31
32#video-info {
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;
38
39 .video-name {
40 padding-left: $video-watch-info-padding-left;
41 }
42
43 .video-views {
44 text-align: right;
45 // Keep a symmetry with the video name
46 padding-right: $video-watch-info-padding-left
47 }
48
49 }
50
51 .video-small-blocks {
52 height: $video-watch-info-height;
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;
68 white-space: nowrap;
69 overflow: hidden;
70 text-overflow: ellipsis;
71
72 &, &:hover {
73 color: inherit;
74 text-decoration:none;
75 }
76
77 &:hover {
78 color: #000 !important;
79 }
80 }
81
82 .option .glyphicon {
83 font-size: 22px;
84 color: inherit;
85 opacity: 0.6;
86 margin-bottom: 10px;
87 }
88
89 .video-small-block-text {
90 font-size: 15px;
91 font-weight: bold;
92 }
93 }
94
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;
99 }
100
101 .video-small-block-author {
102 font-size: 15px;
103 font-weight: bold;
104 text-align: left;
105 padding-left: $video-watch-info-padding-left;
106 }
107
108 .video-small-block-share, .video-small-block-more {
109 a.option {
110 display: block;
111
112 .glyphicon {
113 display: block;
114 }
115 }
116 }
117
118 .video-small-block-more .video-small-block-dropdown {
119 position: relative;
120
121 .dropdown-item .glyphicon {
122 margin-right: 5px;
123 }
124 }
125
126 .video-small-block-rating {
127
128 .video-small-block-like {
129 margin-bottom: 10px;
130 }
131
132 .video-small-block-text {
133 vertical-align: top;
134 }
135
136 .glyphicon {
137 font-size: 18px;
138 margin: 0 10px 0 0;
139 }
140
141 .interactive {
142 cursor: pointer;
143 transition: color 0.3s;
144
145 &.activated, &:hover {
146 color: #000;
147 }
148 }
149 }
150 }
151
152 .video-details {
153 margin-top: 30px;
154
155 .video-details-date-description {
156 padding-left: $video-watch-info-padding-left;
157
158 .video-details-date {
159 font-weight: bold;
160 margin-bottom: 30px;
161 }
162 }
163
164 .video-details-attributes {
165 font-weight: bold;
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 }
174 }
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 }
185 }
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 }
235}