appscms-tools-theme 2.2.9 → 2.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_data/feature/en/compress-pdf.json +27 -25
- data/_data/feature/en/theframe.json +2 -2
- data/_data/footer/en/data.json +93 -1
- data/_data/header/en/data.json +47 -9
- data/_data/home/en/photoeffects.json +24 -0
- data/_data/home-1/en/en.json +58 -0
- data/_data/photo-categories.json +0 -117
- data/_data/photoeffects.json +117 -0
- data/_includes/batch-conversion.html +42 -13
- data/_includes/custom-head.html +7 -2
- data/_includes/footer/index.html +263 -2
- data/_includes/head/index.html +13 -0
- data/_includes/header/index.html +124 -5
- data/_includes/script.html +11 -0
- data/_layouts/batch.html +19 -13
- data/_layouts/blog-1.html +100 -0
- data/_layouts/feature-1.html +283 -0
- data/_layouts/feature-download.html +309 -0
- data/_layouts/feature.html +1 -1
- data/_layouts/frame.html +54 -44
- data/_layouts/home-1.html +267 -0
- data/_layouts/home.html +4 -4
- data/_layouts/photo-effects-home.html +84 -0
- data/assets/css/batch.css +32 -17
- data/assets/css/blog-1.css +66 -0
- data/assets/css/common-page.css +180 -0
- data/assets/css/feature-1.css +426 -0
- data/assets/css/frame.css +207 -31
- data/assets/css/home-1.css +225 -0
- data/assets/images/add.png +0 -0
- data/assets/images/add.svg +1 -0
- data/assets/images/bulb.png +0 -0
- data/assets/images/bulb.svg +1 -0
- data/assets/images/convert.png +0 -0
- data/assets/images/convert.svg +9 -0
- data/assets/images/loader.gif +0 -0
- data/assets/js/batch.js +3 -1
- data/assets/js/frame.js +8 -3
- data/assets/js/testing-batch.js +12 -4
- metadata +19 -2
data/assets/css/frame.css
CHANGED
@@ -328,26 +328,19 @@ input {
|
|
328
328
|
text-align: left;
|
329
329
|
}
|
330
330
|
#download-button {
|
331
|
-
cursor: pointer;
|
332
|
-
display: inline-block;
|
333
|
-
width: 100%;
|
334
|
-
padding: 14px 0;
|
335
|
-
margin-bottom: 20px;
|
336
|
-
text-align: center;
|
337
|
-
border-radius: 50px;
|
338
|
-
background: #0050e5;
|
339
|
-
font-size: 18px;
|
340
|
-
color: #fff;
|
341
|
-
font-weight: 700;
|
342
331
|
text-decoration: none;
|
343
|
-
|
344
|
-
border:
|
332
|
+
border-radius: 2px;
|
333
|
+
border: 1px solid #ff6131;
|
334
|
+
box-shadow: 0;
|
335
|
+
color: #fff;
|
336
|
+
margin: 3px;
|
337
|
+
padding: 4px 15px;
|
345
338
|
}
|
346
339
|
#download-button svg {
|
347
340
|
fill: #fff;
|
348
341
|
margin-right: 4px;
|
349
342
|
margin-bottom: 4px;
|
350
|
-
height:
|
343
|
+
height: 15px;
|
351
344
|
}
|
352
345
|
.download-wrapper {
|
353
346
|
display: flex;
|
@@ -359,20 +352,6 @@ input {
|
|
359
352
|
#canvas-panel canvas {
|
360
353
|
max-width: 100%;
|
361
354
|
}
|
362
|
-
.options-panel select,
|
363
|
-
textarea,
|
364
|
-
input {
|
365
|
-
width: 100%;
|
366
|
-
text-align: left;
|
367
|
-
background: #fff;
|
368
|
-
height: 34px;
|
369
|
-
display: flex;
|
370
|
-
border-radius: 4px;
|
371
|
-
justify-content: space-between;
|
372
|
-
box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
|
373
|
-
color: #0f0c0c;
|
374
|
-
border: 1px solid #ccc;
|
375
|
-
}
|
376
355
|
.example-images-modal-container,
|
377
356
|
.crop-image-modal-container {
|
378
357
|
position: fixed;
|
@@ -459,18 +438,45 @@ input {
|
|
459
438
|
border: none;
|
460
439
|
border-bottom: 1px solid #f2f2f2 !important;
|
461
440
|
display: block;
|
462
|
-
|
441
|
+
|
463
442
|
color: #444;
|
464
443
|
text-decoration: none;
|
465
444
|
font-size: 0.95em;
|
466
445
|
border-radius: 1px;
|
467
446
|
}
|
468
|
-
.
|
447
|
+
.card-header:hover {
|
448
|
+
background: #f8f8f8 !important;
|
449
|
+
}
|
450
|
+
.categories-list .card-body {
|
451
|
+
padding: 0px;
|
452
|
+
}
|
453
|
+
.categories-list .card-body a {
|
454
|
+
width: 100%;
|
455
|
+
text-align: left;
|
456
|
+
display: block;
|
457
|
+
border-top: 1px solid #dadada;
|
458
|
+
padding: 9px 9px;
|
459
|
+
}
|
460
|
+
.categories-list .accordion > .card > .card-header {
|
461
|
+
display: flex;
|
462
|
+
justify-content: space-between;
|
463
|
+
background-color: transparent;
|
469
464
|
padding: 7px 9px;
|
470
465
|
}
|
466
|
+
.categories-list .accordion > .card > .card-header i {
|
467
|
+
color: #888888;
|
468
|
+
margin-bottom: 0;
|
469
|
+
font-size: 19px;
|
470
|
+
}
|
471
471
|
.categories-list .accordion > .card > .card-header {
|
472
472
|
height: auto;
|
473
473
|
}
|
474
|
+
.categories-list .accordion > .card > .card-header > button {
|
475
|
+
display: flex;
|
476
|
+
justify-content: space-between;
|
477
|
+
align-items: center;
|
478
|
+
width: 100%;
|
479
|
+
}
|
474
480
|
.frame-h1 {
|
475
481
|
margin: 0;
|
476
482
|
font-size: 17pt;
|
@@ -513,7 +519,177 @@ input {
|
|
513
519
|
font-weight: 600;
|
514
520
|
border-bottom: 1px solid #dadada;
|
515
521
|
}
|
522
|
+
.preview-section {
|
523
|
+
display: flex;
|
524
|
+
justify-content: left;
|
525
|
+
margin-top: 15px;
|
526
|
+
}
|
516
527
|
.preview-section img {
|
528
|
+
width: auto;
|
529
|
+
height: auto;
|
530
|
+
}
|
531
|
+
#effect-form label {
|
532
|
+
display: block;
|
533
|
+
font-weight: 600;
|
534
|
+
margin: 0 0 5px;
|
535
|
+
color: #666;
|
536
|
+
text-align: left;
|
537
|
+
text-transform: capitalize;
|
538
|
+
font-size: 14px;
|
539
|
+
}
|
540
|
+
|
541
|
+
.submit-btn {
|
542
|
+
margin: 0;
|
543
|
+
width: 180px;
|
544
|
+
padding: 10px 0;
|
545
|
+
font-size: 13pt;
|
546
|
+
position: relative;
|
547
|
+
border: 1px solid #ff6131;
|
548
|
+
box-shadow: 0;
|
549
|
+
color: #fff;
|
550
|
+
padding: 4px 15px;
|
551
|
+
-webkit-border-radius: 2px;
|
552
|
+
-moz-border-radius: 2px;
|
553
|
+
border-radius: 2px;
|
554
|
+
background: #ff6d41;
|
555
|
+
background: -webkit-gradient(
|
556
|
+
linear,
|
557
|
+
left bottom,
|
558
|
+
left top,
|
559
|
+
color-stop(0, #ff6537),
|
560
|
+
color-stop(1, #ff754b)
|
561
|
+
);
|
562
|
+
background: -ms-linear-gradient(bottom, #ff6537, #ff754b);
|
563
|
+
background: -moz-linear-gradient(center bottom, #ff6537 0, #ff754b 100%);
|
564
|
+
background: -o-linear-gradient(#ff754b, #ff6537);
|
565
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff754b', endColorstr='#ff6537', GradientType=0);
|
566
|
+
}
|
567
|
+
.cam-image {
|
568
|
+
color: #666;
|
569
|
+
height: 40px;
|
570
|
+
width: 50px;
|
571
|
+
display: flex;
|
572
|
+
align-items: center;
|
573
|
+
justify-content: center;
|
574
|
+
border: 1px solid #ccc;
|
575
|
+
background: #eee;
|
576
|
+
background: -webkit-gradient(
|
577
|
+
linear,
|
578
|
+
left bottom,
|
579
|
+
left top,
|
580
|
+
color-stop(0, #ececec),
|
581
|
+
color-stop(1, #f6f6f6)
|
582
|
+
);
|
583
|
+
}
|
584
|
+
.cam-image i {
|
585
|
+
margin-bottom: 0px;
|
586
|
+
color: #666;
|
587
|
+
}
|
588
|
+
.small-image-preview {
|
589
|
+
height: 40px;
|
590
|
+
width: 50px !important;
|
517
591
|
width: 100%;
|
518
|
-
|
592
|
+
}
|
593
|
+
.choose-image {
|
594
|
+
color: #666;
|
595
|
+
margin-right: 6px;
|
596
|
+
border: 1px solid #ccc;
|
597
|
+
background: #eee;
|
598
|
+
background: -webkit-gradient(
|
599
|
+
linear,
|
600
|
+
left bottom,
|
601
|
+
left top,
|
602
|
+
color-stop(0, #ececec),
|
603
|
+
color-stop(1, #f6f6f6)
|
604
|
+
);
|
605
|
+
padding: 0;
|
606
|
+
width: 186px;
|
607
|
+
height: 40px;
|
608
|
+
line-height: 40px;
|
609
|
+
font-size: 13pt;
|
610
|
+
}
|
611
|
+
|
612
|
+
#effect-form {
|
613
|
+
display: flex;
|
614
|
+
flex-direction: column;
|
615
|
+
justify-content: left;
|
616
|
+
}
|
617
|
+
|
618
|
+
#effect-form input[type='text'] {
|
619
|
+
box-shadow: none;
|
620
|
+
border: 1px solid #ccc;
|
621
|
+
background: #fff;
|
622
|
+
padding: 5px 2%;
|
623
|
+
margin: 4px 0;
|
624
|
+
min-width: 190px;
|
625
|
+
-webkit-border-radius: 2px;
|
626
|
+
-moz-border-radius: 2px;
|
627
|
+
border-radius: 2px;
|
628
|
+
margin: 0;
|
629
|
+
width: 216px;
|
630
|
+
}
|
631
|
+
.mb-15 {
|
632
|
+
margin-bottom: 15px !important;
|
633
|
+
}
|
634
|
+
.btn:focus {
|
635
|
+
box-shadow: none !important;
|
636
|
+
}
|
637
|
+
.result-info {
|
638
|
+
display: flex;
|
639
|
+
}
|
640
|
+
.result-info a {
|
641
|
+
color: #ff754b !important;
|
642
|
+
cursor: pointer;
|
643
|
+
text-decoration: underline;
|
644
|
+
float: left;
|
645
|
+
font-size: 17pt;
|
646
|
+
line-height: 24pt;
|
647
|
+
margin: 0 0 5px;
|
648
|
+
font-weight: 600;
|
649
|
+
color: #444;
|
650
|
+
text-transform: capitalize;
|
651
|
+
}
|
652
|
+
.result-info i {
|
653
|
+
margin-left: 6px;
|
654
|
+
margin-right: 6px;
|
655
|
+
color: black;
|
656
|
+
font-size: 17px;
|
657
|
+
margin-bottom: 0px;
|
658
|
+
margin-top: 11px;
|
659
|
+
}
|
660
|
+
.result-info div {
|
661
|
+
float: left;
|
662
|
+
font-size: 17pt;
|
663
|
+
font-weight: 600;
|
664
|
+
text-transform: capitalize;
|
665
|
+
line-height: 24pt;
|
666
|
+
margin: 0 0 5px;
|
667
|
+
color: #444;
|
668
|
+
}
|
669
|
+
#saving-data {
|
670
|
+
display: flex;
|
671
|
+
flex-direction: column;
|
672
|
+
align-items: center;
|
673
|
+
}
|
674
|
+
#saving-data img {
|
675
|
+
height: 200px;
|
676
|
+
}
|
677
|
+
.photo-card {
|
678
|
+
display: inline-block;
|
679
|
+
zoom: 1;
|
680
|
+
margin: 10px 6px 6px;
|
681
|
+
padding: 8px 12px 4px;
|
682
|
+
border: 1px solid #e5e5e5;
|
683
|
+
border-bottom-color: #dcdcdc;
|
684
|
+
border-right-color: #e0e0e0;
|
685
|
+
text-decoration: none;
|
686
|
+
position: relative;
|
687
|
+
overflow: hidden;
|
688
|
+
-webkit-border-radius: 2px;
|
689
|
+
-moz-border-radius: 2px;
|
690
|
+
border-radius: 2px;
|
691
|
+
}
|
692
|
+
.photo-effect-feature-name {
|
693
|
+
text-align: center;
|
694
|
+
color: #777;
|
519
695
|
}
|
@@ -0,0 +1,225 @@
|
|
1
|
+
body {
|
2
|
+
font-family: Inter, sans-serif
|
3
|
+
}
|
4
|
+
|
5
|
+
.home1-top-h1 {
|
6
|
+
line-height: 60px;
|
7
|
+
font-size: 45px;
|
8
|
+
}
|
9
|
+
|
10
|
+
.home1-features {
|
11
|
+
display: flex;
|
12
|
+
flex-wrap: wrap;
|
13
|
+
list-style: none;
|
14
|
+
padding: 0px 100px;
|
15
|
+
padding-bottom: 50px;
|
16
|
+
}
|
17
|
+
|
18
|
+
.home1-features-box {
|
19
|
+
width: 33.3%;
|
20
|
+
padding: 12px 0px;
|
21
|
+
padding-right: 12px;
|
22
|
+
margin: 0 !important
|
23
|
+
}
|
24
|
+
|
25
|
+
.home1-inner-box {
|
26
|
+
display: flex;
|
27
|
+
-webkit-box-align: center;
|
28
|
+
align-items: center;
|
29
|
+
position: relative;
|
30
|
+
width: 100%;
|
31
|
+
}
|
32
|
+
|
33
|
+
.home1-feature-name {
|
34
|
+
display: flex;
|
35
|
+
position: relative;
|
36
|
+
border: 1px solid rgb(232, 232, 232);
|
37
|
+
border-radius: 4px;
|
38
|
+
width: 100%;
|
39
|
+
cursor: pointer;
|
40
|
+
font-weight: 700;
|
41
|
+
font-size: 16px;
|
42
|
+
line-height: 24px;
|
43
|
+
color: rgb(26, 26, 26);
|
44
|
+
user-select: none;
|
45
|
+
outline: none;
|
46
|
+
height: 120px;
|
47
|
+
background: rgb(250, 250, 250);
|
48
|
+
}
|
49
|
+
|
50
|
+
.home1-feature-name:hover {
|
51
|
+
background: rgb(244, 244, 244);
|
52
|
+
}
|
53
|
+
|
54
|
+
.home1-feature-text {
|
55
|
+
position: relative;
|
56
|
+
padding: 16px 56px 16px 64px;
|
57
|
+
width: 100%;
|
58
|
+
height: 100%;
|
59
|
+
text-align: left;
|
60
|
+
font-size: 15px;
|
61
|
+
font-weight: 600;
|
62
|
+
}
|
63
|
+
|
64
|
+
.home1-feature-desc {
|
65
|
+
font-weight: 400;
|
66
|
+
font-size: 13px;
|
67
|
+
line-height: 20px;
|
68
|
+
color: rgb(26, 26, 26);
|
69
|
+
position: absolute;
|
70
|
+
pointer-events: none;
|
71
|
+
text-align: left;
|
72
|
+
left: 65px;
|
73
|
+
right: 57px;
|
74
|
+
margin: 0px;
|
75
|
+
top: 41px;
|
76
|
+
}
|
77
|
+
|
78
|
+
.home1-feature-img {
|
79
|
+
position: absolute;
|
80
|
+
pointer-events: none;
|
81
|
+
left: 17px;
|
82
|
+
top: 17px;
|
83
|
+
border-radius: 5px;
|
84
|
+
}
|
85
|
+
|
86
|
+
.home1-right-arrow-icon {
|
87
|
+
position: absolute;
|
88
|
+
color: rgb(26, 26, 26);
|
89
|
+
pointer-events: none;
|
90
|
+
right: 17px;
|
91
|
+
top: 17px;
|
92
|
+
}
|
93
|
+
|
94
|
+
@media (max-width:1200px) {
|
95
|
+
.home1-features {
|
96
|
+
padding: 0 !important;
|
97
|
+
}
|
98
|
+
}
|
99
|
+
|
100
|
+
@media (max-width:992px) {
|
101
|
+
.home1-features-box {
|
102
|
+
width: 50%;
|
103
|
+
}
|
104
|
+
}
|
105
|
+
|
106
|
+
@media (max-width:768px) {
|
107
|
+
.home1-features-box {
|
108
|
+
width: 100%;
|
109
|
+
}
|
110
|
+
|
111
|
+
.home1-top-h1 {
|
112
|
+
font-size: 2rem;
|
113
|
+
line-height: initial;
|
114
|
+
text-align: center;
|
115
|
+
}
|
116
|
+
}
|
117
|
+
|
118
|
+
|
119
|
+
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
|
136
|
+
|
137
|
+
|
138
|
+
|
139
|
+
|
140
|
+
|
141
|
+
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
|
146
|
+
|
147
|
+
|
148
|
+
|
149
|
+
|
150
|
+
|
151
|
+
/* Another HOME PAGE design
|
152
|
+
.home1-tools-list {
|
153
|
+
margin: 0 auto;
|
154
|
+
padding-bottom: 90px;
|
155
|
+
}
|
156
|
+
|
157
|
+
.home1-tools-list .home1-tools-container {
|
158
|
+
margin: 0 -5px -10px;
|
159
|
+
padding: 0 100px;
|
160
|
+
list-style: none;
|
161
|
+
font-size: 0;
|
162
|
+
text-align: center;
|
163
|
+
}
|
164
|
+
|
165
|
+
.home1-tools-list .home1-tools-container .home1-tool-box {
|
166
|
+
display: inline-block;
|
167
|
+
vertical-align: top;
|
168
|
+
padding: 0 5px 10px;
|
169
|
+
font-size: 15px;
|
170
|
+
line-height: 30px;
|
171
|
+
margin: 0;
|
172
|
+
width: 30%;
|
173
|
+
max-width: 230px;
|
174
|
+
}
|
175
|
+
|
176
|
+
.home1-tools-list .home1-tools-container .home1-tool-name {
|
177
|
+
display: block;
|
178
|
+
padding: 28px 25px;
|
179
|
+
border-radius: 8px;
|
180
|
+
text-align: center;
|
181
|
+
-webkit-transform: translateZ(0);
|
182
|
+
transform: translateZ(0);
|
183
|
+
box-shadow: 0 10px 35px 0 rgb(0 0 0 / 9%);
|
184
|
+
}
|
185
|
+
|
186
|
+
.home1-tools-list .home1-tools-container .home1-tool-name .home1-tool-detials {
|
187
|
+
display: block;
|
188
|
+
position: relative;
|
189
|
+
-webkit-transform: translateZ(0);
|
190
|
+
transform: translateZ(0);
|
191
|
+
}
|
192
|
+
|
193
|
+
.home1-tools-list .home1-tools-container .home1-tool-name:hover {
|
194
|
+
z-index: 2;
|
195
|
+
-webkit-transition: all .15s ease-in-out, z-index 0s;
|
196
|
+
transition: all .15s ease-in-out, z-index 0s;
|
197
|
+
-webkit-transform: translateY(-5px);
|
198
|
+
transform: translateY(-5px);
|
199
|
+
box-shadow: 0 11px 55px 0 rgb(0 0 0 / 13%);
|
200
|
+
}
|
201
|
+
|
202
|
+
@media (max-width: 1200px) {
|
203
|
+
.home1-tools-list .home1-tools-container {
|
204
|
+
padding: 0;
|
205
|
+
}
|
206
|
+
}
|
207
|
+
|
208
|
+
@media (max-width: 768px) {
|
209
|
+
.home1-tools-list .home1-tools-container .home1-tool-name {
|
210
|
+
padding: 25px;
|
211
|
+
}
|
212
|
+
|
213
|
+
.home1-tools-list .home1-tools-container .home1-tool-name .home1-tool-detials {
|
214
|
+
display: flex;
|
215
|
+
gap: 15px;
|
216
|
+
}
|
217
|
+
|
218
|
+
.home1-tools-list .home1-tools-container .home1-tool-box {
|
219
|
+
width: 100%;
|
220
|
+
max-width: 100%;
|
221
|
+
}
|
222
|
+
|
223
|
+
} */
|
224
|
+
|
225
|
+
/* close */
|
data/assets/images/add.png
CHANGED
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns='http://www.w3.org/2000/svg' fill='#ffffff' width='26' height='26' viewBox='0 0 26 26'><path d='M13,0C5.82,0,0,5.82,0,13s5.82,13,13,13s13-5.82,13-13S20.18,0,13,0z M19,14h-5v5h-2v-5H7v-2h5V7h2v5h5V14z'/></svg>
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48"><path d="M19 39v-1h-.538c-.255 0-.462-.224-.462-.5s.207-.5.462-.5H19v-2h10v2h.538c.255 0 .462.224.462.5s-.207.5-.462.5H29v1h.538c.255 0 .462.224.462.5s-.207.5-.462.5H29s-1.429 3-5 3c-3.571 0-5-3-5-3h-.538c-.255 0-.462-.224-.462-.5s.207-.5.462-.5H19zm1 0h8v-1h-8v1zm.17 1c.186.262.41.524.673.769C21.672 41.542 22.707 42 24 42s2.328-.458 3.157-1.231c.263-.245.487-.507.672-.769h-7.658zM20 37h8v-1h-8v1zM16.136 7.82a.5.5 0 0 1 .899-.44l1.56 3.2a.5.5 0 0 1-.898.44l-1.561-3.2zm14.049-.44a.5.5 0 0 1 .899.44l-1.561 3.2a.5.5 0 1 1-.9-.44l1.562-3.2zM23.11 6a.5.5 0 1 1 1 0v3.2a.5.5 0 1 1-1 0V6zm-12.346 5.95a.5.5 0 0 1 .716-.7l2.341 2.4a.5.5 0 1 1-.715.7l-2.342-2.4zm-2.888 5.734a.5.5 0 1 1 .248-.968l3.122.8a.5.5 0 1 1-.248.968l-3.122-.8zm31.87 0l-3.122.8a.5.5 0 0 1-.248-.968l3.122-.8a.5.5 0 0 1 .248.968zm-4.006-6.433a.5.5 0 1 1 .715.698l-2.341 2.4a.5.5 0 1 1-.716-.698l2.342-2.4zM18.8 34c0-5.5-4.8-5.5-4.8-12.571C14 16.397 18.477 12 24 12s10 4.397 10 9.429C34 28.5 29.2 28.5 29.2 34H18.8zm9.445-1c.167-1.75.813-3.018 2.113-4.72l.447-.583C32.393 25.617 33 24.16 33 21.429 33 16.899 28.917 13 24 13s-9 3.9-9 8.429c0 2.731.607 4.188 2.195 6.268l.447.583c1.3 1.702 1.946 2.97 2.113 4.72h8.49zm-6.876-17.067a.5.5 0 0 1 .355.934c-1.807.686-3.238 2.17-3.886 4.035a.5.5 0 0 1-.944-.329c.744-2.142 2.39-3.85 4.475-4.64z"/></svg>
|
data/assets/images/convert.png
CHANGED
Binary file
|
@@ -0,0 +1,9 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="256" height="256" viewBox="0 0 256 256" xml:space="preserve">
|
2
|
+
|
3
|
+
<defs>
|
4
|
+
</defs>
|
5
|
+
<g style="stroke: none; stroke-width: 0; stroke-dasharray: none; stroke-linecap: butt; stroke-linejoin: miter; stroke-miterlimit: 10; fill: none; fill-rule: nonzero; opacity: 1;" transform="translate(1.4065934065934016 1.4065934065934016) scale(2.81 2.81)" >
|
6
|
+
<path d="M 7.288 48.34 c 0.061 0.04 0.129 0.068 0.193 0.105 c 0.18 0.105 0.363 0.201 0.559 0.277 c 0.093 0.036 0.19 0.06 0.286 0.089 c 0.175 0.053 0.351 0.098 0.535 0.127 c 0.049 0.008 0.094 0.028 0.144 0.034 C 9.164 48.99 9.322 49 9.481 49 c 0 0 0 0 0.001 0 c 0 0 0 0 0 0 c 0 0 0 0 0 0 c 0.267 0 0.531 -0.028 0.79 -0.08 c 0.154 -0.031 0.297 -0.086 0.443 -0.134 c 0.101 -0.033 0.206 -0.054 0.304 -0.094 c 0.162 -0.067 0.31 -0.158 0.46 -0.245 c 0.075 -0.043 0.156 -0.075 0.228 -0.124 c 0.217 -0.146 0.42 -0.311 0.604 -0.495 c 0 0 0 0 0 0 l 7.492 -7.492 c 1.562 -1.562 1.562 -4.095 0 -5.657 c -1.149 -1.149 -2.822 -1.445 -4.249 -0.903 c 4.535 -11.868 16.033 -20.322 29.475 -20.322 c 12.266 0 23.516 7.2 28.658 18.342 c 0.926 2.004 3.3 2.881 5.309 1.956 c 2.005 -0.926 2.881 -3.302 1.955 -5.308 C 74.503 14.478 60.403 5.455 45.027 5.455 c -17.837 0 -32.947 11.873 -37.859 28.129 c -1.224 -1.611 -3.48 -2.084 -5.247 -1.008 c -1.887 1.148 -2.486 3.609 -1.338 5.496 l 5.481 9.007 c 0.014 0.023 0.035 0.041 0.049 0.063 c 0.125 0.195 0.268 0.375 0.424 0.545 c 0.036 0.039 0.064 0.085 0.101 0.122 C 6.835 48.009 7.053 48.186 7.288 48.34 z" style="stroke: none; stroke-width: 1; stroke-dasharray: none; stroke-linecap: butt; stroke-linejoin: miter; stroke-miterlimit: 10; fill: rgb(255,255,255); fill-rule: nonzero; opacity: 1;" transform=" matrix(1 0 0 1 0 0) " stroke-linecap="round" />
|
7
|
+
<path d="M 89.416 51.929 l -5.48 -9.008 c -0.014 -0.023 -0.035 -0.04 -0.049 -0.063 c -0.125 -0.195 -0.268 -0.375 -0.424 -0.546 c -0.035 -0.039 -0.063 -0.084 -0.1 -0.121 c -0.197 -0.199 -0.415 -0.376 -0.65 -0.531 c -0.061 -0.04 -0.129 -0.067 -0.192 -0.104 c -0.18 -0.105 -0.364 -0.201 -0.56 -0.277 c -0.093 -0.036 -0.19 -0.06 -0.287 -0.089 c -0.174 -0.053 -0.35 -0.098 -0.534 -0.127 c -0.049 -0.008 -0.095 -0.028 -0.144 -0.034 c -0.07 -0.008 -0.138 0.003 -0.208 -0.001 C 80.697 41.021 80.611 41 80.519 41 c -0.082 0 -0.159 0.019 -0.239 0.024 c -0.121 0.007 -0.24 0.018 -0.36 0.036 c -0.172 0.026 -0.338 0.065 -0.503 0.113 c -0.105 0.03 -0.209 0.058 -0.312 0.097 c -0.178 0.067 -0.344 0.152 -0.509 0.243 c -0.082 0.045 -0.166 0.082 -0.245 0.133 c -0.237 0.153 -0.46 0.326 -0.659 0.524 c 0 0 -0.001 0.001 -0.001 0.001 l 0 0 l 0 0 l -7.492 7.492 c -1.562 1.562 -1.562 4.095 0 5.656 c 1.148 1.15 2.822 1.446 4.249 0.904 c -4.535 11.868 -16.033 20.321 -29.475 20.321 c -12.707 0 -24.117 -7.563 -29.068 -19.268 c -0.861 -2.034 -3.209 -2.988 -5.242 -2.125 c -2.035 0.86 -2.986 3.207 -2.126 5.242 c 6.206 14.671 20.508 24.151 36.436 24.151 c 17.831 0 32.937 -11.864 37.854 -28.111 c 0.774 1.015 1.96 1.574 3.176 1.574 c 0.708 0 1.426 -0.188 2.075 -0.584 C 89.966 56.276 90.565 53.816 89.416 51.929 z" style="stroke: none; stroke-width: 1; stroke-dasharray: none; stroke-linecap: butt; stroke-linejoin: miter; stroke-miterlimit: 10; fill: rgb(255,255,255); fill-rule: nonzero; opacity: 1;" transform=" matrix(1 0 0 1 0 0) " stroke-linecap="round" />
|
8
|
+
</g>
|
9
|
+
</svg>
|
Binary file
|
data/assets/js/batch.js
CHANGED
@@ -59,6 +59,8 @@ const onSubmit = (files) => {
|
|
59
59
|
console.log(error)
|
60
60
|
})
|
61
61
|
})).then(() => {
|
62
|
+
document.querySelector(".bottom-section-container").style.display = "flex"
|
63
|
+
document.querySelector(".bottom-section-container").style.padding = "20px .75rem"
|
62
64
|
document.querySelector('#download-zip').style.display = "block"
|
63
65
|
let zip = new JSZip()
|
64
66
|
let zipFiles = zip.folder(`safeimagekit-batch`)
|
@@ -119,7 +121,7 @@ const handleFile = (file) => {
|
|
119
121
|
listItem.style.listStyle = "none"
|
120
122
|
let getFileSize = formatBytes(file[i].size)
|
121
123
|
listItem.innerHTML = `${file[i].name} (${getFileSize})`
|
122
|
-
selectedFilesList.appendChild(listItem)
|
124
|
+
// selectedFilesList.appendChild(listItem)
|
123
125
|
}
|
124
126
|
}
|
125
127
|
renderFiles(files)
|
data/assets/js/frame.js
CHANGED
@@ -91,6 +91,9 @@ const drawInputImage = (ctx, item, indexValue) => {
|
|
91
91
|
}
|
92
92
|
|
93
93
|
const drawImage = () => {
|
94
|
+
workspace.style.display = 'block'
|
95
|
+
document.querySelector('#upper-panel').style.display = 'none'
|
96
|
+
document.querySelector('#saving-data').style.display = 'flex'
|
94
97
|
let img = new Image()
|
95
98
|
img.src = featureData.effectImagePath
|
96
99
|
var canvas = document.createElement('canvas')
|
@@ -157,8 +160,8 @@ const drawImage = () => {
|
|
157
160
|
}
|
158
161
|
})
|
159
162
|
canvasPanel.innerHTML = ''
|
163
|
+
document.querySelector('#saving-data').style.display = 'none'
|
160
164
|
canvasPanel.appendChild(canvas)
|
161
|
-
workspace.style.display = 'block'
|
162
165
|
})
|
163
166
|
}
|
164
167
|
}
|
@@ -172,7 +175,6 @@ const cropImage = (result, id) => {
|
|
172
175
|
cropper = new Cropper(img, {
|
173
176
|
viewMode: 3,
|
174
177
|
ready() {
|
175
|
-
console.log(id)
|
176
178
|
let find = featureData.elements.find((i) => i.id === id)
|
177
179
|
console.log(find)
|
178
180
|
cropper.setAspectRatio(Number(find.width) / Number(find.height))
|
@@ -200,6 +202,9 @@ document.querySelector('#crop').addEventListener('click', () => {
|
|
200
202
|
})
|
201
203
|
.toDataURL()
|
202
204
|
files[index - 1] = cropperImg
|
205
|
+
document.querySelector(`#image-pre-${index}`).src = cropperImg
|
206
|
+
document.querySelector(`#image-pre-${index}`).style.display = 'block'
|
207
|
+
document.querySelector(`#cam-${index}`).style.display = 'none'
|
203
208
|
cropModal.style.display = 'none'
|
204
209
|
})
|
205
210
|
const openExamplesModal = () => {
|
@@ -233,7 +238,7 @@ download.addEventListener('click', () => {
|
|
233
238
|
let url = canvas.toDataURL(`image/png`)
|
234
239
|
let a = document.createElement('a')
|
235
240
|
a.href = url
|
236
|
-
a.download = `safeimagekit-
|
241
|
+
a.download = `safeimagekit-photo-effect-image.png`
|
237
242
|
document.body.appendChild(a)
|
238
243
|
a.click()
|
239
244
|
if (lang === 'en') {
|
data/assets/js/testing-batch.js
CHANGED
@@ -1,4 +1,3 @@
|
|
1
|
-
const opacity = document.querySelector("#opacity")
|
2
1
|
const batchConversion = async (file, indexValue) => {
|
3
2
|
return new Promise((resolve, reject) => {
|
4
3
|
if (file) {
|
@@ -13,9 +12,18 @@ const batchConversion = async (file, indexValue) => {
|
|
13
12
|
image.onload = () => {
|
14
13
|
canvas.width = image.width
|
15
14
|
canvas.height = image.height
|
16
|
-
|
17
|
-
|
18
|
-
|
15
|
+
// counter.innerHTML = e.target.value + "%"
|
16
|
+
let filters = document.querySelector('#applyFilter')
|
17
|
+
if (filters.getAttribute('data-filter') === "opacity") {
|
18
|
+
ctx.globalAlpha = filters.value
|
19
|
+
ctx.drawImage(image, 0, 0, canvas.width, canvas.height)
|
20
|
+
resolve([indexValue, canvas.toDataURL('image/png'), "image"])
|
21
|
+
} else {
|
22
|
+
ctx.filter = filters.getAttribute('data-filter') + '(' + filters.value + filters.getAttribute('data-scale') + ') '
|
23
|
+
ctx.drawImage(image, 0, 0, canvas.width, canvas.height)
|
24
|
+
resolve([indexValue, canvas.toDataURL('image/png'), "image"])
|
25
|
+
}
|
26
|
+
|
19
27
|
}
|
20
28
|
image.src = e.target.result
|
21
29
|
}
|