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