blob: f88ced8190d391b3943728026fce1ab54f214e05 (
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
|
@import "../../../sass/pre-customizations.scss";
.video-miniature {
@media screen and (max-width: 400px) {
padding: 0;
}
margin-top: 30px;
display: inline-block;
position: relative;
min-width: 220px;
height: 190px;
.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;
}
.video-miniature-duration {
position: absolute;
right: 5px;
bottom: 2px;
display: inline-block;
background-color: rgba(0, 0, 0, 0.8);
color: rgba(255, 255, 255, 0.8);
padding: 2px;
font-size: 11px;
}
}
.video-miniature-informations {
width: 200px;
.video-miniature-name-tags {
display: block;
.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-views-created-at {
display: block;
margin-left: 1px;
font-size: 12px;
color: #337ab7;
opacity: 0.9;
.video-miniature-created-at::before {
content: '\002022';
margin: 0 2px 0 1px;
}
}
.video-miniature-author {
transition: color 0.2s;
&:hover {
color: #23527c;
text-decoration: none;
}
}
}
}
|