word-games-theme 2.9.0 → 2.9.1

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: 3f65bcfb20e1866513c140faad2139f779b1c3cd1e4f5bb4accea4a342d70ec0
4
- data.tar.gz: 2297d369885c957f6051007453184bc58eedd1c24d84e1be772a56c0892f3744
3
+ metadata.gz: d12aff42fce5a9ace893da8a8d15a9e897d679ad30469dd80986c8d772a06140
4
+ data.tar.gz: 85aed6186c9aac0afd84ee3235de6f877432e1d14f3bbe4b608d136e23b4bd20
5
5
  SHA512:
6
- metadata.gz: 16cd60ae33fa7891025f6a97ac86f7ac54b7f086c3254ad488eb65f1189afa1125bcbda066eb9cfef09ee875f57a895169dc8d46974470065572eb2a80ee07ba
7
- data.tar.gz: da22d7da56cfe62cdd24bf3994b7d06940b55b9e7c4acffcfc604c4f84898ed967bf02e5c28974a376dbf02ed52d8f0f8f28d9ac021bde73aef243eb7f65f5fa
6
+ metadata.gz: 4326663a588b0c281f247454147775b97d363e826d7e4b19e2406db91af10ef360adbca469249a9ed80aa7fe70f5152641a65b2c943b0e1d71313e28c7ac9436
7
+ data.tar.gz: 54761c41503cced1ecab810243e463c9133b8c5b252bf750c2ff72091583d305978b97871f28a2445ff310f6d417f4250e08880d65da50a50140bd4ae50ddb89
@@ -9,7 +9,7 @@
9
9
 
10
10
  <div class="fillterWrapper my-5 filterShow">
11
11
  <div class="startsWith">
12
- <input class="filter_val" autocomplete="off" type="text" id="startsWith" placeholder="Starts with" value=""
12
+ <input class="filter_val textBoxes" autocomplete="off" type="text" id="startsWith" placeholder="Starts with" value=""
13
13
  name="prefix">
14
14
  <div class="filter-tooltip" data-tip="Find words that start with these letters(AB-&gt; Able)"
15
15
  id="Find words that start with these letters(AB-&gt; Able)">
@@ -17,14 +17,14 @@
17
17
  </div>
18
18
  </div>
19
19
  <div class="endsWith">
20
- <input class="filter_val" autocomplete="off" type="text" id="endsWith" placeholder="Ends with" name="suffix">
20
+ <input class="filter_val textBoxes" autocomplete="off" type="text" id="endsWith" placeholder="Ends with" name="suffix">
21
21
  <div class="filter-tooltip" data-toggle="tooltip" data-placement="top"
22
22
  data-tip="Filter for words that ends with these letters" id="Filter for words that ends with these letters">
23
23
  <img width="30px" height="30px" src="/assets/images/questionmark.svg" alt="Question Mark" />
24
24
  </div>
25
25
  </div>
26
26
  <div class="wordLength same">
27
- <input autocomplete="off" type="number" class="filter_val" id="wordLength" placeholder="Length" name="length"
27
+ <input autocomplete="off" type="number" class="filter_val textBoxes" id="wordLength" placeholder="Length" name="length"
28
28
  value="{{page.letter}}">
29
29
 
30
30
  <div class="filter-tooltip" data-toggle="tooltip" data-placement="top"
@@ -33,7 +33,7 @@
33
33
  </div>
34
34
  </div>
35
35
  <div class="inculdeWith">
36
- <input class="filter_val" autocomplete="off" type="text" id="inculdeWith" placeholder="Include" value=""
36
+ <input class="filter_val textBoxes" autocomplete="off" type="text" id="inculdeWith" placeholder="Include" value=""
37
37
  name="include">
38
38
  <div class="filter-tooltip" data-toggle="tooltip" data-placement="top"
39
39
  data-tip="Only words that contain the letters you enter here"
@@ -42,7 +42,7 @@
42
42
  </div>
43
43
  </div>
44
44
  <div class="mustInclude">
45
- <input class="filter_val" autocomplete="off" type="text" id="mustInclude" placeholder="Contains"
45
+ <input class="filter_val textBoxes" autocomplete="off" type="text" id="mustInclude" placeholder="Contains"
46
46
  name="contains">
