word-games-theme 1.0.3 → 1.0.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8e4fabb6493910b15663cf24f5f1c347d6ceabe1cc7c561ed87368436160d359
4
- data.tar.gz: 35e4ffbb443e7251370e84ccbec11aa94a4594e4ecb3e2a3cbcdc2a8dba3cedc
3
+ metadata.gz: 9b81f3cc5c2aca6169c50e25d0124764a71d80417ab6be82d85ece6686269014
4
+ data.tar.gz: 1e6c4046c5f81f223c87fef765ca3d0267b7ed271be8fcc0469e757ecb652f8a
5
5
  SHA512:
6
- metadata.gz: df32804bb107a190b16d96736529fca25bcbd6fe582d97cc0acb6348363ce59e7097414a12f40c0cdb86326aaff7cf834a4b465d2a98256ae992b5dad1c6bb8d
7
- data.tar.gz: 8eaea4db3fc10ead2dfbcebfd332f088fbe0e0ec79dd3eab8bef50db7578942f68fc3ac8d76310eaa8b0776c33958fb7132c823b3c753c3642bc3467520b7b20
6
+ metadata.gz: 0aaccc6318fd2bf77a076620fbc879ba43f5c730767c0dbd97fd0815d4d8e1f8b2091b95211af0105d1dddc79e022ecaa007ba68fa6688e70bb9fee483fb30ab
7
+ data.tar.gz: 837897950e5e40f89699f310d5cd3e3f9782b66886030ad3950e637511d01938e5348e92aaeda84273e9d601dde1e76a64840e48e608c09e367775991ef6abf0
@@ -1,6 +1,19 @@
1
1
  <div class="row pad">
2
2
  <div class="col-md-12">
3
- <div class="wordCount"></div>
3
+ <div class="filters d-flex justify-content-between align-items-center">
4
+ <div class="wordCount"></div>
5
+
6
+ <div class="filterSortedIcons">
7
+ <div class="filter-icon" onclick="myFunction()" data-toggle="tooltip" data-placement="top"
8
+ title="Filter">
9
+ <i class="bi bi-filter"></i>
10
+ </div>
11
+ <div class="sortup-icon" data-toggle="tooltip" data-placement="top" title="Sort">
12
+ <i class="bi bi-sort-up"></i>
13
+ </div>
14
+ </div>
15
+ </div>
16
+
4
17
  <div class="main"></div>
5
18
  <div class="errorMsg"></div>
6
19
  </div>
data/_layouts/page.html CHANGED
@@ -61,7 +61,7 @@
61
61
  {%- if page.language -%}
62
62
  <script data-language="{{page.language}}" src="../assets/js/other-lang-wordScrabble.js" crossorigin></script>
63
63
  {%- elsif page.tool != 'words-that-start-with-the-letters' -%}
64
- <script data-url="{{site.url}}" data-range="{{page.blanktilerange}}" src="/assets/js/wordScrabble.js"></script>
64
+ <script defer data-url="{{site.url}}" data-range="{{page.blanktilerange}}" src="/assets/js/wordScrabble.js"></script>
65
65
  {%- endif -%}
66
66
 
67
67
 
@@ -151,6 +151,7 @@ a {
151
151
  width: 0;
152
152
  }
