]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/videos/video-watch/video-watch.component.scss
Client Better design for video watch
[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;
40 padding: 0 30px;
d1992b93 41
09223546
C
42 .video-views {
43 text-align: right;
d1992b93 44 }
09223546 45 }
d1992b93 46
09223546
C
47 .video-small-blocks {
48 height: 150px;
49 color: $video-watch-info-color;
50 border-color: $video-watch-border-color;
51 border-width: 1px 0px;
52 border-style: solid;
53
54 .video-small-block {
55 height: $video-watch-info-height;
56 display: flex;
57 flex-direction: column;
58 justify-content: center;
59 text-align: center;
60
61 a {
62 cursor: pointer;
63 transition: color 0.3s;
64
65 &, &:hover {
66 color: inherit;
67 text-decoration:none;
68 }
d38b8281 69
09223546
C
70 &:hover {
71 color: #000 !important;
72 }
d38b8281
C
73 }
74
09223546
C
75 .option .glyphicon {
76 font-size: 22px;
77 color: inherit;
78 opacity: 0.9;
79 margin-bottom: 10px;
d38b8281
C
80 }
81
09223546
C
82 .video-small-block-text {
83 font-size: 15px;
84 font-weight: bold;
d38b8281
C
85 }
86 }
87
09223546
C
88 .video-small-block:not(:last-child) {
89 border-width: 0 1px 0 0;
90 border-color: $video-watch-border-color;
91 border-style: solid;
d1992b93 92 }
4f8c0eb0 93
09223546
C
94 .video-small-block-author {
95 font-size: 15px;
96 font-weight: bold;
4f8c0eb0 97 }
d1992b93 98
09223546
C
99 .video-small-block-share, .video-small-block-more {
100 a.option {
101 display: block;
d1992b93 102
09223546
C
103 .glyphicon {
104 display: block;
105 }
106 }
d1992b93
C
107 }
108
09223546
C
109 .video-small-block-more .video-small-block-dropdown {
110 position: relative;
111
112 .dropdown-item .glyphicon {
113 margin-right: 5px;
114 }
d1992b93 115 }
d1992b93 116
09223546 117 .video-small-block-rating {
d1992b93 118
09223546
C
119 .video-small-block-like {
120 margin-bottom: 10px;
121 }
05a9feaa 122
09223546
C
123 .video-small-block-text {
124 vertical-align: top;
125 }
d1992b93 126
09223546
C
127 .glyphicon {
128 font-size: 18px;
129 margin: 0 10px 0 0;
130 }
6e07c3de 131
09223546
C
132 .interactive {
133 cursor: pointer;
134 transition: color 0.3s;
135
136 &.activated, &:hover {
137 color: #000;
138 }
139 }
6e07c3de
C
140 }
141 }
142
09223546
C
143 .video-details {
144 margin-top: 30px;
d07137b9 145
09223546
C
146 .video-details-date-description {
147 padding-left: 30px;
d1992b93 148
09223546
C
149 .video-details-date {
150 font-weight: bold;
151 margin-bottom: 30px;
152 }
153 }
154
155 .video-details-attributes {
d1992b93 156 font-weight: bold;
09223546
C
157 font-size: 12px;
158
159 .video-details-attribute-label {
160 color: $video-watch-info-color;
161 display: inline-block;
162 width: 60px;
163 margin-right: 5px;
164 }
d1992b93
C
165 }
166 }
167}