word-games-theme 2.8.9 → 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: 7dafd49be79e27646f30fd9e78b00671311aad5959071f296bc3f18d6698bb48
4
- data.tar.gz: cbeb034a706fc2d6c62aa1441b836bad56c11144fb73b354119ac7eb6c47ad4f
3
+ metadata.gz: d12aff42fce5a9ace893da8a8d15a9e897d679ad30469dd80986c8d772a06140
4
+ data.tar.gz: 85aed6186c9aac0afd84ee3235de6f877432e1d14f3bbe4b608d136e23b4bd20
5
5
  SHA512:
6
- metadata.gz: 4a0caa0dc8c6ff5772d5aa63918305ef1034e8e937665a291fd0b3d4ff4228fad8659c304963cbaec9ac76e65650835857f64c6b7fd7c24c78385cf2fb059e2a
7
- data.tar.gz: ca4aff872658e6c7f4e74c1a4b60b86f5af8996348f3e70e5f6337ae926988be313ffb362cb2bb9e6eef6ba408f57926ba6245bf3ef7165f38b64514a94407df
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">
@@ -6,7 +6,7 @@
6
6
  {%- if site.noResultPage or page.noResultPage -%}
7
7
  <style>
8
8
  .main-header {
9
- padding-top: 12vh;
9
+ /* padding-top: 12vh; */
10
10
  margin: 0px !important;
11
11
  height: auto !important;
12
12
  /* padding-bottom: 50vh; */
@@ -114,11 +114,25 @@ input[type="number"] {
114
114
  box-shadow: 3px 6px 1px 0px var(--primary-color);
115
115
  }
116
116
 
117
- .txtBox:focus{
117
+ /* .txtBox:focus {
118
118
  box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25) !important;
119
119
  border-color: #86b7fe !important;
120
+ } */
121
+
122
+ .blinkBoxShadow {
123
+ animation: blinkBoxShadow 1s infinite alternate;
124
+ }
125
+
126
+ @keyframes blinkBoxShadow {
127
+ 0% {
128
+ box-shadow: 0 0 2px 2px var(--primary-color);
129
+ }
130
+ 100% {
131
+ box-shadow: 0 0 4px 4px var(--primary-color);
132
+ }
120
133
  }
121
134
 
135
+
122
136
  .serachSection .serachBox .letter-close-button {
123
137
  position: absolute;
124
138
  right: 300px;
@@ -818,7 +832,7 @@ summary::-webkit-details-marker {
818
832
  display: none;
819
833
  }
820
834
 
821
- .navbar-toggler{
835
+ .navbar-toggler {
822
836
  position: absolute;
823
837
  right: 10px;
824
838
  z-index: 999999;
@@ -828,7 +842,7 @@ summary::-webkit-details-marker {
828
842
  padding: 0;
829
843
  }
830
844
 
831
- .navbar-toggler img{
845
+ .navbar-toggler img {
832
846
  height: 50px;
833
847
  }
834
848
 
@@ -11,6 +11,25 @@ let wordLength = document.getElementById("wordLength");
11
11
  const serachSection = document.querySelector(".serachSection");
12
12
  let rangeOfBlankTile = serachSection.dataset.range;
13
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
+
14
33
  // // when typing on input
15
34
  txtBox.addEventListener('input', (e) => {
16
35
  if (e.target.value === "") {
@@ -57,7 +76,7 @@ Array.from(filterInputs).forEach((item) => {
57
76
  imgElement.src = "/assets/images/close-btn.svg"
58
77
  tooltipElement.style.setProperty('--tooltip-padding', '0');
59
78
  tooltipElement.style.setProperty('--tooltip-border-style', 'none');
60
- }
79
+ }
61
80
  })
62
81
 
63
82
  item.nextElementSibling.addEventListener("click", () => {
@@ -218,7 +237,7 @@ formElement.addEventListener("submit", function (e) {
218
237
  }
219
238
  }
220
239
  } else {
221
- console.log("Please Enter Valid Letters.");
240
+ console.log("Please Enter Valid Letters.");
222
241
  }
223
242
  });
224
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.8.9
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-17 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