From 6041602913b42237096f4eb877608ce10351a31c Mon Sep 17 00:00:00 2001 From: Kevin Putnam Date: Thu, 29 Aug 2019 16:17:02 -0700 Subject: [PATCH] UI improvements: * Changed underline of search box to white from black. * Added white border to differentiate clearlinux.org nav elements from docs. Limitations: * Current solution fails to work 100% in responsive mode. * Degradation is graceful. * Better fix requires deeper change to the theme. * Pending update pulling RTD theme into the project will allow this. Signed-off-by: Kevin Putnam Changes to be committed: modified: source/_themes/otc_tcs_sphinx_theme/layout.html modified: source/_themes/otc_tcs_sphinx_theme/static/tcs_theme.css --- source/_themes/otc_tcs_sphinx_theme/layout.html | 2 -- source/_themes/otc_tcs_sphinx_theme/static/tcs_theme.css | 7 ++++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/source/_themes/otc_tcs_sphinx_theme/layout.html b/source/_themes/otc_tcs_sphinx_theme/layout.html index 7c4fa2db..5d247ba3 100644 --- a/source/_themes/otc_tcs_sphinx_theme/layout.html +++ b/source/_themes/otc_tcs_sphinx_theme/layout.html @@ -41,8 +41,6 @@ - - {{ super() }} 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 d3a39bee..0205b43e 100644 --- a/source/_themes/otc_tcs_sphinx_theme/static/tcs_theme.css +++ b/source/_themes/otc_tcs_sphinx_theme/static/tcs_theme.css @@ -3,8 +3,13 @@ /* make the page width fill the window */ .wy-nav-content { max-width: none; + background: linear-gradient(white 58px, #f2f4f5 58px 100%); + padding-top: 10px; } +.wy-nav-content-wrap .wy-nav-content { + padding-top: 10px; +} .wy-nav-side { background: #007ab2; @@ -41,7 +46,7 @@ border: 0; outline: 0; background: transparent; - border-bottom: 1px solid black; + border-bottom: 1px solid white; color: white; }