blob: f7fecdc3593d871bc5b07d55a50af14e66fd4c61 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
|
@import "../../../sass/pre-customizations.scss";
.video-miniature {
margin-top: 30px;
display: inline-block;
position: relative;
height: 190px;
width: 220px;
vertical-align: top;
.video-miniature-thumbnail {
display: inline-block;
position: relative;
&:hover {
text-decoration: none !important;
}
.thumbnail-nsfw {
background-color: #000;
color: #fff;
text-align: center;
font-size: 30px;
line-height: 110px;
width: 200px;
height: 110px;
}
img, .thumbnail-nsfw {
border-radius: 3px;
}
.video-miniature-thumbnail-overlay {
position: absolute;
right: 0px;
bottom: 0px;
display: inline-block;
background-color: rgba(0, 0, 0, 0.7);
color: #fff;
padding: 3px 5px;
font-size: 11px;
font-weight: bold;
width: 100%;
.video-miniature-thumbnail-overlay-views {
}
.video-miniature-thumbnail-overlay-duration {
float: right;
}
}
}
.video-miniature-informations {
width: 200px;
.video-miniature-name {
height: 23px;
display: block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-weight: bold;
transition: color 0.2s;
font-size: 15px;
&:hover {
text-decoration: none;
}
.video-miniature-tags {
// Fix for chrome when tags a long
width: 201px;
.video-miniature-tag {
font-size: 13px;
cursor: pointer;
position: relative;
top: -2px;
.label {
line-height: $line-height-base;
transition: background-color 0.2s;
}
}
}
}
.video-miniature-author, .video-miniature-created-at {
display: block;
margin-left: 1px;
font-size: 11px;
color: $video-miniature-other-infos;
opacity: 0.9;
}
.video-miniature-author {
transition: color 0.2s;
&:hover {
color: #23527c;
text-decoration: none;
}
}
}
}
|