diff options
author | Mario <mario@mariovavti.com> | 2023-05-17 13:28:23 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2023-05-17 13:28:23 +0000 |
commit | 65d98af24c3c7b784f7e2c95998df65901011ce3 (patch) | |
tree | d7d6a60698d7a0c3704ea55cb71c543285186b17 /vendor/twbs/bootstrap/site/static | |
parent | a57739c462a7991bf2130e8eca0c383eb276f0cd (diff) | |
parent | 62d35627f35537d0056482047e74a27ad837c3cf (diff) | |
download | volse-hubzilla-8.4.tar.gz volse-hubzilla-8.4.tar.bz2 volse-hubzilla-8.4.zip |
Merge branch '8.4RC'8.4
Diffstat (limited to 'vendor/twbs/bootstrap/site/static')
18 files changed, 18 insertions, 3 deletions
diff --git a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/brand/bootstrap-social-logo.png b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/brand/bootstrap-social-logo.png Binary files differdeleted file mode 100644 index 9dbb732a4..000000000 --- a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/brand/bootstrap-social-logo.png +++ /dev/null diff --git a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/badges.png b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/badges.png Binary files differnew file mode 100644 index 000000000..bcaae7ecf --- /dev/null +++ b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/badges.png diff --git a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/badges@2x.png b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/badges@2x.png Binary files differnew file mode 100644 index 000000000..5841c7adb --- /dev/null +++ b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/badges@2x.png diff --git a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/breadcrumbs.png b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/breadcrumbs.png Binary files differnew file mode 100644 index 000000000..b67c355c9 --- /dev/null +++ b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/breadcrumbs.png diff --git a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/breadcrumbs@2x.png b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/breadcrumbs@2x.png Binary files differnew file mode 100644 index 000000000..ee8466573 --- /dev/null +++ b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/breadcrumbs@2x.png diff --git a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/buttons.png b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/buttons.png Binary files differnew file mode 100644 index 000000000..e628d9b03 --- /dev/null +++ b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/buttons.png diff --git a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/buttons@2x.png b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/buttons@2x.png Binary files differnew file mode 100644 index 000000000..2e1544034 --- /dev/null +++ b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/buttons@2x.png diff --git a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/grid.png b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/grid.png Binary files differindex 2c18784c2..15ccfd416 100644 --- a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/grid.png +++ b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/grid.png diff --git a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/grid@2x.png b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/grid@2x.png Binary files differindex e95c36365..78ade65f5 100644 --- a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/grid@2x.png +++ b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/grid@2x.png diff --git a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/jumbotrons.png b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/jumbotrons.png Binary files differnew file mode 100644 index 000000000..daafe594b --- /dev/null +++ b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/jumbotrons.png diff --git a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/jumbotrons@2x.png b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/jumbotrons@2x.png Binary files differnew file mode 100644 index 000000000..4e549a484 --- /dev/null +++ b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/jumbotrons@2x.png diff --git a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/guides/parcel-dev-server-bootstrap.png b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/guides/parcel-dev-server-bootstrap.png Binary files differindex a7aa65be0..59538797c 100644 --- a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/guides/parcel-dev-server-bootstrap.png +++ b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/guides/parcel-dev-server-bootstrap.png diff --git a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/guides/parcel-dev-server.png b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/guides/parcel-dev-server.png Binary files differindex 1833fb8a0..db36ee594 100644 --- a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/guides/parcel-dev-server.png +++ b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/guides/parcel-dev-server.png diff --git a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/guides/vite-dev-server-bootstrap.png b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/guides/vite-dev-server-bootstrap.png Binary files differindex 0c3741bd6..a3ae0953f 100644 --- a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/guides/vite-dev-server-bootstrap.png +++ b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/guides/vite-dev-server-bootstrap.png diff --git a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/guides/vite-dev-server.png b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/guides/vite-dev-server.png Binary files differindex e29729c23..30a98b805 100644 --- a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/guides/vite-dev-server.png +++ b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/guides/vite-dev-server.png diff --git a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/guides/webpack-dev-server-bootstrap.png b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/guides/webpack-dev-server-bootstrap.png Binary files differindex fc37d92d3..0bf8304e9 100644 --- a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/guides/webpack-dev-server-bootstrap.png +++ b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/guides/webpack-dev-server-bootstrap.png diff --git a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/guides/webpack-dev-server.png b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/guides/webpack-dev-server.png Binary files differindex ecba18967..2d612d378 100644 --- a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/guides/webpack-dev-server.png +++ b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/guides/webpack-dev-server.png diff --git a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/js/color-modes.js b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/js/color-modes.js index 41b6b893e..4528ba36b 100644 --- a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/js/color-modes.js +++ b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/js/color-modes.js @@ -1,6 +1,6 @@ /*! * Color mode toggler for Bootstrap's docs (https://getbootstrap.com/) - * Copyright 2011-2022 The Bootstrap Authors + * Copyright 2011-2023 The Bootstrap Authors * Licensed under the Creative Commons Attribution 3.0 Unported License. */ @@ -27,17 +27,32 @@ setTheme(getPreferredTheme()) - const showActiveTheme = theme => { + const showActiveTheme = (theme, focus = false) => { + const themeSwitcher = document.querySelector('#bd-theme') + + if (!themeSwitcher) { + return + } + + const themeSwitcherText = document.querySelector('#bd-theme-text') const activeThemeIcon = document.querySelector('.theme-icon-active use') const btnToActive = document.querySelector(`[data-bs-theme-value="${theme}"]`) const svgOfActiveBtn = btnToActive.querySelector('svg use').getAttribute('href') document.querySelectorAll('[data-bs-theme-value]').forEach(element => { element.classList.remove('active') + element.setAttribute('aria-pressed', 'false') }) btnToActive.classList.add('active') + btnToActive.setAttribute('aria-pressed', 'true') activeThemeIcon.setAttribute('href', svgOfActiveBtn) + const themeSwitcherLabel = `${themeSwitcherText.textContent} (${btnToActive.dataset.bsThemeValue})` + themeSwitcher.setAttribute('aria-label', themeSwitcherLabel) + + if (focus) { + themeSwitcher.focus() + } } window.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', () => { @@ -55,7 +70,7 @@ const theme = toggle.getAttribute('data-bs-theme-value') localStorage.setItem('theme', theme) setTheme(theme) - showActiveTheme(theme) + showActiveTheme(theme, true) }) }) }) |