aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/twbs/bootstrap/site/layouts
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-10-05 10:17:07 +0000
committerMario <mario@mariovavti.com>2023-10-05 10:17:07 +0000
commit32f2de17d4faeb7b74b0f1b46c43800e3acedf36 (patch)
tree002328a2aad702ba3b7068992337f8aa2bb59997 /vendor/twbs/bootstrap/site/layouts
parent600e8081a82f088ff513664379a1557ae5078193 (diff)
downloadvolse-hubzilla-32f2de17d4faeb7b74b0f1b46c43800e3acedf36.tar.gz
volse-hubzilla-32f2de17d4faeb7b74b0f1b46c43800e3acedf36.tar.bz2
volse-hubzilla-32f2de17d4faeb7b74b0f1b46c43800e3acedf36.zip
composer update bootstrap
Diffstat (limited to 'vendor/twbs/bootstrap/site/layouts')
-rw-r--r--vendor/twbs/bootstrap/site/layouts/_default/examples.html7
-rw-r--r--vendor/twbs/bootstrap/site/layouts/partials/callouts/warning-color-assistive-technologies.md2
-rw-r--r--vendor/twbs/bootstrap/site/layouts/partials/docs-navbar.html6
-rw-r--r--vendor/twbs/bootstrap/site/layouts/partials/footer.html22
-rw-r--r--vendor/twbs/bootstrap/site/layouts/partials/header.html2
-rw-r--r--vendor/twbs/bootstrap/site/layouts/partials/home/masthead.html2
-rw-r--r--vendor/twbs/bootstrap/site/layouts/partials/icons.html2
-rw-r--r--vendor/twbs/bootstrap/site/layouts/partials/scripts.html3
-rw-r--r--vendor/twbs/bootstrap/site/layouts/partials/stylesheet.html2
-rw-r--r--vendor/twbs/bootstrap/site/layouts/shortcodes/js-docs.html8
-rw-r--r--vendor/twbs/bootstrap/site/layouts/shortcodes/scss-docs.html8
11 files changed, 37 insertions, 27 deletions
diff --git a/vendor/twbs/bootstrap/site/layouts/_default/examples.html b/vendor/twbs/bootstrap/site/layouts/_default/examples.html
index 5ec926323..6301acf76 100644
--- a/vendor/twbs/bootstrap/site/layouts/_default/examples.html
+++ b/vendor/twbs/bootstrap/site/layouts/_default/examples.html
@@ -89,9 +89,14 @@
--bs-btn-active-bg: #5a23c8;
--bs-btn-active-border-color: #5a23c8;
}
+
.bd-mode-toggle {
z-index: 1500;
}
+
+ .bd-mode-toggle .dropdown-menu .active .bi {
+ display: block !important;
+ }
</style>
{{ range .Page.Params.extra_css }}
@@ -100,7 +105,7 @@
{{- end }}
</head>
<body{{ with .Page.Params.body_class }} class="{{ . }}"{{ end }}>
- <svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
+ <svg xmlns="http://www.w3.org/2000/svg" class="d-none">
<symbol id="check2" viewBox="0 0 16 16">
<path d="M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z"/>
</symbol>
diff --git a/vendor/twbs/bootstrap/site/layouts/partials/callouts/warning-color-assistive-technologies.md b/vendor/twbs/bootstrap/site/layouts/partials/callouts/warning-color-assistive-technologies.md
index aaa6f64c8..6750517bb 100644
--- a/vendor/twbs/bootstrap/site/layouts/partials/callouts/warning-color-assistive-technologies.md
+++ b/vendor/twbs/bootstrap/site/layouts/partials/callouts/warning-color-assistive-technologies.md
@@ -1 +1 @@
-**Accessibility tip:** Using color to add meaning only provides a visual indication, which will not be conveyed to users of assistive technologies like screen readers. Please ensure the meaning is obvious from the content itself (e.g., the visible text) or is included through alternative means, such as additional text hidden with the `.visually-hidden` class. \ No newline at end of file
+**Accessibility tip:** Using color to add meaning only provides a visual indication, which will not be conveyed to users of assistive technologies like screen readers. Please ensure the meaning is obvious from the content itself (e.g., the visible text with a [*sufficient* color contrast](/docs/{{ .Site.Params.docs_version }}/getting-started/accessibility#color-contrast)) or is included through alternative means, such as additional text hidden with the `.visually-hidden` class.
diff --git a/vendor/twbs/bootstrap/site/layouts/partials/docs-navbar.html b/vendor/twbs/bootstrap/site/layouts/partials/docs-navbar.html
index 2c1403c0c..a69fb2d70 100644
--- a/vendor/twbs/bootstrap/site/layouts/partials/docs-navbar.html
+++ b/vendor/twbs/bootstrap/site/layouts/partials/docs-navbar.html
@@ -8,7 +8,7 @@
</button>
</div>
{{- else }}
- <div class="d-lg-none" style="width: 1.5rem;"></div>
+ <div class="d-lg-none" style="width: 4.25rem;"></div>
{{- end }}
<a class="navbar-brand p-0 me-0 me-lg-2" href="/" aria-label="Bootstrap">
@@ -16,9 +16,7 @@
</a>
<div class="d-flex">
- {{ if eq .Layout "docs" }}
- <div class="bd-search" id="docsearch" data-bd-docs-version="{{ .Site.Params.docs_version }}"></div>
- {{ end }}
+ <div class="bd-search" id="docsearch" data-bd-docs-version="{{ .Site.Params.docs_version }}"></div>
<button class="navbar-toggler d-flex d-lg-none order-3 p-2" type="button" data-bs-toggle="offcanvas" data-bs-target="#bdNavbar" aria-controls="bdNavbar" aria-label="Toggle navigation">
<svg class="bi" aria-hidden="true"><use xlink:href="#three-dots"></use></svg>
diff --git a/vendor/twbs/bootstrap/site/layouts/partials/footer.html b/vendor/twbs/bootstrap/site/layouts/partials/footer.html
index 819c6256d..421b70ec8 100644
--- a/vendor/twbs/bootstrap/site/layouts/partials/footer.html
+++ b/vendor/twbs/bootstrap/site/layouts/partials/footer.html
@@ -21,7 +21,7 @@
<li class="mb-2"><a href="{{ .Site.Params.icons }}">Icons</a></li>
<li class="mb-2"><a href="{{ .Site.Params.themes }}">Themes</a></li>
<li class="mb-2"><a href="{{ .Site.Params.blog }}">Blog</a></li>
- <li class="mb-2"><a href="{{ .Site.Params.swag }}">Swag Store</a></li>
+ <li class="mb-2"><a href="{{ .Site.Params.swag }}" target="_blank" rel="noopener">Swag Store</a></li>
</ul>
</div>
<div class="col-6 col-lg-2 mb-3">
@@ -37,21 +37,21 @@
<div class="col-6 col-lg-2 mb-3">
<h5>Projects</h5>
<ul class="list-unstyled">
- <li class="mb-2"><a href="{{ .Site.Params.github_org }}/bootstrap">Bootstrap 5</a></li>
- <li class="mb-2"><a href="{{ .Site.Params.github_org }}/bootstrap/tree/v4-dev">Bootstrap 4</a></li>
- <li class="mb-2"><a href="{{ .Site.Params.github_org }}/icons">Icons</a></li>
- <li class="mb-2"><a href="{{ .Site.Params.github_org }}/rfs">RFS</a></li>
- <li class="mb-2"><a href="{{ .Site.Params.github_org }}/examples/">Examples repo</a></li>
+ <li class="mb-2"><a href="{{ .Site.Params.github_org }}/bootstrap" target="_blank" rel="noopener">Bootstrap 5</a></li>
+ <li class="mb-2"><a href="{{ .Site.Params.github_org }}/bootstrap/tree/v4-dev" target="_blank" rel="noopener">Bootstrap 4</a></li>
+ <li class="mb-2"><a href="{{ .Site.Params.github_org }}/icons" target="_blank" rel="noopener">Icons</a></li>
+ <li class="mb-2"><a href="{{ .Site.Params.github_org }}/rfs" target="_blank" rel="noopener">RFS</a></li>
+ <li class="mb-2"><a href="{{ .Site.Params.github_org }}/examples/" target="_blank" rel="noopener">Examples repo</a></li>
</ul>
</div>
<div class="col-6 col-lg-2 mb-3">
<h5>Community</h5>
<ul class="list-unstyled">
- <li class="mb-2"><a href="{{ .Site.Params.github_org }}/bootstrap/issues">Issues</a></li>
- <li class="mb-2"><a href="{{ .Site.Params.github_org }}/bootstrap/discussions">Discussions</a></li>
- <li class="mb-2"><a href="https://github.com/sponsors/twbs">Corporate sponsors</a></li>
- <li class="mb-2"><a href="{{ .Site.Params.opencollective }}">Open Collective</a></li>
- <li class="mb-2"><a href="https://stackoverflow.com/questions/tagged/bootstrap-5">Stack Overflow</a></li>
+ <li class="mb-2"><a href="{{ .Site.Params.github_org }}/bootstrap/issues" target="_blank" rel="noopener">Issues</a></li>
+ <li class="mb-2"><a href="{{ .Site.Params.github_org }}/bootstrap/discussions" target="_blank" rel="noopener">Discussions</a></li>
+ <li class="mb-2"><a href="https://github.com/sponsors/twbs" target="_blank" rel="noopener">Corporate sponsors</a></li>
+ <li class="mb-2"><a href="{{ .Site.Params.opencollective }}" target="_blank" rel="noopener">Open Collective</a></li>
+ <li class="mb-2"><a href="https://stackoverflow.com/questions/tagged/bootstrap-5" target="_blank" rel="noopener">Stack Overflow</a></li>
</ul>
</div>
</div>
diff --git a/vendor/twbs/bootstrap/site/layouts/partials/header.html b/vendor/twbs/bootstrap/site/layouts/partials/header.html
index 22528ae47..6323f4908 100644
--- a/vendor/twbs/bootstrap/site/layouts/partials/header.html
+++ b/vendor/twbs/bootstrap/site/layouts/partials/header.html
@@ -11,9 +11,7 @@
<link rel="canonical" href="{{ .Permalink }}">
-{{- if eq .Page.Layout "docs" -}}
<link rel="preconnect" href="https://AK7KMZKZHQ-dsn.algolia.net" crossorigin>
-{{- end }}
{{ with .Params.robots -}}
<meta name="robots" content="{{ . }}">
diff --git a/vendor/twbs/bootstrap/site/layouts/partials/home/masthead.html b/vendor/twbs/bootstrap/site/layouts/partials/home/masthead.html
index 76cd01005..4916e6136 100644
--- a/vendor/twbs/bootstrap/site/layouts/partials/home/masthead.html
+++ b/vendor/twbs/bootstrap/site/layouts/partials/home/masthead.html
@@ -24,8 +24,6 @@
<span class="px-1">&middot;</span>
<a href="/docs/{{ .Site.Params.docs_version }}/getting-started/download/" class="link-secondary">Download</a>
<span class="px-1">&middot;</span>
- <a href="https://getbootstrap.com/docs/4.6/getting-started/introduction/" class="link-secondary text-nowrap">v4.6.x docs</a>
- <span class="px-1">&middot;</span>
<a href="/docs/versions/" class="link-secondary text-nowrap">All releases</a>
</p>
{{ partial "ads" . }}
diff --git a/vendor/twbs/bootstrap/site/layouts/partials/icons.html b/vendor/twbs/bootstrap/site/layouts/partials/icons.html
index e181d8b25..4ec1eab47 100644
--- a/vendor/twbs/bootstrap/site/layouts/partials/icons.html
+++ b/vendor/twbs/bootstrap/site/layouts/partials/icons.html
@@ -1,4 +1,4 @@
-<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
+<svg xmlns="http://www.w3.org/2000/svg" class="d-none">
<symbol id="arrow-right" viewBox="0 0 16 16">
<path fill-rule="evenodd" d="M1 8a.5.5 0 0 1 .5-.5h11.793l-3.147-3.146a.5.5 0 0 1 .708-.708l4 4a.5.5 0 0 1 0 .708l-4 4a.5.5 0 0 1-.708-.708L13.293 8.5H1.5A.5.5 0 0 1 1 8z"/>
</symbol>
diff --git a/vendor/twbs/bootstrap/site/layouts/partials/scripts.html b/vendor/twbs/bootstrap/site/layouts/partials/scripts.html
index 3378a230e..dc92d30e5 100644
--- a/vendor/twbs/bootstrap/site/layouts/partials/scripts.html
+++ b/vendor/twbs/bootstrap/site/layouts/partials/scripts.html
@@ -4,8 +4,9 @@
<script src="/docs/{{ .Site.Params.docs_version }}/dist/js/bootstrap.bundle.js"></script>
{{- end }}
-{{ if eq .Page.Layout "docs" -}}
<script src="https://cdn.jsdelivr.net/npm/@docsearch/js@3"></script>
+
+{{ if eq .Page.Layout "docs" -}}
<script src="https://cdn.jsdelivr.net/npm/@stackblitz/sdk@1/bundles/sdk.umd.js"></script>
{{- end }}
diff --git a/vendor/twbs/bootstrap/site/layouts/partials/stylesheet.html b/vendor/twbs/bootstrap/site/layouts/partials/stylesheet.html
index 1aa329699..7a5b077bc 100644
--- a/vendor/twbs/bootstrap/site/layouts/partials/stylesheet.html
+++ b/vendor/twbs/bootstrap/site/layouts/partials/stylesheet.html
@@ -1,6 +1,4 @@
-{{ if eq .Page.Layout "docs" -}}
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@docsearch/css@3">
-{{- end }}
{{ if eq hugo.Environment "production" -}}
{{ if eq .Page.Params.direction "rtl" -}}
diff --git a/vendor/twbs/bootstrap/site/layouts/shortcodes/js-docs.html b/vendor/twbs/bootstrap/site/layouts/shortcodes/js-docs.html
index 4739e0a17..8eed4a0eb 100644
--- a/vendor/twbs/bootstrap/site/layouts/shortcodes/js-docs.html
+++ b/vendor/twbs/bootstrap/site/layouts/shortcodes/js-docs.html
@@ -13,8 +13,9 @@
{{- errorf "%s: %q: Missing required parameters! Got: name=%q file=%q!" .Position .Name $name $file -}}
{{- else -}}
{{- $capture_start := printf "// js-docs-start %s\n" $name -}}
- {{- $capture_end := printf "// js-docs-end %s" $name -}}
+ {{- $capture_end := printf "// js-docs-end %s\n" $name -}}
{{- $regex := printf `%s((?:.|\n)*)%s` $capture_start $capture_end -}}
+ {{- $regex_nested := printf `// js-docs-.*\n` -}}
{{- $match := findRE $regex (readFile $file) -}}
{{- $match = index $match 0 -}}
@@ -26,6 +27,11 @@
{{- $match = replace $match $capture_start "" -}}
{{- $match = replace $match $capture_end "" -}}
+ {{- $match_nested := findRE $regex_nested $match -}}
+ {{- range $to_remove := $match_nested -}}
+ {{- $match = replace $match $to_remove "" -}}
+ {{- end -}}
+
<div class="bd-example-snippet bd-code-snippet bd-file-ref">
<div class="d-flex align-items-center highlight-toolbar ps-3 pe-2 py-1 border-bottom">
<a class="font-monospace link-secondary link-underline-secondary link-underline-opacity-0 link-underline-opacity-100-hover small" href="{{ .Site.Params.repo }}/blob/v{{ .Site.Params.current_version }}/{{ $file | replaceRE `\\` "/" }}">
diff --git a/vendor/twbs/bootstrap/site/layouts/shortcodes/scss-docs.html b/vendor/twbs/bootstrap/site/layouts/shortcodes/scss-docs.html
index 4edc414fd..6e7c129f4 100644
--- a/vendor/twbs/bootstrap/site/layouts/shortcodes/scss-docs.html
+++ b/vendor/twbs/bootstrap/site/layouts/shortcodes/scss-docs.html
@@ -17,8 +17,9 @@
{{- errorf "%s: %q: Missing required parameters! Got: name=%q file=%q!" .Position .Name $name $file -}}
{{- else -}}
{{- $capture_start := printf "// scss-docs-start %s\n" $name -}}
- {{- $capture_end := printf "// scss-docs-end %s" $name -}}
+ {{- $capture_end := printf "// scss-docs-end %s\n" $name -}}
{{- $regex := printf `%s((?:.|\n)*)%s` $capture_start $capture_end -}}
+ {{- $regex_nested := printf `// scss-docs-.*\n` -}}
{{- /*
TODO: figure out why we can't do the following and get the first group (the only capturing one)...
@@ -35,6 +36,11 @@
{{- $match = replace $match $capture_start "" -}}
{{- $match = replace $match $capture_end "" -}}
+ {{- $match_nested := findRE $regex_nested $match -}}
+ {{- range $to_remove := $match_nested -}}
+ {{- $match = replace $match $to_remove "" -}}
+ {{- end -}}
+
{{- if (ne $strip_default "false") -}}
{{- $match = replace $match " !default" "" -}}
{{- end -}}