elixir-toolkit-theme 1.17.0 → 1.19.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 +4 -4
- data/README.md +6 -3
- data/_includes/events.html +3 -3
- data/_includes/head.html +1 -2
- data/_includes/image.html +1 -1
- data/_includes/more-information-tiles.html +8 -8
- data/_includes/news.html +5 -5
- data/_includes/related-pages.html +1 -1
- data/_includes/resource-table-all.html +2 -2
- data/_includes/resource-table-page.html +1 -1
- data/_includes/section-navigation-tiles.html +61 -15
- data/_includes/topnav.html +3 -1
- data/_sass/_bootstrap_variables.scss +0 -2
- data/_sass/bootstrap/_buttons.scss +0 -1
- data/_sass/bootstrap/bootstrap-grid.scss +1 -1
- data/_sass/bootstrap/bootstrap-reboot.scss +1 -1
- data/_sass/bootstrap/bootstrap-utilities.scss +1 -1
- data/_sass/bootstrap/bootstrap.scss +1 -1
- data/assets/css/main.scss +44 -47
- data/assets/js/bootstrap.bundle.min.js +2 -2
- data/assets/js/bootstrap.bundle.min.js.map +1 -1
- data/assets/js/main.js +27 -16
- data/assets/js/search.js +5 -3
- metadata +2 -3
- data/assets/js/jquery.cookie.min.js +0 -8
data/assets/js/main.js
CHANGED
@@ -76,24 +76,24 @@ $(function () {
|
|
76
76
|
* Back to top button
|
77
77
|
*/
|
78
78
|
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
79
|
+
var toggleHeight = $(window).outerHeight() / 2;
|
80
|
+
|
81
|
+
$(window).scroll(function () {
|
82
|
+
if ($(window).scrollTop() > toggleHeight) {
|
83
|
+
//Adds active class to make button visible
|
84
|
+
$("#back-to-top").addClass("visible");
|
85
|
+
|
86
|
+
} else {
|
87
|
+
//Removes active class to make button visible
|
88
|
+
$("#back-to-top").removeClass("visible");
|
89
|
+
}
|
90
|
+
});
|
91
|
+
|
92
|
+
//Scrolls the user to the top of the page again
|
93
|
+
function topFunction() {
|
94
94
|
document.body.scrollTop = 0; // For Safari
|
95
95
|
document.documentElement.scrollTop = 0; // For Chrome, Firefox, IE and Opera
|
96
|
-
|
96
|
+
}
|
97
97
|
|
98
98
|
|
99
99
|
/**
|
@@ -127,3 +127,14 @@ function show_past_events() {
|
|
127
127
|
elements.show();
|
128
128
|
};
|
129
129
|
|
130
|
+
/**
|
131
|
+
* Making tables responsive
|
132
|
+
*/
|
133
|
+
$(document).ready(function () {
|
134
|
+
$('table').each(function (i, obj) {
|
135
|
+
if (!$(obj).parents('.table-responsive').length) {
|
136
|
+
$(obj).wrap('<div class="table-responsive mt-4 mb-5"/>');
|
137
|
+
}
|
138
|
+
});
|
139
|
+
|
140
|
+
});
|
data/assets/js/search.js
CHANGED
@@ -95,9 +95,11 @@ permalink: assets/js/search.js
|
|
95
95
|
hideSearch();
|
96
96
|
} else {
|
97
97
|
showSearch();
|
98
|
-
|
99
|
-
|
100
|
-
|
98
|
+
var hero = document.getElementById("search-section");
|
99
|
+
if(hero){
|
100
|
+
document.querySelector('#search-section').scrollIntoView();
|
101
|
+
}
|
102
|
+
|
101
103
|
}
|
102
104
|
if (input === currentInput) {
|
103
105
|
return;
|
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.
|
4
|
+
version: 1.19.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-
|
11
|
+
date: 2022-09-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -468,7 +468,6 @@ files:
|
|
468
468
|
- assets/js/bootstrap.bundle.min.js
|
469
469
|
- assets/js/bootstrap.bundle.min.js.map
|
470
470
|
- assets/js/dataTables.bootstrap5.min.js
|
471
|
-
- assets/js/jquery.cookie.min.js
|
472
471
|
- assets/js/jquery.dataTables.min.js
|
473
472
|
- assets/js/jquery.min.js
|
474
473
|
- assets/js/jquery.min.map
|
@@ -1,8 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* jQuery Cookie Plugin v1.3.1
|
3
|
-
* https://github.com/carhartl/jquery-cookie
|
4
|
-
*
|
5
|
-
* Copyright 2013 Klaus Hartl
|
6
|
-
* Released under the MIT license
|
7
|
-
*/
|
8
|
-
!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a(jQuery)}(function(a){function b(a){return a}function c(a){return decodeURIComponent(a.replace(e," "))}function d(a){0===a.indexOf('"')&&(a=a.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return f.json?JSON.parse(a):a}catch(b){}}var e=/\+/g,f=a.cookie=function(e,g,h){if(void 0!==g){if(h=a.extend({},f.defaults,h),"number"==typeof h.expires){var i=h.expires,j=h.expires=new Date;j.setDate(j.getDate()+i)}return g=f.json?JSON.stringify(g):String(g),document.cookie=[f.raw?e:encodeURIComponent(e),"=",f.raw?g:encodeURIComponent(g),h.expires?"; expires="+h.expires.toUTCString():"",h.path?"; path="+h.path:"",h.domain?"; domain="+h.domain:"",h.secure?"; secure":""].join("")}for(var k=f.raw?b:c,l=document.cookie.split("; "),m=e?void 0:{},n=0,o=l.length;o>n;n++){var p=l[n].split("="),q=k(p.shift()),r=k(p.join("="));if(e&&e===q){m=d(r);break}e||(m[q]=d(r))}return m};f.defaults={},a.removeCookie=function(b,c){return void 0!==a.cookie(b)?(a.cookie(b,"",a.extend({},c,{expires:-1})),!0):!1}});
|