PluginProbe
King Addons for Elementor – 80+ Elementor Widgets, 4 000+ Elementor Templates, WooCommerce, Mega Menu, Popup Builder / 51.1.83
King Addons for Elementor – 80+ Elementor Widgets, 4 000+ Elementor Templates, WooCommerce, Mega Menu, Popup Builder v51.1.83
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 / Single_Product / style.css

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

251 lines 5.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .king-addons-single-product {
2 display: flex;
3 flex-direction: row;
4 gap: 20px;
5 align-items: flex-start;
6 padding: 20px;
7 background-color: #ffffff;
8 border-radius: 12px;
9 border: 1px solid #e5e7eb;
10 --king-addons-single-product-view-cart-gap: 10px;
11 }
12
13 .king-addons-single-product__media img {
14 display: block;
15 width: 260px;
16 height: auto;
17 border-radius: 10px;
18 object-fit: cover;
19 }
20
21 .king-addons-single-product__media {
22 position: relative;
23 }
24
25 .king-addons-single-product__badge {
26 position: absolute;
27 top: 12px;
28 left: 12px;
29 padding: 6px 10px;
30 background-color: #ef4444;
31 color: #ffffff;
32 font-size: 12px;
33 font-weight: 700;
34 border-radius: 999px;
35 }
36
37 .king-addons-single-product__badge {
38 position: absolute;
39 top: 12px;
40 left: 12px;
41 padding: 6px 10px;
42 background-color: #ef4444;
43 color: #ffffff;
44 font-size: 12px;
45 font-weight: 700;
46 border-radius: 999px;
47 }
48
49 .king-addons-single-product__content {
50 display: flex;
51 flex-direction: column;
52 gap: 12px;
53 }
54
55 .king-addons-single-product__title {
56 margin: 0;
57 font-size: 20px;
58 font-weight: 700;
59 color: #111827;
60 }
61
62 .king-addons-single-product__price {
63 font-size: 18px;
64 font-weight: 600;
65 color: #16a34a;
66 }
67
68 .king-addons-single-product__excerpt {
69 margin: 0;
70 color: #4b5563;
71 line-height: 1.6;
72 }
73
74 .king-addons-single-product__cta {
75 display: flex;
76 align-items: center;
77 }
78
79 .king-addons-single-product__button.is-disabled {
80 opacity: 0.6;
81 pointer-events: none;
82 }
83
84 .king-addons-single-product__button {
85 position: relative;
86 }
87
88 .king-addons-single-product__button.loading .king-addons-single-product__button-label,
89 .king-addons-single-product__button.added .king-addons-single-product__button-label {
90 visibility: hidden;
91 }
92
93 .king-addons-single-product__button.loading::after,
94 .king-addons-single-product__button.added::after {
95 content: '';
96 position: absolute;
97 left: 50%;
98 top: 50%;
99 }
100
101 .king-addons-single-product__button.loading::after {
102 width: var(--king-addons-atc-indicator-size, 14px);
103 height: var(--king-addons-atc-indicator-size, 14px);
104 border: 2px solid currentColor;
105 border-right-color: transparent;
106 border-radius: 999px;
107 transform: translate(-50%, -50%);
108 animation: king-addons-single-product-spin 0.75s linear infinite;
109 }
110
111 .king-addons-single-product__button.added::after {
112 height: var(--king-addons-atc-indicator-size, 14px);
113 width: calc(var(--king-addons-atc-indicator-size, 14px) * 0.57);
114 border-right: 2px solid currentColor;
115 border-bottom: 2px solid currentColor;
116 transform: translate(-50%, -55%) rotate(45deg);
117 }
118
119 .king-addons-single-product__cta .king-addons-single-product__button + .added_to_cart {
120 margin-left: var(--king-addons-single-product-view-cart-gap);
121 }
122
123 @keyframes king-addons-single-product-spin {
124 from {
125 transform: translate(-50%, -50%) rotate(0deg);
126 }
127
128 to {
129 transform: translate(-50%, -50%) rotate(360deg);
130 }
131 }
132
133 .king-addons-single-product__cta .button,
134 .king-addons-single-product__cta .button.alt,
135 .king-addons-single-product__cta .single_add_to_cart_button {
136 display: inline-flex;
137 align-items: center;
138 justify-content: center;
139 gap: 8px;
140 padding: 12px 18px;
141 background-color: #111827;
142 color: #ffffff;
143 border: 1px solid #111827;
144 border-radius: 8px;
145 text-decoration: none;
146 transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
147 }
148
149 .king-addons-single-product__cta .button:hover,
150 .king-addons-single-product__cta .button.alt:hover,
151 .king-addons-single-product__cta .single_add_to_cart_button:hover {
152 background-color: #0b1220;
153 border-color: #0b1220;
154 color: #ffffff;
155 }
156
157 .king-addons-single-product__rating .star-rating {
158 margin: 0;
159 }
160
161 /* Hover animations */
162 .king-addons-single-product.is-anim-hover-lift {
163 transition: transform 0.25s ease, box-shadow 0.25s ease;
164 }
165
166 .king-addons-single-product.is-anim-hover-lift:hover {
167 transform: translateY(-8px);
168 box-shadow: 0 18px 38px rgba(0, 0, 0, 0.16);
169 }
170
171 .king-addons-single-product.is-anim-hover-zoom .king-addons-single-product__media img {
172 transition: transform 0.35s ease;
173 }
174
175 .king-addons-single-product.is-anim-hover-zoom:hover .king-addons-single-product__media img {
176 transform: scale(1.06);
177 }
178
179 .king-addons-single-product.is-anim-hover-tilt {
180 transition: transform 0.25s ease, box-shadow 0.25s ease;
181 }
182
183 .king-addons-single-product.is-anim-hover-tilt:hover {
184 transform: translateY(-6px) rotate3d(1, 1, 0, 3deg);
185 box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
186 }
187
188 .king-addons-single-product.is-anim-hover-float {
189 transition: transform 0.3s ease, box-shadow 0.3s ease;
190 }
191
192 .king-addons-single-product.is-anim-hover-float:hover {
193 transform: translate3d(0, -10px, 0);
194 box-shadow: 0 22px 44px rgba(0, 0, 0, 0.18);
195 }
196
197 .king-addons-single-product.is-anim-hover-scale-fade {
198 transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
199 }
200
201 .king-addons-single-product.is-anim-hover-scale-fade:hover {
202 transform: translateY(-6px) scale(1.02);
203 opacity: 0.96;
204 box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
205 }
206
207 .king-addons-single-product__stock {
208 position: relative;
209 margin-top: 8px;
210 background: #f3f4f6;
211 border-radius: 999px;
212 overflow: hidden;
213 min-height: 8px;
214 }
215
216 .king-addons-single-product__stock-fill {
217 display: block;
218 height: 8px;
219 background: #16a34a;
220 }
221
222 .king-addons-single-product__stock-text {
223 display: inline-block;
224 margin-top: 6px;
225 font-size: 13px;
226 color: #111827;
227 }
228
229 .king-addons-single-product__stock.is-out {
230 padding: 6px 0;
231 background: transparent;
232 color: #dc2626;
233 }
234
235 @media (max-width: 767px) {
236 .king-addons-single-product {
237 flex-direction: column;
238 align-items: flex-start;
239 }
240
241 .king-addons-single-product__media img {
242 width: 100%;
243 }
244 }
245
246
247
248
249
250
251