appscms-tools-theme 3.8.4 → 3.8.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,14 +1,35 @@
1
+ ---
2
+ ---
3
+
4
+ if ("{{ site.safeui }}"==="true") {
5
+ document.addEventListener("DOMContentLoaded", function () {
6
+ var safuiAlert = document.querySelector("#safeui-alert");
7
+ if (safuiAlert) {
8
+ setTimeout(function () {
9
+ safuiAlert.style.transition = "1s";
10
+ safuiAlert.style.height = "0";
11
+ safuiAlert.style.paddingTop = "0";
12
+ safuiAlert.style.paddingBottom = "0";
13
+ safuiAlert.style.marginTop = "0";
14
+ safuiAlert.style.marginBottom = "0";
15
+ setTimeout(function () {
16
+ safuiAlert.parentNode.removeChild(safuiAlert);
17
+ }, 1000);
18
+ }, 10000);
19
+ }
20
+ });
21
+ }
1
22
  const hamburger = document.querySelector("#hamburger");
2
- const appscmsToolbar = document.querySelector(".appscms-toolbar");
3
- const appscmsToolbarListItems = document.querySelectorAll(
4
- ".appscms-toolbar-list-item-span"
5
- );
6
- hamburger.addEventListener("click", () => {
7
- if (hamburger.dataset.open === "1") {
8
- hamburger.dataset.open = "0";
9
- appscmsToolbar.style.right = "-272px";
10
- appscmsToolbar.style.display = "none";
11
- hamburger.innerHTML =` <svg
23
+ const appscmsToolbar = document.querySelector(".appscms-toolbar");
24
+ const appscmsToolbarListItems = document.querySelectorAll(
25
+ ".appscms-toolbar-list-item-span"
26
+ );
27
+ hamburger.addEventListener("click", () => {
28
+ if (hamburger.dataset.open === "1") {
29
+ hamburger.dataset.open = "0";
30
+ appscmsToolbar.style.right = "-272px";
31
+ appscmsToolbar.style.display = "none";
32
+ hamburger.innerHTML = ` <svg
12
33
  style="font-size:25px"
13
34
  stroke="currentColor"
14
35
  fill="currentColor"
@@ -27,36 +48,54 @@ const hamburger = document.querySelector("#hamburger");
27
48
  stroke-width="48"
28
49
  d="M88 152h336M88 256h336M88 360h336"
29
50
  ></path>
30
- </svg>`
31
- } else {
32
- hamburger.dataset.open = "1";
33
- appscmsToolbar.style.right = "0px";
34
- appscmsToolbar.style.display = "block";
35
- hamburger.innerHTML = `<svg height="50px"
36
- width="1em" style="font-size:25px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="#ffffff"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"> <g clip-path="url(#clip0_429_11083)"> <path d="M7 7.00006L17 17.0001M7 17.0001L17 7.00006" stroke="#ffffff" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"></path> </g> <defs> <clipPath id="clip0_429_11083"> <rect width="24" height="24" fill="white"></rect> </clipPath> </defs> </g></svg>`
37
- }
38
- });
39
- Array.from(appscmsToolbarListItems).map((item) => {
40
- item.addEventListener("click", (e) => {
41
- e.preventDefault();
42
- var style = window.getComputedStyle(item.nextElementSibling);
43
- var maxHeight = style.getPropertyValue("max-height");
44
-
45
- if (maxHeight && maxHeight !== "0px") {
46
- // If the item is expanded, collapse it
47
- item.nextElementSibling.style.maxHeight = "0";
48
- item.nextElementSibling.style.opacity = "0";
49
- item.nextElementSibling.style.height = "0";
50
- } else {
51
- // If the item is collapsed, expand it
52
- item.nextElementSibling.style.maxHeight =
53
- item.nextElementSibling.scrollHeight + "px";
54
- item.nextElementSibling.style.opacity = "1";
55
- item.nextElementSibling.style.height = "auto";
56
- }
57
- });
58
- });
59
-
51
+ </svg>`;
52
+ } else {
53
+ hamburger.dataset.open = "1";
54
+ appscmsToolbar.style.right = "0px";
55
+ appscmsToolbar.style.display = "block";
56
+ hamburger.innerHTML = `<svg height="50px"
57
+ width="1em" style="font-size:25px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="#ffffff"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"> <g clip-path="url(#clip0_429_11083)"> <path d="M7 7.00006L17 17.0001M7 17.0001L17 7.00006" stroke="#ffffff" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"></path> </g> <defs> <clipPath id="clip0_429_11083"> <rect width="24" height="24" fill="white"></rect> </clipPath> </defs> </g></svg>`;
58
+ }
59
+ });
60
+ Array.from(appscmsToolbarListItems).map((item) => {
61
+ item.addEventListener("click", (e) => {
62
+ e.preventDefault();
63
+ var style = window.getComputedStyle(item.nextElementSibling);
64
+ var maxHeight = style.getPropertyValue("max-height");
60
65
 
66
+ if (maxHeight && maxHeight !== "0px") {
67
+ // If the item is expanded, collapse it
68
+ item.nextElementSibling.style.maxHeight = "0";
69
+ item.nextElementSibling.style.opacity = "0";
70
+ item.nextElementSibling.style.height = "0";
71
+ } else {
72
+ // If the item is collapsed, expand it
73
+ item.nextElementSibling.style.maxHeight =
74
+ item.nextElementSibling.scrollHeight + "px";
75
+ item.nextElementSibling.style.opacity = "1";
76
+ item.nextElementSibling.style.height = "auto";
77
+ }
78
+ });
79
+ });
61
80
 
