word-games-theme 2.5.9 → 2.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/repeat-letters.html +64 -8
- data/assets/js/repeat-letters.js +2 -0
- data/assets/js/wordfinder-home.js +22 -18
- 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: 0b29e5cfde5e0c4a157d89b64af62c0570f135dd2b5cca369e2bff769a28ee6c
|
4
|
+
data.tar.gz: 97d33b64c47719c0b0fc2f34fa0bd533174fc3728e915f5225143765d79fba6f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1bc3aae8975934d5b740590871ae93d7eec6fc50acac24dc8aaf13384d60aa1b1b00471dc64800ee9a1bbb56ac359b468b0c1bab1df6bda50fddae8836b151e3
|
7
|
+
data.tar.gz: fbb016773aba70c5ecd6ec8b0708cd0267d2b290c285ff798b301c3e855531c2bbe23bd0ecbbdc2215adfc1e7cff2bfc22c180c579eeaf5134b7597177d53d45
|
@@ -2,16 +2,68 @@
|
|
2
2
|
dataToShow = site.data.[page.folderName][lang][file] %} {%- assign CustomColor =
|
3
3
|
site.data.theme.colors -%}
|
4
4
|
|
5
|
-
|
6
|
-
<link rel="stylesheet" href="{{ site.baseurl }}/{% ministamp assets/css/wordGroup.css assets/css/wordGroup.css %}">
|
7
|
-
{%- else -%}
|
5
|
+
<link rel="stylesheet" href="http://127.0.0.1:4000/assets/css/bootstrap-icons.css">
|
8
6
|
<link rel="stylesheet" href="/assets/css/wordGroup.css">
|
9
|
-
{%- endif -%}
|
10
7
|
|
11
8
|
<style>
|
12
9
|
.pageHeaderBg {
|
13
10
|
margin-bottom: 0px;
|
14
11
|
}
|
12
|
+
|
13
|
+
.tab_link_wrapper .tab_link {
|
14
|
+
color: #000 !important;
|
15
|
+
}
|
16
|
+
|
17
|
+
.fillterWrapper {
|
18
|
+
flex-wrap: unset;
|
19
|
+
gap: 10px;
|
20
|
+
align-items: unset;
|
21
|
+
justify-content: unset;
|
22
|
+
}
|
23
|
+
.letter-close-button-commonPage{
|
24
|
+
display: none !important;
|
25
|
+
}
|
26
|
+
|
27
|
+
.allGroupWords>.wordListHeading {
|
28
|
+
background: var(--black-color);
|
29
|
+
padding: 10px 0px 5px 25px;
|
30
|
+
border-top-right-radius: 13px;
|
31
|
+
border-top-left-radius: 13px;
|
32
|
+
color: #fff;
|
33
|
+
}
|
34
|
+
.wordList>ul li {
|
35
|
+
padding: 8px 0;
|
36
|
+
background: #f8f9fa;
|
37
|
+
border-radius: 5px;
|
38
|
+
margin: 6px 6px;
|
39
|
+
width: auto;
|
40
|
+
min-width: 100px;
|
41
|
+
text-align: center;
|
42
|
+
border: solid 1px var(--black-color);
|
43
|
+
box-shadow: 2px 2px 1px 0px var(--black-color);
|
44
|
+
}
|
45
|
+
.fillterWrapper input[type='text'] {
|
46
|
+
padding: 5px 12px !important;
|
47
|
+
border: 1px solid rgba(0, 0, 0, 0.1);
|
48
|
+
}
|
49
|
+
|
50
|
+
.fillterWrapper input {
|
51
|
+
padding: 5px 12px !important;
|
52
|
+
}
|
53
|
+
.filter-icon, .sortup-icon{
|
54
|
+
background: darkblue;
|
55
|
+
border-radius: 50px;
|
56
|
+
width: 50px;
|
57
|
+
padding: 1rem;
|
58
|
+
color: #fff;
|
59
|
+
text-align: center;
|
60
|
+
}
|
61
|
+
@media (max-width: 768px) {
|
62
|
+
.fillterWrapper {
|
63
|
+
padding: 1rem 3rem !important;
|
64
|
+
}
|
65
|
+
|
66
|
+
}
|
15
67
|
</style>
|
16
68
|
|
17
69
|
<div class="pageHeaderBg">
|
@@ -54,7 +106,7 @@ site.data.theme.colors -%}
|
|
54
106
|
</div>
|
55
107
|
</div>
|
56
108
|
<div class="wrapper_dropDown d-flex justify-content-end" style="gap: 15px">
|
57
|
-
<div class="Advancedbtn" style="position: relative; margin-top: 10px" onclick="myFunction">
|
109
|
+
<div class="Advancedbtn mt-4" style="position: relative; margin-top: 10px" onclick="myFunction">
|
58
110
|
<span class="filter_count" style="display: none"></span>
|
59
111
|
<input type="button" value="Advanced Filter" class="filterButton" />
|
60
112
|
<div class="angle-arrow"></div>
|
@@ -73,7 +125,7 @@ site.data.theme.colors -%}
|
|
73
125
|
</div>
|
74
126
|
|
75
127
|
<div id="fillterWrapper" class="fillterWrapper hide">
|
76
|
-
<div class="text-right times" style="cursor: pointer">
|
128
|
+
<div class="text-right times w-100" style="cursor: pointer">
|
77
129
|
<img loading="lazy" src="/assets/images/window-close.png" alt="window-close-icon" height="12px"
|
78
130
|
width="12px" />
|
79
131
|
</div>
|
@@ -131,7 +183,7 @@ site.data.theme.colors -%}
|
|
131
183
|
<div class="container" id="containerWd">
|
132
184
|
<div class="row pad">
|
133
185
|
<div class="col-md-12">
|
134
|
-
<div class="filters d-flex justify-content-between align-items-
|
186
|
+
<div class="filters d-flex justify-content-between align-items-end pr-3">
|
135
187
|
<div class="wordCount"></div>
|
136
188
|
|
137
189
|
<div class="filterSortedIcons">
|
@@ -179,7 +231,11 @@ site.data.theme.colors -%}
|
|
179
231
|
// if (!withinBoundaries) {
|
180
232
|
// closeModal()
|
181
233
|
// }
|
182
|
-
// }
|
234
|
+
// }
|
235
|
+
function myFunction() {
|
236
|
+
fillterWrapper.classList.toggle('hide')
|
237
|
+
}
|
238
|
+
|
183
239
|
function closeModal() {
|
184
240
|
fillterWrapper.classList.remove("actives");
|
185
241
|
fillterWrapper.classList.add("hide");
|
data/assets/js/repeat-letters.js
CHANGED
@@ -78,6 +78,7 @@ const loadResource = (FILE_URL, data = {}, async = true, type = "text/javascript
|
|
78
78
|
if (type === "text/javascript") {
|
79
79
|
resourceEle = document.createElement("script");
|
80
80
|
resourceEle.src = FILE_URL;
|
81
|
+
resourceEle.classList.add("loaded-js");
|
81
82
|
} else if (type === "text/css") {
|
82
83
|
resourceEle = document.createElement("link");
|
83
84
|
resourceEle.rel = "stylesheet";
|
@@ -191,24 +192,27 @@ formElement.addEventListener("submit", function (e) {
|
|
191
192
|
url: "{{site.url}}",
|
192
193
|
range: "{{page.blanktilerange}}"
|
193
194
|
}
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
195
|
+
var loadJs = document.querySelector(".loaded-js");
|
196
|
+
if (loadJs == null) {
|
197
|
+
loadResource("/assets/css/wordfinder-result.css", additionalData, true, "text/css")
|
198
|
+
.then((data) => {
|
199
|
+
console.log("CSS loaded:", data);
|
200
|
+
})
|
201
|
+
.then(() => {
|
202
|
+
// Load the JavaScript file after the CSS file has loaded
|
203
|
+
loadResource("/assets/js/wordfinder.js", additionalData, true, "text/javascript")
|
204
|
+
.then((data) => {
|
205
|
+
console.log("JavaScript loaded:", data);
|
206
|
+
getData(txtBox.value.toLowerCase());
|
207
|
+
})
|
208
|
+
.catch((error) => {
|
209
|
+
console.error("Error loading JavaScript:", error);
|
210
|
+
});
|
211
|
+
})
|
212
|
+
.catch((error) => {
|
213
|
+
console.error("Error loading CSS:", error);
|
214
|
+
});
|
215
|
+
}
|
212
216
|
}
|
213
217
|
});
|
214
218
|
// Now you can use the loadScript function with additional data
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: word-games-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- manpreet-appscms
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-02-
|
11
|
+
date: 2024-02-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|