jumbo-jekyll-theme 3.5.2 → 3.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9471559b28e5836c28dfd3f1b9fe04e5a927fa3116f639b6ebf9b23131830470
4
- data.tar.gz: 80cfd9e8d9c363653c30f880a7209a646515ebaf32da229bebaa3437eb47af16
3
+ metadata.gz: 63669aa407b885bf862a3c85985ca18ae1e67e866d3372987faf62457e15a022
4
+ data.tar.gz: 67523a9e276fd6199c4806409b4a69a59243946fe517cdbcc4bf524951ab8464
5
5
  SHA512:
6
- metadata.gz: 83f5e7671ecaba987ffe89b7b5a4422385777a5386629910e8228b62983bc8e24db323ad2b0f81c084e5983c8e8f68a41a65e5e0c42b1786ab2137f6580bc2e1
7
- data.tar.gz: 234968e831acc97b2741c15b60b3c1358357c8c228b8552adab6d8911746917ff402e6b9315201b20cc359c42be902bb1a1a15d668310cbebacf427a0c5affe1
6
+ metadata.gz: 023ebacff2ea73fa41368962ecb04ec383fa42330fef03bbe6485c36001db84475f7b8dede8a53f98e36caf0d24798d8d410589e9b13cc0ee8961aa58063250e
7
+ data.tar.gz: 348ea6910bcbaf2839f4ea186f564684af93016b4618ef4d2d8e7674aa33c910e0281a5290880a0d8f3ed988a15c4b0cf28e83654a53c3be5d0a041ad47381cd
@@ -2,7 +2,7 @@
2
2
  {% include universal-nav.html %}
3
3
  {% endif %}
4
4
  {% assign page_base = page.url | split: "/" %}
5
- {% assign current_page_url = page.permalink | replace: "index.html", "" %}
5
+ {% assign current_page_url = page.url | replace: "index.html", "" %}
6
6
  {% if current_page_url == "/" %}
7
7
  {% assign current_page_url = "do-no-set"%}
8
8
  {% endif %}
@@ -49,14 +49,14 @@ navbar-inverse navbar-static" id="main-navigation">
49
49
  {% for menu-item in section.options %}
50
50
  {% if menu-item.options %}
51
51
  {% for sub-item in menu-item.options %}
52
- {% if sub-item.url contains current_page_url or sub-item.url == current_page_url %}
52
+ {% if current_page_url contains sub-item.url or sub-item.url == current_page_url %}
53
53
  {% unless sub-item.url contains "http" %}
54
54
  active
55
55
  {% break %}
56
56
  {% endunless %}
57
57
  {% endif %}
58
58
  {% endfor %}
59
- {% elsif menu-item.url contains current_page_url or menu-item.url == current_page_url %}
59
+ {% elsif current_page_url contains menu-item.url or menu-item.url == current_page_url %}
60
60
  {% unless menu-item.url contains "http" %}
61
61
  active
62
62
  {% break %}
@@ -97,12 +97,11 @@ navbar-inverse navbar-static" id="main-navigation">
97
97
  </ul>
98
98
  </li>
99
99
  {% else %}
100
- <li class="main {% if section.url == current_page_url or section.url contains curret_page_url %}active{% endif %}">
100
+ <li class="main {% if section.url == current_page_url or section.url contains current_page_url %}active{% endif %}">
101
101
  <a class="main-anchor" href="{{section.url}}" title="{{section.title}}">{{section.title}}</a>
102
102
  </li>
103
103
  {% endif %}
104
104
  {% endfor %}
105
-
106
105
  {% if site.data.nav.search.enabled %}
107
106
  <li id="search-menu-item">
108
107
  <a href="#search" class="dropdown-toggle" id="search_icon">
@@ -110,10 +109,7 @@ navbar-inverse navbar-static" id="main-navigation">
110
109
  </a>
111
110
  </li>
112
111
  {% endif %}
113
-
114
112
  </ul>
115
-
116
-
117
113
  {% if site.data.nav.search.enabled %}
118
114
  <div id="search_bar">
119
115
 
@@ -963,6 +963,7 @@ transform: rotate(0);
963
963
  // Highlight nav menu options
964
964
  li.main.active a.main-anchor {
965
965
  background-color: $navbar-hover-background-color;
966
+ color: $navbar-hover-text-color !important;
966
967
  }
967
968
  li.dropdown.menu.active.open > a {
968
969
  color: $navbar-hover-text-color;
@@ -972,5 +973,8 @@ li.dropdown.menu.active.open > a {
972
973
  color: $navbar-hover-text-color !important;
973
974
  }
974
975
  #main-navigation li.main:hover a.main-anchor {
976
+ transition: background-color 600ms linear;
977
+ }
978
+ #main-navigation li.main a.main-anchor {
975
979
  transition: background-color 300ms linear;
976
980
  }
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: 3.5.2
4
+ version: 3.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Kirkby