@trimble-oss/modus-docs-hugo-theme 1.0.0-alpha30 → 1.0.0-alpha4

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.
Files changed (105) hide show
  1. package/README.md +1 -5
  2. package/assets/js/auto-complete.min.js +1 -1
  3. package/assets/js/scroll-to-top.js +33 -0
  4. package/assets/js/search.min.js +1 -1
  5. package/assets/js/was-this-page-helpful.js +3 -10
  6. package/assets/{css → styles}/_article.scss +11 -16
  7. package/assets/{css → styles}/_autocomplete.scss +12 -12
  8. package/assets/{css → styles}/_cards.scss +3 -4
  9. package/assets/styles/_col-sidebar.scss +3 -0
  10. package/assets/{css → styles}/_menu-right.scss +5 -6
  11. package/assets/{css → styles}/_mobile.scss +4 -4
  12. package/assets/styles/_navbar-search.scss +53 -0
  13. package/assets/styles/_navbar.scss +5 -0
  14. package/assets/{css → styles}/_scroll-to-top-btn.scss +5 -5
  15. package/assets/{css → styles}/_sidebar.scss +11 -3
  16. package/assets/{css → styles}/_skippy.scss +2 -2
  17. package/assets/styles/_tables.scss +5 -0
  18. package/assets/{css → styles}/_theme-light.scss +1 -1
  19. package/assets/{css → styles}/_theme-toggle.scss +11 -5
  20. package/assets/{css → styles}/_was-this-page-helpful.scss +3 -3
  21. package/assets/{css/modus-docs.scss → styles/styles.scss} +5 -5
  22. package/data/navbar_apps.yml +4 -8
  23. package/layouts/_default/_markup/render-heading.html +4 -4
  24. package/layouts/_default/_markup/render-link.html +3 -3
  25. package/layouts/_default/baseof.html +2 -6
  26. package/layouts/_default/home.html +8 -3
  27. package/layouts/_default/list.html +7 -2
  28. package/layouts/_default/redirect.html +1 -1
  29. package/layouts/_default/single.html +11 -6
  30. package/layouts/index.json +1 -1
  31. package/layouts/index.rss.xml +49 -0
  32. package/layouts/partials/analytics.html +8 -1
  33. package/layouts/partials/blog-brief.html +4 -4
  34. package/layouts/partials/blog-share.html +7 -7
  35. package/layouts/partials/col-sidebar-menu.html +6 -22
  36. package/layouts/partials/col-sidebar.html +28 -0
  37. package/layouts/partials/header.html +4 -15
  38. package/layouts/partials/icons/brands/codepen.svg +1 -1
  39. package/layouts/partials/icons/brands/facebook-square.svg +1 -1
  40. package/layouts/partials/icons/brands/github-alt.svg +1 -1
  41. package/layouts/partials/icons/brands/github.svg +1 -1
  42. package/layouts/partials/icons/brands/linkedin.svg +1 -1
  43. package/layouts/partials/icons/brands/vimeo-square.svg +1 -1
  44. package/layouts/partials/icons/modus-outlined/accessibility-circle.svg +1 -1
  45. package/layouts/partials/icons/modus-outlined/arrow-up.svg +1 -1
  46. package/layouts/partials/icons/modus-outlined/bar-graph-square.svg +1 -1
  47. package/layouts/partials/icons/modus-outlined/launch.svg +1 -1
  48. package/layouts/partials/icons/modus-outlined/menu.svg +1 -1
  49. package/layouts/partials/icons/modus-outlined/more-vertical.svg +1 -1
  50. package/layouts/partials/icons/modus-outlined/person-account.svg +1 -1
  51. package/layouts/partials/icons/modus-outlined/search.svg +1 -1
  52. package/layouts/partials/icons/modus-outlined/sync.svg +1 -1
  53. package/layouts/partials/icons/modus-outlined/thumbs-down.svg +1 -1
  54. package/layouts/partials/icons/modus-outlined/thumbs-up.svg +1 -1
  55. package/layouts/partials/icons/modus-outlined/web.svg +1 -1
  56. package/layouts/partials/icons/modus-solid/email.svg +1 -1
  57. package/layouts/partials/icons/modus-solid/palette.svg +1 -1
  58. package/layouts/partials/icons/transportation/truck.svg +1 -1
  59. package/layouts/partials/icons/trimble-logo.svg +1 -0
  60. package/layouts/partials/logos/trimble.svg +1 -1
  61. package/layouts/partials/menu-right.html +2 -3
  62. package/layouts/partials/meta.html +16 -26
  63. package/layouts/partials/navbar-dropdown.html +2 -2
  64. package/layouts/partials/navbar-search.html +6 -6
  65. package/layouts/partials/navbar.html +9 -14
  66. package/layouts/partials/related-content.html +1 -1
  67. package/layouts/partials/skippy.html +4 -4
  68. package/layouts/partials/trimble-logo.html +1 -1
  69. package/layouts/partials/was-this-page-helpful.html +3 -5
  70. package/layouts/shortcodes/example.html +2 -2
  71. package/layouts/sitemap.xml +8 -0
  72. package/package.json +16 -27
  73. package/static/img/trimble-logo.svg +1 -5
  74. package/static/js/theme-toggle.js +41 -0
  75. package/assets/css/_mq-forced-colors-active.scss +0 -29
  76. package/assets/css/_navbar-search.scss +0 -54
  77. package/assets/css/_navbar.scss +0 -27
  78. package/assets/css/_tables.scss +0 -34
  79. package/layouts/partials/icons/modus-outlined/code.svg +0 -3
  80. package/layouts/partials/icons/modus-solid/apps.svg +0 -3
  81. package/layouts/partials/icons/modus-solid/code.svg +0 -3
  82. package/layouts/partials/icons/modus-solid/menu.svg +0 -3
  83. package/layouts/partials/icons/modus-solid/thumbs-down.svg +0 -3
  84. package/layouts/partials/icons/modus-solid/thumbs-up.svg +0 -3
  85. package/layouts/partials/icons/modus-solid/trimble-logo.svg +0 -3
  86. package/layouts/partials/icons/modus-solid/user-guide.svg +0 -3
  87. package/static/img/icons/check-circle-outlined.svg +0 -3
  88. package/static/img/icons/code.svg +0 -3
  89. package/static/img/icons/github.svg +0 -3
  90. package/static/img/icons/trimble.svg +0 -4
  91. package/static/img/icons/web-components.svg +0 -3
  92. package/assets/{css → styles}/_codefences-dark.scss +0 -0
  93. package/assets/{css → styles}/_codefences.scss +0 -0
  94. package/assets/{css → styles}/_font-open-sans.scss +0 -0
  95. package/assets/{css → styles}/_footer.scss +0 -0
  96. package/assets/{css → styles}/_javascript-disabled.scss +3 -3
  97. package/assets/{css → styles}/_list-js.scss +6 -6
  98. package/assets/{css → styles}/_news.scss +1 -1
  99. package/assets/{css → styles}/_onetrust-cookie-banner.scss +9 -9
  100. package/assets/{css → styles}/_posts.scss +2 -2
  101. /package/assets/{css → styles}/_print.scss +0 -0
  102. /package/assets/{css → styles}/_theme-dark.scss +0 -0
  103. /package/assets/{css → styles}/_utilities.scss +0 -0
  104. /package/assets/{css → styles}/_xxl.scss +0 -0
  105. /package/layouts/partials/{navbar-theme-toggle.html → btn-theme-toggle.html} +0 -0
