word-games-theme 1.4.2 → 1.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/_includes/placeholder-loading.html +8 -0
- data/_includes/section/commonPage.html +4 -0
- data/_layouts/default.html +14 -0
- data/assets/css/style.css +59 -0
- data/assets/js/X-letter-test.js +16 -0
- data/assets/js/wordScrabble-test.js +18 -0
- 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,6 +154,8 @@
|
|
|
154
154
|
</nav>
|
|
155
155
|
<!-- </header> -->
|
|
156
156
|
|
|
157
|
+
|
|
158
|
+
|
|
157
159
|
<!-- Ezoic - sidebar_floating_1 - sidebar_floating_1 -->
|
|
158
160
|
<div id="ezoic-pub-ad-placeholder-109"> </div>
|
|
159
161
|
<!-- End Ezoic - sidebar_floating_1 - sidebar_floating_1 -->
|
|
@@ -173,6 +175,8 @@
|
|
|
173
175
|
{%- endif -%}
|
|
174
176
|
|
|
175
177
|
{% include section/wordGroup.html %}
|
|
178
|
+
{% include placeholder-loading.html %}
|
|
179
|
+
|
|
176
180
|
</div>
|
|
177
181
|
<!-- navbar close -->
|
|
178
182
|
<!-- header 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/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 = ""
|
|
@@ -51,6 +51,23 @@ letterCloseButton.addEventListener("click", () => {
|
|
|
51
51
|
let txtBox = document.querySelector('.txtBox')
|
|
52
52
|
txtBox.focus()
|
|
53
53
|
txtBox.value = serachValue
|
|
54
|
+
|
|
55
|
+
|
|
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");
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
var x = window.matchMedia("(max-width: 768px)")
|
|
68
|
+
myFunction(x)
|
|
69
|
+
x.addListener(myFunction)
|
|
70
|
+
|
|
54
71
|
txtBox.addEventListener('input', (e) => {
|
|
55
72
|
if (e.target.value === "") {
|
|
56
73
|
letterCloseButton.classList.remove("ltr-cls-btn-commonPage")
|
|
@@ -121,6 +138,7 @@ const getDiff = (text1, text2) => {
|
|
|
121
138
|
// getWords define...
|
|
122
139
|
const getData = async (serachValue) => {
|
|
123
140
|
try {
|
|
141
|
+
placeholder_loading.style.display = "none"
|
|
124
142
|
errorMsg.innerHTML = ""
|
|
125
143
|
wordCount.innerHTML = ""
|
|
126
144
|
let selectedDictionary = document.querySelector('.select_dropDown2').value
|
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
|