]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/videos/video-list/video-miniature.component.scss
Change video spinner
[github/Chocobozzz/PeerTube.git] / client / src / app / videos / video-list / video-miniature.component.scss
CommitLineData
501bc6c2 1.video-miniature {
00a44645 2 margin-top: 30px;
501bc6c2 3 display: inline-block;
501bc6c2 4 position: relative;
e54163c2 5 height: 190px;
383bfc83 6 width: 220px;
0d7d2ad9 7 vertical-align: top;
501bc6c2
C
8
9 .video-miniature-thumbnail {
af14488f 10 display: inline-block;
501bc6c2 11 position: relative;
d6e32a2e
C
12 border-radius: 3px;
13 overflow: hidden;
501bc6c2 14
92fb909c
C
15 &:hover {
16 text-decoration: none !important;
17 }
18
d6e32a2e
C
19 img.blur-filter {
20 filter: blur(5px);
21 transform : scale(1.03);
383bfc83
C
22 }
23
24 .video-miniature-thumbnail-overlay {
501bc6c2 25 position: absolute;
383bfc83
C
26 right: 0px;
27 bottom: 0px;
501bc6c2 28 display: inline-block;
383bfc83
C
29 background-color: rgba(0, 0, 0, 0.7);
30 color: #fff;
31 padding: 3px 5px;
501bc6c2 32 font-size: 11px;
383bfc83
C
33 font-weight: bold;
34 width: 100%;
35
36 .video-miniature-thumbnail-overlay-views {
37
38 }
39
40 .video-miniature-thumbnail-overlay-duration {
41 float: right;
42 }
501bc6c2
C
43 }
44 }
45
d6e32a2e 46 .video-miniature-information {
00a44645 47 width: 200px;
501bc6c2 48
383bfc83
C
49 .video-miniature-name {
50 height: 23px;
501bc6c2 51 display: block;
383bfc83
C
52 overflow: hidden;
53 text-overflow: ellipsis;
54 white-space: nowrap;
55 font-weight: bold;
56 transition: color 0.2s;
57 font-size: 15px;
501bc6c2 58
383bfc83
C
59 &:hover {
60 text-decoration: none;
00a44645
C
61 }
62
d6e32a2e
C
63 &.blur-filter {
64 filter: blur(3px);
65 padding-left: 4px;
66 }
67
0629423c 68 .video-miniature-tags {
1f0215a9 69 // Fix for chrome when tags are long
0629423c 70 width: 201px;
00a44645 71
0629423c
C
72 .video-miniature-tag {
73 font-size: 13px;
74 cursor: pointer;
75 position: relative;
76 top: -2px;
77
78 .label {
0629423c
C
79 transition: background-color 0.2s;
80 }
00a44645 81 }
501bc6c2
C
82 }
83 }
84
897ec54d 85 .video-miniature-author, .video-miniature-created-at {
501bc6c2
C
86 display: block;
87 margin-left: 1px;
383bfc83
C
88 font-size: 11px;
89 color: $video-miniature-other-infos;
0629423c 90 opacity: 0.9;
00a44645
C
91 }
92
93 .video-miniature-author {
0629423c 94 transition: color 0.2s;
00a44645
C
95
96 &:hover {
0629423c 97 color: #23527c;
00a44645 98 text-decoration: none;
00a44645 99 }
501bc6c2
C
100 }
101 }
102}