appscms-tools-theme 4.6.4 → 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: 4aea7884a301df8c0e6e3ff5664fb2c61b16e44394eb6a74d47a0372f621e7e8
4
- data.tar.gz: 7c62873b75bbcfef31aca661a1a59f44e21dd8da0524acfc61a2fa87faa5a01e
3
+ metadata.gz: ab5dfda2e2eb73077b21353d39af8d23d1b9863c748d0a3859e27f472bc6a5eb
4
+ data.tar.gz: 0e4d75f32f4e4cf17d8b2af8af64b1f94d34ebfa3d093065654a038594820323
5
5
  SHA512:
6
- metadata.gz: c4cc84e13da968b2bd5b69605468c937e83bf81671aa60a09e5d7207fffe7f010c1672154175bc570471f3ce123c1489e494268987ba0e585d7bab74d2aeac3c
7
- data.tar.gz: b182143b4db87882ac62273f4a99365decb5d25aee59f484ddbf5d539e4356f720968136e2ddfe641bd39c675c3e67f1002246b5529f2337c8c0a402134b1e94
6
+ metadata.gz: aa50c66b61e17f36f6cfd8f36d8954577f85d8b818e63479766f8a36ca62f380d0c9f2fbe509bd6dacfbc0f97922ce373ab8a7722b736f819c0ba6b1c4372d80
7
+ data.tar.gz: 97178496db62993218d49c38b0a62daae6ba3800e5e2837b6d95097cb5a36e4c76656ee62da558b53516c983d7aadaf407ec2200a9458791c6afc560c4efef9e
@@ -110,15 +110,15 @@
110
110
  ],
111
111
  "infographics": [
112
112
  {
113
- "image": "/assets/images/1.webp",
113
+ "image": "/uploads/info.png",
114
114
  "description": "How to set alarm on wake me up at 4:45 am tool"
115
115
  },
116
116
  {
117
- "image": "/assets/images/2.webp",
117
+ "image": "/uploads/info.png",
118
118
  "description": "5 benefits of using wake me up at 4:45 am tool"
119
119
  },
120
120
  {
121
- "image": "/assets/images/3.webp",
121
+ "image": "/uploads/info.png",
122
122
  "description": "Additional features of wake me up at 4:45 am tool"
123
123
  }
124
124
  ],
@@ -18,6 +18,7 @@
18
18
  margin-top: 20px;
19
19
  }
20
20
  .modal1-body img {
21
+ width: 100%;
21
22
  height: auto;
22
23
  }
23
24
  .close1 {
@@ -35,29 +36,7 @@
35
36
  <div class="inforgraphics_section">
36
37
  <h3 class="text-center w-100 mb-5"><b>Other useful information</b></h3>
37
38
  <div class="wrapper">
38
- <svg
39
- id="left"
40
- viewBox="0 0 24 24"
41
- fill="none"
42
- xmlns="http://www.w3.org/2000/svg"
43
- >
44
- <g id="SVGRepo_bgCarrier" stroke-width="0"></g>
45
- <g
46
- id="SVGRepo_tracerCarrier"
47
- stroke-linecap="round"
48
- stroke-linejoin="round"
49
- ></g>
50
- <g id="SVGRepo_iconCarrier">
51
- <path
52
- d="M15 19.9201L8.47997 13.4001C7.70997 12.6301 7.70997 11.3701 8.47997 10.6001L15 4.08008"
53
- stroke="#292D32"
54
- stroke-width="1.5"
55
- stroke-miterlimit="10"
56
- stroke-linecap="round"
57
- stroke-linejoin="round"
58
- ></path>
59
- </g>
60
- </svg>
39
+ <i id="left" class="fas fa-angle-left"></i>
61
40
  <div class="carousel">
62
41
  <div class="carousel-inner">
63
42
  {%- if pageData.infographics -%} {% for item in pageData.infographics %}
@@ -75,28 +54,7 @@
75
54
  {% endfor %} {%- endif -%}
76
55
  </div>
77
56
  </div>
78
- <svg
79
- id="right"
80
- viewBox="0 0 24 24"
81
- fill="none"
82
- xmlns="http://www.w3.org/2000/svg"
83
- >
84
- <g id="SVGRepo_bgCarrier" stroke-width="0"></g>
85
- <g
86
- id="SVGRepo_tracerCarrier"
87
- stroke-linecap="round"
88
- stroke-linejoin="round"
89
- ></g>
90
- <g id="SVGRepo_iconCarrier">
91
- <path
92
- d="M9 5L14.15 10C14.4237 10.2563 14.6419 10.5659 14.791 10.9099C14.9402 11.2539 15.0171 11.625 15.0171 12C15.0171 12.375 14.9402 12.7458 14.791 13.0898C14.6419 13.4339 14.4237 13.7437 14.15 14L9 19"
93
- stroke="#000000"
94
- stroke-width="1.5"
95
- stroke-linecap="round"
96
- stroke-linejoin="round"
97
- ></path>
98
- </g>
99
- </svg>
57
+ <i id="right" class="fas fa-angle-right"></i>
100
58
  </div>
101
59
  </div>
102
60
  <div id="imageModal1" class="modal1" onclick="closeModal1()">
@@ -126,14 +84,14 @@
126
84
  });
