@trimble-oss/modus-docs-hugo-theme 1.0.0-alpha3 → 1.0.0-alpha30
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +5 -1
- package/assets/{styles → css}/_article.scss +16 -11
- package/assets/{styles → css}/_autocomplete.scss +12 -12
- package/assets/{styles → css}/_cards.scss +4 -3
- package/assets/{styles → css}/_menu-right.scss +6 -5
- package/assets/{styles → css}/_mobile.scss +4 -4
- package/assets/css/_mq-forced-colors-active.scss +29 -0
- package/assets/css/_navbar-search.scss +54 -0
- package/assets/css/_navbar.scss +27 -0
- package/assets/{styles → css}/_scroll-to-top-btn.scss +5 -5
- package/assets/{styles → css}/_sidebar.scss +3 -11
- package/assets/{styles → css}/_skippy.scss +2 -2
- package/assets/css/_tables.scss +34 -0
- package/assets/{styles → css}/_theme-light.scss +1 -1
- package/assets/{styles → css}/_theme-toggle.scss +5 -11
- package/assets/{styles → css}/_was-this-page-helpful.scss +3 -3
- package/assets/{styles/styles.scss → css/modus-docs.scss} +5 -5
- package/assets/js/auto-complete.min.js +1 -1
- package/assets/js/search.min.js +1 -1
- package/assets/js/was-this-page-helpful.js +10 -3
- package/data/navbar_apps.yml +8 -4
- package/layouts/_default/_markup/render-heading.html +4 -4
- package/layouts/_default/_markup/render-link.html +3 -3
- package/layouts/_default/baseof.html +9 -4
- package/layouts/_default/home.html +3 -8
- package/layouts/_default/list.html +2 -7
- package/layouts/_default/redirect.html +1 -1
- package/layouts/_default/single.html +6 -11
- package/layouts/index.json +1 -1
- package/layouts/partials/analytics.html +3 -7
- package/layouts/partials/blog-brief.html +4 -4
- package/layouts/partials/blog-share.html +7 -7
- package/layouts/partials/col-sidebar-menu.html +22 -6
- package/layouts/partials/header.html +15 -4
- package/layouts/partials/icons/brands/codepen.svg +1 -1
- package/layouts/partials/icons/brands/facebook-square.svg +1 -1
- package/layouts/partials/icons/brands/github-alt.svg +1 -1
- package/layouts/partials/icons/brands/github.svg +1 -1
- package/layouts/partials/icons/brands/linkedin.svg +1 -1
- package/layouts/partials/icons/brands/vimeo-square.svg +1 -1
- package/layouts/partials/icons/modus-outlined/accessibility-circle.svg +1 -1
- package/layouts/partials/icons/modus-outlined/arrow-up.svg +1 -1
- package/layouts/partials/icons/modus-outlined/bar-graph-square.svg +1 -1
- package/layouts/partials/icons/modus-outlined/code.svg +3 -0
- package/layouts/partials/icons/modus-outlined/launch.svg +1 -1
- package/layouts/partials/icons/modus-outlined/menu.svg +1 -1
- package/layouts/partials/icons/modus-outlined/more-vertical.svg +1 -1
- package/layouts/partials/icons/modus-outlined/person-account.svg +1 -1
- package/layouts/partials/icons/modus-outlined/search.svg +1 -1
- package/layouts/partials/icons/modus-outlined/sync.svg +1 -1
- package/layouts/partials/icons/modus-outlined/thumbs-down.svg +1 -1
- package/layouts/partials/icons/modus-outlined/thumbs-up.svg +1 -1
- package/layouts/partials/icons/modus-outlined/web.svg +1 -1
- package/layouts/partials/icons/modus-solid/apps.svg +3 -0
- package/layouts/partials/icons/modus-solid/code.svg +3 -0
- package/layouts/partials/icons/modus-solid/email.svg +1 -1
- package/layouts/partials/icons/modus-solid/menu.svg +3 -0
- package/layouts/partials/icons/modus-solid/palette.svg +1 -1
- package/layouts/partials/icons/modus-solid/thumbs-down.svg +3 -0
- package/layouts/partials/icons/modus-solid/thumbs-up.svg +3 -0
- package/layouts/partials/icons/modus-solid/trimble-logo.svg +3 -0
- package/layouts/partials/icons/modus-solid/user-guide.svg +3 -0
- package/layouts/partials/icons/transportation/truck.svg +1 -1
- package/layouts/partials/logos/trimble.svg +1 -1
- package/layouts/partials/menu-right.html +3 -2
- package/layouts/partials/meta.html +31 -19
- package/layouts/partials/navbar-dropdown.html +2 -2
- package/layouts/partials/navbar-search.html +6 -6
- package/layouts/partials/navbar.html +19 -9
- package/layouts/partials/related-content.html +1 -1
- package/layouts/partials/skippy.html +4 -4
- package/layouts/partials/trimble-logo.html +1 -1
- package/layouts/partials/was-this-page-helpful.html +5 -3
- package/layouts/shortcodes/example.html +2 -2
- package/package.json +27 -16
- package/static/img/icons/check-circle-outlined.svg +3 -0
- package/static/img/icons/code.svg +3 -0
- package/static/img/icons/github.svg +3 -0
- package/static/img/icons/trimble.svg +4 -0
- package/static/img/icons/web-components.svg +3 -0
- package/static/img/trimble-logo.svg +5 -1
- package/assets/js/scroll-to-top.js +0 -33
- package/assets/styles/_col-sidebar.scss +0 -3
- package/assets/styles/_navbar-search.scss +0 -53
- package/assets/styles/_navbar.scss +0 -5
- package/assets/styles/_tables.scss +0 -5
- package/layouts/index.rss.xml +0 -49
- package/layouts/partials/col-sidebar.html +0 -28
- package/layouts/partials/icons/trimble-logo.svg +0 -1
- package/layouts/sitemap.xml +0 -8
- package/static/js/theme-toggle.js +0 -41
- package/assets/{styles → css}/_codefences-dark.scss +0 -0
- package/assets/{styles → css}/_codefences.scss +0 -0
- package/assets/{styles → css}/_font-open-sans.scss +0 -0
- package/assets/{styles → css}/_footer.scss +0 -0
- package/assets/{styles → css}/_javascript-disabled.scss +3 -3
- package/assets/{styles → css}/_list-js.scss +6 -6
- package/assets/{styles → css}/_news.scss +1 -1
- package/assets/{styles → css}/_onetrust-cookie-banner.scss +9 -9
- package/assets/{styles → css}/_posts.scss +2 -2
- /package/assets/{styles → css}/_print.scss +0 -0
- /package/assets/{styles → css}/_theme-dark.scss +0 -0
- /package/assets/{styles → css}/_utilities.scss +0 -0
- /package/assets/{styles → css}/_xxl.scss +0 -0
- /package/layouts/partials/{btn-theme-toggle.html → navbar-theme-toggle.html} +0 -0
@@ -1 +1 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{ . }}"{{ end }}{{ with .height }} height="{{ . }}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} viewBox="0 0 444.7 100"><path d="M115.85,87.13v-62H93V11.21h62.57v14h-23v62Z" fill="currentColor"/><path d="M141.9,87.13V32.74h16.52v8.84h.1c3-4.62,8.21-10.26,18.47-10.26h.51V46c-.61-.11-3.49-.31-4.51-.31a18.27,18.27,0,0,0-14.57,7.49v34Z" fill="currentColor"/><path d="M182.72,25V11.72h16.62V25Zm.11,62.17V32.44h16.41V87.13Z" fill="currentColor"/><path d="M205.7,87.13V32.44h16.51v8.62c3.29-4.31,9.34-9.74,18-9.74,9.13,0,13.44,3.79,15,9.74,3.28-4.2,9.44-9.74,18-9.74,11.08,0,16,7,16,16.72V87.13H272.69V52.45c0-4.92-1.13-7.49-5.95-7.49-4.1,0-7.39,2.26-11,5.44V87.13H239.25V52.45c0-4.92-1.13-7.49-6-7.49-4.1,0-7.38,2.26-11.08,5.44V87.13Z" fill="currentColor"/><path d="M312,80.66v6.47H295.45V11.21H312V40.86c3.59-5,8.72-9.54,16.82-9.54,12.42,0,21,9.54,21,28.41S341.11,88,328.59,88C321.2,88,316.07,85.28,312,80.66Zm21.34-20.82c0-9.13-3.18-14.88-10.57-14.88-4.21,0-8,2.57-10.77,5.34V70.51c3.59,3.38,6.56,5,11,5C329.82,75.53,333.31,69.79,333.31,59.84Z" fill="currentColor"/><path d="M354.94,87.13V11.21h16.41V87.13Z" fill="currentColor"/><path d="M376.47,59.84c0-21.24,16.21-28.52,27.49-28.52S429.1,37,429.1,61.79v2.46H392.88c.83,9,5.85,12.51,12.73,12.51a25.16,25.16,0,0,0,16.21-6.56l6.36,9.85c-6.36,5.44-14.26,8.21-23.8,8.21C390.11,88.26,376.47,81,376.47,59.84Zm37.86-5.34c-.82-7.69-4.31-11.39-10.47-11.39-5.13,0-9.54,3.39-10.77,11.39Z" fill="currentColor"/><path d="M432.22,81a6.19,6.19,0,0,1,6.26-6.26A6.26,6.26,0,1,1,432.22,81Zm11.38,0a5.14,5.14,0,1,0-5.12,5.23A5.12,5.12,0,0,0,443.6,81Zm-7.55-3.56h2.56c1.62,0,2.56.7,2.56,2.1a1.84,1.84,0,0,1-1.34,1.94l1.48,2.81h-1.43l-1.38-2.62h-1.08v2.62h-1.37Zm2.48,3.18c.84,0,1.3-.27,1.3-1s-.46-1-1.33-1h-1.08v2Z" fill="currentColor"/><path d="M6.19,76.41V100L26.71,88.16A39.1,39.1,0,0,1,6.19,76.41Z" fill="currentColor"/><path d="M26.56,11.74,6.19,0V23.45A39.33,39.33,0,0,1,26.56,11.74Z" fill="currentColor"/><path d="M92.8,50,72.29,38.16a39.27,39.27,0,0,1-.06,23.72Z" fill="currentColor"/><path d="M19.7,17.92c2.94-.65,9.05,0,12.28.89a18.68,18.68,0,0,1,10.37-3.45A41.12,41.12,0,0,0,19.7,17.92Z" fill="currentColor"/><path d="M58.79,60.84a53.07,53.07,0,0,0-3.21-13.13c-7,3.18-15.72,1.13-21.53-3.9A95.93,95.93,0,0,0,22.62,58.32C32.47,66.35,48.67,68.46,58.79,60.84Z" fill="currentColor"/><path d="M17.23,59.09C8.55,50.19,5.52,37.22,8.3,27.25a35,35,0,0,0,2,47.47A63.4,63.4,0,0,1,17.23,59.09Z" fill="currentColor"/><path d="M54,43.94a47.18,47.18,0,0,0-7-10.78A80.73,80.73,0,0,0,37,40.93C42.26,45.3,49.14,46.16,54,43.94Z" fill="currentColor"/><path d="M47.47,27.72a36.33,36.33,0,0,1,7.62-4.23c-5.56-5.62-14.5-5.47-18.39-3A37.17,37.17,0,0,1,47.47,27.72Z" fill="currentColor"/><path d="M20.4,62c-4.32,7.47-5.9,13-6.48,15.87A35,35,0,0,0,57.1,77a30,30,0,0,0,2-11.33C47.14,72.79,30.66,70.07,20.4,62Z" fill="currentColor"/><path d="M57.4,41.45c3.83-4,3.06-10.84.15-14.78a29.6,29.6,0,0,0-7.13,4.18A52.73,52.73,0,0,1,57.4,41.45Z" fill="currentColor"/><path d="M64,32.85a14.1,14.1,0,0,1-4.84,12.59A57.37,57.37,0,0,1,62.49,57.2C67.74,50.38,67.58,40.64,64,32.85Z" fill="currentColor"/><path d="M34.16,37.9A83.13,83.13,0,0,1,44,30.11a33.17,33.17,0,0,0-10.82-6.59C29.92,27.89,30.92,33.53,34.16,37.9Z" fill="currentColor"/><path d="M63.12,62.69a49.42,49.42,0,0,1-.43,8.88A35.37,35.37,0,0,0,70,47.07,26.82,26.82,0,0,1,63.12,62.69Z" fill="currentColor"/><path d="M29.1,22.28a28.42,28.42,0,0,0-13.9.09c-6.89,9.77-3.69,24.08,4.33,33A100.8,100.8,0,0,1,31.18,40.79C27.1,35.72,25.48,27.89,29.1,22.28Z" fill="currentColor"/></svg>
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{- . -}}"{{ end }}{{ with .height }} height="{{- . -}}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} viewBox="0 0 444.7 100"><path d="M115.85,87.13v-62H93V11.21h62.57v14h-23v62Z" fill="currentColor"/><path d="M141.9,87.13V32.74h16.52v8.84h.1c3-4.62,8.21-10.26,18.47-10.26h.51V46c-.61-.11-3.49-.31-4.51-.31a18.27,18.27,0,0,0-14.57,7.49v34Z" fill="currentColor"/><path d="M182.72,25V11.72h16.62V25Zm.11,62.17V32.44h16.41V87.13Z" fill="currentColor"/><path d="M205.7,87.13V32.44h16.51v8.62c3.29-4.31,9.34-9.74,18-9.74,9.13,0,13.44,3.79,15,9.74,3.28-4.2,9.44-9.74,18-9.74,11.08,0,16,7,16,16.72V87.13H272.69V52.45c0-4.92-1.13-7.49-5.95-7.49-4.1,0-7.39,2.26-11,5.44V87.13H239.25V52.45c0-4.92-1.13-7.49-6-7.49-4.1,0-7.38,2.26-11.08,5.44V87.13Z" fill="currentColor"/><path d="M312,80.66v6.47H295.45V11.21H312V40.86c3.59-5,8.72-9.54,16.82-9.54,12.42,0,21,9.54,21,28.41S341.11,88,328.59,88C321.2,88,316.07,85.28,312,80.66Zm21.34-20.82c0-9.13-3.18-14.88-10.57-14.88-4.21,0-8,2.57-10.77,5.34V70.51c3.59,3.38,6.56,5,11,5C329.82,75.53,333.31,69.79,333.31,59.84Z" fill="currentColor"/><path d="M354.94,87.13V11.21h16.41V87.13Z" fill="currentColor"/><path d="M376.47,59.84c0-21.24,16.21-28.52,27.49-28.52S429.1,37,429.1,61.79v2.46H392.88c.83,9,5.85,12.51,12.73,12.51a25.16,25.16,0,0,0,16.21-6.56l6.36,9.85c-6.36,5.44-14.26,8.21-23.8,8.21C390.11,88.26,376.47,81,376.47,59.84Zm37.86-5.34c-.82-7.69-4.31-11.39-10.47-11.39-5.13,0-9.54,3.39-10.77,11.39Z" fill="currentColor"/><path d="M432.22,81a6.19,6.19,0,0,1,6.26-6.26A6.26,6.26,0,1,1,432.22,81Zm11.38,0a5.14,5.14,0,1,0-5.12,5.23A5.12,5.12,0,0,0,443.6,81Zm-7.55-3.56h2.56c1.62,0,2.56.7,2.56,2.1a1.84,1.84,0,0,1-1.34,1.94l1.48,2.81h-1.43l-1.38-2.62h-1.08v2.62h-1.37Zm2.48,3.18c.84,0,1.3-.27,1.3-1s-.46-1-1.33-1h-1.08v2Z" fill="currentColor"/><path d="M6.19,76.41V100L26.71,88.16A39.1,39.1,0,0,1,6.19,76.41Z" fill="currentColor"/><path d="M26.56,11.74,6.19,0V23.45A39.33,39.33,0,0,1,26.56,11.74Z" fill="currentColor"/><path d="M92.8,50,72.29,38.16a39.27,39.27,0,0,1-.06,23.72Z" fill="currentColor"/><path d="M19.7,17.92c2.94-.65,9.05,0,12.28.89a18.68,18.68,0,0,1,10.37-3.45A41.12,41.12,0,0,0,19.7,17.92Z" fill="currentColor"/><path d="M58.79,60.84a53.07,53.07,0,0,0-3.21-13.13c-7,3.18-15.72,1.13-21.53-3.9A95.93,95.93,0,0,0,22.62,58.32C32.47,66.35,48.67,68.46,58.79,60.84Z" fill="currentColor"/><path d="M17.23,59.09C8.55,50.19,5.52,37.22,8.3,27.25a35,35,0,0,0,2,47.47A63.4,63.4,0,0,1,17.23,59.09Z" fill="currentColor"/><path d="M54,43.94a47.18,47.18,0,0,0-7-10.78A80.73,80.73,0,0,0,37,40.93C42.26,45.3,49.14,46.16,54,43.94Z" fill="currentColor"/><path d="M47.47,27.72a36.33,36.33,0,0,1,7.62-4.23c-5.56-5.62-14.5-5.47-18.39-3A37.17,37.17,0,0,1,47.47,27.72Z" fill="currentColor"/><path d="M20.4,62c-4.32,7.47-5.9,13-6.48,15.87A35,35,0,0,0,57.1,77a30,30,0,0,0,2-11.33C47.14,72.79,30.66,70.07,20.4,62Z" fill="currentColor"/><path d="M57.4,41.45c3.83-4,3.06-10.84.15-14.78a29.6,29.6,0,0,0-7.13,4.18A52.73,52.73,0,0,1,57.4,41.45Z" fill="currentColor"/><path d="M64,32.85a14.1,14.1,0,0,1-4.84,12.59A57.37,57.37,0,0,1,62.49,57.2C67.74,50.38,67.58,40.64,64,32.85Z" fill="currentColor"/><path d="M34.16,37.9A83.13,83.13,0,0,1,44,30.11a33.17,33.17,0,0,0-10.82-6.59C29.92,27.89,30.92,33.53,34.16,37.9Z" fill="currentColor"/><path d="M63.12,62.69a49.42,49.42,0,0,1-.43,8.88A35.37,35.37,0,0,0,70,47.07,26.82,26.82,0,0,1,63.12,62.69Z" fill="currentColor"/><path d="M29.1,22.28a28.42,28.42,0,0,0-13.9.09c-6.89,9.77-3.69,24.08,4.33,33A100.8,100.8,0,0,1,31.18,40.79C27.1,35.72,25.48,27.89,29.1,22.28Z" fill="currentColor"/></svg>
|
@@ -1,16 +1,17 @@
|
|
1
1
|
<div class="sticky-top sticky-offset">
|
2
2
|
{{ if and (gt .WordCount 200 ) (not .Params.hideToc) }}
|
3
|
-
<div class="h5 pt-2
|
3
|
+
<div class="h5 pt-2 ms-1 on-this-page">
|
4
4
|
On this page
|
5
5
|
</div>
|
6
6
|
{{- .TableOfContents -}}
|
7
7
|
<script>
|
8
8
|
document.addEventListener('DOMContentLoaded', function () {
|
9
9
|
document.querySelectorAll('#TableOfContents ul').forEach(function (ul) {
|
10
|
-
ul.classList.add('list-unstyled', '
|
10
|
+
ul.classList.add('list-unstyled', 'ps-1');
|
11
11
|
});
|
12
12
|
document.querySelectorAll('#TableOfContents a').forEach(function (a) {
|
13
13
|
a.classList.add('nav-link');
|
14
|
+
a.classList.add('ps-1');
|
14
15
|
});
|
15
16
|
});
|
16
17
|
</script>
|
@@ -5,24 +5,29 @@
|
|
5
5
|
<!-- Removes the .no-js class from the <html> element if JavaScript is enabled -->
|
6
6
|
<script>document.documentElement.classList.remove('no-js');</script>
|
7
7
|
|
8
|
+
{{- if not .Site.Params.disableModusBootstrapCSS -}}
|
8
9
|
<!-- Load Modus Bootstrap CSS from CDN -->
|
9
|
-
<link rel="stylesheet" href="
|
10
|
+
<link rel="stylesheet" href="{{- .Site.BaseURL -}}css/modus-bootstrap.min.css">
|
11
|
+
{{ end }}
|
10
12
|
|
11
13
|
<!-- Compiles and minifies the sites Sass files from /assets/css/ -->
|
12
14
|
{{- $sassOptions := (dict "enableSourceMap" true) -}}
|
13
|
-
{{ $styles := resources.Get "
|
14
|
-
<link rel="stylesheet" href="{{ $styles.RelPermalink }}?v{{ hugo.Version }}">
|
15
|
+
{{ $styles := resources.Get "css/modus-docs.scss" | toCSS $sassOptions | postCSS | minify }}
|
16
|
+
<link rel="stylesheet" href="{{ $styles.RelPermalink }}?v{{- hugo.Version -}}">
|
15
17
|
|
16
18
|
<!-- Load jQuery from CDN with fallback -->
|
17
|
-
<script src="https://cdn.jsdelivr.net/npm/jquery@3.7.
|
18
|
-
<script>window.jQuery || document.write('<script src="https://code.jquery.com/jquery-3.7.
|
19
|
+
<script src="https://cdn.jsdelivr.net/npm/jquery@3.7.1/dist/jquery.min.js"></script>
|
20
|
+
<script>window.jQuery || document.write('<script src="https://code.jquery.com/jquery-3.7.1.min.js"><\/script>');</script>
|
19
21
|
<link rel="stylesheet" href="{{- .Site.BaseURL -}}fonts/modus-icons.css">
|
20
22
|
|
23
|
+
{{- if not .Site.Params.disableThemeToggle -}}
|
21
24
|
<!-- Loads Dark Mode Toggle JS -->
|
22
|
-
|
25
|
+
{{ $ThemeToggleJS := resources.Get "js/theme-toggle.js" | minify }}
|
26
|
+
<script src="{{- .Site.BaseURL -}}{{ $ThemeToggleJS.RelPermalink }}"></script>
|
27
|
+
{{ end }}
|
23
28
|
|
24
29
|
<meta name="description"
|
25
|
-
content="{{ with .Description }}{{ . }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{- end -}}{{- end -}}">
|
30
|
+
content="{{- with .Description -}}{{- . }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{- end -}}{{- end -}}">
|
26
31
|
|
27
32
|
<!-- OpenGraph Meta tags using Hugo's own built-in template -->
|
28
33
|
{{ template "_internal/opengraph.html" . }}
|
@@ -30,11 +35,12 @@
|
|
30
35
|
<meta property="og:locale" content="en_US">
|
31
36
|
{{ end }}
|
32
37
|
|
33
|
-
<!-- no need to define additional Twitter card meta tags as fallback to Open Graph -->
|
34
|
-
<!-- https://developer.
|
38
|
+
<!-- no need to define additional X (Twitter) card meta tags as fallback to Open Graph -->
|
39
|
+
<!-- https://developer.x.com/en/docs/twitter-for-websites/cards/guides/getting-started#twitter-cards-and-open-graph -->
|
35
40
|
|
36
41
|
{{- if .Params.private -}}
|
37
42
|
<meta name="robots" content="noindex, nofollow">
|
43
|
+
<meta name="referrer" content="none">
|
38
44
|
{{ end }}
|
39
45
|
|
40
46
|
{{- with .Site.Params.themeColor -}}
|
@@ -43,22 +49,17 @@
|
|
43
49
|
<meta name="theme-color" content="{{- . | default "#005f9e" -}}">
|
44
50
|
{{ end }}
|
45
51
|
|
46
|
-
{{- with .Site.Params.googleSiteVerification -}}
|
47
|
-
<!-- Google Site Verification -->
|
48
|
-
<!-- https://support.google.com/webmasters/answer/9008080?hl=en -->
|
49
|
-
<meta name="google-site-verification" content="{{- . -}}">
|
50
|
-
{{ end }}
|
51
|
-
|
52
52
|
<!-- Loads the Trimble favicon and the SVG icon -->
|
53
53
|
<link rel="alternate icon" type="image/x-icon" href="{{- .Site.BaseURL -}}favicon.ico">
|
54
54
|
<link rel="icon" type="image/svg+xml" href="{{- .Site.BaseURL -}}favicon.svg">
|
55
55
|
|
56
56
|
<!-- Polyfills for Internet Explorer 11 -->
|
57
57
|
<script nomodule crossorigin="anonymous"
|
58
|
-
src="https://
|
58
|
+
src="https://cdnjs.cloudflare.com/polyfill/v3/polyfill.min.js?features=default%2CNumber.parseInt%2CNumber.parseFloat%2CArray.prototype.find%2CArray.prototype.includes"></script>
|
59
59
|
<script
|
60
|
-
nomodule>window.MSInputMethodContext && document.documentMode && document.write('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-ie11@5
|
60
|
+
nomodule>window.MSInputMethodContext && document.documentMode && document.write('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-ie11@5/css/bootstrap-ie11.min.css"><script src="https://cdn.jsdelivr.net/combine/npm/bootstrap@5.0.0-beta2/dist/js/bootstrap.bundle.min.js,npm/ie11-custom-properties@4,npm/element-qsa-scope@1"><\/script>');</script>
|
61
61
|
|
62
|
+
{{- if not .Site.Params.RemoveSearch -}}
|
62
63
|
{{- if not .Params.hideSearch -}}
|
63
64
|
<script>
|
64
65
|
var baseurl = "{{- .Site.BaseURL -}}";
|
@@ -71,11 +72,22 @@
|
|
71
72
|
{{ $js := slice $autocomplete $lunr $search | resources.Concat "js/search.js" | resources.Minify }}
|
72
73
|
<script src="{{- $js.RelPermalink -}}" fetchpriority="low"></script>
|
73
74
|
{{- end -}}
|
75
|
+
{{- end -}}
|
74
76
|
{{ if .IsHome }}
|
75
77
|
{{ hugo.Generator }}
|
76
78
|
{{ end }}
|
77
79
|
|
78
80
|
<!-- Loads Bootstrap 5 JS from CDN -->
|
79
|
-
<script src="
|
81
|
+
<script src="{{- .Site.BaseURL -}}js/bootstrap.bundle.min.js"></script>
|
82
|
+
|
83
|
+
{{- if .IsHome -}}
|
84
|
+
{{- with .Site.Params.googleSiteVerification -}}
|
85
|
+
<!-- Google Site Verification -->
|
86
|
+
<!-- https://support.google.com/webmasters/answer/9008080?hl=en -->
|
87
|
+
<meta name="google-site-verification" content="{{- . -}}">
|
88
|
+
{{ end }}
|
89
|
+
{{ end }}
|
90
|
+
|
91
|
+
{{ partial "analytics" . }}
|
80
92
|
|
81
|
-
{{ partial "custom-header" . }}
|
93
|
+
{{ partial "custom-header" . }}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<ul class="dropdown-menu dropdown-menu-end mt-2 pb-0"
|
1
|
+
<ul class="dropdown-menu dropdown-menu-end mt-2 pb-0">
|
2
2
|
{{ with .Site.Data.navbar_apps }}
|
3
3
|
{{ range . }}
|
4
4
|
<li class="border-bottom">
|
@@ -20,4 +20,4 @@
|
|
20
20
|
</li>
|
21
21
|
{{ end }}
|
22
22
|
{{ end }}
|
23
|
-
</ul>
|
23
|
+
</ul>
|
@@ -1,10 +1,10 @@
|
|
1
|
-
<
|
2
|
-
<input class="form-control form-control-search position-absolute" aria-label="Search" id="search-by" type="search"
|
1
|
+
<search class="search-container d-inline-block position-relative" role="search">
|
2
|
+
<input class="form-control form-control-lg form-control-search position-absolute" aria-label="Search" id="search-by" type="search"
|
3
3
|
name="q" placeholder="Search..." autocomplete="off" title="" required>
|
4
|
-
<label class="btn btn-lg btn-icon-only border-
|
5
|
-
|
4
|
+
<label class="btn btn-lg btn-icon-only border-transparent btn-search position-absolute px-1" for="search-by">
|
5
|
+
{{ partial "icons/modus-outlined/search.svg" (dict "class" "text-white" "width" "24" "height" "24") }}
|
6
6
|
</label>
|
7
|
-
</
|
7
|
+
</search>
|
8
8
|
|
9
9
|
<script>
|
10
10
|
// Lose Focus on Input when user presses Escape only if no input
|
@@ -16,4 +16,4 @@
|
|
16
16
|
}
|
17
17
|
}
|
18
18
|
});
|
19
|
-
</script>
|
19
|
+
</script>
|
@@ -1,31 +1,41 @@
|
|
1
1
|
<nav class="navbar shadow-sm navbar-blue sticky-top" aria-label="Main Navigation">
|
2
2
|
<div class="container-fluid">
|
3
3
|
<div>
|
4
|
-
<button class="btn btn-lg btn-primary btn-icon-only bg-transparent d-inline-block
|
4
|
+
<button class="btn btn-lg btn-primary btn-icon-only bg-transparent d-inline-block" type="button"
|
5
5
|
aria-label="Menu" data-bs-target="#sidebar" data-bs-toggle="collapse">
|
6
|
-
|
6
|
+
{{ partial "icons/modus-solid/menu.svg" (dict "class" "menu-btn text-white" "width" "24" "height" "24") }}
|
7
7
|
</button>
|
8
8
|
<a class="navbar-brand text-primary" href="/">
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
9
|
+
{{ partial "logos/trimble.svg" (dict "class" "img-fluid d-none d-sm-inline-block text-white" "width" "117" "height" "28") }}
|
10
|
+
{{ partial "icons/modus-solid/trimble-logo.svg" (dict "class" "d-inline-block d-sm-none text-white" "width" "32" "height" "32") }}
|
11
|
+
|
12
|
+
{{- if .Site.Params.Title -}}
|
13
|
+
<div class="float-end text-white h2 d-none d-md-inline-block navbar-site-title">
|
14
|
+
{{- .Site.Title -}}
|
15
|
+
</div>
|
16
|
+
{{- end -}}
|
13
17
|
</a>
|
14
18
|
</div>
|
15
19
|
|
16
20
|
<div class="d-flex d-row">
|
17
21
|
|
22
|
+
{{- with .Site.Params.RemoveSearch -}}{{else}}
|
18
23
|
{{ partial "navbar-search" . }}
|
24
|
+
{{ end }}
|
25
|
+
|
26
|
+
{{ partial "navbar-theme-toggle" . }}
|
19
27
|
|
28
|
+
{{- with .Site.Params.RemoveSearch -}}{{else}}
|
20
29
|
<div class="dropdown">
|
21
|
-
<button type="button" class="btn btn-lg btn-primary bg-transparent btn-icon-only
|
30
|
+
<button type="button" class="btn btn-lg btn-primary bg-transparent btn-icon-only"
|
22
31
|
data-bs-toggle="dropdown" aria-expanded="false" aria-label="Menu">
|
23
|
-
|
32
|
+
{{ partial "icons/modus-solid/apps.svg" (dict "class" "text-white" "width" "24" "height" "24") }}
|
24
33
|
</button>
|
25
34
|
|
26
35
|
{{ partial "navbar-dropdown" . }}
|
36
|
+
{{ end }}
|
27
37
|
|
28
38
|
</div>
|
29
39
|
</div>
|
30
40
|
</div>
|
31
|
-
</nav>
|
41
|
+
</nav>
|
@@ -32,7 +32,7 @@
|
|
32
32
|
</div>
|
33
33
|
<div class="row">
|
34
34
|
<p class="ps-3 fw-bold text-primary">
|
35
|
-
Read More <svg
|
35
|
+
Read More <svg class="ms-1" width="6.3" height="9.8"
|
36
36
|
viewBox="0 0 6.3 9.8">
|
37
37
|
<g transform="translate(1.412 1.412)">
|
38
38
|
<path id="Path_627" data-name="Path 627" d="M18,18.965l3.889-3.482L18,12" transform="translate(-18 -12)"
|
@@ -1,11 +1,11 @@
|
|
1
1
|
<div class="skippy visually-hidden-focusable overflow-hidden">
|
2
|
-
<div class="text-center
|
3
|
-
<a class="
|
2
|
+
<div class="text-center container-fluid">
|
3
|
+
<a class="btn btn-primary rounded p-1 m-2" href="#main">Skip to
|
4
4
|
main content</a>
|
5
5
|
|
6
6
|
{{ if (eq .Page.Layout "docs") }}
|
7
|
-
<a class="
|
7
|
+
<a class="d-md-inline-flex p-1 mb-1" href="#bd-docs-nav">Skip to docs
|
8
8
|
navigation</a>
|
9
9
|
{{- end }}
|
10
10
|
</div>
|
11
|
-
</div>
|
11
|
+
</div>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<svg
|
1
|
+
<svg width="115" height="26" class="img-fluid" viewBox="0 0 444.7 100">
|
2
2
|
<path d="M115.85 87.13v-62H93V11.21h62.57v14h-23v62z" fill="currentcolor" />
|
3
3
|
<path
|
4
4
|
d="M141.9 87.13V32.74h16.52v8.84h.1c3-4.62 8.21-10.26 18.47-10.26h.51V46c-.61-.11-3.49-.31-4.51-.31a18.27 18.27.0 00-14.57 7.49v34z"
|
@@ -3,12 +3,14 @@
|
|
3
3
|
<button type="button"
|
4
4
|
class="btn btn-light btn-outline-secondary btn-feedback btn-feedback-helpful border rounded p-1 me-2"
|
5
5
|
aria-label="Helpful">
|
6
|
-
{{- partial "icons/modus-
|
6
|
+
{{- partial "icons/modus-solid/thumbs-up.svg" (dict "width" "22" "height" "22" "class" "mx-2 mx-auto text-primary d-none icon-helpful-solid") -}}
|
7
|
+
{{- partial "icons/modus-outlined/thumbs-up.svg" (dict "width" "22" "height" "22" "class" "mx-2 mx-auto text-primary icon-helpful-outlined") -}}
|
7
8
|
</button>
|
8
9
|
<button type="button"
|
9
10
|
class="btn btn-light btn-outline-secondary btn-feedback btn-feedback-not-helpful border rounded p-1"
|
10
11
|
aria-label="Not Helpful">
|
11
|
-
{{- partial "icons/modus-
|
12
|
+
{{- partial "icons/modus-solid/thumbs-down.svg" (dict "width" "22" "height" "22" "class" "mx-2 mx-auto text-primary d-none icon-not-helpful-solid") -}}
|
13
|
+
{{- partial "icons/modus-outlined/thumbs-down.svg" (dict "width" "22" "height" "22" "class" "mx-2 mx-auto text-primary icon-not-helpful-outlined") -}}
|
12
14
|
</button>
|
13
15
|
</div>
|
14
16
|
|
@@ -18,4 +20,4 @@
|
|
18
20
|
|
19
21
|
<div class="small ml-2 d-none feedback-not-helpful">
|
20
22
|
<a href="" rel="nofollow" target="_blank">Please, provide feedback about how we can improve the page</a>. Thank you!
|
21
|
-
</div>
|
23
|
+
</div>
|
@@ -21,7 +21,7 @@
|
|
21
21
|
|
22
22
|
<div class="bd-example-snippet bd-code-snippet border rounded border-opacity-10">
|
23
23
|
{{- if eq $show_preview true -}}
|
24
|
-
<div{{ with $id }} id="{{ . }}" {{ end }} class="bd-example m-0 border-0{{ with $class }} {{ . }}{{ end }}">
|
24
|
+
<div{{ with $id }} id="{{- . -}}" {{ end }} class="bd-example m-0 border-0{{ with $class }} {{ . }}{{ end }}">
|
25
25
|
{{- $input -}}
|
26
26
|
</div>
|
27
27
|
{{- end -}}
|
@@ -47,4 +47,4 @@
|
|
47
47
|
{{- $content = replaceRE ` (class=" *?")` "" $content -}}
|
48
48
|
{{- highlight (trim $content "\n") $lang "" -}}
|
49
49
|
{{- end -}}
|
50
|
-
</div>
|
50
|
+
</div>
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@trimble-oss/modus-docs-hugo-theme",
|
3
|
-
"version": "1.0.0-
|
3
|
+
"version": "1.0.0-alpha30",
|
4
4
|
"description": "A Documentation theme for Hugo built by Trimble",
|
5
5
|
"homepage": "https://github.com/trimble-oss/modus-docs-hugo-theme",
|
6
6
|
"bugs": {
|
@@ -15,29 +15,34 @@
|
|
15
15
|
"scripts": {
|
16
16
|
"build": "npx hugo",
|
17
17
|
"lint": "npm run lint-css && npm run lint-html && npm run lint-js",
|
18
|
-
"lint-css": "stylelint \"assets/
|
18
|
+
"lint-css": "stylelint \"assets/css/*.*\" --fix",
|
19
19
|
"lint-html": "htmlhint \"build/**/index.html\"",
|
20
20
|
"lint-js": "eslint assets/js/*.js --fix",
|
21
|
-
"lint-links": "npx linkinator
|
21
|
+
"lint-links": "npx linkinator ./public --recurse --silent",
|
22
|
+
"lint-markdown": "npx markdownlint-cli content/**/*.md --fix",
|
22
23
|
"lint-spellcheck": "npx cspell \"content/**/*.md\" --no-progress",
|
23
|
-
"prettier": "prettier --write \"**/*.{json,js,md,svg}\"",
|
24
|
+
"prettier": "prettier --write \"**/*.{json,js,md,svg,yml}\"",
|
24
25
|
"serve": "hugo serve --port 4000 --disableFastRender --navigateToChanged",
|
25
|
-
"test": "npm run lint-css && npm run lint-html && npm run lint-js"
|
26
|
+
"test": "npm run lint-css && npm run lint-html && npm run lint-js",
|
27
|
+
"pa11y": "npx pa11y-ci https://victorious-field-0a3116c10.3.azurestaticapps.net/",
|
28
|
+
"svgo": "npx svgo --folder=\"static/img/icons/\""
|
26
29
|
},
|
27
30
|
"dependencies": {
|
28
|
-
"@trimble-oss/modus-
|
31
|
+
"@trimble-oss/modus-bootstrap": "^2.0.8",
|
32
|
+
"@trimble-oss/modus-icons": "^1.16.0"
|
29
33
|
},
|
30
34
|
"devDependencies": {
|
31
|
-
"autoprefixer": "10.4.
|
32
|
-
"eslint": "
|
33
|
-
"eslint-config-prettier": "
|
35
|
+
"autoprefixer": "10.4.20",
|
36
|
+
"eslint": "8.57.1",
|
37
|
+
"eslint-config-prettier": "9.1.0",
|
34
38
|
"htmlhint": "1.1.4",
|
35
|
-
"hugo-bin": "0.
|
36
|
-
"postcss": "8.
|
37
|
-
"postcss-cli": "
|
38
|
-
"prettier": "3.
|
39
|
-
"stylelint": "
|
40
|
-
"stylelint-config-standard-scss": "
|
39
|
+
"hugo-bin": "0.140.1",
|
40
|
+
"postcss": "8.5.1",
|
41
|
+
"postcss-cli": "11.0.0",
|
42
|
+
"prettier": "3.4.2",
|
43
|
+
"stylelint": "16.14.1",
|
44
|
+
"stylelint-config-standard-scss": "14.0.0",
|
45
|
+
"stylelint-order": "6.0.4"
|
41
46
|
},
|
42
47
|
"hugo-bin": {
|
43
48
|
"buildTags": "extended"
|
@@ -47,5 +52,11 @@
|
|
47
52
|
"data",
|
48
53
|
"layouts",
|
49
54
|
"static"
|
50
|
-
]
|
55
|
+
],
|
56
|
+
"engines": {
|
57
|
+
"node": ">=18.0.0"
|
58
|
+
},
|
59
|
+
"volta": {
|
60
|
+
"node": "20.18.2"
|
61
|
+
}
|
51
62
|
}
|
@@ -0,0 +1,3 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="currentColor" class="mi-outline mi-check-circle-outlined" viewBox="0 0 24 24">
|
2
|
+
<path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m5.04-11.28V8.7c-.4-.39-1.03-.39-1.42 0L10.33 14l-2.6-2.62a.996.996 0 0 0-1.41 0 .984.984 0 0 0-.01 1.4l.01.01 3.3 3.34a1 1 0 0 0 1.42.01l6-6.01a.996.996 0 0 0 0-1.41"/>
|
3
|
+
</svg>
|
@@ -0,0 +1,3 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" height="1em" viewBox="0 0 640 512">
|
2
|
+
<path d="M392.8 1.2c-17-4.9-34.7 5-39.6 22l-128 448c-4.9 17 5 34.7 22 39.6s34.7-5 39.6-22l128-448c4.9-17-5-34.7-22-39.6m80.6 120.1c-12.5 12.5-12.5 32.8 0 45.3l89.3 89.4-89.4 89.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l112-112c12.5-12.5 12.5-32.8 0-45.3l-112-112c-12.5-12.5-32.8-12.5-45.3 0zm-306.7 0c-12.5-12.5-32.8-12.5-45.3 0l-112 112c-12.5 12.5-12.5 32.8 0 45.3l112 112c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256l89.4-89.4c12.5-12.5 12.5-32.8 0-45.3"/>
|
3
|
+
</svg>
|
@@ -0,0 +1,3 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
2
|
+
<path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"/>
|
3
|
+
</svg>
|
@@ -0,0 +1,4 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 732 789">
|
2
|
+
<path d="M543.59 674.86a54.34 54.34 0 0 1 54.9-54.9c30.76 0 54.43 23.9 54.43 54.67 0 73.17-109.33 73.15-109.33.23m99.86 0c0-60.79-90.16-61.1-90.16-.23s90.16 61.53 90.16.23m-66.26-31.23c22 0 45-3.33 45 18.46 0 9.7-4.73 14.67-11.83 17l13 24.62h-12.57l-12.07-23h-9.46v23h-12.07zm33.13 19.17c0-10-10.71-8.52-21.06-8.52v17.27c10.51 0 21.06 1.68 21.06-8.75M48.86 602.72v186.13l161.81-93.42a308.1 308.1 0 0 1-161.81-92.71M209.49 92.58 48.86 0v185a310.2 310.2 0 0 1 160.63-92.42M732 394.43 570.25 301a309.33 309.33 0 0 1-.48 187.08zM155.4 141.39c23.23-5.16 71.39-.27 96.87 7 20.38-16.21 51.17-25.6 81.82-27.15-70.46-12.72-135.64 2.05-178.69 20.15m308.34 338.53a416.8 416.8 0 0 0-25.28-103.53c-55.43 25-124 8.88-169.86-30.79-33.41 34.15-65.75 76.68-90.16 114.49 77.71 63.35 205.56 79.99 285.3 19.83m-327.8-13.82C67.43 396 43.55 293.61 65.49 215a276 276 0 0 0 16.16 374.43c11.21-42.43 31.97-85.72 54.29-123.33m289.7-119.45a372.8 372.8 0 0 0-55.49-85.1 635.4 635.4 0 0 0-78.09 61.34c41.29 34.45 95.61 41.21 133.58 23.76m-51.16-128.02c17.78-12.93 42.42-26.76 60.09-33.32-43.84-44.38-114.38-43.2-145-23.94a293.6 293.6 0 0 1 84.91 57.26"/>
|
3
|
+
<path d="M160.91 488.67c-34.09 58.94-46.53 102.19-51.06 125.2a276 276 0 0 0 340.58-6.21c10.24-24.74 15.47-55.53 15.45-89.38-93.99 55.94-223.99 34.43-304.97-29.61M452.81 327c30.17-31.7 24.12-85.56 1.17-116.62-14.14 4.78-43.57 21.94-56.26 33A413.6 413.6 0 0 1 452.81 327M505 259.11c4.65 40.7-10.79 75.93-38.17 99.35A448.7 448.7 0 0 1 493 451.19c41.36-53.81 40.1-130.56 12-192.08M269.45 299a672.5 672.5 0 0 1 77.22-61.49 262 262 0 0 0-85.35-52C236.05 220 243.94 264.52 269.45 299m228.49 195.52c1.4 23.09-.72 49.29-3.42 70 47.34-60.32 63.34-135 57.75-193.22-5.67 49.03-23.62 90.05-54.33 123.22M229.55 175.76c-34.94-8.54-75.63-8.91-109.67.72-54.33 77-29.1 189.94 34.2 260.64C178.13 400.5 213 354.9 246 321.75c-32.23-39.94-45-101.75-16.45-145.99"/>
|
4
|
+
</svg>
|
@@ -0,0 +1,3 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
2
|
+
<path d="m11.731 2.225-.01.016H5.618L0 11.979l5.618 9.736h12.8l.04.06 2.134-3.735.518-.893h-.008l.008-.014-.626-.75h.895l.006-.01.008.01L24 11.994l-2.607-4.39-.003.005-.011-.02h-.945l.63-.763-2.606-4.57-.006.01-.024-.04zM9.107 6.824h6.19l-.53.764h-.023l2.398 4.015h.875l-.277.328.357.435h-.956l-2.398 4.015h.027l.523.764H9.074l-2.99-5.168 3.022-5.155z"/>
|
3
|
+
</svg>
|
@@ -1 +1,5 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 445 100"
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 445 100">
|
2
|
+
<path fill="#0063a3" d="M115.85 87.13v-62H93V11.21h62.57v14h-23v62Z"/>
|
3
|
+
<path fill="#0063a3" d="M141.9 87.13V32.74h16.52v8.84h.1c3-4.62 8.21-10.26 18.47-10.26h.51V46c-.61-.11-3.49-.31-4.51-.31a18.27 18.27 0 0 0-14.57 7.49v34ZM182.72 25V11.72h16.62V25Zm.11 62.17V32.44h16.41v54.69ZM205.7 87.13V32.44h16.51v8.62c3.29-4.31 9.34-9.74 18-9.74 9.13 0 13.44 3.79 15 9.74 3.28-4.2 9.44-9.74 18-9.74 11.08 0 16 7 16 16.72v39.09h-16.52V52.45c0-4.92-1.13-7.49-5.95-7.49-4.1 0-7.39 2.26-11 5.44v36.73h-16.49V52.45c0-4.92-1.13-7.49-6-7.49-4.1 0-7.38 2.26-11.08 5.44v36.73ZM312 80.66v6.47h-16.55V11.21H312v29.65c3.59-5 8.72-9.54 16.82-9.54 12.42 0 21 9.54 21 28.41S341.11 88 328.59 88c-7.39 0-12.52-2.72-16.59-7.34m21.34-20.82c0-9.13-3.18-14.88-10.57-14.88-4.21 0-8 2.57-10.77 5.34v20.21c3.59 3.38 6.56 5 11 5 6.82.02 10.31-5.72 10.31-15.67ZM354.94 87.13V11.21h16.41v75.92ZM376.47 59.84c0-21.24 16.21-28.52 27.49-28.52S429.1 37 429.1 61.79v2.46h-36.22c.83 9 5.85 12.51 12.73 12.51a25.16 25.16 0 0 0 16.21-6.56l6.36 9.85c-6.36 5.44-14.26 8.21-23.8 8.21-14.27 0-27.91-7.26-27.91-28.42m37.86-5.34c-.82-7.69-4.31-11.39-10.47-11.39-5.13 0-9.54 3.39-10.77 11.39ZM432.22 81a6.19 6.19 0 0 1 6.26-6.26 6.26 6.26 0 1 1-6.26 6.26m11.38 0a5.14 5.14 0 1 0-5.12 5.23A5.12 5.12 0 0 0 443.6 81m-7.55-3.56h2.56c1.62 0 2.56.7 2.56 2.1a1.84 1.84 0 0 1-1.34 1.94l1.48 2.81h-1.43l-1.38-2.62h-1.08v2.62h-1.37Zm2.48 3.18c.84 0 1.3-.27 1.3-1s-.46-1-1.33-1h-1.08v2ZM6.19 76.41V100l20.52-11.84A39.1 39.1 0 0 1 6.19 76.41M26.56 11.74 6.19 0v23.45a39.33 39.33 0 0 1 20.37-11.71M92.8 50 72.29 38.16a39.27 39.27 0 0 1-.06 23.72ZM19.7 17.92c2.94-.65 9.05 0 12.28.89a18.7 18.7 0 0 1 10.37-3.45 41.1 41.1 0 0 0-22.65 2.56M58.79 60.84a53 53 0 0 0-3.21-13.13c-7 3.18-15.72 1.13-21.53-3.9a96 96 0 0 0-11.43 14.51c9.85 8.03 26.05 10.14 36.17 2.52M17.23 59.09C8.55 50.19 5.52 37.22 8.3 27.25a35 35 0 0 0 2 47.47 63.4 63.4 0 0 1 6.93-15.63M54 43.94a47.2 47.2 0 0 0-7-10.78 81 81 0 0 0-10 7.77c5.26 4.37 12.14 5.23 17 3.01M47.47 27.72a36.3 36.3 0 0 1 7.62-4.23c-5.56-5.62-14.5-5.47-18.39-3a37.2 37.2 0 0 1 10.77 7.23"/>
|
4
|
+
<path fill="#0063a3" d="M20.4 62c-4.32 7.47-5.9 13-6.48 15.87A35 35 0 0 0 57.1 77a30 30 0 0 0 2-11.33c-11.96 7.12-28.44 4.4-38.7-3.67M57.4 41.45c3.83-4 3.06-10.84.15-14.78a29.6 29.6 0 0 0-7.13 4.18 52.7 52.7 0 0 1 6.98 10.6M64 32.85a14.1 14.1 0 0 1-4.84 12.59 57.4 57.4 0 0 1 3.33 11.76c5.25-6.82 5.09-16.56 1.51-24.35M34.16 37.9A83 83 0 0 1 44 30.11a33.2 33.2 0 0 0-10.82-6.59c-3.26 4.37-2.26 10.01.98 14.38M63.12 62.69a49.4 49.4 0 0 1-.43 8.88A35.37 35.37 0 0 0 70 47.07a26.82 26.82 0 0 1-6.88 15.62M29.1 22.28a28.4 28.4 0 0 0-13.9.09c-6.89 9.77-3.69 24.08 4.33 33a101 101 0 0 1 11.65-14.58c-4.08-5.07-5.7-12.9-2.08-18.51"/>
|
5
|
+
</svg>
|
@@ -1,33 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Scroll to top widget
|
3
|
-
* Copyright (C) 2022 Trimble Inc.
|
4
|
-
* Licensed under MIT
|
5
|
-
*/
|
6
|
-
|
7
|
-
let target = document.querySelector('footer');
|
8
|
-
|
9
|
-
let scrollToTopBtn = document.querySelector('.btn-to-top');
|
10
|
-
let rootElement = document.documentElement;
|
11
|
-
|
12
|
-
function callback(entries, observer) {
|
13
|
-
entries.forEach((entry) => {
|
14
|
-
window.onscroll = function (e) {
|
15
|
-
if (entry.isIntersecting) {
|
16
|
-
scrollToTopBtn.classList.add('btn-to-top-show');
|
17
|
-
} else {
|
18
|
-
scrollToTopBtn.classList.remove('btn-to-top-show');
|
19
|
-
}
|
20
|
-
};
|
21
|
-
});
|
22
|
-
}
|
23
|
-
|
24
|
-
function scrollToTop() {
|
25
|
-
rootElement.scrollTo({
|
26
|
-
top: 0,
|
27
|
-
behavior: 'smooth',
|
28
|
-
});
|
29
|
-
}
|
30
|
-
scrollToTopBtn.addEventListener('click', scrollToTop);
|
31
|
-
|
32
|
-
const observer = new IntersectionObserver(callback);
|
33
|
-
observer.observe(target);
|
@@ -1,53 +0,0 @@
|
|
1
|
-
.search-container {
|
2
|
-
width: 40px;
|
3
|
-
left: -12px;
|
4
|
-
}
|
5
|
-
|
6
|
-
.form-control-search {
|
7
|
-
background-image: url("https://cdn.jsdelivr.net/npm/@trimble-oss/modus-icons@1.3.1/dist/modus-solid/svg/search.svg");
|
8
|
-
background-position: 5px center;
|
9
|
-
background-repeat: no-repeat;
|
10
|
-
border-left: 0;
|
11
|
-
border-right: 0;
|
12
|
-
padding: 0;
|
13
|
-
width: 0 !important;
|
14
|
-
z-index: 1210;
|
15
|
-
transition: all 0.2s;
|
16
|
-
left: auto;
|
17
|
-
top: 10px;
|
18
|
-
right: 5px;
|
19
|
-
}
|
20
|
-
|
21
|
-
.form-control-search:focus {
|
22
|
-
width: 363px !important;
|
23
|
-
max-width: calc(100vw - 200px);
|
24
|
-
text-indent: 18px;
|
25
|
-
padding: 0 4px 4px 16px;
|
26
|
-
visibility: visible;
|
27
|
-
}
|
28
|
-
|
29
|
-
.form-control-search:focus + .btn-search {
|
30
|
-
transition: all 1s;
|
31
|
-
background-color: transparent;
|
32
|
-
pointer-events: none !important;
|
33
|
-
}
|
34
|
-
|
35
|
-
.form-control-search:focus + .btn-search img {
|
36
|
-
opacity: 0;
|
37
|
-
}
|
38
|
-
|
39
|
-
.btn-search {
|
40
|
-
top: 0;
|
41
|
-
}
|
42
|
-
|
43
|
-
.btn-search i {
|
44
|
-
margin-top: 18px;
|
45
|
-
}
|
46
|
-
|
47
|
-
[data-bs-theme="dark"] .form-control-search {
|
48
|
-
background-image: url("/img/icons/search-white.svg") !important;
|
49
|
-
}
|
50
|
-
|
51
|
-
[data-bs-theme="dark"] .btn-search img {
|
52
|
-
filter: invert(1);
|
53
|
-
}
|
package/layouts/index.rss.xml
DELETED
@@ -1,49 +0,0 @@
|
|
1
|
-
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
2
|
-
<channel>
|
3
|
-
<title>{{- .Site.Title -}}</title>
|
4
|
-
<link>{{- .Site.BaseURL -}}</link>
|
5
|
-
<description>Recent content for {{ .Site.Title }}</description>
|
6
|
-
<icon>{{- .Site.BaseURL -}}icon.png</icon>
|
7
|
-
<copyright>Copyright {{ now.Format "2006" }}, {{ .Site.Params.copyrightHolder }}</copyright>
|
8
|
-
{{- with .Site.LanguageCode }}
|
9
|
-
<language>{{.}}</language>
|
10
|
-
{{- end}}
|
11
|
-
{{- with .Site.Params.copyrightHolderEmail }}
|
12
|
-
<managingEditor>{{.}} ({{- $.Site.Params.copyrightHolder -}})</managingEditor>
|
13
|
-
{{- end}}
|
14
|
-
{{- with .Site.Params.copyrightHolderEmail }}
|
15
|
-
<webMaster>{{.}} ({{- $.Site.Params.copyrightHolder -}})</webMaster>
|
16
|
-
{{- end}}
|
17
|
-
{{- with .Site.Params.docsUrlForRssV2}}
|
18
|
-
<docs>{{- . -}}</docs>
|
19
|
-
{{- end }}
|
20
|
-
{{- if not .Date.IsZero }}
|
21
|
-
<lastBuildDate>{{- .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML -}}</lastBuildDate>
|
22
|
-
{{- end }}
|
23
|
-
{{ with .OutputFormats.Get "RSS" }}
|
24
|
-
{{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }}
|
25
|
-
{{ end }}
|
26
|
-
{{ range first 7 (where .Site.RegularPages.ByPublishDate.Reverse ".Section" "not in" "addons") }}
|
27
|
-
<item>
|
28
|
-
<title>{{- .Title -}}</title>
|
29
|
-
<link>{{- .Permalink -}}</link>
|
30
|
-
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
|
31
|
-
{{ with $.Site.Params.copyrightHolderEmail }}<author>{{.}} ({{ with $.Site.Params.copyrightHolder }}{{.}}){{end}}</author>{{end}}
|
32
|
-
<guid isPermaLink="true">{{ .Permalink }}</guid>
|
33
|
-
{{- range .Params.tags }}
|
34
|
-
<category>{{- . | urlize -}}</category>
|
35
|
-
{{- end }}
|
36
|
-
<description>
|
37
|
-
{{- with .Params.headline }}<h2>{{ . }}</h2>{{- end }}
|
38
|
-
{{- $img := (.Resources.ByType "image").GetMatch "*featured*" }}
|
39
|
-
{{- with $img }}
|
40
|
-
{{- $img := .Resize "640x" }}
|
41
|
-
{{- printf "<![CDATA[<img src=\"%s\" width=\"%d\" height=\"%d\"/>]]>" $img.Permalink $img.Width $img.Height | safeHTML }}
|
42
|
-
{{- end }}
|
43
|
-
{{ .Content | html }}
|
44
|
-
</description>
|
45
|
-
<source url="{{- .Site.BaseURL -}}index.xml">{{- .Site.Title -}}</source>
|
46
|
-
</item>
|
47
|
-
{{ end }}
|
48
|
-
</channel>
|
49
|
-
</rss>
|
@@ -1,28 +0,0 @@
|
|
1
|
-
<div
|
2
|
-
class="list-group d-block border-0 text-center sticky-top sticky-offset d-flex flex-column align-items-start justify-content-between"
|
3
|
-
style="height: calc(100dvh - 66px)">
|
4
|
-
|
5
|
-
<div class="text-center mx-auto w-100">
|
6
|
-
<button class="btn btn-lg btn-outline-secondary bg-transparent list-group-item border-0 mt-1" type="button"
|
7
|
-
data-bs-target="#sidebar" data-bs-toggle="collapse" aria-label="Expand Menu"
|
8
|
-
style="width:48px; margin-left: 6px;">
|
9
|
-
<div class="text-body text-center">
|
10
|
-
<svg width="24" height="24" fill="currentColor">
|
11
|
-
<use xlink:href="/modus-icons.svg#user-guide" />
|
12
|
-
</svg>
|
13
|
-
</div>
|
14
|
-
</button>
|
15
|
-
</div>
|
16
|
-
|
17
|
-
<div>
|
18
|
-
{{- with .Site.Params.GitHubRepo -}}
|
19
|
-
<a href="{{- . -}}" class="btn btn-lg btn-outline-secondary bg-transparent btn-icon-only border-0 mx-1"
|
20
|
-
target="_blank" rel="noopener" data-bs-toggle="tooltip" title="GitHub">
|
21
|
-
{{ partial "icons/brands/github.svg" (dict "class" "mt-2" "width" "22" "height" "22") }}
|
22
|
-
</a>
|
23
|
-
{{ end }}
|
24
|
-
|
25
|
-
{{ partial "btn-theme-toggle" . }}
|
26
|
-
</div>
|
27
|
-
|
28
|
-
</div>
|