@trimble-oss/modus-docs-hugo-theme 1.0.0-alpha29 → 1.0.0-alpha3

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/styles/_col-sidebar.scss +3 -0
  8. package/assets/{css → styles}/_menu-right.scss +5 -6
  9. package/assets/{css → styles}/_mobile.scss +4 -4
  10. package/assets/styles/_navbar-search.scss +53 -0
  11. package/assets/styles/_navbar.scss +5 -0
  12. package/assets/{css → styles}/_sidebar.scss +4 -4
  13. package/assets/{css → styles}/_skippy.scss +2 -2
  14. package/assets/styles/_tables.scss +5 -0
  15. package/assets/{css → styles}/_theme-light.scss +1 -1
  16. package/assets/{css → styles}/_theme-toggle.scss +11 -5
  17. package/assets/{css → styles}/_was-this-page-helpful.scss +3 -3
  18. package/assets/{css/modus-docs.scss → styles/styles.scss} +5 -5
  19. package/data/navbar_apps.yml +4 -8
  20. package/layouts/_default/_markup/render-heading.html +4 -4
  21. package/layouts/_default/_markup/render-link.html +3 -3
  22. package/layouts/_default/baseof.html +4 -9
  23. package/layouts/_default/home.html +8 -3
  24. package/layouts/_default/list.html +7 -2
  25. package/layouts/_default/redirect.html +1 -1
  26. package/layouts/_default/single.html +11 -6
  27. package/layouts/index.json +1 -1
  28. package/layouts/index.rss.xml +49 -0
  29. package/layouts/partials/analytics.html +7 -3
  30. package/layouts/partials/blog-brief.html +4 -4
  31. package/layouts/partials/blog-share.html +7 -7
  32. package/layouts/partials/col-sidebar-menu.html +6 -22
  33. package/layouts/partials/col-sidebar.html +28 -0
  34. package/layouts/partials/header.html +4 -15
  35. package/layouts/partials/icons/brands/codepen.svg +1 -1
  36. package/layouts/partials/icons/brands/facebook-square.svg +1 -1
  37. package/layouts/partials/icons/brands/github-alt.svg +1 -1
  38. package/layouts/partials/icons/brands/github.svg +1 -1
  39. package/layouts/partials/icons/brands/linkedin.svg +1 -1
  40. package/layouts/partials/icons/brands/vimeo-square.svg +1 -1
  41. package/layouts/partials/icons/modus-outlined/accessibility-circle.svg +1 -1
  42. package/layouts/partials/icons/modus-outlined/arrow-up.svg +1 -1
  43. package/layouts/partials/icons/modus-outlined/bar-graph-square.svg +1 -1
  44. package/layouts/partials/icons/modus-outlined/launch.svg +1 -1
  45. package/layouts/partials/icons/modus-outlined/menu.svg +1 -1
  46. package/layouts/partials/icons/modus-outlined/more-vertical.svg +1 -1
  47. package/layouts/partials/icons/modus-outlined/person-account.svg +1 -1
  48. package/layouts/partials/icons/modus-outlined/search.svg +1 -1
  49. package/layouts/partials/icons/modus-outlined/sync.svg +1 -1
  50. package/layouts/partials/icons/modus-outlined/thumbs-down.svg +1 -1
  51. package/layouts/partials/icons/modus-outlined/thumbs-up.svg +1 -1
  52. package/layouts/partials/icons/modus-outlined/web.svg +1 -1
  53. package/layouts/partials/icons/modus-solid/email.svg +1 -1
  54. package/layouts/partials/icons/modus-solid/palette.svg +1 -1
  55. package/layouts/partials/icons/transportation/truck.svg +1 -1
  56. package/layouts/partials/icons/trimble-logo.svg +1 -0
  57. package/layouts/partials/logos/trimble.svg +1 -1
  58. package/layouts/partials/menu-right.html +2 -3
  59. package/layouts/partials/meta.html +19 -31
  60. package/layouts/partials/navbar-dropdown.html +2 -2
  61. package/layouts/partials/navbar-search.html +6 -6
  62. package/layouts/partials/navbar.html +9 -19
  63. package/layouts/partials/related-content.html +1 -1
  64. package/layouts/partials/skippy.html +4 -4
  65. package/layouts/partials/trimble-logo.html +1 -1
  66. package/layouts/partials/was-this-page-helpful.html +3 -5
  67. package/layouts/shortcodes/example.html +2 -2
  68. package/layouts/sitemap.xml +8 -0
  69. package/package.json +16 -27
  70. package/static/img/trimble-logo.svg +1 -5
  71. package/static/js/theme-toggle.js +41 -0
  72. package/assets/css/_mq-forced-colors-active.scss +0 -29
  73. package/assets/css/_navbar-search.scss +0 -54
  74. package/assets/css/_navbar.scss +0 -27
  75. package/assets/css/_tables.scss +0 -34
  76. package/layouts/partials/icons/modus-outlined/code.svg +0 -3
  77. package/layouts/partials/icons/modus-solid/apps.svg +0 -3
  78. package/layouts/partials/icons/modus-solid/code.svg +0 -3
  79. package/layouts/partials/icons/modus-solid/menu.svg +0 -3
  80. package/layouts/partials/icons/modus-solid/thumbs-down.svg +0 -3
  81. package/layouts/partials/icons/modus-solid/thumbs-up.svg +0 -3
  82. package/layouts/partials/icons/modus-solid/trimble-logo.svg +0 -3
  83. package/layouts/partials/icons/modus-solid/user-guide.svg +0 -3
  84. package/static/img/icons/check-circle-outlined.svg +0 -3
  85. package/static/img/icons/code.svg +0 -3
  86. package/static/img/icons/github.svg +0 -3
  87. package/static/img/icons/trimble.svg +0 -4
  88. package/static/img/icons/web-components.svg +0 -3
  89. package/assets/{css → styles}/_autocomplete.scss +11 -11
  90. package/assets/{css → styles}/_cards.scss +3 -3
  91. package/assets/{css → styles}/_codefences-dark.scss +0 -0
  92. package/assets/{css → styles}/_codefences.scss +0 -0
  93. package/assets/{css → styles}/_font-open-sans.scss +0 -0
  94. package/assets/{css → styles}/_footer.scss +0 -0
  95. package/assets/{css → styles}/_javascript-disabled.scss +3 -3
  96. package/assets/{css → styles}/_list-js.scss +6 -6
  97. package/assets/{css → styles}/_news.scss +1 -1
  98. package/assets/{css → styles}/_onetrust-cookie-banner.scss +9 -9
  99. package/assets/{css → styles}/_posts.scss +2 -2
  100. package/assets/{css → styles}/_print.scss +0 -0
  101. package/assets/{css → styles}/_scroll-to-top-btn.scss +5 -5
  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,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>