47
47
  <div class="filter-tooltip" data-tip="Words that contain letters in this order(ab)"
48
48
  id="Words that contain letters in this order(ab)">
@@ -52,7 +52,7 @@
52
52
  </div>
53
53
 
54
54
  <div class="exculdeWith">
55
- <input class="filter_val" autocomplete="off" type="text" id="exculdeWith" placeholder="Exclude" value=""
55
+ <input class="filter_val textBoxes" autocomplete="off" type="text" id="exculdeWith" placeholder="Exclude" value=""
56
56
  name="exclude">
57
57
  <div class="filter-tooltip" data-toggle="tooltip" data-placement="top"
58
58
  data-tip="Only words that not contain the letters you enter here"
@@ -7,7 +7,7 @@
7
7
  <div class="txt-box-container" style="position: relative;">
8
8
  <input type="text"
9
9
  placeholder="{% if page.size > 15 %}Enter up to {{page.size}} letters?{% else %}Enter up to 15 letters?{% endif %}"
10
- class="txtBox" name="search"
10
+ class="textBoxes txtBox" name="search"
11
11
  maxlength="{% if page.size > 15 %}{{page.size}}{% else %}15?{% endif %}"
12
12
  autocomplete="off" value="{{page.value}}">
13
13
  <div class="letter-close-button">
@@ -125,10 +125,10 @@ input[type="number"] {
125
125
 
126
126
  @keyframes blinkBoxShadow {
127
127
  0% {
128
- box-shadow: 0 0 5px 5px var(--primary-color);
128
+ box-shadow: 0 0 2px 2px var(--primary-color);
129
129
  }
130
130
  100% {
131
- box-shadow: 0 0 8px 8px var(--primary-color);
131
+ box-shadow: 0 0 4px 4px var(--primary-color);
132
132
  }
133
133
  }
134
134
 
@@ -1,11 +1,5 @@
1
1
  let txtBox = document.querySelector('.txtBox')
2
2
  txtBox.focus()
3
-
4
-
5
-
6
- txtBox.addEventListener("input",()=>{
7
- txtBox.classList.add('blinkBoxShadow');
8
- })
9
3
  let letterCloseButton = document.querySelector('.letter-close-button')
10
4
  let startsWith = document.getElementById("startsWith");
11
5
  let mustInclude = document.getElementById("mustInclude");
@@ -17,6 +11,25 @@ let wordLength = document.getElementById("wordLength");
17
11
  const serachSection = document.querySelector(".serachSection");
18
12
  let rangeOfBlankTile = serachSection.dataset.range;
19
13
 
14
+
15
+
16
+ const textBoxes = document.querySelectorAll('.textBoxes');
17
+ textBoxes.forEach(txtBox => {
18
+ txtBox.addEventListener("input", () => {
19
+ if (txtBox.value !== '') {
20
+ txtBox.classList.add('blinkBoxShadow');
21
+ } else {
22
+ txtBox.classList.remove('blinkBoxShadow');
23
+ }
24
+ });
25
+
26
+ txtBox.addEventListener('blur', () => {
27
+ txtBox.classList.remove('blinkBoxShadow');
28
+ });
29
+ });
30
+
31
+
32
+
20
33
  // // when typing on input
21
34
  txtBox.addEventListener('input', (e) => {
22
35
  if (e.target.value === "") {
@@ -63,7 +76,7 @@ Array.from(filterInputs).forEach((item) => {
63
76
  imgElement.src = "/assets/images/close-btn.svg"
64
77
  tooltipElement.style.setProperty('--tooltip-padding', '0');
65
78
  tooltipElement.style.setProperty('--tooltip-border-style', 'none');
66
- }
79
+ }
67
80
  })
68
81
 
69
82
  item.nextElementSibling.addEventListener("click", () => {
@@ -224,7 +237,7 @@ formElement.addEventListener("submit", function (e) {
224
237
  }
225
238
  }
226
239
  } else {
227
- console.log("Please Enter Valid Letters.");
240
+ console.log("Please Enter Valid Letters.");
228
241
  }
229
242
  });
230
243
  // 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.9.0
4
+ version: 2.9.1
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-06-19 00:00:00.000000000 Z
11
+ date: 2024-06-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll