]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/videos/video-watch/video-watch.component.scss
Client: display video tags
[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;
cb11e775 16}
da932efc 17
9ced64e0
C
18#torrent-info {
19 font-size: 10px;
a64668c0
C
20 margin-top: 10px;
21 text-align: center;
9ced64e0
C
22
23 div {
a64668c0
C
24 min-width: 60px;
25 }
26}
27
28.embed-responsive {
29 @media screen and (max-width: 600px) {
30 height: 300px;
9ced64e0
C
31 }
32}
d1992b93
C
33
34#video-info {
09223546
C
35 .video-name-views {
36 font-weight: bold;
37 font-size: 18px;
38 height: $video-watch-title-height;
39 line-height: $video-watch-title-height;
897ec54d
C
40
41 .video-name {
42 padding-left: $video-watch-info-padding-left;
43 }
d1992b93 44
09223546
C
45 .video-views {
46 text-align: right;
897ec54d
C
47 // Keep a symmetry with the video name
48 padding-right: $video-watch-info-padding-left
d1992b93 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;
69
70 &, &:hover {
71 color: inherit;
72 text-decoration:none;
73 }
d38b8281 74
09223546
C
75 &:hover {
76 color: #000 !important;
77 }
d38b8281
C
78 }
79
09223546
C
80 .option .glyphicon {
81 font-size: 22px;
82 color: inherit;
8ce9e815 83 opacity: 0.6;
09223546 84 margin-bottom: 10px;
d38b8281
C
85 }
86
09223546
C
87 .video-small-block-text {
88 font-size: 15px;
89 font-weight: bold;
d38b8281
C
90 }
91 }
92
09223546
C
93 .video-small-block:not(:last-child) {
94 border-width: 0 1px 0 0;
95 border-color: $video-watch-border-color;
96 border-style: solid;
d1992b93 97 }
4f8c0eb0 98
09223546
C
99 .video-small-block-author {
100 font-size: 15px;
101 font-weight: bold;
897ec54d
C
102 text-align: left;
103 padding-left: $video-watch-info-padding-left;
4f8c0eb0 104 }
d1992b93 105
09223546
C
106 .video-small-block-share, .video-small-block-more {
107 a.option {
108 display: block;
d1992b93 109
09223546
C
110 .glyphicon {
111 display: block;
112 }
113 }
d1992b93
C
114 }
115
09223546
C
116 .video-small-block-more .video-small-block-dropdown {
117 position: relative;
118
119 .dropdown-item .glyphicon {
120 margin-right: 5px;
121 }
d1992b93 122 }
d1992b93 123
09223546 124 .video-small-block-rating {
d1992b93 125
09223546
C
126 .video-small-block-like {
127 margin-bottom: 10px;
128 }
05a9feaa 129
09223546
C
130 .video-small-block-text {
131 vertical-align: top;
132 }
d1992b93 133
09223546
C
134 .glyphicon {
135 font-size: 18px;
136 margin: 0 10px 0 0;
137 }
6e07c3de 138
09223546
C
139 .interactive {
140 cursor: pointer;
141 transition: color 0.3s;
142
143 &.activated, &:hover {
144 color: #000;
145 }
146 }
6e07c3de
C
147 }
148 }
149
09223546
C
150 .video-details {
151 margin-top: 30px;
d07137b9 152
09223546 153 .video-details-date-description {
897ec54d 154 padding-left: $video-watch-info-padding-left;
d1992b93 155
09223546
C
156 .video-details-date {
157 font-weight: bold;
158 margin-bottom: 30px;
159 }
160 }
161
162 .video-details-attributes {
d1992b93 163 font-weight: bold;
09223546
C
164 font-size: 12px;
165
166 .video-details-attribute-label {
167 color: $video-watch-info-color;
168 display: inline-block;
169 width: 60px;
170 margin-right: 5px;
171 }
d1992b93 172 }
8ce9e815
C
173
174 .video-details-tags {
175 display: inline-block;
176
177 a {
178 display: inline-block;
179 margin-right: 3px;
180 font-size: 11px;
181 }
182 }
d1992b93
C
183 }
184}