PluginProbe ʕ •ᴥ•ʔ
Download Manager / 3.3.62
Download Manager v3.3.62
3.3.64 3.3.63 3.3.62 3.3.61 3.3.60 3.3.59 3.3.58 3.3.57 3.3.56 trunk 2.1.3 2.3.0 2.5.96 2.5.97 2.6.2 2.6.96 2.8.3 2.9.99 3.0.4 3.1.05 3.1.07 3.1.08 3.1.11 3.1.12 3.1.14 3.1.17 3.1.18 3.1.22 3.1.23 3.1.24 3.1.25 3.1.26 3.1.27 3.1.28 3.2.04 3.2.13 3.2.14 3.2.16 3.2.18 3.2.19 3.2.21 3.2.22 3.2.23 3.2.24 3.2.25 3.2.27 3.2.28 3.2.29 3.2.30 3.2.31 3.2.32 3.2.33 3.2.34 3.2.35 3.2.37 3.2.38 3.2.39 3.2.40 3.2.41 3.2.42 3.2.43 3.2.44 3.2.45 3.2.46 3.2.47 3.2.48 3.2.49 3.2.50 3.2.51 3.2.52 3.2.53 3.2.54 3.2.55 3.2.56 3.2.57 3.2.58 3.2.59 3.2.60 3.2.61 3.2.63 3.2.64 3.2.65 3.2.66 3.2.67 3.2.68 3.2.69 3.2.70 3.2.71 3.2.72 3.2.73 3.2.74 3.2.75 3.2.76 3.2.77 3.2.78 3.2.79 3.2.80 3.2.81 3.2.82 3.2.83 3.2.84 3.2.85 3.2.86 3.2.87 3.2.88 3.2.89 3.2.90 3.2.91 3.2.92 3.2.93 3.2.94 3.2.95 3.2.96 3.2.97 3.2.98 3.2.99 3.3.00 3.3.01 3.3.02 3.3.03 3.3.04 3.3.05 3.3.06 3.3.07 3.3.08 3.3.09 3.3.10 3.3.11 3.3.12 3.3.13 3.3.14 3.3.15 3.3.16 3.3.17 3.3.18 3.3.19 3.3.20 3.3.21 3.3.22 3.3.23 3.3.24 3.3.25 3.3.26 3.3.27 3.3.28 3.3.29 3.3.30 3.3.31 3.3.32 3.3.33 3.3.34 3.3.35 3.3.36 3.3.37 3.3.38 3.3.39 3.3.40 3.3.41 3.3.42 3.3.43 3.3.44 3.3.45 3.3.46 3.3.47 3.3.48 3.3.49 3.3.50 3.3.51 3.3.52 3.3.53 3.3.54 3.3.55
download-manager / src / Package / views / link-templates / link-template-spotlight.php
download-manager / src / Package / views / link-templates Last commit date
link-template-audio.php 5 years ago link-template-bsthumnail.php 5 years ago link-template-button-popup.php 5 years ago link-template-button.php 5 years ago link-template-calltoaction3.php 5 years ago link-template-category-link.php 5 years ago link-template-default-ext.php 5 years ago link-template-default-icon.php 7 months ago link-template-default-nl.php 3 years ago link-template-default-old.php 5 years ago link-template-default-wdc.php 4 years ago link-template-default.php 5 years ago link-template-glass.php 5 months ago link-template-panel.php 5 years ago link-template-spotlight.php 5 months ago link-template-tabcard.php 5 years ago link-template-widget.php 5 years ago
link-template-spotlight.php
442 lines
1 <!-- WPDM Link Template: Spotlight Hero -->
2
3 <div class="wpdm-spotlight">
4 <div class="wpdm-spotlight__image">
5 [thumb_600x340]
6 <div class="wpdm-spotlight__overlay">
7 <a href="[page_url]" class="wpdm-spotlight__preview-btn">
8 <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"/><path d="m21 21-4.3-4.3"/><path d="M11 8v6"/><path d="M8 11h6"/></svg>
9 <span>[txt=Preview]</span>
10 </a>
11 </div>
12 <div class="wpdm-spotlight__stats">
13 <div class="wpdm-spotlight__stat">
14 <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/><polyline points="7 10 12 15 17 10"/><line x1="12" y1="15" x2="12" y2="3"/></svg>
15 [download_count]
16 </div>
17 <div class="wpdm-spotlight__stat">
18 <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z"/><circle cx="12" cy="12" r="3"/></svg>
19 [view_count]
20 </div>
21 </div>
22 </div>
23
24 <div class="wpdm-spotlight__content">
25 <div class="wpdm-spotlight__top">
26 <div class="wpdm-spotlight__icon">
27 [icon]
28 </div>
29 <div class="wpdm-spotlight__tags [hide_empty:categories]">
30 [categories]
31 </div>
32 </div>
33
34 <h3 class="wpdm-spotlight__title">[page_link]</h3>
35
36 <div class="wpdm-spotlight__info">
37 <div class="wpdm-spotlight__info-row">
38 <div class="wpdm-spotlight__info-item">
39 <span class="wpdm-spotlight__info-label">[txt=Size]</span>
40 <span class="wpdm-spotlight__info-value">[file_size]</span>
41 </div>
42 <div class="wpdm-spotlight__info-item [hide_empty:version]">
43 <span class="wpdm-spotlight__info-label">[txt=Version]</span>
44 <span class="wpdm-spotlight__info-value">[version]</span>
45 </div>
46 <div class="wpdm-spotlight__info-item [hide_empty:update_date]">
47 <span class="wpdm-spotlight__info-label">[txt=Updated]</span>
48 <span class="wpdm-spotlight__info-value">[update_date]</span>
49 </div>
50 </div>
51 </div>
52
53 <div class="wpdm-spotlight__author [hide_empty:author_name]">
54 <img src="[avatar_url]" alt="[author_name]" class="wpdm-spotlight__avatar">
55 <div class="wpdm-spotlight__author-info">
56 <span class="wpdm-spotlight__author-label">[txt=Created by]</span>
57 <a href="[author_profile_url]" class="wpdm-spotlight__author-name">[author_name]</a>
58 </div>
59 </div>
60
61 <div class="wpdm-spotlight__actions">
62
63 <div class="wpdm-spotlight__download">
64 [download_link]
65 </div>
66 </div>
67 </div>
68 </div>
69
70 <style>
71 .w3eden .wpdm-spotlight {
72 display: flex;
73 flex-direction: column;
74 background: #ffffff;
75 border-radius: 16px;
76 overflow: hidden;
77 box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
78 margin-bottom: 24px;
79 transition: all 0.3s ease;
80 }
81
82 .w3eden .wpdm-spotlight:hover {
83 box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
84 transform: translateY(-4px);
85 }
86
87 .w3eden .wpdm-spotlight__image {
88 position: relative;
89 aspect-ratio: 16/9;
90 overflow: hidden;
91 background: linear-gradient(135deg, rgba(var(--color-secondary-rgb),0.1) 0%, rgba(var(--color-secondary-rgb),0.2) 100%);
92 }
93
94 .w3eden .wpdm-spotlight__image img {
95 width: 100%;
96 height: 100%;
97 object-fit: cover;
98 transition: transform 0.5s ease;
99 }
100
101 .w3eden .wpdm-spotlight:hover .wpdm-spotlight__image img {
102 transform: scale(1.05);
103 }
104
105 .w3eden .wpdm-spotlight__overlay {
106 position: absolute;
107 inset: 0;
108 background: rgba(0,0,0,0.4);
109 display: flex;
110 align-items: center;
111 justify-content: center;
112 opacity: 0;
113 transition: opacity 0.3s ease;
114 }
115
116 .w3eden .wpdm-spotlight:hover .wpdm-spotlight__overlay {
117 opacity: 1;
118 }
119
120 .w3eden .wpdm-spotlight__preview-btn {
121 display: flex;
122 align-items: center;
123 gap: 8px;
124 padding: 12px 24px;
125 background: rgba(255,255,255,0.95);
126 color: #1e293b;
127 border-radius: 30px;
128 font-weight: 600;
129 font-size: 14px;
130 text-decoration: none;
131 transition: all 0.2s ease;
132 }
133
134 .w3eden .wpdm-spotlight__preview-btn:hover {
135 background: #ffffff;
136 transform: scale(1.05);
137 }
138
139 .w3eden .wpdm-spotlight__stats {
140 position: absolute;
141 bottom: 12px;
142 right: 12px;
143 display: flex;
144 gap: 8px;
145 }
146
147 .w3eden .wpdm-spotlight__stat {
148 display: flex;
149 align-items: center;
150 gap: 4px;
151 padding: 6px 12px;
152 background: rgba(0,0,0,0.6);
153 backdrop-filter: blur(4px);
154 color: #ffffff;
155 border-radius: 20px;
156 font-size: 12px;
157 font-weight: 600;
158 }
159
160 .w3eden .wpdm-spotlight__content {
161 padding: 24px;
162 }
163
164 .w3eden .wpdm-spotlight__top {
165 display: flex;
166 align-items: center;
167 gap: 12px;
168 margin-bottom: 16px;
169 }
170
171 .w3eden .wpdm-spotlight__icon {
172 width: 44px;
173 height: 44px;
174 flex-shrink: 0;
175 }
176
177 .w3eden .wpdm-spotlight__icon img {
178 width: 100%;
179 height: 100%;
180 object-fit: contain;
181 }
182
183 .w3eden .wpdm-spotlight__tags {
184 display: flex;
185 flex-wrap: wrap;
186 gap: 6px;
187 }
188
189 .w3eden .wpdm-spotlight__tags a {
190 padding: 4px 12px;
191 background: rgba(var(--color-secondary-rgb),0.1);
192 color: var(--color-secondary);
193 font-size: 12px;
194 font-weight: 500;
195 border-radius: 16px;
196 text-decoration: none;
197 transition: all 0.2s ease;
198 }
199
200 .w3eden .wpdm-spotlight__tags a:hover {
201 background: rgba(var(--color-primary-rgb),0.15);
202 color: var(--color-primary);
203 }
204
205 .w3eden .wpdm-spotlight__title {
206 font-size: 20px;
207 font-weight: 700;
208 margin: 0 0 16px 0;
209 padding: 0;
210 border: 0;
211 line-height: 1.4;
212 }
213
214 .w3eden .wpdm-spotlight__title a {
215 color: #0f172a;
216 text-decoration: none;
217 transition: color 0.2s ease;
218 }
219
220 .w3eden .wpdm-spotlight__title a:hover {
221 color: var(--color-primary);
222 }
223
224 .w3eden .wpdm-spotlight__info {
225 margin-bottom: 20px;
226 padding: 16px;
227 background: rgba(var(--color-secondary-rgb),0.06);
228 border-radius: 12px;
229 }
230
231 .w3eden .wpdm-spotlight__info-row {
232 display: flex;
233 flex-wrap: wrap;
234 gap: 24px;
235 }
236
237 .w3eden .wpdm-spotlight__info-item {
238 display: flex;
239 flex-direction: column;
240 gap: 4px;
241 }
242
243 .w3eden .wpdm-spotlight__info-label {
244 font-size: 11px;
245 font-weight: 600;
246 text-transform: uppercase;
247 letter-spacing: 0.5px;
248 color: var(--color-muted);
249 }
250
251 .w3eden .wpdm-spotlight__info-value {
252 font-size: 14px;
253 font-weight: 600;
254 color: #1e293b;
255 }
256
257 .w3eden .wpdm-spotlight__author {
258 display: flex;
259 align-items: center;
260 gap: 12px;
261 margin-bottom: 20px;
262 padding-bottom: 20px;
263 border-bottom: 1px solid rgba(var(--color-secondary-rgb),0.2);
264 }
265
266 .w3eden .wpdm-spotlight__avatar {
267 width: 40px;
268 height: 40px;
269 border-radius: 50%;
270 object-fit: cover;
271 }
272
273 .w3eden .wpdm-spotlight__author-info {
274 display: flex;
275 flex-direction: column;
276 gap: 2px;
277 }
278
279 .w3eden .wpdm-spotlight__author-label {
280 font-size: 12px;
281 color: var(--color-muted);
282 }
283
284 .w3eden .wpdm-spotlight__author-name {
285 font-size: 14px;
286 font-weight: 600;
287 color: #1e293b;
288 text-decoration: none;
289 }
290
291 .w3eden .wpdm-spotlight__author-name:hover {
292 color: var(--color-primary);
293 }
294
295 .w3eden .wpdm-spotlight__actions {
296 display: flex;
297 align-items: center;
298 gap: 12px;
299 }
300
301 .w3eden .wpdm-spotlight__fav {
302 flex-shrink: 0;
303 }
304
305 .w3eden .wpdm-spotlight__fav .btn {
306 width: 48px;
307 height: 48px;
308 padding: 0;
309 display: flex;
310 align-items: center;
311 justify-content: center;
312 border-radius: 12px;
313 background: rgba(var(--color-secondary-rgb),0.1);
314 border: 1px solid rgba(var(--color-secondary-rgb),0.2);
315 color: var(--color-secondary);
316 transition: all 0.2s ease;
317 }
318
319 .w3eden .wpdm-spotlight__fav .btn:hover {
320 background: rgba(var(--color-danger-rgb),0.1);
321 border-color: rgba(var(--color-danger-rgb),0.2);
322 color: var(--color-danger);
323 }
324
325 .w3eden .wpdm-spotlight__download {
326 flex: 1;
327 }
328
329 .w3eden .wpdm-spotlight__download .btn {
330 width: 100%;
331 padding: 14px 24px;
332 border-radius: 12px;
333 font-weight: 600;
334 font-size: 15px;
335 background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-active) 100%);
336 border: none;
337 box-shadow: 0 4px 14px rgba(var(--color-primary-rgb),0.3);
338 transition: all 0.3s ease;
339 }
340
341 .w3eden .wpdm-spotlight__download .btn:hover {
342 box-shadow: 0 6px 20px rgba(var(--color-primary-rgb),0.4);
343 transform: translateY(-2px);
344 }
345
346 /* Responsive */
347 @media (min-width: 640px) {
348 .w3eden .wpdm-spotlight {
349 flex-direction: row;
350 }
351
352 .w3eden .wpdm-spotlight__image {
353 width: 45%;
354 flex-shrink: 0;
355 aspect-ratio: auto;
356 }
357
358 .w3eden .wpdm-spotlight__content {
359 flex: 1;
360 display: flex;
361 flex-direction: column;
362 }
363
364 .w3eden .wpdm-spotlight__actions {
365 margin-top: auto;
366 }
367 }
368
369 /* Dark mode support */
370 @media (prefers-color-scheme: dark) {
371 .w3eden:not(.light-mode) .wpdm-spotlight {
372 background: #1e293b;
373 }
374
375 .w3eden:not(.light-mode) .wpdm-spotlight__title a {
376 color: #f1f5f9;
377 }
378
379 .w3eden:not(.light-mode) .wpdm-spotlight__info {
380 background: rgba(0,0,0,0.2);
381 }
382
383 .w3eden:not(.light-mode) .wpdm-spotlight__info-value {
384 color: #e2e8f0;
385 }
386
387 .w3eden:not(.light-mode) .wpdm-spotlight__tags a {
388 background: rgba(255,255,255,0.1);
389 color: #cbd5e1;
390 }
391
392 .w3eden:not(.light-mode) .wpdm-spotlight__author {
393 border-color: rgba(255,255,255,0.1);
394 }
395
396 .w3eden:not(.light-mode) .wpdm-spotlight__author-name {
397 color: #f1f5f9;
398 }
399
400 .w3eden:not(.light-mode) .wpdm-spotlight__fav .btn {
401 background: rgba(255,255,255,0.1);
402 border-color: rgba(255,255,255,0.15);
403 color: #cbd5e1;
404 }
405 }
406
407 .w3eden.dark-mode .wpdm-spotlight {
408 background: #1e293b;
409 }
410
411 .w3eden.dark-mode .wpdm-spotlight__title a {
412 color: #f1f5f9;
413 }
414
415 .w3eden.dark-mode .wpdm-spotlight__info {
416 background: rgba(0,0,0,0.2);
417 }
418
419 .w3eden.dark-mode .wpdm-spotlight__info-value {
420 color: #e2e8f0;
421 }
422
423 .w3eden.dark-mode .wpdm-spotlight__tags a {
424 background: rgba(255,255,255,0.1);
425 color: #cbd5e1;
426 }
427
428 .w3eden.dark-mode .wpdm-spotlight__author {
429 border-color: rgba(255,255,255,0.1);
430 }
431
432 .w3eden.dark-mode .wpdm-spotlight__author-name {
433 color: #f1f5f9;
434 }
435
436 .w3eden.dark-mode .wpdm-spotlight__fav .btn {
437 background: rgba(255,255,255,0.1);
438 border-color: rgba(255,255,255,0.15);
439 color: #cbd5e1;
440 }
441 </style>
442