153
153
  .Advancedbtn .filterButton {
154
+ display: none;
154
155
  position: fixed;
155
156
  bottom: 0;
156
157
  width: 50%;
@@ -160,7 +161,7 @@ a {
160
161
  .fillterWrapper {
161
162
  right: auto;
162
163
  position: fixed;
163
- left: 70px;
164
+ left: 0px;
164
165
  bottom: 0px;
165
166
  top: unset;
166
167
  width: 100%;
@@ -1,17 +1,6 @@
1
1
 
2
-
3
2
  @media (max-width:768px) {
4
- .angle-arrow {
5
- bottom: 105px;
6
- }
7
- .Advancedbtn .filterButton {
8
- bottom: 100px !important;
9
- }
10
- #select_dropDown {
11
- bottom: 100px;
12
- }
13
3
  .footer-section{
14
4
  padding:150px 0px;
15
5
  }
16
-
17
6
  }
data/assets/css/home.css CHANGED
@@ -14,8 +14,8 @@
14
14
  width: 100%;
15
15
  padding: .8rem 9% !important;
16
16
  position: sticky;
17
- top: 100px;
18
- z-index: 999;
17
+ top: 0px;
18
+ z-index: 99999;
19
19
  display: flex;
20
20
  justify-content: space-between;
21
21
  flex-wrap: wrap;
@@ -311,6 +311,14 @@ input:-webkit-autofill:active {
311
311
  padding: 0px;
312
312
  }
313
313
 
314
+ @media (max-width: 500px) {
315
+ #select_dropDown{
316
+ top: 150px !important;
317
+ right: -15px !important
318
+ }
319
+
320
+ }
321
+
314
322
  @media (max-width: 768px) {
315
323
  .result_navbar_section{
316
324
  padding: 1.2rem 15px !important;
@@ -352,13 +360,15 @@ input:-webkit-autofill:active {
352
360
  border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
353
361
  }
354
362
  #select_dropDown {
355
- bottom: 0;
356
- position: fixed;
357
- width: 50%;
358
- right: 0;
363
+ display: none;
364
+ background: white;
365
+ position: absolute;
366
+ top: 149px;
367
+ right: 0px;
359
368
  border-radius: 0;
360
369
  padding: 7.5px;
361
- z-index: 99;
370
+ z-index: 9999999999;
371
+ width: 50%;
362
372
  }
363
373
  .pageHeading h1 {
364
374
  font-size: 2rem;
data/assets/css/style.css CHANGED
@@ -300,15 +300,7 @@ display: none;
300
300
  }
301
301
 
302
302
  @media (max-width: 768px) {
303
- .mmtwrappos{
304
- background: white !important;
305
- }
306
- .mmtwrappos div{
307
- background: white;
308
- }
309
- #mmt-b77d84b6-7061-4456-b8c6-33d4a15f2c7c{
310
- background: white;
311
- }
303
+
312
304
  .letter-close-button {
313
305
  right: 45%;
314
306
  top: 17px;
@@ -329,6 +321,7 @@ display: none;
329
321
  right: 52%;
330
322
  z-index: 999;
331
323
  top: auto;
324
+ display: none;
332
325
  }
333
326
  .alertbar form {
334
327
  display: block;
@@ -2,6 +2,14 @@
2
2
  text-indent: 10px;
3
3
  font-size: 18px;
4
4
  }
5
+ .filterSortedIcons{
6
+ flex-basis: 11%;
7
+ display: flex;
8
+ font-size: 20px;
9
+ gap:20px;
10
+ cursor: pointer;
11
+ display: none
12
+ }
5
13
  .allGroupWords {
6
14
  background-color: white !important;
7
15
  width: auto;
@@ -63,12 +71,17 @@
63
71
  }
64
72
 
65
73
  @media (max-width: 768px) {
74
+ .filterSortedIcons{
75
+ display: flex;
76
+ gap:8px;
77
+ }
78
+
66
79
  .letter-close-button-commonPage {
67
80
  right: 45%;
68
81
  font-size: 15px;
69
82
  }
70
83
  .wordCount {
71
- font-size: 1.3rem;
84
+ font-size: 1.2rem;
72
85
  /* margin-top: 15px; */
73
86
  }
74
87
  .pad{
@@ -69,6 +69,21 @@ txtBox.addEventListener('input', (e) => {
69
69
  })
70
70
 
71
71
  var theSelect = document.getElementById('select_dropDown')
72
+
73
+ const sortup = document.querySelector(".sortup-icon")
74
+ let bool = false
75
+ sortup.addEventListener("click", () => {
76
+ if (bool) {
77
+ theSelect.size = 0
78
+ bool = false
79
+ theSelect.style.display = "none"
80
+ }
81
+ else {
82
+ bool = true
83
+ theSelect.size = 3
84
+ theSelect.style.display = "block"
85
+ }
86
+ })
72
87
  document.querySelector('.select_dropDown2').value = dictonary
73
88
  const getDiff = (text1, text2) => {
74
89
  var diffRange = []
@@ -4,6 +4,7 @@
4
4
 
5
5
  // grab some html elements
6
6
 
7
+
7
8
  const getScript = document.currentScript
8
9
  let form = document.querySelector('#form')
9
10
  let wordCount = document.querySelector('.wordCount')
@@ -38,6 +39,7 @@ const siteUrl = getScript.dataset.url
38
39
  var sortValue
39
40
  var sortBool = false
40
41
 
42
+
41
43
  let letterCloseButton = document.querySelector('.letter-close-button-commonPage')
42
44
  if (serachValue) {
43
45
  letterCloseButton.classList.add("ltr-cls-btn-commonPage")
@@ -70,6 +72,21 @@ txtBox.addEventListener('input', (e) => {
70
72
  }
71
73
  })
72
74
  var theSelect = document.getElementById('select_dropDown')
75
+
76
+ const sortup = document.querySelector(".sortup-icon")
77
+ let bool = false
78
+ sortup.addEventListener("click", () => {
79
+ if (bool) {
80
+ theSelect.size = 0
81
+ bool = false
82
+ theSelect.style.display = "none"
83
+ }
84
+ else {
85
+ bool = true
86
+ theSelect.size = 3
87
+ theSelect.style.display = "block"
88
+ }
89
+ })
73
90
  document.querySelector('.select_dropDown2').value = dictonary
74
91
  const getDiff = (text1, text2) => {
75
92
  var diffRange = []
@@ -92,7 +109,6 @@ const getDiff = (text1, text2) => {
92
109
  }
93
110
  return diffRange
94
111
  }
95
-
96
112
  // getWords define...
97
113
  const getData = async (serachValue) => {
98
114
  try {
@@ -55,6 +55,21 @@ txtBox.addEventListener('input', (e) => {
55
55
  })
56
56
 
57
57
  var theSelect = document.getElementById('select_dropDown')
58
+
59
+ const sortup = document.querySelector(".sortup-icon")
60
+ let bool = false
61
+ sortup.addEventListener("click", () => {
62
+ if (bool) {
63
+ theSelect.size = 0
64
+ bool = false
65
+ theSelect.style.display = "none"
66
+ }
67
+ else {
68
+ bool = true
69
+ theSelect.size = 3
70
+ theSelect.style.display = "block"
71
+ }
72
+ })
58
73
  document.querySelector('.select_dropDown2').value = dictonary
59
74
  // getWords define...
60
75
  const getData = async (serachValue) => {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: word-games-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - manpreet-appscms