appscms-tools-theme 4.5.1 → 4.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/_layouts/appscms-download.html +1 -1
- data/assets/css/appscms-theme.css +7 -1
- data/assets/js/appscms-theme.js +16 -0
- 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: e5ff36f832481cd021e7f9b6138568311994103c8f07b7526b4757b3c7538ef4
|
|
4
|
+
data.tar.gz: ba004bad2450a345a8681ba514961f9913b66ddfc298c3abb7969ba20d7c4b9f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3c422657817694e9309f258452675000c53f725010b35a485e40b5c4425ef650951bbf516c9d39baa3244ea5b137e5484b674370b70b485464ffce83a92f2b61
|
|
7
|
+
data.tar.gz: 6608b41ba57833c697d677c837eab665ef89f014f7e048a0da1c27d13261cdca5c9b5d453a20b6894d91cff44f873e5ef62741b11c248adf9777682214da0997
|
|
@@ -949,7 +949,7 @@ body {
|
|
|
949
949
|
color: var(--white-color);
|
|
950
950
|
border: none;
|
|
951
951
|
border-radius: 10px;
|
|
952
|
-
padding: 10px
|
|
952
|
+
padding: 10px 40px;
|
|
953
953
|
font-size: 15px;
|
|
954
954
|
height: 48px;
|
|
955
955
|
min-width: 212px;
|
|
@@ -1999,4 +1999,10 @@ display: none;
|
|
|
1999
1999
|
|
|
2000
2000
|
#download-button.loading .button-loader {
|
|
2001
2001
|
display: block; /* Show the loader when button has loading class */
|
|
2002
|
+
}
|
|
2003
|
+
#processing-btn {
|
|
2004
|
+
position: relative;
|
|
2005
|
+
}
|
|
2006
|
+
#processing-btn .button-loader {
|
|
2007
|
+
left: 9%;
|
|
2002
2008
|
}
|
data/assets/js/appscms-theme.js
CHANGED
|
@@ -191,4 +191,20 @@ document.addEventListener("DOMContentLoaded", function() {
|
|
|
191
191
|
|
|
192
192
|
});
|
|
193
193
|
}
|
|
194
|
+
|
|
194
195
|
});
|
|
196
|
+
|
|
197
|
+
// Check if the button exists
|
|
198
|
+
const processingBtn = document.getElementById('processing-btn');
|
|
199
|
+
if (processingBtn) {
|
|
200
|
+
// Add click event listener to the button
|
|
201
|
+
processingBtn.addEventListener('click', function() {
|
|
202
|
+
// Show loader
|
|
203
|
+
const buttonLoader = document.querySelector('.button-loader');
|
|
204
|
+
if (buttonLoader) {
|
|
205
|
+
buttonLoader.style.display = 'block';
|
|
206
|
+
}
|
|
207
|
+
// Go back in history
|
|
208
|
+
history.back();
|
|
209
|
+
});
|
|
210
|
+
}
|
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: 4.5.
|
|
4
|
+
version: 4.5.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- vivek-appscms
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-04-
|
|
11
|
+
date: 2024-04-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|