elixir-toolkit-theme 1.7.0 → 1.7.1

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: 835140721cbcda81fe83a1ae4a85a1b049c459aebd069b3143fdbdb46673c0b6
4
- data.tar.gz: eb472bbf8edc2ddb7926b70c6867484ee19c935dc3285c15c673be7b09201b73
3
+ metadata.gz: 0443c3da3491280579984c47b3d3fe956b63fc8553f9741a88c1fdc7db2e9be0
4
+ data.tar.gz: 282c28e0ceda276afe5af37036204deca4c69a38239ff294b962fdeddc2b9a34
5
5
  SHA512:
6
- metadata.gz: '0796770b120d052558c0cd2130c5d01de009a8ab5c6886b6562f46a4b430c7c7d8d9ed9a22c741151c90d503b3292b3af8463c7c1e195c5b2c6b3a50b0fefe84'
7
- data.tar.gz: 774dd67da3fc8be7a5ddd7af6c6463aeae7e14077256df8891b34242880909b9b72e26685446618ac5283925c4429583e4ff6259725a69e00d832739b7161a7c
6
+ metadata.gz: a238b0de46e0c5a701ee66cb8550d138fb1ee4098edf22a70c31c3e5c872a4bd7a98c5f7d3e18d74e55a83a2fc512adea191e725e64626ca0fbcb5b74dbe7a98
7
+ data.tar.gz: 619bcf9d9df1fcf08f647d10d4847c815a35c9ded6c08f9456c62816880d00eb0a3647ccaa4d8d91e3960eca0438e6f163c6492e923865200177f02ecc7026bd
@@ -10,20 +10,18 @@
10
10
  {{ page.sidebar | capitalize | replace: "_", " " }} menu <i title="navbar-toggler" class="fa fa-bars ms-2"></i>
11
11
  </button>
12
12
  <nav class="collapse" id="side-nav" aria-label="Side navigation">
13
- <ul id="menu" class="list-unstyled mb-4 mb-lg-0">
14
- {%- if sidebar.title or sidebar.version %}
15
- {%- if sidebar.title_url and page.url == sidebar.title_url %}
16
- <li class="sidebar-title active">
17
- {%- else %}
18
- <li class="sidebar-title">
19
- {%- endif %}
20
- {%- if sidebar.title_url %}
21
- <a class="btn active hover-primary text-start d-block mb-1" href="{{ sidebar.title_url | relative_url }}">{{sidebar.title}} {{sidebar.version}}</a>
22
- {%- else %}
23
- <a class="btn active hover-primary text-start d-block mb-1 disabled" aria-disabled="true">{{sidebar.title}} {{sidebar.version}}</a>
24
- {%- endif %}
25
- </li>
26
- {%- endif %}
13
+ {%- if sidebar.title or sidebar.version %}
14
+ {%- if sidebar.title_url %}
15
+ {%- if page.url == sidebar.title_url %}
16
+ <a class="btn hover-primary text-start d-block mb-1 sidebar-title active" href="{{ sidebar.title_url | relative_url }}">{{sidebar.title}} {{sidebar.version}}</a>
17
+ {%- else %}
18
+ <a class="btn hover-primary text-start d-block mb-1 sidebar-title" href="{{ sidebar.title_url | relative_url }}">{{sidebar.title}} {{sidebar.version}}</a>
19
+ {%- endif %}
20
+ {%- else %}
21
+ <a class="btn text-start d-block mb-1 sidebar-title disabled" aria-disabled="true">{{sidebar.title}} {{sidebar.version}}</a>
22
+ {%- endif %}
23
+ {%- endif %}
24
+ <ul class="list-unstyled mb-4 mb-lg-0">
27
25
  {%- for folder in sidebar.subitems %}
28
26
  {%- if page.url == folder.url %}
29
27
  <li class="active{%- if folder.hr %} mt-3{% endif %}">
data/assets/css/main.scss CHANGED
@@ -271,7 +271,7 @@ header .navbar {
271
271
  background-color: $sidebar-bg-active;
272
272
  }
273
273
 
274
- ul#menu {
274
+ #side-nav>ul {
275
275
  > li:not(.sidebar-title) > a {
276
276
  background-color: $sidebar-bg;
277
277
  color: $sidebar-color;
data/assets/js/main.js CHANGED
@@ -31,7 +31,7 @@ $(document).ready(function external_new_window() {
31
31
  */
32
32
  $(document).ready(function () {
33
33
  // Initialize navgoco with default options
34
- $("#menu").navgoco({
34
+ $("#side-nav>ul").navgoco({
35
35
  caretHtml: '',
36
36
  accordion: true,
37
37
  openClass: 'active', // open
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elixir-toolkit-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.0
4
+ version: 1.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - bedroesb
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-08 00:00:00.000000000 Z
11
+ date: 2022-03-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll