jumbo-jekyll-theme 1.8.97 → 1.8.98
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/nav.html +3 -3
- data/_sass/core/nav.scss +0 -15
- data/assets/js/app/main.js +10 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 27a080ace3ed7b6ddd734cf59aca42fc7502712e
|
4
|
+
data.tar.gz: f188560024f4dbde2354db18e567583169992b9b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f0aba54fa92fa967ec937421662a93cb13dacfaeee8075862cffb97a38798e55436e70c330562f340648d8eef31e3d7230821d753c0fdef15ffe8502f0c5cd2f
|
7
|
+
data.tar.gz: baeab2844f9f330b595d16ef4743eadc5734b7eafb23f997e4ac806ae297f5330f747ee62c80731aa93bfe30e749c9865686a2daf6a48560b4778e168c7ce9cd
|
data/_includes/nav.html
CHANGED
@@ -44,19 +44,19 @@ navbar-inverse navbar-static" id="main-navigation">
|
|
44
44
|
active
|
45
45
|
{% endif %}
|
46
46
|
{% endfor %} ">
|
47
|
-
<a
|
47
|
+
<a {% if section.url %}href="{{section.url}}"{% endif %} class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
|
48
48
|
{{section.title}} <span class="caret"></span>
|
49
49
|
</a>
|
50
50
|
<ul class="dropdown-menu menu">
|
51
51
|
{% for menu_option in section.options %}
|
52
52
|
{% if menu_option.options %}
|
53
53
|
<li class="dropdown-submenu sub-menu {% if section.left %} pull-left {% endif %}">
|
54
|
-
<a tabindex="-1"
|
54
|
+
<a tabindex="-1" {% if menu_option.url %}href="{{menu_option.url}}"{% endif %} class="m\obile-link-inactive">{{menu_option.text}}</a>
|
55
55
|
<ul class="dropdown-menu sub-menu">
|
56
56
|
{% for sub-option in menu_option.options %}
|
57
57
|
{% if sub-option.options %}
|
58
58
|
<li class="dropdown-submenu">
|
59
|
-
<a
|
59
|
+
<a {% if sub-option.url %}href="{{sub-option.url}}"{% endif %}>{{sub-option.text}}</a>
|
60
60
|
<ul class="dropdown-menu">
|
61
61
|
{% for sub-sub-option in sub-option.options %}
|
62
62
|
<li><a href="{{sub-sub-option.url}}">{{sub-sub-option.text}}</a></li>
|
data/_sass/core/nav.scss
CHANGED
@@ -141,16 +141,12 @@ nav#main-navigation.nav-light #navbar-buttons>li>a {
|
|
141
141
|
position: static;
|
142
142
|
padding:0px;
|
143
143
|
}
|
144
|
-
|
145
144
|
#tabbed-nav-bar .navbar-toggle{
|
146
145
|
color:$brand-primary !important;
|
147
146
|
}
|
148
147
|
button.btn.btn-default.dropdown-toggle {
|
149
148
|
color: $navbar-text-color;
|
150
149
|
}
|
151
|
-
|
152
|
-
|
153
|
-
|
154
150
|
nav{
|
155
151
|
letter-spacing: 1px;
|
156
152
|
}
|
@@ -174,36 +170,28 @@ nav li a:hover{
|
|
174
170
|
-moz-transition: color .5s ease;
|
175
171
|
-webkit-transition: color .5s ease;
|
176
172
|
}
|
177
|
-
|
178
173
|
// Dark and Light Nav Bar
|
179
174
|
nav.nav-light #navbar-buttons > li > a {
|
180
175
|
color:#fff;
|
181
176
|
}
|
182
|
-
|
183
177
|
nav.nav-dark #navbar-buttons > li > a {
|
184
178
|
color:#000;
|
185
179
|
}
|
186
|
-
|
187
180
|
nav.nav-light#main-navigation #navbar_svg .cls-2 {
|
188
181
|
fill: #fff;
|
189
182
|
}
|
190
|
-
|
191
183
|
nav.nav-light {
|
192
184
|
background: transparent;
|
193
185
|
}
|
194
|
-
|
195
186
|
nav.nav-dark {
|
196
187
|
background: transparent;
|
197
188
|
}
|
198
|
-
|
199
189
|
nav.nav-light button.navbar-toggle .icon-bar {
|
200
190
|
background-color:#fff !important;
|
201
191
|
}
|
202
|
-
|
203
192
|
nav.nav-dark button.navbar-toggle .icon-bar {
|
204
193
|
background-color:#fff !important;
|
205
194
|
}
|
206
|
-
|
207
195
|
// Nav Bar SVG Style
|
208
196
|
svg#navbar_svg {
|
209
197
|
height: 66px;
|
@@ -213,15 +201,12 @@ svg#navbar_svg {
|
|
213
201
|
nav.nav-light .cls-2 {
|
214
202
|
fill: #666;
|
215
203
|
}
|
216
|
-
|
217
204
|
nav.nav-light .cls-2 {
|
218
205
|
fill: #fff;
|
219
206
|
}
|
220
|
-
|
221
207
|
nav.nav-dark .cls-2 {
|
222
208
|
fill: #000;
|
223
209
|
}
|
224
|
-
|
225
210
|
// Sub Menu for Boostrap NavBar
|
226
211
|
.dropdown-submenu {
|
227
212
|
position:relative;
|
data/assets/js/app/main.js
CHANGED
@@ -8,11 +8,20 @@ $(document).mouseup(function(e)
|
|
8
8
|
}
|
9
9
|
});
|
10
10
|
|
11
|
+
// Hide all navigation sub menus on window click
|
12
|
+
$(window).click(function() {
|
13
|
+
$(".dropdown-submenu.sub-menu > .dropdown-menu.sub-menu").hide();
|
14
|
+
});
|
11
15
|
|
12
16
|
$(document).ready(function () {
|
13
17
|
|
18
|
+
// Toggle the sub menu when clicked.
|
19
|
+
$('.dropdown-submenu.sub-menu a').on("click", function(e){
|
20
|
+
$(this).next('ul').toggle();
|
21
|
+
e.stopPropagation();
|
22
|
+
});
|
23
|
+
|
14
24
|
// Sticky Nav for the universal/main navigation bars
|
15
|
-
|
16
25
|
if($("#universal-nav")){
|
17
26
|
var stickyOffset = $('#main-navigation').offset().top;
|
18
27
|
var universalNav = $('#universal-nav');
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jumbo-jekyll-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.8.
|
4
|
+
version: 1.8.98
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kyle Kirkby
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-07-
|
11
|
+
date: 2018-07-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|