appscms-tools-theme 2.7.4 → 2.7.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_layouts/feature-1.html +1 -1
- data/assets/css/frame.css +3 -4
- data/assets/js/frame.js +4 -7
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f481439b1f8f2c032eca80dacf0b78685cc3461da0c895fd820da843770e607a
|
4
|
+
data.tar.gz: 4d722bc632e3ef9cd008c69d25e88aef0deb4c626fb74f819832d79e5297c92b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4eec6fd54380307c0e48f0c7d1e5d2faf263498b9700b54128bf9b887ceffdb3b0c8abf26030c420188c90ce9382fccf84ebe8402bb80194b886fd9edea1531c
|
7
|
+
data.tar.gz: 3c7def89e2a1b085138fc2dfcd8e4a347612c32d3f1951ecd12ccc839d93355400b7437e0cdc13aaa163b0d2356a1b68f3fdd96f9c4676eae550d43f750a6cfe
|
data/_layouts/feature-1.html
CHANGED
@@ -62,7 +62,7 @@
|
|
62
62
|
<div class="m-auto">
|
63
63
|
<div class="d-flex justify-content-center align-items-center">
|
64
64
|
<div id="Inputbox" class="boxes" style="background-color: {{boxColor}};">
|
65
|
-
<img height="21px" width="21px" src="/assets/images/add.svg" />
|
65
|
+
<img height="21px" width="21px" src="/assets/images/add.svg" alt="add " />
|
66
66
|
<span class="ml-3">CHOOSE FILE</span>
|
67
67
|
</div>
|
68
68
|
<div class="file-pick-dropdown" style="background-color:{{boxColor}}">
|
data/assets/css/frame.css
CHANGED
@@ -755,12 +755,10 @@ input {
|
|
755
755
|
text-align: center;
|
756
756
|
color: #777;
|
757
757
|
}
|
758
|
-
|
759
758
|
.categories-list li {
|
760
759
|
font-size: 1em;
|
761
760
|
border-bottom: 1px solid #f2f2f2;
|
762
761
|
}
|
763
|
-
|
764
762
|
.categories-list .category-link {
|
765
763
|
display: block;
|
766
764
|
padding: 7px 9px;
|
@@ -772,11 +770,12 @@ input {
|
|
772
770
|
-moz-border-radius: 1px;
|
773
771
|
border-radius: 1px;
|
774
772
|
}
|
775
|
-
|
776
773
|
.categories-list .category-link:hover {
|
777
774
|
background-color: #f4f4f4;
|
778
775
|
}
|
779
|
-
|
780
776
|
.categories-list .active-cat {
|
781
777
|
background-color: #f4f4f4;
|
778
|
+
}
|
779
|
+
.crop-image-modal-container {
|
780
|
+
overflow-y: auto;
|
782
781
|
}
|
data/assets/js/frame.js
CHANGED
@@ -20,13 +20,12 @@ let image = null
|
|
20
20
|
const showLoader = () => {
|
21
21
|
showLoading()
|
22
22
|
}
|
23
|
-
const closeLoader = () => {}
|
23
|
+
const closeLoader = () => { }
|
24
24
|
const clickInput = (e) => {
|
25
25
|
console.log(`#file-${e.dataset.index}`)
|
26
26
|
document.querySelector(`#file-${e.dataset.index}`).click()
|
27
27
|
}
|
28
28
|
let featureData = null
|
29
|
-
|
30
29
|
fetch('/assets/js/photo-effects.json')
|
31
30
|
.then((response) => response.json())
|
32
31
|
.then((data) => {
|
@@ -92,17 +91,14 @@ const drawInputImage = (ctx, item, indexValue) => {
|
|
92
91
|
[item.perspective.bottomLeft.x, item.perspective.bottomLeft.y],
|
93
92
|
])
|
94
93
|
}
|
95
|
-
|
96
94
|
if (item.skew) {
|
97
95
|
ctx.setTransform(1, item.skew.x, item.skew.y, 1, 0, 0)
|
98
96
|
}
|
99
|
-
|
100
97
|
ctx.restore()
|
101
98
|
resolve()
|
102
99
|
}
|
103
100
|
})
|
104
101
|
}
|
105
|
-
|
106
102
|
const drawImage = () => {
|
107
103
|
workspace.style.display = 'block'
|
108
104
|
document.querySelector('#upper-panel').style.display = 'none'
|
@@ -150,7 +146,6 @@ const drawImage = () => {
|
|
150
146
|
if (item.shadowColor) {
|
151
147
|
ctx.shadowColor = `${item.shadowColor}`
|
152
148
|
}
|
153
|
-
|
154
149
|
if (item.shadowOffsetX) {
|
155
150
|
ctx.shadowOffsetX = 3
|
156
151
|
}
|
@@ -179,6 +174,7 @@ const drawImage = () => {
|
|
179
174
|
}
|
180
175
|
}
|
181
176
|
const cropImage = (result, id) => {
|
177
|
+
document.body.style.overflow = "hidden"
|
182
178
|
let image = new Image()
|
183
179
|
image.onload = () => {
|
184
180
|
let img = document.createElement('img')
|
@@ -219,6 +215,7 @@ document.querySelector('#crop').addEventListener('click', () => {
|
|
219
215
|
document.querySelector(`#image-pre-${index}`).style.display = 'block'
|
220
216
|
document.querySelector(`#cam-${index}`).style.display = 'none'
|
221
217
|
cropModal.style.display = 'none'
|
218
|
+
document.body.style.overflow = "auto"
|
222
219
|
})
|
223
220
|
const openExamplesModal = () => {
|
224
221
|
exampleModal.style.display = 'flex'
|
@@ -259,4 +256,4 @@ download.addEventListener('click', () => {
|
|
259
256
|
} else {
|
260
257
|
window.location.href = `/${lang}/download?tool=${pageTool}`
|
261
258
|
}
|
262
|
-
})
|
259
|
+
})
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: appscms-tools-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.7.
|
4
|
+
version: 2.7.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- vivek-appscms
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-11-
|
11
|
+
date: 2022-11-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|