PluginProbe
WebberZone Top 10 — Popular Posts / 4.3.1
WebberZone Top 10 — Popular Posts v4.3.1
4.5.1 4.5.0 4.4.3 4.4.2 4.4.1 4.4.0 4.3.4 4.3.3 4.3.2 4.3.1 4.3.0 trunk 1.0 1.0.1 1.1 1.2 1.3 1.4 1.4.1 1.5 1.5.1 1.5.2 1.5.3 1.6 1.6.1 All 117 releases
top-10 / includes / frontend / css / left-thumbs-rtl.css

left-thumbs-rtl.css in WebberZone Top 10 — Popular Posts 4.3.1, at includes/frontend/css/left-thumbs-rtl.css

112 lines 2.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /**
2 * Top Posts Left Thumbs Styles
3 * Modern flexbox layout with clean styling.
4 */
5
6 .tptn-left-thumbs {
7 /* Custom properties for easy theming. */
8 --tptn-gap: 0.625rem;
9 --tptn-border-radius: 8px;
10 --tptn-thumb-frame-padding: 0.25rem;
11 --tptn-thumb-frame-border-width: 1px;
12 --tptn-thumb-border: #ccc;
13 --tptn-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
14 --tptn-shadow-hover: 0 4px 8px rgba(0, 0, 0, 0.2);
15 --tptn-transition: 0.2s ease;
16 }
17
18 .tptn-left-thumbs ul {
19 margin: 0 !important;
20 padding: 0 !important;
21 list-style: none;
22 }
23
24 .tptn-left-thumbs ul li {
25 display: flex;
26 flex-wrap: wrap;
27 gap: var(--tptn-gap);
28 align-items: flex-start;
29 margin-bottom: 1.25rem;
30 padding: 0 !important;
31 background: none;
32 list-style: none;
33 }
34
35 .tptn-left-thumbs li > a.tptn_link {
36 display: block;
37 flex: 0 0 auto;
38 align-self: flex-start;
39 width: min(var(--tptn-thumb-width, 9999px), 100%);
40 max-width: 100%;
41 padding: var(--tptn-thumb-frame-padding);
42 border-width: var(--tptn-thumb-frame-border-width);
43 border-style: solid;
44 border-color: var(--tptn-thumb-border);
45 border-radius: var(--tptn-border-radius);
46 box-shadow: var(--tptn-shadow);
47 transition:
48 transform var(--tptn-transition),
49 box-shadow var(--tptn-transition);
50 will-change: transform;
51 }
52
53 .tptn-left-thumbs ul li:last-child {
54 margin-bottom: 0;
55 }
56
57 .tptn-left-thumbs ul li:hover > a.tptn_link {
58 transform: scale(1.03);
59 box-shadow: var(--tptn-shadow-hover);
60 }
61
62 .tptn-left-thumbs img.tptn_thumb {
63 width: min(var(--tptn-thumb-width, 9999px), 100%);
64 height: var(--tptn-thumb-height, auto);
65 max-width: 100%;
66 max-height: var(--tptn-thumb-height, none);
67 display: block;
68 object-fit: cover;
69 aspect-ratio: var(--tptn-thumb-aspect-ratio, auto);
70 border-radius: calc(var(--tptn-border-radius) * 0.6);
71 }
72
73 .tptn-left-thumbs .tptn_after_thumb {
74 flex: 1 1 12rem;
75 min-width: 0;
76 }
77
78 .tptn-left-thumbs a.tptn_link {
79 text-decoration: none;
80 }
81
82 .tptn-left-thumbs .tptn_title {
83 display: block;
84 margin-bottom: 0.375rem;
85 font-weight: 600;
86 line-height: 1.3;
87 text-decoration: none;
88 }
89
90 .tptn-left-thumbs a.tptn_link:hover .tptn_title {
91 text-decoration: underline;
92 }
93
94 .tptn-left-thumbs .tptn_excerpt {
95 display: block;
96 font-size: 0.9em;
97 line-height: 1.4;
98 opacity: 0.85;
99 }
100
101 /* Reduced motion for accessibility. */
102 @media (prefers-reduced-motion: reduce) {
103 .tptn-left-thumbs li > a.tptn_link {
104 transition: none;
105 will-change: auto;
106 }
107
108 .tptn-left-thumbs ul li:hover > a.tptn_link {
109 transform: none;
110 }
111 }
112