diff --git a/webapp/web/css/search.css b/webapp/web/css/search.css new file mode 100644 index 000000000..477011bd1 --- /dev/null +++ b/webapp/web/css/search.css @@ -0,0 +1,52 @@ +/* $This file is distributed under the terms of the license in /doc/license.txt$ */ + +/* Search form styles */ + +/* Search form */ +.advancedSearchForm .form-button { + margin-top: 1em +} +/* Class and subclass refinement links */ +.searchTOC { + margin-bottom: 1.5em; +} +/**Search results */ +.searchhits li { + margin-top: 1em; +} +span.SearchTerm, +h1 span.SearchTerm, +a:link span.SearchTerm, +a:visited span.SearchTerm { + font-weight: bold; + color: #7D7D7D; +} +/* bPaging links */ +.searchpages { + margin-top: 2em; +} +.searchpages a, +.searchpages span { + margin-left: .5em; + margin-right: .5em; +} +.searchpages a:link, +.searchpages a:visited { + text-decoration: none; +} +.searchpages a:hover, +.searchpages a:active { + text-decoration: underline; +} +.searchpages a.prev { + margin-right: 1em; + text-decoration: underline; +} +.searchpages a.next { + margin-left: 1em; + text-decoration: underline; +} +/* Search tips */ +div.searchTips li { + line-height: 2em; +} \ No newline at end of file diff --git a/webapp/web/templates/freemarker/body/search/search-form.ftl b/webapp/web/templates/freemarker/body/search/search-form.ftl index b0d06b1ca..21e55dbb1 100644 --- a/webapp/web/templates/freemarker/body/search/search-form.ftl +++ b/webapp/web/templates/freemarker/body/search/search-form.ftl @@ -16,4 +16,4 @@ -${stylesheets.addFromTheme("/css/search.css")} \ No newline at end of file +${stylesheets.add("/css/search.css")} \ No newline at end of file diff --git a/webapp/web/templates/freemarker/body/search/search-pagedResults.ftl b/webapp/web/templates/freemarker/body/search/search-pagedResults.ftl index a7daa6a0a..af36c8ca6 100644 --- a/webapp/web/templates/freemarker/body/search/search-pagedResults.ftl +++ b/webapp/web/templates/freemarker/body/search/search-pagedResults.ftl @@ -56,4 +56,4 @@ -${stylesheets.addFromTheme("/css/search.css")} +${stylesheets.add("/css/search.css")}