word-games-theme 2.7.5 → 2.7.6
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/wordgames/search-box/search-box.html +3 -1
- data/assets/css/wordgames-home.css +2 -2
- data/assets/js/wordfinder.js +6 -0
- 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: 7859ebebf36acb74fcdacf52a408efb75ee3ec586f63a91192eea49eb431d8d8
|
|
4
|
+
data.tar.gz: 5d74bc2fac7a4b8f6fee1d98609650bcb1171ccc65eab09d47f2edb46894340a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 98a1de7dc7bb94375485402a049520c17328120205bae7cb4d66518e5d7a838bfffd81d5d30feb12172c51a404a7465f662b2fb8894fc5b9659716f527664f81
|
|
7
|
+
data.tar.gz: a32fa98e4a6087c3ca13aa256a37bea5c5adfbdeca1e1b0e33e780ff262565905cbb50de189edb6a9d795e166087fb4f9e4ff10be1b1a3fbf181ee4485b33805
|
|
@@ -14,7 +14,9 @@
|
|
|
14
14
|
<img width="40px" height="40px" src="/assets/images/close-button.svg" alt="close-btn">
|
|
15
15
|
</div>
|
|
16
16
|
</div>
|
|
17
|
-
<
|
|
17
|
+
<div class="search-btn-container">
|
|
18
|
+
<input style="background-color: {{CustomColor.inputButtonBg}};" type="submit" class="serachBtn" id="serach">
|
|
19
|
+
</div>
|
|
18
20
|
<div class="dictonaryDropdown">
|
|
19
21
|
<select class="form-select select_dropDown2" name="dictionary" aria-label="Default select example">
|
|
20
22
|
<option value="Dictionary">Dictionary</option>
|
|
@@ -131,7 +131,7 @@ input[type="number"] {
|
|
|
131
131
|
color: transparent;
|
|
132
132
|
background-color: var(--primary-color) !important;
|
|
133
133
|
background: url(/assets/images/search.svg) no-repeat center center;
|
|
134
|
-
background-size: 35px 35px;
|
|
134
|
+
background-size: 35px 35px !important;
|
|
135
135
|
height: 64px;
|
|
136
136
|
width: 112px;
|
|
137
137
|
border: none;
|
|
@@ -910,7 +910,7 @@ summary::-webkit-details-marker {
|
|
|
910
910
|
height: 50px !important;
|
|
911
911
|
width: 50px !important;
|
|
912
912
|
top: 10px;
|
|
913
|
-
background-size: 20px 20px;
|
|
913
|
+
background-size: 20px 20px !important;
|
|
914
914
|
right: 24px;
|
|
915
915
|
}
|
|
916
916
|
|
data/assets/js/wordfinder.js
CHANGED
|
@@ -72,6 +72,8 @@ const getDiff = (text1, text2) => {
|
|
|
72
72
|
};
|
|
73
73
|
|
|
74
74
|
let authorsLists = document.querySelector(".authors-list")
|
|
75
|
+
let serachBtn = document.querySelector(".serachBtn")
|
|
76
|
+
let searchBtnContainer = document.querySelector(".search-btn-container")
|
|
75
77
|
|
|
76
78
|
// getWords define...
|
|
77
79
|
const getData = async (serachValue) => {
|
|
@@ -97,6 +99,9 @@ const getData = async (serachValue) => {
|
|
|
97
99
|
errorMsg.innerHTML = "";
|
|
98
100
|
wordCount.innerHTML = "";
|
|
99
101
|
let selectedDictionary = document.querySelector(".select_dropDown2").value;
|
|
102
|
+
|
|
103
|
+
serachBtn.style.background = 'url(/assets/images/spinner.gif) no-repeat center center';
|
|
104
|
+
|
|
100
105
|
main.innerHTML = `<main class="placeholder-loader">
|
|
101
106
|
<ul class="o-vertical-spacing o-vertical-spacing--l">
|
|
102
107
|
<li class="blog-post o-media">
|
|
@@ -140,6 +145,7 @@ const getData = async (serachValue) => {
|
|
|
140
145
|
|
|
141
146
|
const data = await response.json();
|
|
142
147
|
main.innerHTML = "";
|
|
148
|
+
serachBtn.style.background = 'url(/assets/images/search.svg) no-repeat center center';
|
|
143
149
|
getWords(data);
|
|
144
150
|
//getWords calling...
|
|
145
151
|
} catch (error) {
|
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.7.
|
|
4
|
+
version: 2.7.6
|
|
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-04-
|
|
11
|
+
date: 2024-04-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|