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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 66392ababa20ff2be4b28d250030d92778f3e0d7
4
- data.tar.gz: 6f3af789f69713b3448c83dcd6588f029c35d39a
3
+ metadata.gz: 27a080ace3ed7b6ddd734cf59aca42fc7502712e
4
+ data.tar.gz: f188560024f4dbde2354db18e567583169992b9b
5
5
  SHA512:
6
- metadata.gz: a3e4bd7a2bd8fdeb9e8472048a66706e24e05603a51e3e9e28c7cde96af54c0427c57830e8598a383d2dd0e799c7fc8cf4e8efe591bf181e63e1990c2f8c41dc
7
- data.tar.gz: 7397386bce02706a3c38b8f87a467278417bc0836e7ca98a2247a00955705f814fec39120fe96299bfd7671bb3d1a3d224f14468c2fc1ece8a266b0f46786e50
6
+ metadata.gz: f0aba54fa92fa967ec937421662a93cb13dacfaeee8075862cffb97a38798e55436e70c330562f340648d8eef31e3d7230821d753c0fdef15ffe8502f0c5cd2f
7
+ data.tar.gz: baeab2844f9f330b595d16ef4743eadc5734b7eafb23f997e4ac806ae297f5330f747ee62c80731aa93bfe30e749c9865686a2daf6a48560b4778e168c7ce9cd
@@ -44,19 +44,19 @@ navbar-inverse navbar-static" id="main-navigation">
44
44
  active
45
45
  {% endif %}
46
46
  {% endfor %} ">
47
- <a href="{% if section.url %}{{section.url}}{% endif %}" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
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" href="{% if menu_option.url %}{{menu_option.url}}{% endif %}" class="m\obile-link-inactive">{{menu_option.text}}</a>
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 href="{% if sub-option.url %}{{sub-option.url}}{% endif %}">{{sub-option.text}}</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>
@@ -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;
@@ -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.97
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-03 00:00:00.000000000 Z
11
+ date: 2018-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll