PluginProbe
WPFunnels – Funnel Builder for WooCommerce with Checkout & One Click Upsell / 3.12.13
WPFunnels – Funnel Builder for WooCommerce with Checkout & One Click Upsell v3.12.13
3.13.3 3.13.2 3.13.1 3.13.0 3.12.13 3.12.12 3.12.11 3.12.10 3.12.9 3.12.8 3.12.7 3.12.6 3.12.5 3.12.4 3.12.3 3.12.1 3.12.2 3.12.0 3.11.1 3.11.0 3.10.9 3.10.8 3.10.7 3.10.6 2.8.16 All 261 releases
wpfunnels / public / assets / css / wpfnl-product-selection.css

wpfnl-product-selection.css in WPFunnels – Funnel Builder for WooCommerce with Checkout & One Click Upsell 3.12.13, at public/assets/css/wpfnl-product-selection.css

299 lines 4.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /**
2 * Product Selection Styles
3 *
4 * @package WPFunnels
5 * @since 3.2.0
6 */
7
8 .wpfnl-product-selection-wrapper {
9 margin-bottom: 30px;
10 padding: 25px;
11 background: #f7f6f9;
12 border: none;
13 border-radius: 0;
14 position: relative;
15 }
16
17 .wpfnl-product-selection-wrapper.loading::before {
18 content: '';
19 position: absolute;
20 top: 0;
21 left: 0;
22 right: 0;
23 bottom: 0;
24 background: rgba(255, 255, 255, 0.7);
25 z-index: 10;
26 }
27
28 .wpfnl-product-selection-wrapper.loading::after {
29 content: '';
30 position: absolute;
31 top: 50%;
32 left: 50%;
33 transform: translate(-50%, -50%);
34 width: 40px;
35 height: 40px;
36 border: 4px solid #f3f3f3;
37 border-top: 4px solid #6e42d3;
38 border-radius: 50%;
39 animation: wpfnl-spin 1s linear infinite;
40 z-index: 11;
41 }
42
43 @keyframes wpfnl-spin {
44 0% { transform: translate(-50%, -50%) rotate(0deg); }
45 100% { transform: translate(-50%, -50%) rotate(360deg); }
46 }
47
48 .wpfnl-product-selection-title {
49 margin: 0 0 20px 0;
50 padding: 0;
51 font-size: 20px;
52 font-weight: 600;
53 color: #23282d;
54 line-height: 1.4;
55 }
56
57 .wpfnl-product-selection-message {
58 padding: 12px 16px;
59 margin-bottom: 15px;
60 border-radius: 4px;
61 font-size: 14px;
62 line-height: 1.5;
63 }
64
65 .wpfnl-product-selection-message.success {
66 background: #d4edda;
67 color: #155724;
68 border: 1px solid #c3e6cb;
69 }
70
71 .wpfnl-product-selection-message.error {
72 background: #f8d7da;
73 color: #721c24;
74 border: 1px solid #f5c6cb;
75 }
76
77 .wpfnl-products-table {
78 width: 100%;
79 border-collapse: collapse;
80 border: none;
81 border-radius: 0;
82 overflow: hidden;
83 background: #fff;
84 }
85
86 .wpfnl-products-table thead {
87 background: #fff;
88 border-bottom: 1px solid #e5e5e5;
89 }
90
91 .wpfnl-products-table thead th {
92 padding: 15px 20px;
93 text-align: left;
94 font-size: 12px;
95 font-weight: 600;
96 color: #6b6b6b;
97 text-transform: uppercase;
98 letter-spacing: 0.5px;
99 border: none;
100 }
101
102 .wpfnl-products-table thead th.product-select {
103 width: 80px;
104 text-align: center;
105 }
106
107 .wpfnl-products-table thead th.product-price {
108 width: 150px;
109 text-align: right;
110 }
111
112 .wpfnl-products-table thead th.product-remove {
113 width: 60px;
114 text-align: center;
115 }
116
117 .wpfnl-products-table tbody tr {
118 border-bottom: 1px solid #e5e5e5;
119 transition: background-color 0.2s ease;
120 background: #fff;
121 }
122
123 .wpfnl-products-table tbody tr:last-child {
124 border-bottom: none;
125 }
126
127 .wpfnl-products-table tbody tr:hover {
128 background: #f9f9f9;
129 }
130
131 .wpfnl-products-table tbody tr.selected {
132 background: #f0ebf8;
133 }
134
135 .wpfnl-products-table tbody td {
136 padding: 20px;
137 vertical-align: middle;
138 border: none;
139 }
140
141 .wpfnl-products-table tbody td.product-select {
142 text-align: center;
143 padding-left: 20px;
144 }
145
146 .wpfnl-products-table tbody td.product-remove {
147 text-align: center;
148 padding-right: 20px;
149 }
150
151 .wpfnl-product-checkbox {
152 width: 20px;
153 height: 20px;
154 cursor: pointer;
155 accent-color: #6e42d3;
156 }
157
158 .wpfnl-product-checkbox:disabled {
159 cursor: not-allowed;
160 opacity: 0.5;
161 }
162
163 .product-info {
164 display: flex;
165 align-items: center;
166 gap: 15px;
167 }
168
169 .product-image {
170 width: 50px;
171 height: 50px;
172 object-fit: cover;
173 border-radius: 4px;
174 border: 1px solid #e5e5e5;
175 flex-shrink: 0;
176 }
177
178 .product-title {
179 font-size: 15px;
180 font-weight: 400;
181 color: #23282d;
182 line-height: 1.5;
183 }
184
185 .wpfnl-products-table tbody td.product-price {
186 text-align: right;
187 font-size: 16px;
188 font-weight: 600;
189 color: #23282d;
190 }
191
192 .wpfnl-products-table tbody td.product-price del {
193 display: block;
194 margin-top: 4px;
195 font-size: 14px;
196 font-weight: 400;
197 color: #999;
198 }
199
200 /* Remove button styles */
201 .wpfnl-remove-product {
202 background: transparent;
203 border: none;
204 cursor: pointer;
205 padding: 5px;
206 display: inline-flex;
207 align-items: center;
208 justify-content: center;
209 color: #a0a0a0;
210 transition: color 0.2s ease;
211 font-size: 18px;
212 line-height: 1;
213 }
214
215 .wpfnl-remove-product:hover {
216 color: #dc3232;
217 }
218
219 .wpfnl-remove-product:disabled {
220 opacity: 0.5;
221 cursor: not-allowed;
222 }
223
224 .wpfnl-remove-product svg {
225 width: 20px;
226 height: 20px;
227 fill: currentColor;
228 }
229
230 /* Responsive styles */
231 @media (max-width: 768px) {
232 .wpfnl-products-table thead {
233 display: none;
234 }
235
236 .wpfnl-products-table tbody tr {
237 display: block;
238 margin-bottom: 15px;
239 border: 1px solid #e5e5e5;
240 border-radius: 4px;
241 position: relative;
242 }
243
244 .wpfnl-products-table tbody td {
245 display: block;
246 text-align: left !important;
247 padding: 10px 15px;
248 border: none;
249 }
250
251 .wpfnl-products-table tbody td.product-select {
252 position: absolute;
253 top: 15px;
254 right: 15px;
255 padding: 0;
256 }
257
258 .wpfnl-products-table tbody td.product-name {
259 padding-right: 80px;
260 }
261
262 .wpfnl-products-table tbody td.product-price {
263 border-top: 1px solid #e5e5e5;
264 background: #f9f9f9;
265 }
266
267 .wpfnl-products-table tbody td.product-price::before {
268 content: 'Price: ';
269 font-weight: 500;
270 margin-right: 10px;
271 }
272
273 .wpfnl-products-table tbody td.product-remove {
274 position: absolute;
275 top: 20px;
276 right: 20px;
277 padding: 0;
278 }
279 }
280
281 @media (max-width: 480px) {
282 .wpfnl-product-selection-wrapper {
283 padding: 15px;
284 }
285
286 .wpfnl-product-selection-title {
287 font-size: 20px;
288 }
289
290 .product-image {
291 width: 50px;
292 height: 50px;
293 }
294
295 .product-title {
296 font-size: 14px;
297 }
298 }
299