word-games-theme 1.4.3 → 1.4.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/placeholder-loading.html +8 -0
- data/_includes/section/commonPage.html +1 -74
- data/_includes/section/home.html +1 -1
- data/_includes/section/home2.html +1 -1
- data/_layouts/default.html +14 -0
- data/_layouts/page.html +1 -1
- data/assets/css/style.css +59 -0
- data/assets/js/X-letter-test.js +16 -0
- data/assets/js/wordScrabble-test.js +15 -20
- data/assets/js/wordleSolverResult.js +12 -13
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e1f74aff5fdf220427689b464a1be4bff940fb191cdb7038153a5a97b8dd2f95
|
4
|
+
data.tar.gz: b627179dc0adb7b89592fdcb1d042abffe397faae5c330c0abc8a7bccbb12683
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 82e282adf10202588fb0358d62f13a1e0c8ace71e4cd1597ca569dfb40a3092c244cdf57d1e40a1ca0579603a581ab018f36c76a559949dbea2b089cd005da50
|
7
|
+
data.tar.gz: 01a7782ba7fabbb9c429c6c6c89ca963005d8dbe1ad38fe0052677d26e750cdf724d6e93d3099fb1a4db2614e444120c3c350e50efbdaf5f5cd8dc89f0b91571
|
@@ -154,69 +154,6 @@
|
|
154
154
|
</nav>
|
155
155
|
<!-- </header> -->
|
156
156
|
|
157
|
-
{%- if page.ezoicTest -%}
|
158
|
-
|
159
|
-
<style>
|
160
|
-
.faux-image-wrapper {
|
161
|
-
margin-bottom: 10px;
|
162
|
-
position: relative;
|
163
|
-
padding-bottom: 100%;
|
164
|
-
/* Or height: 200px; */
|
165
|
-
}
|
166
|
-
|
167
|
-
.faux-image {
|
168
|
-
background: #dddddd;
|
169
|
-
border-radius: 4px;
|
170
|
-
height: 100%;
|
171
|
-
position: absolute;
|
172
|
-
width: 100%;
|
173
|
-
}
|
174
|
-
|
175
|
-
.faux-text {
|
176
|
-
background: #dddddd;
|
177
|
-
border-radius: 4px;
|
178
|
-
height: 20px;
|
179
|
-
margin-bottom: 5px;
|
180
|
-
}
|
181
|
-
|
182
|
-
.faux-text.short {
|
183
|
-
width: 75%;
|
184
|
-
}
|
185
|
-
|
186
|
-
.faux-text.short2 {
|
187
|
-
width: 50%;
|
188
|
-
}
|
189
|
-
|
190
|
-
.shimmer {
|
191
|
-
overflow: hidden;
|
192
|
-
position: relative;
|
193
|
-
}
|
194
|
-
|
195
|
-
.shimmer::before {
|
196
|
-
content: "";
|
197
|
-
position: absolute;
|
198
|
-
background: linear-gradient(90deg,
|
199
|
-
rgba(255, 255, 255, 0) 0%,
|
200
|
-
rgba(255, 255, 255, 0.4) 50%,
|
201
|
-
rgba(255, 255, 255, 0) 100%);
|
202
|
-
height: 100%;
|
203
|
-
width: 100%;
|
204
|
-
z-index: 1;
|
205
|
-
animation: shimmer 1s infinite;
|
206
|
-
}
|
207
|
-
|
208
|
-
@keyframes shimmer {
|
209
|
-
0% {
|
210
|
-
transform: translateX(-100%);
|
211
|
-
}
|
212
|
-
|
213
|
-
100% {
|
214
|
-
transform: translateX(100%);
|
215
|
-
}
|
216
|
-
}
|
217
|
-
</style>
|
218
|
-
|
219
|
-
{%- endif -%}
|
220
157
|
|
221
158
|
|
222
159
|
<!-- Ezoic - sidebar_floating_1 - sidebar_floating_1 -->
|
@@ -238,17 +175,7 @@
|
|
238
175
|
{%- endif -%}
|
239
176
|
|
240
177
|
{% include section/wordGroup.html %}
|
241
|
-
|
242
|
-
{%- if page.ezoicTest -%}
|
243
|
-
<div class="placeholder_loading placeholder shimmer">
|
244
|
-
<div class="faux-image-wrapper">
|
245
|
-
<div class="faux-text"></div>
|
246
|
-
<div class="faux-text short"></div>
|
247
|
-
<div class="faux-text short2"></div>
|
248
|
-
</div>
|
249
|
-
|
250
|
-
</div>
|
251
|
-
{%- endif -%}
|
178
|
+
{% include placeholder-loading.html %}
|
252
179
|
|
253
180
|
</div>
|
254
181
|
<!-- navbar close -->
|
data/_includes/section/home.html
CHANGED
@@ -34,7 +34,7 @@
|
|
34
34
|
</div>
|
35
35
|
<input style="border-radius: {{CustomColor.inputFieldBorder}};
|
36
36
|
background-color: {{CustomColor.inputButtonBg}};" type="submit" class="serachBtn" id="serach"
|
37
|
-
value>
|
37
|
+
value="">
|
38
38
|
|
39
39
|
<div class="dictonaryDropdown">
|
40
40
|
<select class="form-select select_dropDown2" name="dictionary"
|
@@ -33,7 +33,7 @@
|
|
33
33
|
|
34
34
|
<input
|
35
35
|
style="border-radius: {{CustomColor.inputFieldBorder}}; background-color: {{CustomColor.inputButtonBg}};"
|
36
|
-
type="submit" class="serachBtn" id="serach" value>
|
36
|
+
type="submit" class="serachBtn" id="serach" value="">
|
37
37
|
|
38
38
|
<div class="dictonaryDropdown">
|
39
39
|
<select class="form-select select_dropDown2" name="dictionary"
|
data/_layouts/default.html
CHANGED
@@ -78,6 +78,20 @@
|
|
78
78
|
let focusBorder = document.querySelector('.focus-border')
|
79
79
|
txtBox.focus()
|
80
80
|
|
81
|
+
function myFunction(x) {
|
82
|
+
if (x.matches) {
|
83
|
+
txtBox.addEventListener("click", () => {
|
84
|
+
const scrollingElement = (document.scrollingElement || document.body || document.documentElement);
|
85
|
+
scrollingElement.scroll({ top: 200, behavior: 'smooth' });
|
86
|
+
})
|
87
|
+
} else {
|
88
|
+
console.log("false");
|
89
|
+
}
|
90
|
+
}
|
91
|
+
var x = window.matchMedia("(max-width: 768px)")
|
92
|
+
myFunction(x)
|
93
|
+
x.addListener(myFunction)
|
94
|
+
|
81
95
|
txtBox.addEventListener('input', (e) => {
|
82
96
|
if (e.target.value === "") {
|
83
97
|
letterCloseButton.classList.remove("close_ltr_icon")
|
data/_layouts/page.html
CHANGED
@@ -78,7 +78,7 @@
|
|
78
78
|
{%- if page.language -%}
|
79
79
|
<script data-language="{{page.language}}" src="/assets/js/other-lang-wordScrabble.js" crossorigin></script>
|
80
80
|
{%- elsif page.tool != 'words-that-start-with-the-letters' and page.noAdsRefresh != true-%}
|
81
|
-
<script defer data-
|
81
|
+
<script defer data-url="{{site.url}}" data-range="{{page.blanktilerange}}" src="/assets/js/wordScrabble-test.js
|
82
82
|
"></script>
|
83
83
|
{%- endif -%}
|
84
84
|
{%- else -%}
|
data/assets/css/style.css
CHANGED
@@ -599,4 +599,63 @@ header {
|
|
599
599
|
z-index: 99999;
|
600
600
|
/* width: 160px;
|
601
601
|
height: 100vh; */
|
602
|
+
}
|
603
|
+
|
604
|
+
/* //placeholder loader */
|
605
|
+
.faux-image-wrapper {
|
606
|
+
margin-bottom: 10px;
|
607
|
+
position: relative;
|
608
|
+
padding-bottom: 100%;
|
609
|
+
/* Or height: 200px; */
|
610
|
+
}
|
611
|
+
|
612
|
+
.faux-image {
|
613
|
+
background: #dddddd;
|
614
|
+
border-radius: 4px;
|
615
|
+
height: 100%;
|
616
|
+
position: absolute;
|
617
|
+
width: 100%;
|
618
|
+
}
|
619
|
+
|
620
|
+
.faux-text {
|
621
|
+
background: #dddddd;
|
622
|
+
border-radius: 4px;
|
623
|
+
height: 20px;
|
624
|
+
margin-bottom: 5px;
|
625
|
+
}
|
626
|
+
|
627
|
+
.faux-text.short {
|
628
|
+
width: 75%;
|
629
|
+
}
|
630
|
+
|
631
|
+
.faux-text.short2 {
|
632
|
+
width: 50%;
|
633
|
+
}
|
634
|
+
|
635
|
+
.shimmer {
|
636
|
+
overflow: hidden;
|
637
|
+
position: relative;
|
638
|
+
}
|
639
|
+
|
640
|
+
.shimmer::before {
|
641
|
+
content: "";
|
642
|
+
position: absolute;
|
643
|
+
background: linear-gradient(90deg,
|
644
|
+
rgba(255, 255, 255, 0) 0%,
|
645
|
+
rgba(255, 255, 255, 0.4) 50%,
|
646
|
+
rgba(255, 255, 255, 0) 100%);
|
647
|
+
height: 100%;
|
648
|
+
width: 100%;
|
649
|
+
z-index: 1;
|
650
|
+
animation: shimmer 1s infinite;
|
651
|
+
}
|
652
|
+
|
653
|
+
@keyframes shimmer {
|
654
|
+
0% {
|
655
|
+
transform: translateX(-100%);
|
656
|
+
}
|
657
|
+
|
658
|
+
100% {
|
659
|
+
transform: translateX(100%);
|
660
|
+
}
|
602
661
|
}
|
data/assets/js/X-letter-test.js
CHANGED
@@ -74,6 +74,21 @@ txtBox.addEventListener('input', (e) => {
|
|
74
74
|
}
|
75
75
|
})
|
76
76
|
|
77
|
+
let placeholder_loading = document.querySelector(".placeholder_loading")
|
78
|
+
function myFunction(x) {
|
79
|
+
if (x.matches) {
|
80
|
+
txtBox.addEventListener("click", () => {
|
81
|
+
const scrollingElement = (document.scrollingElement || document.body || document.documentElement);
|
82
|
+
scrollingElement.scroll({ top: 200, behavior: 'smooth' });
|
83
|
+
})
|
84
|
+
} else {
|
85
|
+
console.log("false");
|
86
|
+
}
|
87
|
+
}
|
88
|
+
var x = window.matchMedia("(max-width: 768px)")
|
89
|
+
myFunction(x)
|
90
|
+
x.addListener(myFunction)
|
91
|
+
|
77
92
|
var theSelect = document.getElementById('select_dropDown')
|
78
93
|
const sortup = document.querySelector(".sortup-icon")
|
79
94
|
let bool = false
|
@@ -113,6 +128,7 @@ const getDiff = (text1, text2) => {
|
|
113
128
|
}
|
114
129
|
const getData = async (serachValue) => {
|
115
130
|
try {
|
131
|
+
placeholder_loading.style.display = "none"
|
116
132
|
errorMsg.innerHTML = ""
|
117
133
|
wordCount.innerHTML = ""
|
118
134
|
home_page_search_result.innerHTML = ""
|
@@ -53,22 +53,20 @@ txtBox.focus()
|
|
53
53
|
txtBox.value = serachValue
|
54
54
|
|
55
55
|
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
console.log("false");
|
66
|
-
}
|
56
|
+
let placeholder_loading = document.querySelector(".placeholder_loading")
|
57
|
+
function myFunction(x) {
|
58
|
+
if (x.matches) {
|
59
|
+
txtBox.addEventListener("click", () => {
|
60
|
+
const scrollingElement = (document.scrollingElement || document.body || document.documentElement);
|
61
|
+
scrollingElement.scroll({ top: 200, behavior: 'smooth' });
|
62
|
+
})
|
63
|
+
} else {
|
64
|
+
console.log("false");
|
67
65
|
}
|
68
|
-
var x = window.matchMedia("(max-width: 768px)")
|
69
|
-
myFunction(x)
|
70
|
-
x.addListener(myFunction)
|
71
66
|
}
|
67
|
+
var x = window.matchMedia("(max-width: 768px)")
|
68
|
+
myFunction(x)
|
69
|
+
x.addListener(myFunction)
|
72
70
|
|
73
71
|
txtBox.addEventListener('input', (e) => {
|
74
72
|
if (e.target.value === "") {
|
@@ -140,12 +138,9 @@ const getDiff = (text1, text2) => {
|
|
140
138
|
// getWords define...
|
141
139
|
const getData = async (serachValue) => {
|
142
140
|
try {
|
141
|
+
placeholder_loading.style.display = "none"
|
143
142
|
errorMsg.innerHTML = ""
|
144
143
|
wordCount.innerHTML = ""
|
145
|
-
if (script.dataset.ezoictest) {
|
146
|
-
placeholder_loading.style.display = "none"
|
147
|
-
}
|
148
|
-
|
149
144
|
let selectedDictionary = document.querySelector('.select_dropDown2').value
|
150
145
|
main.innerHTML = `<div class="loader">
|
151
146
|
<img src='/assets/images/loading.gif'>
|
@@ -750,7 +745,7 @@ window.onscroll = function () {
|
|
750
745
|
var scrollPosition =
|
751
746
|
document.documentElement.scrollTop || document.body.scrollTop
|
752
747
|
for (i in new_sections) {
|
753
|
-
|
748
|
+
var sort_val = "alpha";
|
754
749
|
if (
|
755
750
|
i.split('_')[0] == sort_val &&
|
756
751
|
new_sections[i] &&
|
@@ -778,7 +773,7 @@ function Filtering(id) {
|
|
778
773
|
activeLetter.classList.add('active-tab')
|
779
774
|
|
780
775
|
var section = document.querySelectorAll('.wordlistContainer')
|
781
|
-
var sort_val =
|
776
|
+
var sort_val = "alpha";
|
782
777
|
|
783
778
|
Array.prototype.forEach.call(section, function (e) {
|
784
779
|
if (document.body.clientWidth > 991) {
|
@@ -14,9 +14,9 @@ let errMessage = document.querySelector('.errMessage')
|
|
14
14
|
let wrapper_div = document.querySelector('.wrapper_div')
|
15
15
|
|
16
16
|
const params = new URLSearchParams(window.location.search)
|
17
|
-
let correct = params.get('correct')
|
18
|
-
let includes = params.get('includes')
|
19
|
-
let excludes = params.get('excludes')
|
17
|
+
let correct = params.get('correct').toLowerCase()
|
18
|
+
let includes = params.get('includes').toLowerCase()
|
19
|
+
let excludes = params.get('excludes').toLowerCase()
|
20
20
|
|
21
21
|
|
22
22
|
// let addMore = document.querySelector('#addMore')
|
@@ -232,31 +232,30 @@ function handleSubmit(e) {
|
|
232
232
|
let getGreenLetters = []
|
233
233
|
Array.from(greenLetters).map((item) => {
|
234
234
|
if (!item.value) {
|
235
|
-
corretLettterArray.push(item.value.replace("", "_"))
|
235
|
+
corretLettterArray.push(item.value.replace("", "_").toLowerCase())
|
236
236
|
} else {
|
237
|
-
getGreenLetters.push(item.value)
|
238
|
-
corretLettterArray.push(item.value)
|
237
|
+
getGreenLetters.push(item.value.toLowerCase())
|
238
|
+
corretLettterArray.push(item.value.toLowerCase())
|
239
239
|
}
|
240
240
|
})
|
241
241
|
let includesLettersArray = []
|
242
242
|
let getYellowLetters = []
|
243
243
|
Array.from(yellowLetters).map((item) => {
|
244
244
|
if (!item.value) {
|
245
|
-
|
246
|
-
includesLettersArray.push(item.value.replace("", "_"))
|
245
|
+
includesLettersArray.push(item.value.replace("", "_").toLowerCase())
|
247
246
|
} else {
|
248
|
-
getYellowLetters.push(item.value)
|
249
|
-
includesLettersArray.push(item.value)
|
247
|
+
getYellowLetters.push(item.value.toLowerCase())
|
248
|
+
includesLettersArray.push(item.value.toLowerCase())
|
250
249
|
}
|
251
250
|
})
|
252
251
|
let excludesLettersArray = []
|
253
252
|
let getGreyLetters = []
|
254
253
|
Array.from(greyLetters).map((item) => {
|
255
254
|
if (!item.value) {
|
256
|
-
excludesLettersArray.push(item.value.replace("", "_"))
|
255
|
+
excludesLettersArray.push(item.value.replace("", "_").toLowerCase())
|
257
256
|
} else {
|
258
|
-
getGreyLetters.push(item.value)
|
259
|
-
excludesLettersArray.push(item.value)
|
257
|
+
getGreyLetters.push(item.value.toLowerCase())
|
258
|
+
excludesLettersArray.push(item.value.toLowerCase())
|
260
259
|
}
|
261
260
|
})
|
262
261
|
|
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: 1.4.
|
4
|
+
version: 1.4.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- manpreet-appscms
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-09-
|
11
|
+
date: 2022-09-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -156,6 +156,7 @@ files:
|
|
156
156
|
- _includes/languages/languages.html
|
157
157
|
- _includes/paginationBlogPage.html
|
158
158
|
- _includes/paginationPostPage.html
|
159
|
+
- _includes/placeholder-loading.html
|
159
160
|
- _includes/postauthorbio.html
|
160
161
|
- _includes/postbox.html
|
161
162
|
- _includes/script.html
|