@trimble-oss/modus-docs-hugo-theme 1.0.0-alpha11 → 1.0.0-alpha12

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.
@@ -1,3 +1,27 @@
1
1
  .col-sidebar {
2
2
  width: 64px !important;
3
3
  }
4
+
5
+ .col-sidebar .list-group {
6
+ height: calc(100dvh - 66px);
7
+ }
8
+
9
+ [data-bs-theme="light"] {
10
+ .col-sidebar a.btn:hover,
11
+ .col-sidebar button:hover {
12
+ background-color: #e0e1e9 !important;
13
+ }
14
+ }
15
+
16
+ [data-bs-theme="dark"] {
17
+ .col-sidebar a.btn:hover,
18
+ .col-sidebar button:hover {
19
+ background-color: #424649 !important;
20
+ }
21
+ }
22
+
23
+ .col-sidebar button.list-group-item {
24
+ height: 48px;
25
+ margin-left: 6px;
26
+ width: 48px;
27
+ }
@@ -7,3 +7,10 @@ html[data-bs-theme="dark"] {
7
7
  .navbar-site-title {
8
8
  margin-top: 12px;
9
9
  }
10
+
11
+ nav.navbar label.btn:hover,
12
+ nav.navbar button.btn:hover {
13
+ background-color: #217cbb !important;
14
+ border: 1px solid #019aeb !important;
15
+ border-color: #019aeb;
16
+ }
@@ -40,7 +40,7 @@ h6 {
40
40
  }
41
41
 
42
42
  // underline links
43
- main a {
43
+ main a:not([class], li.breadcrumb-item a) {
44
44
  text-decoration: underline;
45
45
  }
46
46
 
@@ -62,5 +62,5 @@ code {
62
62
  }
63
63
 
64
64
  main {
65
- min-height: calc(100vh - 418px);
65
+ min-height: calc(100vh - 518px);
66
66
  }
@@ -1,11 +1,9 @@
1
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)">
2
+ class="list-group d-block border-0 text-center sticky-top sticky-offset d-flex flex-column align-items-start justify-content-between">
4
3
 
5
4
  <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;">
5
+ <button class="btn btn-lg btn-outline-secondary bg-transparent list-group-item border-0 mt-1 p-1 pt-0" type="button"
6
+ data-bs-target="#sidebar" data-bs-toggle="collapse" aria-label="Expand Menu">
9
7
  <div class="text-body text-center">
10
8
  {{ partial "icons/modus-solid/user-guide.svg" (dict "class" "" "width" "24" "height" "24") }}
11
9
  </div>
@@ -14,9 +12,10 @@
14
12
 
15
13
  <div>
16
14
  {{- with .Site.Params.GitHubRepo -}}
17
- <a href="{{- . -}}" class="btn btn-lg btn-outline-secondary text-body bg-transparent btn-icon-only border-0 mx-1"
18
- target="_blank" rel="noopener" data-bs-toggle="tooltip" title="GitHub">
19
- {{ partial "icons/brands/github.svg" (dict "class" "mt-2" "width" "22" "height" "22") }}
15
+ <a href="{{- . -}}"
16
+ class="btn btn-lg btn-outline-secondary text-body bg-transparent btn-icon-only border-0 mx-1 p-1" target="_blank"
17
+ rel="noopener" data-bs-toggle="tooltip" title="GitHub">
18
+ {{ partial "icons/brands/github.svg" (dict "class" "mt-2" "width" "24" "height" "24") }}
20
19
  </a>
21
20
  {{ end }}
22
21
 
@@ -1,7 +1,7 @@
1
1
  <search class="search-container d-inline-block position-relative" role="search">
2
2
  <input class="form-control 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-0 btn-search position-absolute px-1" for="search-by">
4
+ <label class="btn btn-lg btn-icon-only border-transparent btn-search position-absolute px-1" for="search-by">
5
5
  <i class="modus-icons notranslate text-white" aria-hidden="true">search</i>
6
6
  </label>
7
7
  </search>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trimble-oss/modus-docs-hugo-theme",
3
- "version": "1.0.0-alpha11",
3
+ "version": "1.0.0-alpha12",
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": {
@@ -26,12 +26,12 @@
26
26
  "test": "npm run lint-css && npm run lint-html && npm run lint-js"
27
27
  },
28
28
  "dependencies": {
29
- "@trimble-oss/modus-bootstrap": "2.0.0-alpha9",
29
+ "@trimble-oss/modus-bootstrap": "2.0.0-alpha11",
30
30
  "@trimble-oss/modus-icons": "1.7.0"
31
31
  },
32
32
  "devDependencies": {
33
33
  "autoprefixer": "10.4.16",
34
- "eslint": "8.52.0",
34
+ "eslint": "8.53.0",
35
35
  "eslint-config-prettier": "9.0.0",
36
36
  "htmlhint": "1.1.4",
37
37
  "hugo-bin": "0.115.0",
@@ -39,7 +39,7 @@
39
39
  "postcss-cli": "10.1.0",
40
40
  "prettier": "3.0.3",
41
41
  "stylelint": "15.11.0",
42
- "stylelint-config-standard-scss": "11.0.0",
42
+ "stylelint-config-standard-scss": "11.1.0",
43
43
  "stylelint-order": "6.0.3"
44
44
  },
45
45
  "hugo-bin": {