PluginProbe
Tiered Pricing Table for WooCommerce / 6.1.0
Tiered Pricing Table for WooCommerce v6.1.0
8.0.2 7.1.7 7.1.5 7.1.4 7.1.1 6.5.0 6.4.0 6.1.0 trunk 1.0 1.1 2.0 2.0.1 2.0.2 2.1 2.1.1 2.1.2 2.2.0 2.2.1 2.2.2 2.2.3 2.3.0 2.3.1 2.3.2 2.3.3 All 91 releases
tier-pricing-table / assets / frontend / main.css

main.css in Tiered Pricing Table for WooCommerce 6.1.0, at assets/frontend/main.css

527 lines 9.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .tpt__hidden {
2 display: none;
3 }
4
5 .tpt__tiered-pricing, .tier-pricing-summary-table {
6 width: 100%;
7 }
8
9 .sticky-add-to-cart .tpt__tiered-pricing,
10 .ast-sticky-add-to-cart .tpt__tiered-pricing {
11 display: none;
12 }
13
14 .tiered-pricing-table {
15 margin: 15px 0;
16 width: 100%;
17 }
18
19 .tiered-pricing-table tr {
20 background: #fff;
21 }
22
23 .tiered-pricing--active td {
24 background-color: #96598A;
25 color: #fff;
26 transition: all .3s ease-in-out;
27 }
28
29 .tiered-pricing--active td .amount {
30 color: #fff;
31 transition: all .3s ease-in-out;
32 }
33
34 /**
35 * Horizontal Table
36 */
37 .tiered-pricing-horizontal-table {
38 display: flex;
39 margin: 15px 0;
40 border: 1px solid #666;
41 border-radius: 3px;
42 flex-wrap: nowrap;
43 overflow-x: auto;
44 }
45
46 .tiered-pricing-horizontal-table__labels {
47 background: #f5f5f5;
48 }
49
50 .tiered-pricing-horizontal-table-cell {
51 padding: 5px 10px;
52 border-bottom: 1px solid #666;
53 }
54
55 .tiered-pricing-horizontal-table-cell:last-child {
56 border-bottom: none;
57 }
58
59 .tiered-pricing-horizontal-table-column {
60 flex: 1;
61 border-right: 1px solid #666;
62 }
63
64 .tiered-pricing-horizontal-table-column:last-child {
65 border: none;
66 }
67
68
69 /**
70 * Tiered Pricing Tooltip
71 */
72 .tiered-pricing-tooltip {
73 padding: 0;
74 position: relative;
75 width: 250px !important;
76 z-index: 99999;
77 }
78
79 .tiered-pricing-tooltip__svg {
80 margin-left: 8px;
81 width: 15px;
82 cursor: help;
83 }
84
85 .tiered-pricing-tooltip .tiered-pricing-table {
86 margin: 0;
87 }
88
89 .ui-helper-hidden-accessible {
90 border: 0;
91 clip: rect(0 0 0 0);
92 height: 1px;
93 margin: -1px;
94 overflow: hidden;
95 padding: 0;
96 position: absolute;
97 width: 1px;
98 }
99
100 /**
101 * Tiered Pricing Plain text
102 */
103 .tiered-pricing-plain-texts {
104 margin: 20px 0;
105 list-style: none;
106 }
107
108 /**
109 * Tiered Pricing Blocks
110 */
111 .tiered-pricing-blocks {
112 display: flex;
113 flex-wrap: wrap;
114 gap: 10px;
115 margin: 15px 0;
116 }
117
118 .tiered-pricing-block__price {
119 margin-bottom: 0;
120 font-weight: bold;
121 font-size: 1.1em;
122 }
123
124 .tiered-pricing-block__price-discount {
125 font-size: .8em;
126 }
127
128 .tiered-pricing-block__quantity {
129 font-size: .9em;
130 }
131
132 .tiered-pricing-block {
133 padding: 0 10px;
134 border: 1px solid #ccc;
135 border-radius: 5px;
136 transition: all .2s;
137 }
138
139 .tiered-pricing-blocks .tiered-pricing--active {
140 transform: scale(1.06);
141 }
142
143 /** Styles **/
144 .tiered-pricing-blocks--style-1 .tiered-pricing-block {
145 overflow: hidden;
146 padding: 0;
147 }
148
149 .tiered-pricing-blocks--style-1 .tiered-pricing-block .tiered-pricing-block__quantity {
150 color: #fff;
151 padding: 3px 10px;
152 text-align: center;
153 }
154
155 .tiered-pricing-blocks--style-1 .tiered-pricing-block .tiered-pricing-block__price {
156 text-align: center;
157 padding: 5px 10px;
158 }
159
160 .tiered-pricing-blocks--style-2 .tiered-pricing-block {
161 padding: 5px 10px;
162 background: #f7f7f7;
163 border-color: #cccccc;
164 }
165
166 .tiered-pricing-blocks--style-2 .tiered-pricing-block__price {
167 font-size: 1em;
168 }
169
170 .tiered-pricing-blocks--style-3 {
171 gap: 20px 15px;
172 }
173 .tiered-pricing-blocks--style-3 .tiered-pricing-block-inner {
174 padding: 15px 25px 10px 25px;
175 }
176 .tiered-pricing-blocks--style-3 .tiered-pricing-block {
177 position: relative;
178 padding: 0;
179 text-align: center;
180 }
181
182 /**
183 * Tiered Pricing Options
184 */
185 .tiered-pricing-options {
186 margin: 20px 0;
187 }
188
189 .tiered-pricing-option {
190 transition: all .3s;
191 display: flex;
192 justify-content: space-between;
193 align-items: center;
194 padding: 10px;
195 border: 1px solid #E5E5E5;
196 border-radius: 3px;
197 gap: 10px;
198 margin-bottom: 10px;
199 }
200
201 .tiered-pricing-option__pricing {
202 text-align: right;
203 margin-left: auto;
204 font-weight: bold;
205 }
206
207 .tiered-pricing-option-checkbox {
208 width: 18px;
209 height: 18px;
210 border-radius: 50%;
211 position: relative;
212 box-sizing: border-box;
213 border: 1px solid #E5E5E5;
214 }
215
216 .tiered-pricing--active .tiered-pricing-option-checkbox::after {
217 content: "";
218 background: #E5E5E5;
219 position: absolute;
220 border-radius: 50%;
221 width: 10px;
222 height: 10px;
223 left: 3px;
224 top: 3px;
225 }
226
227 .tiered-pricing-option-price {
228 display: flex;
229 gap: 5px;
230 align-items: center;
231 justify-content: right;
232 }
233
234 .tiered-pricing-option-price__original {
235 font-size: .9em;
236 font-weight: normal;
237 }
238
239 .tiered-pricing-option-total {
240 font-size: .8em;
241 display: none;
242 justify-content: right;
243 align-items: center;
244 gap: 5px;
245 }
246
247 .tiered-pricing-option-total__original_total {
248 font-weight: normal;
249 font-size: .9em;
250 }
251
252 .tiered-pricing-options--style-1 {
253 border: 1px solid;
254 padding: 0 10px;
255 border-radius: 5px;
256 }
257 .tiered-pricing-options--style-1 .tiered-pricing-option {
258 border: none;
259 border-bottom: 1px solid;
260 border-radius: 0;
261 padding: 12px 5px;
262 margin: 0;
263 }
264
265 .tiered-pricing-options--style-1 .tiered-pricing-option:last-child {
266 border: none;
267 }
268
269 .tiered-pricing-options--style-2 {
270 border: 1px solid;
271 border-radius: 5px;
272 }
273
274 .tiered-pricing-options--style-2 .tiered-pricing-option {
275 border: none;
276 border-bottom: 1px solid;
277 border-radius: 0;
278 padding: 10px 15px;
279 margin: 0;
280 }
281
282 .tiered-pricing-options--style-2 .tiered-pricing-option:last-child {
283 border: none;
284 }
285
286 .tiered-pricing-options--style-3 .tiered-pricing--active .tiered-pricing-option-checkbox::after {
287 width: 10px;
288 height: 10px;
289 left: 3px;
290 top: 3px;
291 }
292 .tiered-pricing-options--style-3 .tiered-pricing-option {
293 position: relative;
294 box-sizing: border-box;
295 margin-bottom: 15px;
296 padding: 0;
297 }
298
299 .tiered-pricing-options--style-3 .tiered-pricing-option__discount-label {
300 position: absolute;
301 background: #E43A36;
302 top: 0;
303 right: 10px;
304 transform: translate(0, -50%);
305 box-sizing: border-box;
306 color: #fff;
307 padding: 0 10px;
308 border-radius: 3px;
309 line-height: normal;
310 }
311
312 .tiered-pricing-options--style-3 .tiered-pricing-option-inner {
313 display: flex;
314 justify-content: space-between;
315 align-items: center;
316 gap: 10px;
317 width: 100%;
318 padding: 12px;
319 }
320
321 /**
322 * Tiered pricing select
323 */
324 .tiered-pricing-dropdown {
325 margin: 20px 0;
326 width: 100%;
327 max-width: 800px;
328 position: relative;
329 }
330
331 .tiered-pricing-dropdown__list {
332 box-sizing: border-box;
333 position: absolute;
334 max-height: 300px;
335 overflow-y: auto;
336 border: 1px solid;
337 border-top: none;
338 width: 100%;
339 background: white;
340 display: none;
341 z-index: 999;
342 }
343
344 .tiered-pricing-dropdown__list ul {
345 margin: 0;
346 padding: 0;
347 list-style: none;
348 }
349
350 .tiered-pricing-dropdown__select-box {
351 border-radius: 3px;
352 cursor: pointer;
353 border: 1px solid;
354 padding: 5px;
355 align-items: center;
356 display: flex;
357 background: #fff;
358 }
359
360 .tiered-pricing-dropdown__select-box--active {
361 border-radius: 3px 3px 0 0;
362 }
363
364 .tiered-pricing-dropdown__select-box-arrow {
365 width: 25px;
366 margin-left: auto;
367 height: 25px;
368 display: flex;
369 transition: all .2s;
370 }
371
372 .tiered-pricing-dropdown__select-box--active .tiered-pricing-dropdown__select-box-arrow {
373 transform: rotate(180deg);
374 }
375
376 .tiered-pricing-dropdown-option__pricing {
377 margin-left: auto;
378 font-weight: bold;
379 }
380
381 .tiered-pricing-option-price {
382 margin-left: auto;
383 }
384
385 .tiered-pricing-dropdown-option {
386 justify-content: space-between;
387 align-items: center;
388 box-sizing: border-box;
389 padding: 10px;
390 display: flex;
391 width: 100%;
392 gap: 10px;
393 }
394
395 .tiered-pricing-dropdown-option-price__original {
396 font-weight: normal;
397 }
398
399 /**
400 * Summary table
401 */
402 .tier-pricing-summary-table {
403 margin: 20px 0;
404 }
405
406 .tier-pricing-summary-table--hidden {
407 display: none;
408 }
409
410 .tier-pricing-summary-table__top {
411 display: flex;
412 justify-content: space-between;
413 padding: 5px 0;
414 font-weight: bold;
415 border-top: 1px solid #f5f5f5;
416 }
417
418 .tier-pricing-summary-table__bottom {
419 display: flex;
420 justify-content: space-between;
421 align-items: center
422 }
423
424 .tier-pricing-summary-table__total {
425 font-size: 1.5em;
426 margin-left: 5px;
427 }
428
429 .tier-pricing-summary-table--inline {
430 font-size: 1.3em;
431 }
432
433 .tier-pricing-summary-table-inline__label {
434 display: inline-block;
435 }
436
437 /** You save */
438 .tiered-pricing-you-save--hidden {
439 display: none !important;
440 }
441
442 .tiered-pricing-you-save {
443 color: red;
444 }
445
446 /** Shop Loop Adjustments */
447 .tiered-pricing-shop-loop {
448 margin: 10px 0;
449 width: 100%;
450 }
451
452 .tiered-pricing-shop-loop--reduced .tiered-pricing-wrapper h3 {
453 margin: 5px 0 !important;
454 }
455
456 /** Table **/
457 .tiered-pricing-shop-loop--reduced table {
458 width: 100%;
459 table-layout: fixed;
460 overflow-wrap: break-word;
461 }
462
463 /** Horizontal Table **/
464 .tiered-pricing-shop-loop--reduced .tiered-pricing-horizontal-table-cell {
465 padding: 5px;
466 }
467
468 .tiered-pricing-shop-loop--reduced table.tiered-pricing-table thead tr th,
469 .tiered-pricing-shop-loop--reduced table.tiered-pricing-table tbody tr td {
470 padding: 3px 5px !important;
471 }
472
473 /** Options **/
474 .tiered-pricing-shop-loop--reduced .tiered-pricing-option {
475 padding: 5px 10px;
476 gap: 5px;
477 margin-bottom: 5px;
478 }
479
480 .tiered-pricing-shop-loop--reduced .tiered-pricing-dropdown__select-box {
481 padding: 3px;
482 }
483
484 .tiered-pricing-shop-loop--reduced .tiered-pricing-option-price {
485 flex-wrap: wrap;
486 }
487
488 .tiered-pricing-shop-loop--reduced .tiered-pricing-option .tiered-pricing-option__quantity {
489 text-align: left;
490 }
491
492 .tiered-pricing-shop-loop--reduced .tiered-pricing-option__checkbox {
493 display: none;
494 }
495
496 /** Blocks **/
497 .tiered-pricing-shop-loop--reduced .tiered-pricing-blocks {
498 padding: 0 5px;
499 }
500
501 .tiered-pricing-shop-loop--reduced .tiered-pricing-blocks:not(.tiered-pricing-blocks--styled) .tiered-pricing-block {
502 padding: 0 5px;
503 }
504
505 .tiered-pricing-shop-loop--reduced .tiered-pricing-block__price {
506 font-size: 1em;
507 }
508
509 /** Dropdown **/
510 .tiered-pricing-shop-loop--reduced .tiered-pricing-dropdown {
511 margin: 10px 0;
512 }
513
514 .tiered-pricing-shop-loop--reduced .tiered-pricing-dropdown-option {
515 padding: 0 5px;
516 gap: 0 5px;
517 }
518
519 .tiered-pricing-shop-loop--reduced .tiered-pricing-dropdown-option__quantity {
520 text-align: left;
521 }
522
523 /** Plain Text **/
524 .tiered-pricing-shop-loop--reduced .tiered-pricing-plain-texts {
525 text-align: left;
526 list-style: disc;
527 }