word-games-theme 3.1.0 → 3.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -60,8 +60,6 @@
60
60
  <link rel="stylesheet" href="/assets/css/wordgames-variables.css" />
61
61
  <link rel="stylesheet" href="/assets/css/wordgames-theme.css" />
62
62
  <link rel="stylesheet" href="/assets/css/wordgames-home.css" />
63
-
64
-
65
63
  {%- if site.noResultPage or page.noResultPage -%}
66
64
  <link rel="stylesheet" href="/assets/css/wordgames-result.css" />
67
65
  {%- endif -%}
@@ -29,6 +29,7 @@
29
29
  <div class="row">
30
30
  <div class="col-12 mx-auto">
31
31
  <div class="wordgames-toolbar-list">
32
+
32
33
  {%- for item in dataToShow.megaMenu.dropdown -%}
33
34
  <div class="wordgames-toolbar-list-item">
34
35
  <span class="wordgames-toolbar-list-item-span d-flex justify-content-between">
@@ -1,6 +1,7 @@
1
1
  {%- if site.noResultPage or page.noResultPage -%}
2
2
 
3
- <div class="serachSection" data-url="{{site.url}}" data-range="{{page.blanktilerange}}" data-letter="{{page.letter}}" data-ablank="{{page.ablank}}">
3
+ <div class="serachSection" data-url="{{site.url}}" data-range="{{page.blanktilerange}}" data-letter="{{page.letter}}"
4
+ data-ablank="{{page.ablank}}">
4
5
  <div class="position-relative serachBox">
5
6
  <form id='form' method="GET">
6
7
  <div class="container-fluid" id="containerWd">
@@ -8,10 +9,10 @@
8
9
  <input type="text"
9
10
  placeholder="{% if page.size > 15 %}Enter up to {{page.size}} letters?{% else %}Enter up to 15 letters?{% endif %}"
10
11
  class="textBoxes txtBox" name="search"
11
- maxlength="{% if page.size > 15 %}{{page.size}}{% else %}15?{% endif %}"
12
- autocomplete="off" value="{{page.value}}">
12
+ maxlength="{% if page.size > 15 %}{{page.size}}{% else %}15?{% endif %}" autocomplete="off"
13
+ value="{{page.value}}">
13
14
  <div class="letter-close-button">
14
- <img width="40px" height="40px" src="/assets/images/close-button.svg" alt="close-btn">
15
+ <img width="40px" height="40px" src="/assets/images/close-button.svg" alt="close-btn">
15
16
  </div>
16
17
  </div>
17
18
  <div class="search-btn-container">
@@ -25,9 +26,11 @@
25
26
  <option value="wwf" id="wwf">Words With Friends (Enable)</option>
26
27
  </select>
27
28
  </div>
29
+
28
30
  </div>
29
31
  <div class="container" id="result-page-data">
30
32
  {%- include wordgames/advanced-filter/advanced-filter.html -%}
33
+
31
34
  </div>
32
35
 
33
36
  {%- if page.wordle == 'solver' -%}
@@ -42,7 +45,7 @@
42
45
 
43
46
  {%- else -%}
44
47
  <div class="container-fluid" id="containerWd">
45
-
48
+
46
49
  <div class="serachSection">
47
50
  <div class="position-relative serachBox">
48
51
  <form action="{% if page.url == '/' %}/result{% else %}{{page.url}}/result{% endif %}" id='form'
@@ -53,9 +56,6 @@
53
56
  class="txtBox" value='' name="search"
54
57
  maxlength="{% if page.size > 15 %}{{page.size}}{% else %}15?{% endif %}" required
55
58
  autocomplete="off">
56
- <span class="d-none focus-border">
57
- <i></i>
58
- </span>
59
59
  <div class="letter-close-button">
60
60
  <svg width="40px" height="40px" viewBox="0 0 24 24" fill="none"
61
61
  xmlns="http://www.w3.org/2000/svg">
@@ -4,7 +4,6 @@
4
4
  {%- include wordgames/head/head.html -%}
5
5
 
6
6
  {%- if site.noResultPage or page.noResultPage -%}
7
-
8
7
  {%- if page.letter -%}
9
8
  <style>
10
9
  .main-header {
@@ -28,9 +27,7 @@
28
27
  background-color: unset !important;
29
28
  }
30
29
  </style>
31
-
32
30
  {%- endif -%}
33
-
34
31
  {%- endif -%}
35
32
 
36
33
 
@@ -103,10 +100,9 @@
103
100
  {%- endif -%}
104
101
 
105
102
 
106
-
107
103
  <script data-lang="{{page.lang}}" defer src="/assets/js/theme.js"></script>
108
104
  {%- if site.noResultPage -%}
