From 7b169fb7988473b94974f02076ce665665b04c08 Mon Sep 17 00:00:00 2001 From: j433866 Date: Thu, 25 Apr 2019 16:33:02 +0100 Subject: [PATCH] Add css for search box --- src/web/stylesheets/layout/_io.css | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/src/web/stylesheets/layout/_io.css b/src/web/stylesheets/layout/_io.css index 11c86a62..be7fe842 100755 --- a/src/web/stylesheets/layout/_io.css +++ b/src/web/stylesheets/layout/_io.css @@ -108,7 +108,7 @@ #btn-next-input-tab, -#btn-go-to-input-tab, +#btn-input-tab-dropdown, #btn-next-output-tab, #btn-go-to-output-tab { float: right; @@ -295,3 +295,26 @@ #magic svg path { fill: var(--primary-font-colour); } + +#input-search-results { + list-style: none; + width: fit-content; + margin-left: auto; + margin-right: auto; +} + +#input-search-results li { + padding-left: 5px; + padding-right: 5px; + padding-top: 10px; + padding-bottom: 10px; + text-align: center; + transition: 0.25s ease all; + width: 100%; + background: var(--secondary-background-colour); +} + +#input-search-results li:hover { + cursor: pointer; + background: var(--primary-background-colour); +}