diff --git a/docs/_assets/css/toolbar.css b/docs/_assets/css/toolbar.css deleted file mode 100644 index faf051e5dde8..000000000000 --- a/docs/_assets/css/toolbar.css +++ /dev/null @@ -1,98 +0,0 @@ -body { - margin-top: 50px; -} - -nav.navbar { - height: 50px; - line-height: 1; - font-size: 24px; - font-family: var(--font-family-toolbar-details); - background-color: var(--toolbar); - box-shadow: 0 0 6px; -} -nav.navbar-dark * { - color: var(--toolbar-entry); - transition: color .2s ease-out; -} - -nav.navbar-dark a:hover *, nav.navbar-dark a:focus * { - color: var(--toolbar-active); -} -nav.navbar a:hover { - text-decoration: none; -} -nav.navbar a { - cursor: pointer; -} - -.navbar-brand { - margin-right: auto; - margin-left: auto; - font-size: inherit; - display: flex; - align-items: center; -} - -.navbar-brand .project-logo { - display: none; - height: 40px; - margin-right: 7px; -} - -.navbar-brand .project-details * { - margin: 0; - line-height: inherit; -} -.navbar-brand .project-details h1 { - font-size: 1em; - font-family: var(--font-family-toolbar-main); - font-weight: var(--font-weight-toolbar-main); -} -.navbar-brand .project-details h2 { - font-size: 0.5em; - margin-top: 2px; - font-weight: var(--font-weight-toolbar-details); -} - -#search-api-input { - color: initial; - width: 10em; -} -#searchbar { - display: none; -} -#searchbar.shown { - display: initial; - margin-left: auto; - margin-right: auto; -} -#searchbar.shown + .navbar-brand { - display: none; -} - -#search-icon { - margin-left: .5em; -} - -@media (min-width: 420px) { - .navbar-brand .project-logo { - display: inline; - } -} - -@media (min-width: 768px) { - #search-icon, #searchbar.shown { - margin-left: 1em; - margin-right: initial; - } - #searchbar.shown + .navbar-brand { - display: flex; - } -} - -@media (min-width: 1200px) { - #searchbar.shown { - position: absolute; - margin-left: 4em; - } -} diff --git a/docs/_assets/js/sidebar.js b/docs/_assets/js/sidebar.js deleted file mode 100644 index 2832486c1d6a..000000000000 --- a/docs/_assets/js/sidebar.js +++ /dev/null @@ -1,6 +0,0 @@ -// Toggles a sidebar section -function toggleSection(titleElement) { - const title = $(titleElement); - title.siblings("ul").toggleClass("toggled"); - title.children("i.fas").toggleClass("fa-angle-right fa-angle-down"); -} diff --git a/docs/_assets/js/toolbar.js b/docs/_assets/js/toolbar.js deleted file mode 100644 index a799ca661dd9..000000000000 --- a/docs/_assets/js/toolbar.js +++ /dev/null @@ -1,26 +0,0 @@ -$(function() { - const menuIcon = $("#menu-icon"); - const sidebar = $(".sidebar"); - menuIcon.on("click", () => { - sidebar.toggleClass("toggled"); - }); - - const searchIcon = $("#search-icon"); - const searchbar = $("#searchbar"); - const searchApiInput = $("#search-api-input"); - searchIcon.on("click", () => { - searchbar.toggleClass("shown"); - searchApiInput.focus(); - }); - - const baseurlInput = $("#baseurl-input"); - searchApiInput.keydown(evt => { - if (evt.which === 13) { // Enter - const baseUrl = baseurlInput.val(); - const searchTerm = searchApiInput.val(); - const previousUrl = encodeURI(window.location); - const searchUrl = `${baseUrl}/api/search.html?searchTerm=${searchTerm}&previousUrl=${previousUrl}`; - window.location = searchUrl; - } - }); -}); diff --git a/docs/_spec/_layouts/default.yml b/docs/_spec/_layouts/default.yml index 0f7fb24d7ce2..88e13a1668ce 100644 --- a/docs/_spec/_layouts/default.yml +++ b/docs/_spec/_layouts/default.yml @@ -10,7 +10,6 @@ -