appscms-tools-theme 4.6.3 → 4.6.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a5f6a95de967871083445ecddb7d4608160a54bfaed72ada0ca405e8fbfa54b3
4
- data.tar.gz: a14041ae59eb6584ebece3a1b7afa6f480316b3d92f9592698d68291837214ab
3
+ metadata.gz: ab5dfda2e2eb73077b21353d39af8d23d1b9863c748d0a3859e27f472bc6a5eb
4
+ data.tar.gz: 0e4d75f32f4e4cf17d8b2af8af64b1f94d34ebfa3d093065654a038594820323
5
5
  SHA512:
6
- metadata.gz: 7d6b09481d0c4096c23b484486fed59c77a45e3788f01adb3021fa5293c580cc0289570136349c35434985c467843871a522de6b5b93e0a8fb7b0af44e225851
7
- data.tar.gz: ea89a40d775ee7ceddf3ca1a4b6092aeb389cf793e4acbffa0f3f7c71acfc83c4f3f4d7aa70b9f2a5858d40740f3e4c98f90711857c6990690ee188c4e7f86b2
6
+ metadata.gz: aa50c66b61e17f36f6cfd8f36d8954577f85d8b818e63479766f8a36ca62f380d0c9f2fbe509bd6dacfbc0f97922ce373ab8a7722b736f819c0ba6b1c4372d80
7
+ data.tar.gz: 97178496db62993218d49c38b0a62daae6ba3800e5e2837b6d95097cb5a36e4c76656ee62da558b53516c983d7aadaf407ec2200a9458791c6afc560c4efef9e
@@ -108,7 +108,20 @@
108
108
  "jscdns": [
109
109
  "<script crossorigin='anonymous' src=\"/assets/js/googledrive.js\"></script>"
110
110
  ],
111
- "infographics": [],
111
+ "infographics": [
112
+ {
113
+ "image": "/uploads/info.png",
114
+ "description": "How to set alarm on wake me up at 4:45 am tool"
115
+ },
116
+ {
117
+ "image": "/uploads/info.png",
118
+ "description": "5 benefits of using wake me up at 4:45 am tool"
119
+ },
120
+ {
121
+ "image": "/uploads/info.png",
122
+ "description": "Additional features of wake me up at 4:45 am tool"
123
+ }
124
+ ],
112
125
  "posts": [
113
126
  {
114
127
  "tags": ["ok"],
@@ -22,16 +22,16 @@
22
22
  height: auto;
23
23
  }
24
24
  .close1 {
25
- position: absolute;
26
- top: 10px;
27
- right: 10px;
28
- font-size: 24px;
29
- color: #fff;
30
- cursor: pointer;
31
- }
32
- .close1:hover {
33
- color: #ccc;
34
- }
25
+ position: absolute;
26
+ top: 10px;
27
+ right: 10px;
28
+ font-size: 24px;
29
+ color: #fff;
30
+ cursor: pointer;
31
+ }
32
+ .close1:hover {
33
+ color: #ccc;
34
+ }
35
35
  </style>
36
36
  <div class="inforgraphics_section">
37
37
  <h3 class="text-center w-100 mb-5"><b>Other useful information</b></h3>
@@ -61,23 +61,23 @@
61
61
  <span class="close1" onclick="closeModal1()">&times;</span>
62
62
  <div class="modal1-content1">
63
63
  <div class="modal1-body">
64
- <img id="modal1Image" src="" alt="Image">
64
+ <img id="modal1Image" src="" alt="Image" />
65
65
  </div>
66
66
  </div>
67
67
  </div>
68
68
  <script>
69
- function openModal1(imageSrc) {
70
- var modal1 = document.getElementById('imageModal1');
71
- var modal1Img = document.getElementById('modal1Image');
69
+ function openModal1(imageSrc) {
70
+ var modal1 = document.getElementById("imageModal1");
71
+ var modal1Img = document.getElementById("modal1Image");
72
72
  modal1.style.display = "block";
73
73
  modal1Img.src = imageSrc;
74
74
  }
75
75
  function closeModal1() {
76
- var modal1 = document.getElementById('imageModal1');
76
+ var modal1 = document.getElementById("imageModal1");
77
77
  modal1.style.display = "none";
78
78
  }
79
- document.addEventListener('click', function(event) {
80
- var modal1 = document.getElementById('imageModal1');
79
+ document.addEventListener("click", function (event) {
80
+ var modal1 = document.getElementById("imageModal1");
81
81
  if (event.target === modal1) {
82
82
  closeModal1();
83
83
  }
@@ -158,9 +158,3 @@
158
158
  // document.addEventListener("mouseup", dragStop);
159
159
  // carousel.addEventListener("touchend", dragStop);
160
160
  </script>
161
-
162
-
163
-
164
-
165
-
166
-
@@ -65,12 +65,15 @@
65
65
  flex: 0 0 calc(100% / 3);
66
66
  scroll-snap-align: start;
67
67
  padding: 20px;
68
+ display: flex;
69
+ flex-direction: column;
70
+ align-items: center;
71
+ justify-content: center;
68
72
  }
69
73
 
70
74
  .carousel img {
71
- width: 100%;
72
75
  object-fit: contain;
73
- max-width: 100%;
76
+
74
77
  height: auto;
75
78
  border-radius: 8px;
76
79
  }
@@ -159,8 +162,8 @@
159
162
  if (numImages > 3) {
160
163
  arrowIcons[1].style.display = "block";
161
164
  } else {
162
- arrowIcons[0].style.display = "none";
163
- arrowIcons[1].style.display = "none";
165
+ // arrowIcons[0].style.display = "none";
166
+ // arrowIcons[1].style.display = "none";
164
167
  }
165
168
 
166
169
  let isDragStart = false,
@@ -180,7 +183,7 @@
180
183
  let firstImgWidth = firstImg.clientWidth + 40;
181
184
  const scrollAmount = icon.id === "left" ? -firstImgWidth : firstImgWidth;
182
185
  carousel.scrollBy({
183
- left: scrollAmount,
186
+ left: "100vw",
184
187
  behavior: "smooth",
185
188
  });
186
189
  setTimeout(() => showHideIcons(), 60); // calling showHideIcons after 60ms
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.6.3
4
+ version: 4.6.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: 2024-06-15 00:00:00.000000000 Z
11
+ date: 2024-06-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll