word-games-theme 1.4.3 → 1.4.4
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/_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 +13 -18
- 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: 9764e420c7f9491c9993236de3622ff491c49fcf00fae5545c8bec6ffc565ecf
|
4
|
+
data.tar.gz: 0d1f2ed390bc37b9afdb5b72ba9c43f06dc57637e7bf0342ecfcd3d336061dc4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 16e0afc4666c1993814d8f3258451459c6127a646aa2d4f1a24b8a9c0d247ffe4a8d3726f55d3a09af951ae3ac1efd5ea46d6524c9417b800f7214556473c4bd
|
7
|
+
data.tar.gz: 197629448b884f575fbb224c041e4be423bed4e21ae0994264e3afb8533a335ef0da4107fea633d808b42031a355db2b09b2171c3faf74ad87827722f140a7fb
|
@@ -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/_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'>
|
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.4
|
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-16 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
|