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 +4 -4
- data/_sass/core/nav.scss +3 -2
- data/assets/js/app/main.js +11 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 861515480b95952177dcfaa43ea5440d8f085948
|
4
|
+
data.tar.gz: '09fbd953c24eb586f02746cdc124f2b9ced791df'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 95c0a393045c617283300907f3b6058f446563276dff321359ecfaae65f81a0723794fb93ce0994213242c036ed194dff9539b1bc89793f77d1e92ff436675b4
|
7
|
+
data.tar.gz: df029306180c7e88b899db0c0c53c420491a52bcb72212d940c0fb84f0f06fff3bbf3d5b4009c1b7ba0bb239aa7d2f3cc053a9b2ad39feedafa283faa6497543
|
data/_sass/core/nav.scss
CHANGED
@@ -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";
|
data/assets/js/app/main.js
CHANGED
@@ -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
|
-
$(
|
21
|
-
|
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;
|