127
85
  const carousel = document.querySelector(".carousel-inner"),
128
86
  firstImg = carousel.querySelectorAll("img")[0],
129
- arrowIcons = document.querySelectorAll(".wrapper svg");
87
+ arrowIcons = document.querySelectorAll(".wrapper i");
130
88
  const numImages = carousel.querySelectorAll("img").length;
131
89
  const isMobile = window.matchMedia("(max-width: 767px)").matches; // Check if screen width is less than or equal to 767px
132
90
  if (numImages > 3) {
133
91
  arrowIcons[1].style.display = "block";
134
92
  } else {
135
- // arrowIcons[0].style.display = "none";
136
- // arrowIcons[1].style.display = "none";
93
+ arrowIcons[0].style.display = "none";
94
+ arrowIcons[1].style.display = "none";
137
95
  }
138
96
  let isDragStart = false,
139
97
  isDragging = false,
@@ -148,7 +106,7 @@
148
106
  };
149
107
  arrowIcons.forEach((icon) => {
150
108
  icon.addEventListener("click", () => {
151
- let firstImgWidth = firstImg.clientWidth + 250;
109
+ let firstImgWidth = firstImg.clientWidth + 40;
152
110
  const scrollAmount = icon.id === "left" ? -firstImgWidth : firstImgWidth;
153
111
  carousel.scrollBy({
154
112
  left: scrollAmount,
@@ -291,7 +291,6 @@
291
291
  display: flex;
292
292
  max-width: 90%;
293
293
  position: relative;
294
- align-items: center;
295
294
  }
296
295
 
297
296
  .inforgraphics_section .wrapper i {
@@ -350,14 +349,12 @@
350
349
  flex: 0 0 calc(100% / 3);
351
350
  scroll-snap-align: start;
352
351
  padding: 20px;
353
- display: flex;
354
- align-items: center;
355
- justify-content: center;
356
- flex-direction: column;
357
352
  }
358
353
 
359
354
  .carousel img {
355
+ width: 100%;
360
356
  object-fit: contain;
357
+ max-width: 100%;
361
358
  height: auto;
362
359
  border-radius: 8px;
363
360
  }
@@ -399,16 +396,3 @@
399
396
  margin-right: 0;
400
397
  }
401
398
  }
402
-
403
- .modal1-body {
404
- display: flex;
405
- align-items: center;
406
- justify-content: center;
407
- height: 100vh;
408
- }
409
-
410
- .inforgraphics_section #right,
411
- .inforgraphics_section #left {
412
- height: 35px;
413
- width: 200px;
414
- }
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.4
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