jumbo-jekyll-theme 1.9.9 → 2.0.0

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: 26239c2c6d3d970086c7bd8f1e7f7eaa620a28b1
4
- data.tar.gz: 00a5ef90c33daf7680039a300585300c749ec610
3
+ metadata.gz: 861515480b95952177dcfaa43ea5440d8f085948
4
+ data.tar.gz: '09fbd953c24eb586f02746cdc124f2b9ced791df'
5
5
  SHA512:
6
- metadata.gz: 6a03520410955a4f63f4e11891e28296052acc53eea35bd7c78f2c52583c2a8d57d7b7d3bcc46a23003b14b288cc778af18f359958bcabf12a05fff10efe7b3f
7
- data.tar.gz: d65e73d943667bafc2774bb812a9a78a40a6337fefefe37ad85b7bcb5aa5c70b88eafc7ae0254add1b7b9ad3e5cdc8f83c72e05295b5d3905612d609d2d15fc4
6
+ metadata.gz: 95c0a393045c617283300907f3b6058f446563276dff321359ecfaae65f81a0723794fb93ce0994213242c036ed194dff9539b1bc89793f77d1e92ff436675b4
7
+ data.tar.gz: df029306180c7e88b899db0c0c53c420491a52bcb72212d940c0fb84f0f06fff3bbf3d5b4009c1b7ba0bb239aa7d2f3cc053a9b2ad39feedafa283faa6497543
@@ -945,8 +945,6 @@ nav#main-navigation.navbar-fixed-top {
945
945
  #main-navigation div#navbar-collapse {
946
946
  z-index: 1;
947
947
  }
948
-
949
-
950
948
  // CSS for the left aligned dropdowns
951
949
 
952
950
  li.dropdown-submenu.sub-menu.pull-left {
@@ -965,6 +963,9 @@ li.dropdown-submenu.sub-menu.pull-left {
965
963
  margin-top: 5px;
966
964
  padding-bottom: 0;
967
965
  }
966
+ li.dropdown-submenu.sub-menu > a {
967
+ cursor: pointer;
968
+ }
968
969
 
969
970
  // Import the CSS for the iuniversal NavBar
970
971
  @import "universal-nav";
@@ -17,11 +17,19 @@ $(document).ready(function () {
17
17
 
18
18
  // Toggle the sub menu when clicked.
19
19
  $('.dropdown-submenu.sub-menu a').on("click", function(e){
20
- $(".dropdown-submenu.sub-menu > .dropdown-menu.sub-menu").hide();
21
- $(this).next('ul').toggle();
20
+ if($(this).hasClass("active")){
21
+ $(this).next('ul').hide();
22
+ $(this).removeClass("active");
23
+ }
24
+ else {
25
+ $(".dropdown-menu.sub-menu").hide();
26
+ $(".dropdown-submenu.sub-menu a").removeClass("active");
27
+ $(this).next('ul').show();
28
+ $(this).addClass("active");
29
+ }
22
30
  e.stopPropagation();
23
31
  });
24
-
32
+
25
33
  // Sticky Nav for the universal/main navigation bars
26
34
  if($("#universal-nav")){
27
35
  var stickyOffset = $('#main-navigation').offset().top;
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jumbo-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.9
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Kirkby