diff --git a/doc/.sphinx/_static/custom.css b/doc/.sphinx/_static/custom.css index e26f4d2b5..45f2a9ca0 100644 --- a/doc/.sphinx/_static/custom.css +++ b/doc/.sphinx/_static/custom.css @@ -193,3 +193,19 @@ details summary { .highlight button.copybtn { opacity: 0; } + +/* Mimicking the 'Give feedback' button for UX consistency */ +.sidebar-search-container input[type=submit] { + color: #FFFFFF; + border: 2px solid #D6410D; + padding: var(--sidebar-search-input-spacing-vertical) var(--sidebar-search-input-spacing-horizontal); + background: #D6410D; + font-weight: bold; + font-size: var(--font-size--small); + cursor: pointer; +} + +.sidebar-search-container input[type=submit]:hover { + text-decoration: underline; +} + diff --git a/doc/.sphinx/_templates/sidebar/search.html b/doc/.sphinx/_templates/sidebar/search.html new file mode 100644 index 000000000..644a5ef6a --- /dev/null +++ b/doc/.sphinx/_templates/sidebar/search.html @@ -0,0 +1,7 @@ +
+