word-games-theme 1.1.5 → 1.1.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: db69e83657eec4098d26cf8df8edd53aa6d4fd55109fe40d059d83fc86ef5717
4
- data.tar.gz: e5c592f0cc81aad7e9a3ca53e964de36269f802e8e49fa8a3204c801c7eecdaf
3
+ metadata.gz: aaccd56e455a2e7311ad95d4157bb424f4f9b860ed0c3a2a1b45b61b2b411883
4
+ data.tar.gz: faf5840b09d06ca4d7fd7ad5c376938bac0b84c2fa00183665bcf3ccde278f2c
5
5
  SHA512:
6
- metadata.gz: ac0d2fcbc0a01e21df6750a2297a8b0a6532232f512e054c88a9721f5f7580eaf615a7d23ab471674107f37d2e848c371ce5833a2b8376cfb6e16c85ef127405
7
- data.tar.gz: c772acdc41ef8047271ec7f8d42297607949731fa66a1dae194ff0646ed76212725ada6f5b249dfdd8d86237e28e8be983977ec2483aa00e8877616524bfad8a
6
+ metadata.gz: 1ca841327753a99f565e3769d109d988de512245fdd317cb5fa1eb773cb8999a3801e4922bd575cee29a27cbeaf3b5f6bfb86aad3f3397b82d553f0c3fe2a173
7
+ data.tar.gz: fbdec1ec93f68967a1c24bdf4a2412a4899eda49e16fafca37a869dd1ffd19f0ce18f136f4ebd3a586c935beed9e998f0fd71752cbeaf07fadfc30061e3af327
@@ -21,15 +21,17 @@
21
21
  <li class="nav-item">
22
22
  <a class="nav-link" href="/blog">Blog</a>
23
23
  </li>
24
+
25
+
24
26
  <li class="nav-item dropdown">
25
- <a class="nav-link dropdown-toggle" id="navbarDropdown" role="button" aria-haspopup="true"
27
+ <a class="nav-link dropdown-toggle" type="button" id="dropdownMenuButton" data-toggle="dropdown"
26
28
  aria-expanded="false">
27
29
  More
28
30
  </a>
29
31
  {%- if dataToShow.megaMenu -%}
30
- <ul class="dropmenu dropdown-menu" aria-labelledby="navbarDropdown">
32
+ <ul class="dropdown-menu top_tool_bar" aria-labelledby="dropdownMenuButton">
31
33
  {%- for item in dataToShow.megaMenu.dropdown -%}
32
- <div class="catPad mb-4">
34
+ <div class=" catPad mb-4">
33
35
  <li style="margin: 0 0 20px;" class="text-muted">{{item.categoryName}}</li>
34
36
  {%- for item in item.links -%}
35
37
  <li style="margin:0 0 15px">
@@ -52,11 +54,11 @@
52
54
  <a class="nav-link" href="/blog">Blog</a>
53
55
  </li>
54
56
  <li class="nav-item dropdown">
55
- <a class="nav-link dropdown-toggle" id="navbarDropdown" role="button" aria-haspopup="true"
56
- aria-expanded="false">
57
+ <a class="nav-link dropdown-toggle" id="dropdownMenuButton" data-toggle="dropdown" role="button"
58
+ aria-haspopup="true" aria-expanded="false">
57
59
  More
58
60
  </a>
59
- <div class="dropdown-menu" aria-labelledby="navbarDropdown">
61
+ <div class="top_tool_bar dropdown-menu" aria-labelledby="navbarDropdown">
60
62
 
61
63
  {% for item in dataToShow.more %}
62
64
  <a class="dropdown-item" href="{{item.url}}">
data/assets/css/style.css CHANGED
@@ -72,8 +72,9 @@ header {
72
72
  font-size: 16px;
73
73
  color: gray !important;
74
74
  }
75
- .dropdown:hover .dropdown-menu {
76
- display: grid;
75
+ .top_tool_bar {
76
+ overflow-y: auto;
77
+ height: 540px;
77
78
  grid-template-columns: auto auto;
78
79
  border: none;
79
80
  font-size: 14px;
@@ -85,6 +86,9 @@ header {
85
86
  column-gap: 5rem;
86
87
  row-gap: 1rem;
87
88
  }
89
+ .dropdown-menu.show{
90
+ display: grid;
91
+ }
88
92
  .bars {
89
93
  position: relative;
90
94
  top: 3px;
@@ -332,18 +336,17 @@ display: none;
332
336
  .heading {
333
337
  font-size: 40px;
334
338
  }
335
- .dropdown:hover .dropdown-menu {
339
+ /* .dropdown:hover .dropdown-menu {
336
340
  display: block;
337
- }
341
+ } */
338
342
  }
339
343
  @media (max-width: 992px) {
340
344
  .navbar-nav {
341
345
  margin-left: 0rem;
342
346
  }
343
- .dropdown:hover .dropdown-menu {
344
- left: 0px;
345
- padding: 0;
346
- grid-template-columns: auto auto !important;
347
+ .dropdown-menu.show {
348
+ display: block !important;
349
+ padding:15px !important
347
350
  }
348
351
  .dropdown-item {
349
352
  text-align: left;
data/assets/js/leftNav.js CHANGED
@@ -7,4 +7,12 @@ mobile_bars.addEventListener("click", () => {
7
7
 
8
8
  close_bar_btn.addEventListener("click", () => {
9
9
  document.querySelector("#open_list_bar").style.left = "-100%"
10
- })
10
+ })
11
+
12
+
13
+ document.addEventListener('click', (event) => {
14
+ const withinBoundaries = event.composedPath().includes(mobile_bars)
15
+ if (!withinBoundaries) {
16
+ document.querySelector("#open_list_bar").style.left = "-100%"
17
+ }
18
+ })
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.1.5
4
+ version: 1.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - manpreet-appscms