@@ -1,17 +1,17 @@
1
1
  /*! purgecss start ignore */
2
2
  .autocomplete-suggestions {
3
- background-color: #fff;
3
+ cursor: default;
4
4
  border: 1px solid #cbcdd6;
5
5
  border-top: 0;
6
+ background-color: #fff;
6
7
  box-shadow: -1px 1px 3px rgba(0, 0, 0, 0.1);
7
- box-sizing: border-box;
8
- cursor: default;
8
+ position: absolute;
9
9
  display: none;
10
+ z-index: 33333; // higher than navbar
10
11
  max-height: 254px;
11
12
  overflow: hidden;
12
13
  overflow-y: auto;
13
- position: absolute;
14
- z-index: 33333; // higher than navbar
14
+ box-sizing: border-box;
15
15
  }
16
16
 
17
17
  [data-bs-theme="dark"] {
@@ -26,19 +26,19 @@
26
26
  }
27
27
 
28
28
  .autocomplete-suggestion {
29
- color: #353a40;
29
+ position: relative;
30
30
  cursor: pointer;
31
+ padding: 7px;
31
32
  line-height: 23px;
33
+ white-space: nowrap;
32
34
  overflow: hidden;
33
- padding: 7px;
34
- position: relative;
35
35
  text-overflow: ellipsis;
36
- white-space: nowrap;
36
+ color: #353a40;
37
37
  }
38
38
 
39
39
  .autocomplete-suggestion b {
40
- color: #1f8dd6;
41
40
  font-weight: 400;
41
+ color: #1f8dd6;
42
42
  }
43
43
 
44
44
  .autocomplete-suggestion.selected {
@@ -52,8 +52,8 @@
52
52
  }
53
53
 
54
54
  .autocomplete-suggestion > .context {
55
- color: #7d808d;
56
55
  font-size: 12px;
56
+ color: #7d808d;
57
57
  }
58
58
 
59
59
  .autocomplete-suggestion.selected > .context {
@@ -18,8 +18,8 @@
18
18
  }
19
19
 
20
20
  .card-post .card-header {
21
- aspect-ratio: 4 / 1;
22
- background-position: center;
23
- background-size: cover;
24
21
  min-height: 89px;
22
+ background-size: cover;
23
+ background-position: center;
24
+ aspect-ratio: 4 / 1;
25
25
  }
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
@@ -1,14 +1,14 @@
1
1
  .btn-to-top {
2
- background-color: #353a40 !important;
3
- bottom: 20px;
4
2
  font-size: 18px;
5
3
  line-height: 48px !important;
6
- opacity: 0;
4
+ background-color: #353a40 !important;
5
+ width: 48px;
6
+ bottom: 20px;
7
7
  right: 20px;
8
+ z-index: 6000;
9
+ opacity: 0;
8
10
  transform: translateY(100px);
9
11
  transition: all 1s ease;
10
- width: 48px;
11
- z-index: 6000;
12
12
  }
13
13
 
14
14
  .btn-to-top-show {
File without changes
File without changes
File without changes