diff --git a/source/_themes/otc_tcs_sphinx_theme/searchbox.html b/source/_themes/otc_tcs_sphinx_theme/searchbox.html new file mode 100644 index 00000000..1647a8df --- /dev/null +++ b/source/_themes/otc_tcs_sphinx_theme/searchbox.html @@ -0,0 +1,9 @@ +{%- if builder != 'singlehtml' %} +
+
+ + + +
+
+{%- endif %} \ No newline at end of file diff --git a/source/_themes/otc_tcs_sphinx_theme/static/mag-glass.png b/source/_themes/otc_tcs_sphinx_theme/static/mag-glass.png new file mode 100644 index 00000000..67c376be Binary files /dev/null and b/source/_themes/otc_tcs_sphinx_theme/static/mag-glass.png differ diff --git a/source/_themes/otc_tcs_sphinx_theme/static/tcs_theme.css b/source/_themes/otc_tcs_sphinx_theme/static/tcs_theme.css index 1d34e00f..d3a39bee 100644 --- a/source/_themes/otc_tcs_sphinx_theme/static/tcs_theme.css +++ b/source/_themes/otc_tcs_sphinx_theme/static/tcs_theme.css @@ -36,6 +36,7 @@ .wy-side-nav-search input[type=text] { border-radius: 0px; padding: 0px 0px; + padding-left: 20px; box-shadow: none; border: 0; outline: 0; @@ -284,3 +285,9 @@ div.admonition ul { div#trademarks { color: gray; } + + +#clear-docs-search { + background: url(./mag-glass.png) left no-repeat; + background-size: 15px 15px; +}