word-games-theme 1.0.4 → 1.0.5

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: a44acc83008c141bb63e735225d7f69c11aed50b74649745bf7929d12fa47baf
4
- data.tar.gz: 1ad4688aef3e84406b1b45174ec91edbe80a0b8c583e9bf044dbf47c0c70c09a
3
+ metadata.gz: def9ac33fc662f5b77c52963133f55e451c5f88574f27f066c861fe038a986cc
4
+ data.tar.gz: de233ba3a041526e8beb0488760d7105efa341b7a4853450551e253cb48d5214
5
5
  SHA512:
6
- metadata.gz: 820ab87823f82bdf7324cc92d41f70e7cbe7e6d2cc054d7f6d4d7dd334a50d656b5688cb4ea80fb9d2426f1e8297102fa87fbfdcecd7e12664b152671fc6738e
7
- data.tar.gz: b77efa3f081603e24aa4bf91d3175f92625caca0bf7c8382ee92a82d926e9a6c166eaa3217686143a52af424eb1166d02d092373a2a29346251f6c9d063d0592
6
+ metadata.gz: d91f26de4bb749414ddfe555d0d6f1dbe4d15b975cdeac34ce275992e28eee4405a883dd1dac4d6f67527c25f38db3608babafb35b2db065c1733f086349b906
7
+ data.tar.gz: d935a3bda47a3cf0aa5d20a332d5820972fa09a11f489525334d20034a030d6a87784584e116c51805eea1bba7825f8ea837da8bbb41094cc78ec88a431f6d59
@@ -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%;
@@ -1,32 +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
- .result_navbar_section{
17
- top:100px;
18
- }
19
- .fillterWrapper {
20
- bottom: 70px !important;
21
- }
22
- .mmtwrappos{
23
- background: white !important;
24
- }
25
- .mmtwrappos div{
26
- background: white;
27
- }
28
- #mmt-b77d84b6-7061-4456-b8c6-33d4a15f2c7c{
29
- background: white;
30
- }
31
-
32
6
  }
data/assets/css/home.css CHANGED
@@ -15,7 +15,7 @@
15
15
  padding: .8rem 9% !important;
16
16
  position: sticky;
17
17
  top: 0px;
18
- z-index: 999;
18
+ z-index: 99999;
19
19
  display: flex;
20
20
  justify-content: space-between;
21
21
  flex-wrap: wrap;
@@ -311,6 +311,13 @@ input:-webkit-autofill:active {
311
311
  padding: 0px;
312
312
  }
313
313
 
314
+ @media (max-width: 500px) {
315
+ #select_dropDown{
316
+ top: 220px !important;
317
+ }
318
+
319
+ }
320
+
314
321
  @media (max-width: 768px) {
315
322
  .result_navbar_section{
316
323
  padding: 1.2rem 15px !important;
@@ -352,13 +359,15 @@ input:-webkit-autofill:active {
352
359
  border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
353
360
  }
354
361
  #select_dropDown {
355
- bottom: 0;
362
+ display: none;
363
+ background: white;
356
364
  position: fixed;
357
- width: 50%;
358
- right: 0;
365
+ top: 197px;
366
+ right: 20px;
359
367
  border-radius: 0;
360
368
  padding: 7.5px;
361
- z-index: 99;
369
+ z-index: 9999999999;
370
+ width: 50%;
362
371
  }
363
372
  .pageHeading h1 {
364
373
  font-size: 2rem;
data/assets/css/style.css CHANGED
@@ -321,6 +321,7 @@ display: none;
321
321
  right: 52%;
322
322
  z-index: 999;
323
323
  top: auto;
324
+ display: none;
324
325
  }
325
326
  .alertbar form {
326
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{
@@ -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 {
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.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - manpreet-appscms