Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
coliff committed Oct 27, 2023
1 parent 16f999c commit 3637cb6
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 5 deletions.
10 changes: 10 additions & 0 deletions docs/assets/scss/docs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -183,3 +183,13 @@ input[type="search"]::-webkit-search-cancel-button {
.btn:focus-visible {
outline: auto;
}

[data-bs-theme="dark"] .chip-outline:not(.error):hover,
[data-bs-theme="dark"] .chip-outline:not(.error).hover {
background-color: #cbcdd61f !important;
}

[data-bs-theme="dark"] .chip-outline:not(:disabled):not(.disabled):not(.error):active,
[data-bs-theme="dark"] .chip-outline:not(:disabled):not(.disabled):not(.error).active {
background-color: rgba(0,79,131,.5) !important;
}
2 changes: 1 addition & 1 deletion docs/layouts/modus-outlined/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ <h1 class="display-3 fw-bold">{{- .Title -}}</h1>
{{- end -}}
</li>
{{ with .Params.categories }}<li class="mt-2"><strong>Category:</strong>
<a href="/modus-outlined/?category={{ delimit . ", " }}" class="text-dark me-2">
<a href="/modus-outlined/?category={{ delimit . ", " }}" class="me-2">
{{- delimit . ", " -}}
</a>
</li>
Expand Down
4 changes: 2 additions & 2 deletions docs/layouts/modus-solid/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ <h1 class="display-3 fw-bold">{{- .Title -}}</h1>
<ul class="list-unstyled mb-3 mb-md-0">
<li><strong>Tags:</strong> {{ range $i, $e := .Params.tags -}}
{{- if $i -}} {{ end -}}
<a href='/modus-solid/?filter={{ . | urlize }}' class="chip chip-sm chip-outline me-2 py-0 px-2">
<a href='/modus-solid/?filter={{ . | urlize }}' class="chip chip-sm chip-outline mx-1 py-0 px-2">
{{- $e | humanize | lower -}}
</a>
{{- end -}}
</li>
{{ with .Params.categories }}<li class="mt-2"><strong>Category:</strong>
<a href="/modus-solid/?category={{ delimit . ", " }}" class="text-dark me-2">
<a href="/modus-solid/?category={{ delimit . ", " }}" class="mx-1">
{{- delimit . ", " -}}
</a>
</li>
Expand Down
4 changes: 2 additions & 2 deletions docs/layouts/transportation/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ <h1 class="display-3 fw-bold">{{- .Title -}}</h1>
<div class="row">
<div class="col-lg-7">
<div class="icon-demo mb-4 border rounded d-flex align-items-center justify-content-center p-3 py-6" role="img"
aria-label="{{ .Title }} - large preview">
aria-label="{{- .Title }} - large preview">
{{ $svgHtml }}
</div>

Expand Down Expand Up @@ -129,7 +129,7 @@ <h2>Examples</h2>
<a href="#navbar-example" class="navbar-brand me-auto ms-2">
<img src="https://modus-bootstrap.trimble.com/img/trimble-logo-rev.svg" width="107" height="25"
class="img-fluid d-none d-sm-block" alt="home">
<img src="/{{ .Section | urlize }}/svg/trimble-logo.svg" class="d-block d-sm-none filter-invert" height="28"
<img src="/{{- .Section | urlize -}}/svg/trimble-logo.svg" class="d-block d-sm-none filter-invert" height="28"
width="28" alt="home">
</a>
<div class="navbar-nav ms-auto">
Expand Down

0 comments on commit 3637cb6

Please sign in to comment.