word-games-theme 1.1.5 → 1.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/header/index.html +8 -6
- data/assets/css/style.css +11 -8
- data/assets/js/leftNav.js +9 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aaccd56e455a2e7311ad95d4157bb424f4f9b860ed0c3a2a1b45b61b2b411883
|
4
|
+
data.tar.gz: faf5840b09d06ca4d7fd7ad5c376938bac0b84c2fa00183665bcf3ccde278f2c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1ca841327753a99f565e3769d109d988de512245fdd317cb5fa1eb773cb8999a3801e4922bd575cee29a27cbeaf3b5f6bfb86aad3f3397b82d553f0c3fe2a173
|
7
|
+
data.tar.gz: fbdec1ec93f68967a1c24bdf4a2412a4899eda49e16fafca37a869dd1ffd19f0ce18f136f4ebd3a586c935beed9e998f0fd71752cbeaf07fadfc30061e3af327
|
data/_includes/header/index.html
CHANGED
@@ -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"
|
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="
|
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="
|
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
|
-
.
|
76
|
-
|
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
|
-
|
344
|
-
|
345
|
-
padding:
|
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
|
+
})
|