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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 695dc5c21575edfe19c09d9eaefa79bdb1ebda76d827431f9bcceea584f5f8a4
4
- data.tar.gz: aeadeac4f71fb88d198c232ccefd58535c5117ac3261809a662bfc64ce334fa9
3
+ metadata.gz: 0b29e5cfde5e0c4a157d89b64af62c0570f135dd2b5cca369e2bff769a28ee6c
4
+ data.tar.gz: 97d33b64c47719c0b0fc2f34fa0bd533174fc3728e915f5225143765d79fba6f
5
5
  SHA512:
6
- metadata.gz: a62bbdddef6e378274298f3504fc158d3c26ea77c0166fcd319bb8aa8240aab7e639a6aabc0ee10bafee3b3109ed833be7414c1df7a88d4b7d5699f99aa6bb5d
7
- data.tar.gz: 50bdc452562744cffd908bcc50933cae2c67837f698c6be3b88bdcc73f4cb420cc36c9e917411eab0841de0326460ee9bfd0d767b169f001423d56ba745420db
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
- {%- if site.versioning -%}
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-center">
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");
@@ -720,6 +720,8 @@ txtBox.addEventListener("input", (e) => {
720
720
  }
721
721
  });
722
722
 
723
+ let theSelect = document.getElementById("select_dropDown");
724
+ let bool = false;
723
725
  //sort up listeners
724
726
  sortup.addEventListener("click", () => {
725
727
  if (bool) {
@@ -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
- loadResource("/assets/css/wordfinder-result.css", additionalData, true, "text/css")
195
- .then((data) => {
196
- console.log("CSS loaded:", data);
197
- })
198
- .then(() => {
199
- // Load the JavaScript file after the CSS file has loaded
200
- loadResource("/assets/js/wordfinder.js", additionalData, true, "text/javascript")
201
- .then((data) => {
202
- console.log("JavaScript loaded:", data);
203
- getData(txtBox.value.toLowerCase());
204
- })
205
- .catch((error) => {
206
- console.error("Error loading JavaScript:", error);
207
- });
208
- })
209
- .catch((error) => {
210
- console.error("Error loading CSS:", error);
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.5.9
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-23 00:00:00.000000000 Z
11
+ date: 2024-02-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll