linaro-jekyll-theme 4.3.0 → 4.3.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/_includes/components/github_edit.html +5 -5
- data/_includes/components/head.html +4 -2
- data/_includes/components/jumbotron.html +6 -6
- data/_includes/nav/universal_nav.html +1 -1
- data/_sass/app/overrides.scss +1 -0
- data/_sass/core/cookies.scss +104 -90
- data/_sass/core/fontello.scss +2 -0
- data/_sass/core/footer.scss +58 -53
- data/_sass/core/theme.scss +4 -2
- data/assets/js/app/main.js +14 -7
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 28007e6ad27b5f5eec2b41a42fcb8fe7f8479d4fc0ad8540e07587ab202f97bf
|
|
4
|
+
data.tar.gz: 07aa2a14689d88c57b0a2b53afc29f657bbbec5069bc3cc8d86eb2b90f2cd1b1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2f28f3b7229b41cebd1162219fd78efb0d23eee4333df61bd901d08b8077d87cf87d4da21bd650fff04dea8653540414ced372cdb4c97c485c365574b3a683db
|
|
7
|
+
data.tar.gz: a24847274d7bdfa9657deeb08ac366a4710680fb4814f4e3b669e1c131dce9581b2c1de99ccb16a96c759945020af9b6f8f6e0b9716caba8c5a37a3e1d83fe3a
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
{% endcapture %}
|
|
11
11
|
{% capture edit-me-link %}{{github-docs}}{{page-path}}{% endcapture %}
|
|
12
12
|
<div class="btn-group my-2 mt-1" role="group" aria-label="Basic example" id="github_controls">
|
|
13
|
-
<a
|
|
14
|
-
<a
|
|
15
|
-
<a aria-label="Edit this page on GitHub" title="Edit this page on GitHub" href="{{edit-me-link | replace: " ", "" }}"
|
|
13
|
+
<a aria-label="GitHub Home" title="GitHub Home" class="btn btn-secondary" href="{{github-home}}" id="github_home"><span class="sr-only">Go to GitHub Repo home</span><i class="icon-github-circled center-block"></i></a>
|
|
14
|
+
<a aria-label="Report an issue on GitHub for this page" title="Report an issue on GitHub for this page" class="btn btn-secondary" href="{{report-issue-link}}" id="submit_issue">Report an Issue</a>
|
|
15
|
+
<a aria-label="Edit this page on GitHub" title="Edit this page on GitHub" href="{{edit-me-link | replace: " ", "" }}" class="btn btn-secondary" id="edit_on_github">Edit on GitHub</a>
|
|
16
16
|
</div>
|
|
17
17
|
{% else %}
|
|
18
18
|
{% capture github-home %}{{site.edit-on-github.repo}}{% endcapture %}
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
{% endcapture %}
|
|
23
23
|
{% capture edit-me-link %}{{github-docs}}{{page-path}}{% endcapture %}
|
|
24
24
|
<div class="btn-group my-2 mt-1" role="group" aria-label="Basic example" id="github_controls">
|
|
25
|
-
<a
|
|
25
|
+
<a aria-label="GitHub Home" title="GitHub Home" class="btn btn-secondary" href="{{github-home}}" id="github_home"> <span class="sr-only">Go to GitHub Repo home</span> <i
|
|
26
26
|
class="icon-github-circled center-block"></i></a>
|
|
27
|
-
<a
|
|
27
|
+
<a aria-label="Report an issue on GitHub for this page" title="Report an issue on GitHub for this page" class="btn btn-secondary" href="{{report-issue-link}}" id="submit_issue">Report an
|
|
28
28
|
Issue</a>
|
|
29
29
|
<a aria-label="Edit this page on GitHub" title="Edit this page on GitHub" href="{{edit-me-link | replace: " ", "" }}" type="button" class="btn btn-secondary"
|
|
30
30
|
id="edit_on_github">Edit on GitHub</a>
|
|
@@ -2,8 +2,10 @@
|
|
|
2
2
|
{% include components/http2.html %}
|
|
3
3
|
<meta charset="UTF-8">
|
|
4
4
|
<title>
|
|
5
|
-
{% if page.
|
|
6
|
-
{{page.
|
|
5
|
+
{% if page.meta_title %}
|
|
6
|
+
{{page.meta_title}} | {{site.title}}
|
|
7
|
+
{% elsif page.title %}
|
|
8
|
+
{{page.title}} | {{site.title}}
|
|
7
9
|
{% else %}
|
|
8
10
|
{{site.title}}
|
|
9
11
|
{% endif %}
|
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
{{slide.title}}</h1>
|
|
27
27
|
{% endif %}
|
|
28
28
|
{% if slide.description %}
|
|
29
|
-
<
|
|
30
|
-
{{slide.description}}
|
|
31
|
-
</
|
|
29
|
+
<div class="lead {% if slide.desciption-class %} {{slide.description-class}}{% endif %}">
|
|
30
|
+
{{slide.description | markdownify}}
|
|
31
|
+
</div>
|
|
32
32
|
{% endif %}
|
|
33
33
|
{% if slide.buttons %}
|
|
34
34
|
<p class="lead">
|
|
@@ -85,9 +85,9 @@
|
|
|
85
85
|
<h1 {% if page.jumbotron.title-class %}class="{{page.jumbotron.title-class}}"{% endif %}>{{page.jumbotron.title}}</h1>
|
|
86
86
|
{% endif %}
|
|
87
87
|
{% if page.jumbotron.description %}
|
|
88
|
-
<
|
|
89
|
-
{{page.jumbotron.description }}
|
|
90
|
-
</
|
|
88
|
+
<div class="lead">
|
|
89
|
+
{{page.jumbotron.description | markdownify}}
|
|
90
|
+
</div>
|
|
91
91
|
{% endif %}
|
|
92
92
|
{% if page.jumbotron.buttons %}
|
|
93
93
|
<p class="lead">
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
{% if item.options %}
|
|
17
17
|
<li class="nav-item dropdown {% if item.hamburger_toggle %}dropdown_hamburger{% endif %} {% for project-site in item.options %}{% if project-site.active %}active{% break %}{% endif %}{% endfor %}">
|
|
18
18
|
{% if item.hamburger_toggle %}
|
|
19
|
-
<button class="ml-auto mt-1 d-none d-{{nav_expand_point}}-block" type="button"
|
|
19
|
+
<button class="ml-auto mt-1 d-none d-{{nav_expand_point}}-block" type="button" data-toggle="dropdown"
|
|
20
20
|
aria-haspopup="true" aria-expanded="false" aria-label="Toggle {{item.title}} Dropdown">
|
|
21
21
|
<span class="icon-bar"></span>
|
|
22
22
|
<span class="icon-bar"></span>
|
data/_sass/app/overrides.scss
CHANGED
|
@@ -28,6 +28,7 @@ $jumbotron_height: 350px;
|
|
|
28
28
|
@font-face {
|
|
29
29
|
font-display: fallback;
|
|
30
30
|
font-family: "Lato";
|
|
31
|
+
font-display: swap;
|
|
31
32
|
src: url("/assets/fonts/lato/Lato-regular.eot"); /* IE9 Compat Modes */
|
|
32
33
|
src: url("/assets/fonts/lato/Lato-regular.eot?#iefix")
|
|
33
34
|
format("embedded-opentype"),
|
data/_sass/core/cookies.scss
CHANGED
|
@@ -1,94 +1,99 @@
|
|
|
1
1
|
/* Cookie Dialog */
|
|
2
2
|
#gdpr-cookie-message {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
3
|
+
position: fixed;
|
|
4
|
+
background-color: #eeeded;
|
|
5
|
+
padding: 20px;
|
|
6
|
+
border-radius: 5px;
|
|
7
|
+
box-shadow: 0 15px 15px rgba(0, 0, 0, 0.25);
|
|
8
|
+
font-family: "Lato";
|
|
9
|
+
font-display: swap;
|
|
10
|
+
z-index: 999999;
|
|
11
|
+
top: 0;
|
|
12
|
+
left: 0;
|
|
13
|
+
right: 0;
|
|
14
|
+
bottom: unset;
|
|
15
|
+
max-width: 100%;
|
|
16
|
+
margin: 20px;
|
|
16
17
|
|
|
17
|
-
|
|
18
|
-
|
|
18
|
+
button#ihavecookiesBtn {
|
|
19
|
+
margin-left: 0px !important;
|
|
20
|
+
}
|
|
21
|
+
h4 {
|
|
22
|
+
color: #333;
|
|
23
|
+
font-family: "Quicksand", sans-serif;
|
|
24
|
+
font-display: swap;
|
|
25
|
+
font-size: 18px;
|
|
26
|
+
font-weight: 500;
|
|
27
|
+
margin-bottom: 10px;
|
|
28
|
+
}
|
|
29
|
+
h5 {
|
|
30
|
+
color: #a2a2a2;
|
|
31
|
+
font-family: "Quicksand", sans-serif;
|
|
32
|
+
font-display: swap;
|
|
33
|
+
font-size: 15px;
|
|
34
|
+
font-weight: 500;
|
|
35
|
+
margin-bottom: 10px;
|
|
36
|
+
}
|
|
37
|
+
p,
|
|
38
|
+
ul {
|
|
39
|
+
color: #333;
|
|
40
|
+
font-size: 15px;
|
|
41
|
+
line-height: 1.5em;
|
|
42
|
+
}
|
|
43
|
+
p:last-child {
|
|
44
|
+
margin-bottom: 0;
|
|
45
|
+
text-align: right;
|
|
46
|
+
}
|
|
47
|
+
li {
|
|
48
|
+
width: 49%;
|
|
49
|
+
display: inline-block;
|
|
50
|
+
}
|
|
51
|
+
a {
|
|
52
|
+
color: $primary;
|
|
53
|
+
text-decoration: none;
|
|
54
|
+
font-size: 15px;
|
|
55
|
+
padding-bottom: 2px;
|
|
56
|
+
border-bottom: 1px dotted rgba(255, 255, 255, 0.75);
|
|
57
|
+
transition: all 0.3s ease-in;
|
|
58
|
+
&:hover {
|
|
59
|
+
color: #333;
|
|
60
|
+
border-bottom-color: $primary;
|
|
61
|
+
transition: all 0.3s ease-in;
|
|
19
62
|
}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
63
|
+
}
|
|
64
|
+
button,
|
|
65
|
+
button#ihavecookiesBtn {
|
|
66
|
+
border: none;
|
|
67
|
+
background: $primary;
|
|
68
|
+
color: white;
|
|
69
|
+
font-family: "Quicksand", sans-serif;
|
|
70
|
+
font-size: 15px;
|
|
71
|
+
padding: 7px;
|
|
72
|
+
border-radius: 3px;
|
|
73
|
+
margin-left: 15px;
|
|
74
|
+
margin-bottom: 5px;
|
|
75
|
+
cursor: pointer;
|
|
76
|
+
transition: all 0.3s ease-in;
|
|
77
|
+
}
|
|
78
|
+
button {
|
|
79
|
+
&:hover {
|
|
80
|
+
background: white;
|
|
81
|
+
color: $primary;
|
|
82
|
+
transition: all 0.3s ease-in;
|
|
26
83
|
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
font-size: 15px;
|
|
31
|
-
font-weight: 500;
|
|
32
|
-
margin-bottom: 10px;
|
|
84
|
+
&#gdpr-cookie-advanced {
|
|
85
|
+
background: white;
|
|
86
|
+
color: $primary;
|
|
33
87
|
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
font-size: 15px;
|
|
37
|
-
line-height: 1.5em;
|
|
38
|
-
}
|
|
39
|
-
p:last-child {
|
|
40
|
-
margin-bottom: 0;
|
|
41
|
-
text-align: right;
|
|
42
|
-
}
|
|
43
|
-
li {
|
|
44
|
-
width: 49%;
|
|
45
|
-
display: inline-block;
|
|
46
|
-
}
|
|
47
|
-
a {
|
|
48
|
-
color: $primary;
|
|
49
|
-
text-decoration: none;
|
|
50
|
-
font-size: 15px;
|
|
51
|
-
padding-bottom: 2px;
|
|
52
|
-
border-bottom: 1px dotted rgba(255,255,255,0.75);
|
|
53
|
-
transition: all 0.3s ease-in;
|
|
54
|
-
&:hover {
|
|
55
|
-
color:#333;
|
|
56
|
-
border-bottom-color: $primary;
|
|
57
|
-
transition: all 0.3s ease-in;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
button, button#ihavecookiesBtn {
|
|
61
|
-
border: none;
|
|
62
|
-
background: $primary;
|
|
63
|
-
color: white;
|
|
64
|
-
font-family: 'Quicksand', sans-serif;
|
|
65
|
-
font-size: 15px;
|
|
66
|
-
padding: 7px;
|
|
67
|
-
border-radius: 3px;
|
|
68
|
-
margin-left: 15px;
|
|
69
|
-
margin-bottom: 5px;
|
|
70
|
-
cursor: pointer;
|
|
71
|
-
transition: all 0.3s ease-in;
|
|
72
|
-
}
|
|
73
|
-
button {
|
|
74
|
-
&:hover {
|
|
75
|
-
background: white;
|
|
76
|
-
color: $primary;
|
|
77
|
-
transition: all 0.3s ease-in;
|
|
78
|
-
}
|
|
79
|
-
&#gdpr-cookie-advanced {
|
|
80
|
-
background: white;
|
|
81
|
-
color: $primary;
|
|
82
|
-
}
|
|
83
|
-
&:disabled {
|
|
84
|
-
opacity: 0.3;
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
input[type="checkbox"] {
|
|
88
|
-
float: none;
|
|
89
|
-
margin-top: 0;
|
|
90
|
-
margin-right: 5px;
|
|
88
|
+
&:disabled {
|
|
89
|
+
opacity: 0.3;
|
|
91
90
|
}
|
|
91
|
+
}
|
|
92
|
+
input[type="checkbox"] {
|
|
93
|
+
float: none;
|
|
94
|
+
margin-top: 0;
|
|
95
|
+
margin-right: 5px;
|
|
96
|
+
}
|
|
92
97
|
}
|
|
93
98
|
|
|
94
99
|
.df-switch {
|
|
@@ -131,12 +136,12 @@
|
|
|
131
136
|
transition: opacity 0.25s;
|
|
132
137
|
}
|
|
133
138
|
.btn-toggle:before {
|
|
134
|
-
content:
|
|
139
|
+
content: "off";
|
|
135
140
|
left: -5rem;
|
|
136
141
|
color: lightgrey;
|
|
137
142
|
}
|
|
138
143
|
.btn-toggle:after {
|
|
139
|
-
content:
|
|
144
|
+
content: "on";
|
|
140
145
|
right: -5rem;
|
|
141
146
|
opacity: 0.5;
|
|
142
147
|
color: $primary;
|
|
@@ -152,7 +157,7 @@
|
|
|
152
157
|
box-shadow: inset 1px 1px 2px -1px black;
|
|
153
158
|
}
|
|
154
159
|
.btn-toggle.active > .inner-handle {
|
|
155
|
-
background-color
|
|
160
|
+
background-color: $primary;
|
|
156
161
|
}
|
|
157
162
|
.btn-toggle > .handle:before {
|
|
158
163
|
content: "";
|
|
@@ -161,12 +166,20 @@
|
|
|
161
166
|
width: 34px;
|
|
162
167
|
top: 35%;
|
|
163
168
|
left: 11px;
|
|
164
|
-
background-image: radial-gradient(
|
|
169
|
+
background-image: radial-gradient(
|
|
170
|
+
circle at center,
|
|
171
|
+
$primary 5px,
|
|
172
|
+
transparent 5px
|
|
173
|
+
);
|
|
165
174
|
background-size: 10px 10px;
|
|
166
175
|
background-repeat: no-repeat;
|
|
167
176
|
}
|
|
168
177
|
.btn-toggle.active > .handle:before {
|
|
169
|
-
background-image: radial-gradient(
|
|
178
|
+
background-image: radial-gradient(
|
|
179
|
+
circle at center,
|
|
180
|
+
$primary 5px,
|
|
181
|
+
transparent 5px
|
|
182
|
+
);
|
|
170
183
|
}
|
|
171
184
|
.btn-toggle > .handle {
|
|
172
185
|
position: absolute;
|
|
@@ -196,5 +209,6 @@
|
|
|
196
209
|
.btn-toggle.active {
|
|
197
210
|
background-color: $primary;
|
|
198
211
|
}
|
|
199
|
-
#gdpr-cookie-message button,
|
|
212
|
+
#gdpr-cookie-message button,
|
|
213
|
+
#gdpr-cookie-message button#ihavecookiesBtn {
|
|
200
214
|
}
|
data/_sass/core/fontello.scss
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
@font-face {
|
|
2
2
|
font-family: "fontello";
|
|
3
|
+
font-display: swap;
|
|
3
4
|
src: url("/assets/fonts/fontello/fontello.eot");
|
|
4
5
|
src: url("/assets/fonts/fontello/fontello.eot") format("embedded-opentype"),
|
|
5
6
|
url("/assets/fonts/fontello/fontello.woff2") format("woff2"),
|
|
@@ -12,6 +13,7 @@
|
|
|
12
13
|
[class^="icon-"]:before,
|
|
13
14
|
[class*=" icon-"]:before {
|
|
14
15
|
font-family: "fontello";
|
|
16
|
+
font-display: swap;
|
|
15
17
|
font-style: normal;
|
|
16
18
|
font-weight: normal;
|
|
17
19
|
speak: none;
|
data/_sass/core/footer.scss
CHANGED
|
@@ -1,61 +1,66 @@
|
|
|
1
1
|
#wrapper {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
footer {
|
|
3
|
+
#github_controls {
|
|
4
|
+
a {
|
|
5
|
+
-webkit-appearance: none;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
i {
|
|
9
|
+
color: white;
|
|
10
|
+
&:hover {
|
|
11
|
+
color: $primary;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
a {
|
|
15
|
+
color: white;
|
|
16
|
+
&:hover {
|
|
17
|
+
color: $primary;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
.main {
|
|
21
|
+
background-color: $footer_bg_color;
|
|
22
|
+
margin: 30px 0;
|
|
23
|
+
.footer-column {
|
|
24
|
+
margin: 30px 0;
|
|
25
|
+
h3 {
|
|
26
|
+
color: #ffffff;
|
|
27
|
+
font-weight: 700;
|
|
28
|
+
font-size: 26px;
|
|
29
|
+
border-left: 5px solid $primary;
|
|
30
|
+
padding-left: 15px;
|
|
8
31
|
}
|
|
9
|
-
|
|
10
|
-
|
|
32
|
+
ul.list-group {
|
|
33
|
+
li {
|
|
34
|
+
background-color: transparent;
|
|
35
|
+
border: 0;
|
|
36
|
+
padding-left: 0px;
|
|
37
|
+
padding-right: 0px;
|
|
38
|
+
transition: all 400ms ease;
|
|
11
39
|
&:hover {
|
|
12
|
-
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
.main {
|
|
16
|
-
background-color: $footer_bg_color;
|
|
17
|
-
margin: 30px 0;
|
|
18
|
-
.footer-column {
|
|
19
|
-
margin: 30px 0;
|
|
20
|
-
h3 {
|
|
21
|
-
color: #ffffff;
|
|
22
|
-
font-weight: 700;
|
|
23
|
-
font-size: 26px;
|
|
24
|
-
border-left: 5px solid $primary;
|
|
25
|
-
padding-left: 15px;
|
|
26
|
-
}
|
|
27
|
-
ul.list-group {
|
|
28
|
-
li {
|
|
29
|
-
background-color: transparent;
|
|
30
|
-
border: 0;
|
|
31
|
-
padding-left: 0px;
|
|
32
|
-
padding-right: 0px;
|
|
33
|
-
transition: all 400ms ease;
|
|
34
|
-
&:hover {
|
|
35
|
-
padding-left: 4px;
|
|
36
|
-
}
|
|
37
|
-
a {
|
|
38
|
-
color: #fff;
|
|
39
|
-
font-size: 24px;
|
|
40
|
-
font-weight: normal;
|
|
41
|
-
&:hover {
|
|
42
|
-
color: $primary;
|
|
43
|
-
text-decoration: none;
|
|
44
|
-
transition: color .5s ease;
|
|
45
|
-
-moz-transition: color .5s ease;
|
|
46
|
-
-webkit-transition: color .5s ease;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
}
|
|
40
|
+
padding-left: 4px;
|
|
51
41
|
}
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
42
|
+
a {
|
|
43
|
+
color: #fff;
|
|
44
|
+
font-size: 24px;
|
|
45
|
+
font-weight: normal;
|
|
46
|
+
&:hover {
|
|
47
|
+
color: $primary;
|
|
48
|
+
text-decoration: none;
|
|
49
|
+
transition: color 0.5s ease;
|
|
50
|
+
-moz-transition: color 0.5s ease;
|
|
51
|
+
-webkit-transition: color 0.5s ease;
|
|
52
|
+
}
|
|
58
53
|
}
|
|
54
|
+
}
|
|
59
55
|
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
.strip {
|
|
59
|
+
background-color: $footer_strip_bg_color;
|
|
60
|
+
.footer-logo {
|
|
61
|
+
height: 40px;
|
|
62
|
+
margin: 10px 0;
|
|
63
|
+
}
|
|
60
64
|
}
|
|
65
|
+
}
|
|
61
66
|
}
|
data/_sass/core/theme.scss
CHANGED
|
@@ -48,7 +48,8 @@
|
|
|
48
48
|
}
|
|
49
49
|
blockquote {
|
|
50
50
|
width: 100%;
|
|
51
|
-
font-family:
|
|
51
|
+
font-family: "Lato";
|
|
52
|
+
font-display: swap;
|
|
52
53
|
font-style: italic;
|
|
53
54
|
color: #555555;
|
|
54
55
|
padding: 1.2em 30px 1.2em 75px;
|
|
@@ -57,7 +58,8 @@
|
|
|
57
58
|
position: relative;
|
|
58
59
|
background: #ededed;
|
|
59
60
|
&::before {
|
|
60
|
-
font-family:
|
|
61
|
+
font-family: "Lato";
|
|
62
|
+
font-display: swap;
|
|
61
63
|
content: "\201C";
|
|
62
64
|
color: $primary;
|
|
63
65
|
font-size: 6em;
|
data/assets/js/app/main.js
CHANGED
|
@@ -201,15 +201,13 @@ $(document).ready(function () {
|
|
|
201
201
|
}
|
|
202
202
|
}
|
|
203
203
|
navbar();
|
|
204
|
-
$(window).scroll(function () {
|
|
205
|
-
navbar();
|
|
206
|
-
});
|
|
207
204
|
// Sticky tab bar setup
|
|
205
|
+
var stickyNav;
|
|
208
206
|
if ($("#tabbed-nav-bar").length > 0) {
|
|
209
207
|
var text = $("#tabbed-nav-bar ul li a.active").text();
|
|
210
208
|
$("#sub-navigation-header").text(text);
|
|
211
209
|
var stickyTabBarOffset = $("#tabbed-nav-bar").offset().top;
|
|
212
|
-
|
|
210
|
+
stickyNav = () => {
|
|
213
211
|
var scroll = $(window).scrollTop();
|
|
214
212
|
if (scroll > stickyTabBarOffset) {
|
|
215
213
|
$("#tabbed-nav-bar").addClass("fixed-top");
|
|
@@ -217,10 +215,19 @@ $(document).ready(function () {
|
|
|
217
215
|
$("#tabbed-nav-bar").removeClass("fixed-top");
|
|
218
216
|
}
|
|
219
217
|
};
|
|
220
|
-
$(window).scroll(function () {
|
|
221
|
-
stickyNav();
|
|
222
|
-
});
|
|
223
218
|
}
|
|
219
|
+
// Passive window scroll listener.
|
|
220
|
+
window.addEventListener(
|
|
221
|
+
"scroll",
|
|
222
|
+
() => {
|
|
223
|
+
if ($("#tabbed-nav-bar").length > 0) {
|
|
224
|
+
stickyNav();
|
|
225
|
+
}
|
|
226
|
+
navbar();
|
|
227
|
+
},
|
|
228
|
+
{ passive: true }
|
|
229
|
+
);
|
|
230
|
+
|
|
224
231
|
// Multi-level dropdowns
|
|
225
232
|
$(".navbar .dropdown-menu > li:not(.dropdown-item)").on(
|
|
226
233
|
"click",
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: linaro-jekyll-theme
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.3.
|
|
4
|
+
version: 4.3.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kyle Kirkby
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2021-03-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|