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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (104) 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}/_mobile.scss +3 -3
  9. package/assets/styles/_navbar-search.scss +53 -0
  10. package/assets/styles/_navbar.scss +5 -0
  11. package/assets/{css → styles}/_sidebar.scss +2 -2
  12. package/assets/{css → styles}/_skippy.scss +2 -2
  13. package/assets/styles/_tables.scss +5 -0
  14. package/assets/{css → styles}/_theme-light.scss +1 -1
  15. package/assets/{css → styles}/_was-this-page-helpful.scss +3 -3
  16. package/assets/{css/modus-docs.scss → styles/styles.scss} +4 -5
  17. package/data/navbar_apps.yml +4 -8
  18. package/layouts/_default/_markup/render-heading.html +4 -4
  19. package/layouts/_default/_markup/render-link.html +3 -3
  20. package/layouts/_default/baseof.html +4 -9
  21. package/layouts/_default/home.html +3 -15
  22. package/layouts/_default/list.html +2 -2
  23. package/layouts/_default/redirect.html +1 -1
  24. package/layouts/_default/single.html +6 -6
  25. package/layouts/index.json +1 -1
  26. package/layouts/index.rss.xml +49 -0
  27. package/layouts/partials/analytics.html +7 -3
  28. package/layouts/partials/blog-brief.html +4 -4
  29. package/layouts/partials/blog-share.html +7 -7
  30. package/layouts/partials/col-sidebar-menu.html +6 -22
  31. package/layouts/partials/col-sidebar.html +16 -9
  32. package/layouts/partials/header.html +4 -15
  33. package/layouts/partials/icons/brands/codepen.svg +1 -1
  34. package/layouts/partials/icons/brands/facebook-square.svg +1 -1
  35. package/layouts/partials/icons/brands/github-alt.svg +1 -1
  36. package/layouts/partials/icons/brands/github.svg +1 -1
  37. package/layouts/partials/icons/brands/linkedin.svg +1 -1
  38. package/layouts/partials/icons/brands/vimeo-square.svg +1 -1
  39. package/layouts/partials/icons/modus-outlined/accessibility-circle.svg +1 -1
  40. package/layouts/partials/icons/modus-outlined/arrow-up.svg +1 -1
  41. package/layouts/partials/icons/modus-outlined/bar-graph-square.svg +1 -1
  42. package/layouts/partials/icons/modus-outlined/launch.svg +1 -1
  43. package/layouts/partials/icons/modus-outlined/menu.svg +1 -1
  44. package/layouts/partials/icons/modus-outlined/more-vertical.svg +1 -1
  45. package/layouts/partials/icons/modus-outlined/person-account.svg +1 -1
  46. package/layouts/partials/icons/modus-outlined/search.svg +1 -1
  47. package/layouts/partials/icons/modus-outlined/sync.svg +1 -1
  48. package/layouts/partials/icons/modus-outlined/thumbs-down.svg +1 -1
  49. package/layouts/partials/icons/modus-outlined/thumbs-up.svg +1 -1
  50. package/layouts/partials/icons/modus-outlined/web.svg +1 -1
  51. package/layouts/partials/icons/modus-solid/email.svg +1 -1
  52. package/layouts/partials/icons/modus-solid/palette.svg +1 -1
  53. package/layouts/partials/icons/transportation/truck.svg +1 -1
  54. package/layouts/partials/icons/trimble-logo.svg +1 -0
  55. package/layouts/partials/logos/trimble.svg +1 -1
  56. package/layouts/partials/meta.html +19 -31
  57. package/layouts/partials/navbar-dropdown.html +2 -2
  58. package/layouts/partials/navbar-search.html +6 -6
  59. package/layouts/partials/navbar.html +9 -17
  60. package/layouts/partials/related-content.html +1 -1
  61. package/layouts/partials/skippy.html +4 -4
  62. package/layouts/partials/trimble-logo.html +1 -1
  63. package/layouts/partials/was-this-page-helpful.html +3 -5
  64. package/layouts/shortcodes/example.html +2 -2
  65. package/layouts/sitemap.xml +8 -0
  66. package/package.json +16 -27
  67. package/static/img/trimble-logo.svg +1 -5
  68. package/static/js/theme-toggle.js +41 -0
  69. package/assets/css/_col-sidebar.scss +0 -27
  70. package/assets/css/_mq-forced-colors-active.scss +0 -29
  71. package/assets/css/_navbar-search.scss +0 -54
  72. package/assets/css/_navbar.scss +0 -27
  73. package/assets/css/_tables.scss +0 -34
  74. package/layouts/partials/icons/modus-outlined/code.svg +0 -3
  75. package/layouts/partials/icons/modus-solid/apps.svg +0 -3
  76. package/layouts/partials/icons/modus-solid/code.svg +0 -3
  77. package/layouts/partials/icons/modus-solid/menu.svg +0 -3
  78. package/layouts/partials/icons/modus-solid/thumbs-down.svg +0 -3
  79. package/layouts/partials/icons/modus-solid/thumbs-up.svg +0 -3
  80. package/layouts/partials/icons/modus-solid/trimble-logo.svg +0 -3
  81. package/layouts/partials/icons/modus-solid/user-guide.svg +0 -3
  82. package/static/img/icons/check-circle-outlined.svg +0 -3
  83. package/static/img/icons/code.svg +0 -3
  84. package/static/img/icons/github.svg +0 -3
  85. package/static/img/icons/trimble.svg +0 -4
  86. package/static/img/icons/web-components.svg +0 -3
  87. package/assets/{css → styles}/_autocomplete.scss +11 -11
  88. package/assets/{css → styles}/_cards.scss +3 -3
  89. package/assets/{css → styles}/_codefences-dark.scss +0 -0
  90. package/assets/{css → styles}/_codefences.scss +0 -0
  91. package/assets/{css → styles}/_font-open-sans.scss +0 -0
  92. package/assets/{css → styles}/_footer.scss +0 -0
  93. package/assets/{css → styles}/_javascript-disabled.scss +3 -3
  94. package/assets/{css → styles}/_list-js.scss +6 -6
  95. package/assets/{css → styles}/_menu-right.scss +5 -5
  96. package/assets/{css → styles}/_news.scss +1 -1
  97. package/assets/{css → styles}/_onetrust-cookie-banner.scss +9 -9
  98. package/assets/{css → styles}/_posts.scss +2 -2
  99. package/assets/{css → styles}/_print.scss +0 -0
  100. package/assets/{css → styles}/_scroll-to-top-btn.scss +5 -5
  101. package/assets/{css → styles}/_theme-dark.scss +0 -0
  102. package/assets/{css → styles}/_theme-toggle.scss +3 -3
  103. /package/assets/{css → styles}/_utilities.scss +0 -0
  104. /package/assets/{css → styles}/_xxl.scss +0 -0
@@ -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
@@ -50,8 +50,8 @@
50
50
 
51
51
  [data-bs-theme="dark"] .sun-and-moon > .sun {
52
52
  transform: scale(1.75);
53
- transition-duration: 0.25s;
54
53
  transition-timing-function: cubic-bezier(0.25, 0, 0.3, 1);
54
+ transition-duration: 0.25s;
55
55
  }
56
56
 
57
57
  [data-bs-theme="dark"] .sun-and-moon > .sun-beams {
@@ -70,13 +70,13 @@
70
70
 
71
71
  aspect-ratio: 1;
72
72
  cursor: pointer;
73
- -webkit-tap-highlight-color: transparent;
74
73
  touch-action: manipulation;
74
+ -webkit-tap-highlight-color: transparent;
75
75
  }
76
76
 
77
77
  .theme-toggle > svg {
78
- block-size: 100%;
79
78
  inline-size: 100%;
79
+ block-size: 100%;
80
80
  max-height: 18px;
81
81
  max-width: 18px;
82
82
  stroke-linecap: round;
File without changes
File without changes