PluginProbe
King Addons for Elementor – 80+ Elementor Widgets, 4 000+ Elementor Templates, WooCommerce, Mega Menu, Popup Builder / 51.1.78
King Addons for Elementor – 80+ Elementor Widgets, 4 000+ Elementor Templates, WooCommerce, Mega Menu, Popup Builder v51.1.78
51.1.83 51.1.82 51.1.81 51.1.79 51.1.78 51.1.77 51.1.76 51.1.74 51.1.75 51.1.65 51.1.64 51.1.63 trunk 51.1.14 51.1.2 51.1.35 51.1.36 51.1.37 51.1.38 51.1.39 51.1.44 51.1.45 51.1.46 51.1.47 51.1.49 All 37 releases
king-addons / includes / widgets / Woo_Products_Grid / style.css

style.css in King Addons for Elementor – 80+ Elementor Widgets, 4 000+ Elementor Templates, WooCommerce, Mega Menu, Popup Builder 51.1.78, at includes/widgets/Woo_Products_Grid/style.css

328 lines 6.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .ka-woo-products-grid {
2 display: grid;
3 gap: 16px;
4 grid-template-columns: repeat(var(--ka-grid-desktop, 4), minmax(0, 1fr));
5 }
6
7 .ka-woo-products-grid[data-layout-type="masonry"] {
8 grid-auto-rows: var(--ka-masonry-row, 8px);
9 grid-row-gap: 16px;
10 }
11
12 .ka-woo-products-grid--slider {
13 overflow: hidden;
14 position: relative;
15 }
16
17 .ka-woo-products-grid__track {
18 display: flex;
19 gap: 0;
20 transition: transform 0.3s ease;
21 }
22
23 .ka-woo-products-grid--slider .ka-woo-products-grid__slide,
24 .ka-woo-products-grid--slider .ka-woo-products-grid__item {
25 min-width: 100%;
26 }
27
28 @media (max-width: 1024px) {
29 .ka-woo-products-grid {
30 grid-template-columns: repeat(var(--ka-grid-tablet, 3), minmax(0, 1fr));
31 }
32 }
33
34 @media (max-width: 767px) {
35 .ka-woo-products-grid {
36 grid-template-columns: repeat(var(--ka-grid-mobile, 2), minmax(0, 1fr));
37 }
38 }
39
40 .ka-woo-products-grid__item {
41 border: 1px solid #eee;
42 padding: 12px;
43 display: grid;
44 gap: 8px;
45 }
46
47 .ka-woo-products-grid__item--list {
48 grid-template-columns: 180px 1fr;
49 align-items: start;
50 gap: 12px;
51 }
52
53 @media (max-width: 767px) {
54 .ka-woo-products-grid__item--list {
55 grid-template-columns: 1fr;
56 }
57 }
58
59 .ka-woo-products-grid__thumb-wrap {
60 position: relative;
61 }
62
63 .ka-woo-products-grid__thumb img {
64 width: 100%;
65 height: auto;
66 display: block;
67 }
68
69 .ka-woo-products-grid__list-thumb .ka-woo-products-grid__thumb {
70 display: block;
71 }
72
73 .ka-woo-products-grid__list-body {
74 display: grid;
75 gap: 6px;
76 }
77
78 .ka-woo-products-grid__badges {
79 position: absolute;
80 top: 8px;
81 left: 8px;
82 display: flex;
83 gap: 6px;
84 flex-wrap: wrap;
85 z-index: 2;
86 }
87
88 .ka-woo-products-grid__badge {
89 background: #111827;
90 color: #fff;
91 padding: 4px 8px;
92 font-size: 11px;
93 border-radius: 999px;
94 position: relative;
95 font-weight: 600;
96 box-shadow: 0 6px 12px rgba(17, 24, 39, 0.18);
97 }
98
99 .ka-woo-products-grid__badge--best {
100 background: linear-gradient(135deg, #2563eb, #1d4ed8);
101 }
102
103 .ka-woo-products-grid__badge--custom {
104 background: linear-gradient(135deg, #f59e0b, #d97706);
105 }
106
107 .ka-woo-products-grid__title {
108 margin: 0;
109 font-size: 16px;
110 line-height: 1.4;
111 }
112
113 .ka-woo-products-grid__title a {
114 text-decoration: none;
115 color: inherit;
116 }
117
118 .ka-woo-products-grid__price {
119 font-weight: 700;
120 }
121
122 .ka-woo-products-grid__rating {
123 display: inline-flex;
124 align-items: center;
125 gap: 4px;
126 }
127
128 .ka-woo-products-grid__excerpt {
129 font-size: 14px;
130 line-height: 1.5;
131 color: #444;
132 }
133
134 .ka-woo-products-grid__meta {
135 display: flex;
136 flex-wrap: wrap;
137 gap: 8px;
138 font-size: 12px;
139 color: #555;
140 }
141
142 .ka-woo-products-grid__meta-item {
143 display: inline-flex;
144 gap: 4px;
145 align-items: center;
146 }
147
148 .ka-woo-products-grid__pagination {
149 margin-top: 16px;
150 text-align: center;
151 }
152
153 .ka-woo-products-grid__load-more {
154 padding: 10px 16px;
155 border: 1px solid #ddd;
156 background: #f7f7f7;
157 cursor: pointer;
158 transition: all 0.2s ease;
159 min-width: 140px;
160 display: inline-flex;
161 align-items: center;
162 justify-content: center;
163 gap: 8px;
164 }
165
166 .ka-woo-products-grid__load-more:hover {
167 background: #eee;
168 }
169
170 .ka-woo-products-grid__load-more.is-loading {
171 opacity: 0.7;
172 cursor: not-allowed;
173 }
174
175 .ka-woo-products-grid__load-more--skin-outline {
176 background: transparent;
177 border: 1px solid #111;
178 color: #111;
179 }
180
181 .ka-woo-products-grid__load-more--skin-outline:hover {
182 background: #111;
183 color: #fff;
184 }
185
186 .ka-woo-products-grid__load-more--skin-ghost {
187 background: transparent;
188 border: none;
189 color: #111;
190 }
191
192 .ka-woo-products-grid__load-more--skin-ghost:hover {
193 color: #555;
194 }
195
196 .ka-woo-products-grid__spinner {
197 width: 14px;
198 height: 14px;
199 border-radius: 50%;
200 border: 2px solid rgba(0, 0, 0, 0.15);
201 border-top-color: rgba(0, 0, 0, 0.55);
202 animation: ka-woo-products-grid-spin 0.8s linear infinite;
203 display: none;
204 }
205
206 .ka-woo-products-grid__load-more.is-loading .ka-woo-products-grid__spinner {
207 display: inline-block;
208 }
209
210 .ka-woo-products-grid__slider-nav {
211 display: flex;
212 align-items: center;
213 justify-content: space-between;
214 gap: 12px;
215 margin-top: 10px;
216 }
217
218 .ka-woo-products-grid__slider-controls {
219 display: inline-flex;
220 gap: 8px;
221 }
222
223 .ka-woo-products-grid__slider-btn {
224 border: 1px solid #ddd;
225 background: #fff;
226 padding: 6px 10px;
227 cursor: pointer;
228 border-radius: 4px;
229 }
230
231 .ka-woo-products-grid__slider-btn:hover {
232 background: #f4f4f4;
233 }
234
235 .ka-woo-products-grid__slider-dots {
236 display: inline-flex;
237 gap: 6px;
238 align-items: center;
239 }
240
241 .ka-woo-products-grid__slider-dot {
242 width: 10px;
243 height: 10px;
244 border-radius: 50%;
245 border: 1px solid #999;
246 background: #fff;
247 padding: 0;
248 cursor: pointer;
249 }
250
251 .ka-woo-products-grid__slider-dot.is-active {
252 background: #111;
253 border-color: #111;
254 }
255
256 .ka-woo-products-grid__sentinel {
257 height: 36px;
258 display: flex;
259 align-items: center;
260 justify-content: center;
261 }
262
263 .ka-woo-products-grid__sentinel::after {
264 content: '';
265 width: 16px;
266 height: 16px;
267 border-radius: 50%;
268 border: 2px solid rgba(0, 0, 0, 0.12);
269 border-top-color: rgba(0, 0, 0, 0.5);
270 animation: ka-woo-products-grid-spin 0.8s linear infinite;
271 opacity: 0.6;
272 }
273
274 .ka-woo-products-grid__lightbox {
275 position: fixed;
276 inset: 0;
277 background: rgba(0, 0, 0, 0.75);
278 display: none;
279 align-items: center;
280 justify-content: center;
281 z-index: 9999;
282 padding: 20px;
283 }
284
285 .ka-woo-products-grid__lightbox.is-open {
286 display: flex;
287 }
288
289 .ka-woo-products-grid__lightbox-figure {
290 margin: 0;
291 max-width: 90vw;
292 max-height: 90vh;
293 color: #fff;
294 text-align: center;
295 }
296
297 .ka-woo-products-grid__lightbox img {
298 max-width: 100%;
299 max-height: 80vh;
300 display: block;
301 margin: 0 auto 8px;
302 }
303
304 .ka-woo-products-grid__lightbox-close {
305 position: absolute;
306 top: 12px;
307 right: 12px;
308 border: none;
309 background: rgba(0, 0, 0, 0.5);
310 color: #fff;
311 font-size: 24px;
312 line-height: 1;
313 padding: 6px 10px;
314 cursor: pointer;
315 }
316
317 @keyframes ka-woo-products-grid-spin {
318 to {
319 transform: rotate(360deg);
320 }
321 }
322
323
324
325
326
327
328