109
- <script defer src="/assets/js/wordfinder-home.js"></script>
105
+ <script data-url="{{site.url}}" data-blanktilerange="{{page.blanktilerange}}" defer src="/assets/js/wordfinder-home.js"></script>
110
106
  {%- else -%}
111
107
  <script defer src="/assets/js/wordgames-home.js"></script>
112
108
  {%- endif -%}
@@ -146,6 +146,15 @@ input[type="number"] {
146
146
  display: block;
147
147
  }
148
148
 
149
+ .search-btn-container{
150
+ display: flex;
151
+ justify-content: center;
152
+ align-items: center;
153
+ margin-top: 1rem;
154
+ width: 100%;
155
+ text-align: center;
156
+ }
157
+
149
158
  .serachSection .serachBox .serachBtn {
150
159
  color: transparent;
151
160
  background-color: var(--primary-color) !important;
@@ -157,9 +166,12 @@ input[type="number"] {
157
166
  position: absolute;
158
167
  top: 8px;
159
168
  right: 10px;
160
- outline: none;
169
+ outline: 0;
161
170
  border-radius: 74px;
162
171
  }
172
+ .serachSection .serachBox .serachBtn:focus{
173
+ box-shadow: unset;
174
+ }
163
175
 
164
176
  .serachSection .serachBox .select_dropDown2 {
165
177
  height: 80px;
@@ -823,6 +835,7 @@ summary::-webkit-details-marker {
823
835
 
824
836
 
825
837
  @media (max-width: 768px) {
838
+
826
839
  .top_tool_bar {
827
840
  display: block !important;
828
841
  }
@@ -933,6 +946,7 @@ summary::-webkit-details-marker {
933
946
  right: 24px;
934
947
  }
935
948
 
949
+
936
950
  .serachSection .serachBox .select_dropDown2 {
937
951
  height: 50px;
938
952
  width: 22%;
@@ -1166,4 +1180,41 @@ summary::-webkit-details-marker {
1166
1180
  .wordgametheme-sidebar-right {
1167
1181
  right: 313px !important;
1168
1182
  }
1183
+ }
1184
+
1185
+
1186
+ /* //loader */
1187
+
1188
+
1189
+ .button-loader {
1190
+ position: absolute;
1191
+ top: 25px;
1192
+ /* left: 100px; */
1193
+ transform: translate(-50%, -50%);
1194
+ border: 4px solid #ffffff;
1195
+ border-top: 4px solid var(--primary-color);
1196
+ border-radius: 50%;
1197
+ width: 15px;
1198
+ height: 15px;
1199
+ animation: spin 1s linear infinite;
1200
+ display: none;
1201
+ }
1202
+
1203
+ @keyframes spin {
1204
+ 0% {
1205
+ transform: translate(-50%, -50%) rotate(0deg);
1206
+ }
1207
+ 100% {
1208
+ transform: translate(-50%, -50%) rotate(360deg);
1209
+ }
1210
+ }
1211
+
1212
+ #download-button.loading .button-loader {
1213
+ display: block; /* Show the loader when button has loading class */
1214
+ }
1215
+ #processing-btn {
1216
+ position: relative;
1217
+ }
1218
+ #processing-btn .button-loader {
1219
+ left: 9%;
1169
1220
  }
@@ -3,24 +3,58 @@
3
3
  ***************/
4
4
 
5
5
 
6
- /* show more button */
6
+ /* placeholder loader css */
7
7
 
8
- .showmore_btn {
9
- background: black;
10
- padding: 1rem 2rem;
11
- border-radius: 50px;
12
- color: #fff;
13
- font-size: 15px;
14
- border: none;
8
+ .placeholder-loader {
9
+ display: flex;
10
+ justify-content: center;
11
+ }
12
+
13
+ .skeleton-box {
14
+ display: inline-block;
15
+ height: 1em;
15
16
  position: relative;
16
- z-index: 9;
17
+ overflow: hidden;
18
+ background-color: #DDDBDD;
17
19
  }
18
- .points{
19
- position:relative; top:4px; font-size:12px
20
+
21
+ .skeleton-box::after {
22
+ position: absolute;
23
+ top: 0;
24
+ right: 0;
25
+ bottom: 0;
26
+ left: 0;
27
+ transform: translateX(-100%);
28
+ background-image: linear-gradient(90deg,
29
+ rgba(255, 255, 255, 0) 0,
30
+ rgba(255, 255, 255, 0.2) 20%,
31
+ rgba(255, 255, 255, 0.5) 60%,
32
+ rgba(255, 255, 255, 0));
33
+ animation: shimmer 5s infinite;
34
+ content: '';
35
+ }
36
+
37
+ @keyframes shimmer {
38
+ 100% {
39
+ transform: translateX(100%);
40
+ }
41
+ }
42
+
43
+ .o-media {
44
+ display: flex;
45
+ }
46
+
47
+ .o-media__body {
48
+ flex-grow: 1;
49
+ }
50
+
51
+ .o-vertical-spacing>*+* {
52
+ margin-top: 0.75em;
20
53
  }
21
54
 
22
55
 
23
- /* common loader css */
56
+
57
+
24
58
  .loader {
25
59
  width: 100%;
26
60
  text-align: center;
@@ -55,9 +89,8 @@ input:-webkit-autofill:active {
55
89
  }
56
90
 
57
91
  /* .header_bars{
58
- background-color: var(--black-color);
59
- } */
60
-
92
+ background-color: var(--black-color);
93
+ } */
61
94
 
62
95
  .result_navbar_section .mobile_bars {
63
96
  cursor: pointer;
@@ -145,6 +178,13 @@ input:-webkit-autofill:active {
145
178
 
146
179
  .serachSection {
147
180
  height: auto;
181
+ position: sticky;
182
+ top: 68px;
183
+ z-index: 99;
184
+ box-shadow: 0px 0px 30px #ffffff;
185
+ background: white;
186
+ padding: 4px;
187
+
148
188
  }
149
189
 
150
190
 
@@ -263,13 +303,13 @@ input:-webkit-autofill:active {
263
303
 
264
304
 
265
305
  /* .fillterWrapper .same {
266
- margin-bottom: 10px;
267
- } */
306
+ margin-bottom: 10px;
307
+ } */
268
308
  /*
269
- .tick {
270
- background: url("/assets/images/close-btn.svg") no-repeat;
271
- background-position: 95% 50%;
272
- } */
309
+ .tick {
310
+ background: url("/assets/images/close-btn.svg") no-repeat;
311
+ background-position: 95% 50%;
312
+ } */
273
313
 
274
314
 
275
315
  .sort-select,
@@ -345,13 +385,14 @@ input:-webkit-autofill:active {
345
385
 
346
386
  .allGroupWords>.wordListHeading {
347
387
  background: var(--black-color);
348
- padding: 10px 0px 5px 25px;
388
+ padding: 10px 0px 10px 25px;
349
389
  border-top-right-radius: 13px;
350
390
  border-top-left-radius: 13px;
351
391
  color: #fff;
392
+ font-size: 20px;
393
+ font-weight: 600;
352
394
  }
353
395
 
354
-
355
396
  .wordListHeading>h3 {
356
397
  font-size: 20px;
357
398
  font-weight: 600;
@@ -359,6 +400,9 @@ input:-webkit-autofill:active {
359
400
 
360
401
  .wordList {
361
402
  padding: 15px;
403
+ display: inline-flex;
404
+ width: 100%;
405
+ flex-wrap: wrap;
362
406
  }
363
407
 
364
408
  .wordList>ul {
@@ -378,7 +422,6 @@ input:-webkit-autofill:active {
378
422
  }
379
423
 
380
424
  .wordList>ul li {
381
-
382
425
  padding: 8px 0;
383
426
  background: #f8f9fa;
384
427
  border-radius: 5px;
@@ -408,7 +451,8 @@ input:-webkit-autofill:active {
408
451
 
409
452
  .errorMsg {
410
453
  text-align: center;
411
- font-size: 20px;
454
+ font-size: 25px;
455
+ margin-top: 1rem;
412
456
  color: red;
413
457
  font-weight: 800;
414
458
  }
@@ -528,25 +572,4 @@ input:-webkit-autofill:active {
528
572
  font-size: 1.3rem;
529
573
  }
530
574
 
531
- }
532
-
533
- .tbl {
534
- margin-bottom: 50px;
535
- width: 80%;
536
- margin-left: 100px;
537
- }
538
-
539
- .table-striped {
540
- background: #F6F6F6;
541
- }
542
-
543
- .table-striped tbody tr:nth-of-type(odd) {
544
- background-color: white !important;
545
- }
546
-
547
- @media (max-width:992px) {
548
- .tbl {
549
- margin-left: 0 !important;
550
- width: 100% !important;
551
- }
552
575
  }
@@ -19,7 +19,6 @@ let includeValue = params.get('include')
19
19
  let lengthValue = params.get('length')
20
20
  let dictonary = params.get('dictionary')
21
21
 
22
-
23
22
  let tab_link_wrapper = document.querySelector('.tab_link_wrapper')
24
23
  tab_link_wrapper.style.display = "none"
25
24
 
data/assets/js/theme.js CHANGED
@@ -2,7 +2,6 @@
2
2
  ---
3
3
 
4
4
 
5
-
6
5
  console.log(document.querySelectorAll('*').length);
7
6
  if ("{{ site.removeBootstrapJs }}" === "true") {
8
7
  const languagesModal = document.querySelector("#staticBackdrop");