62
-
81
+ if ("{{ site.removeBootstrapJs }}" === "true") {
82
+ const languagesModal = document.querySelector("#staticBackdrop");
83
+ const intModalBtn = document.querySelector("#int-modal-btn");
84
+ const closeBtn = document.querySelector("#close-modal");
85
+
86
+ if (intModalBtn) {
87
+ intModalBtn.addEventListener("click", () => {
88
+ languagesModal.style.display = "block";
89
+ languagesModal.classList.add("show");
90
+ let modal = document.createElement("div");
91
+ modal.classList.add("modal-backdrop", "show");
92
+ document.body.appendChild(modal);
93
+ });
94
+ closeBtn.addEventListener("click", () => {
95
+ languagesModal.style.display = "none";
96
+ languagesModal.classList.remove("show");
97
+ let modal = document.querySelector(".modal-backdrop");
98
+ document.body.removeChild(modal);
99
+ });
100
+ }
101
+ }
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: 3.8.4
4
+ version: 3.8.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - vivek-appscms
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-26 00:00:00.000000000 Z
11
+ date: 2023-09-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -175,6 +175,7 @@ files:
175
175
  - _layouts/aboutUs.html
176
176
  - _layouts/allAuthors.html
177
177
  - _layouts/appscms-about.html
178
+ - _layouts/appscms-audio.html
178
179
  - _layouts/appscms-blog.html
179
180
  - _layouts/appscms-contact.html
180
181
  - _layouts/appscms-disclaimer.html
@@ -184,6 +185,7 @@ files:
184
185
  - _layouts/appscms-home.html
185
186
  - _layouts/appscms-privacy-policy.html
186
187
  - _layouts/appscms-terms-and-conditions.html
188
+ - _layouts/appscms-video.html
187
189
  - _layouts/audio.html
188
190
  - _layouts/author.html
189
191
  - _layouts/batch.html
@@ -395,6 +397,7 @@ files:
395
397
  - assets/images/debosmita.jpeg
396
398
  - assets/images/digiball.jpg
397
399
  - assets/images/digipaint.jpg
400
+ - assets/images/document.png
398
401
  - assets/images/download.png
399
402
  - assets/images/dropbox.png
400
403
  - assets/images/faceframe.png
@@ -405,7 +408,6 @@ files:
405
408
  - assets/images/google-drive.png
406
409
  - assets/images/google-drive.svg
407
410
  - assets/images/image.png
408
- - assets/images/image.webp
409
411
  - assets/images/karuna.jpeg
410
412
  - assets/images/karuna.png
411
413
  - assets/images/keshav.webp
@@ -443,11 +445,13 @@ files:
443
445
  - assets/images/udit.png
444
446
  - assets/images/uo.svg
445
447
  - assets/images/vectorpaint.svg
448
+ - assets/images/video.png
446
449
  - assets/instagram.svg
447
450
  - assets/js/TopScroll.js
448
451
  - assets/js/adBlocker.js
449
452
  - assets/js/ads.js
450
453
  - assets/js/append-div.js
454
+ - assets/js/appscms-search.js
451
455
  - assets/js/appscms-theme.js
452
456
  - assets/js/batch.js
453
457
  - assets/js/calculator-tooltip.js
Binary file