@@ -1,3 +0,0 @@
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>
@@ -1,4 +0,0 @@
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>
@@ -1,3 +0,0 @@
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>
File without changes
File without changes
File without changes
File without changes
@@ -1,7 +1,7 @@
1
1
  .no-js input,
2
2
  .no-js a[data-toggle] {
3
- opacity: 0.65;
4
3
  pointer-events: none !important;
4
+ opacity: 0.65;
5
5
  }
6
6
 
7
7
  .no-js nav.navbar {
@@ -9,12 +9,12 @@
9
9
  }
10
10
 
11
11
  .no-js body::before {
12
+ height: 32px;
12
13
  background-color: #e0e1e9;
14
+ text-align: center;
13
15
  content: "⚠️ JavaScript is disabled. This site requires JavaScript to be enabled ⚠️";
14
16
  display: block;
15
- height: 32px;
16
17
  position: fixed;
17
- text-align: center;
18
18
  top: 0;
19
19
  width: 100%;
20
20
  z-index: 1;
@@ -1,13 +1,13 @@
1
1
  .list:empty::before {
2
- background-color: rgba(133, 133, 133, 0.1);
3
- border-radius: 0.5rem;
4
- content: "Nothing found, try searching again.";
5
2
  display: block;
6
- margin-left: 15px;
7
- margin-right: 15px;
3
+ width: 100%;
8
4
  padding: 100px 2rem;
5
+ margin-right: 15px;
6
+ margin-left: 15px;
9
7
  text-align: center;
10
- width: 100%;
8
+ content: "Nothing found, try searching again.";
9
+ background-color: rgba(133, 133, 133, 0.1);
10
+ border-radius: 0.5rem;
11
11
  }
12
12
 
13
13
  [data-bs-theme="dark"] {
@@ -1,6 +1,6 @@
1
1
  body[data-url^="/news/"] header {
2
2
  aspect-ratio: 4 / 1;
3
- background-position: center;
4
3
  background-size: cover;
4
+ background-position: center;
5
5
  min-height: 200px;
6
6
  }
@@ -16,25 +16,25 @@
16
16
  #onetrust-accept-btn-handler {
17
17
  background-color: #0063a3 !important;
18
18
  border-color: #0063a3 !important;
19
+ padding: 0.1875rem 1rem !important;
19
20
  font-size: 0.8rem !important;
20
21
  font-weight: 600 !important;
22
+ user-select: none !important;
21
23
  line-height: 1.75 !important;
22
- padding: 0.1875rem 1rem !important;
23
24
  text-transform: lowercase !important;
24
- user-select: none !important;
25
25
  }
26
26
 
27
27
  /** 'Cookie Settings' button **/
28
28
  #onetrust-pc-btn-handler {
29
- border: 1px solid #0063a3 !important;
30
29
  color: #0063a3 !important;
30
+ border: 1px solid #0063a3 !important;
31
31
  font-size: 0.8rem !important;
32
32
  font-weight: 600 !important;
33
- line-height: 1.75 !important;
34
33
  padding: 0.1875rem 1rem !important;
34
+ user-select: none !important;
35
+ line-height: 1.75 !important;
35
36
  text-decoration: none !important;
36
37
  text-transform: lowercase !important;
37
- user-select: none !important;
38
38
  }
39
39
 
40
40
  /** capitalize first letter of button **/
@@ -57,9 +57,9 @@
57
57
 
58
58
  /* stylelint-disable-next-line */
59
59
  #onetrust-banner-sdk.otFlat {
60
+ max-width: 998px;
60
61
  margin-left: auto !important;
61
62
  margin-right: auto !important;
62
- max-width: 998px;
63
63
  overflow-y: hidden !important;
64
64
  }
65
65
 
@@ -87,8 +87,8 @@
87
87
  }
88
88
 
89
89
  .ot-table-header {
90
- border-bottom-width: 2px !important;
91
90
  position: static !important;
91
+ border-bottom-width: 2px !important;
92
92
  }
93
93
 
94
94
  #ot-sdk-cookie-policy-v2 table,
@@ -140,17 +140,17 @@
140
140
 
141
141
  .ot-acc-txt,
142
142
  .ot-acc-txt p {
143
- background-color: #f1f1f6 !important;
144
143
  color: #252a2e !important;
144
+ background-color: #f1f1f6 !important;
145
145
  }
146
146
 
147
147
  #ot-sdk-btn {
148
148
  border-color: #0063a3 !important;
149
149
  font-size: 14px !important;
150
- line-height: 1.75 !important;
151
150
  padding: 0.1875rem 1rem !important;
152
151
  text-transform: lowercase;
153
152
  user-select: none !important;
153
+ line-height: 1.75 !important;
154
154
  }
155
155
 
156
156
  #ot-sdk-btn::first-letter {
@@ -1,11 +1,11 @@
1
1
  // blog posts
2
2
  header.header-blog {
3
+ background-size: cover;
4
+ min-height: 90px;
3
5
  aspect-ratio: 21/9;
4
6
  background-position: center;
5
- background-size: cover;
6
7
  border-radius: 8px;
7
8
  max-height: 600px;
8
- min-height: 90px;
9
9
  }
10
10
 
11
11
  .share svg {
File without changes
File without changes
File without changes
File without changes