diff --git a/plugins/themes/default/styles/index.less b/plugins/themes/default/styles/index.less index 569ebc4e751..c46db3e5e0d 100644 --- a/plugins/themes/default/styles/index.less +++ b/plugins/themes/default/styles/index.less @@ -36,6 +36,7 @@ @import "pages/login.less"; @import "pages/lostPassword.less"; @import "pages/register.less"; +@import "pages/searchResults.less"; @import "pages/submissions.less"; @import "pages/viewPdf.less"; @import "objects/announcement_summary.less"; diff --git a/plugins/themes/default/styles/pages/searchResults.less b/plugins/themes/default/styles/pages/searchResults.less new file mode 100644 index 00000000000..621d8dbd8e0 --- /dev/null +++ b/plugins/themes/default/styles/pages/searchResults.less @@ -0,0 +1,60 @@ +/** + * @file plugins/themes/default/styles/pages/searchResults.less + * + * Copyright (c) 2014-2015 Simon Fraser University Library + * Copyright (c) 2003-2015 John Willinsky + * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING. + * + * @brief Styles applying to the search page + * @link templates/frontend/pages/searchResults.tpl + */ +.page_search { + + .search_results a { + margin-left: 0.5em; + } + + .cmp_monographs_list { + margin-top: @triple; + border-bottom: @bg-border; + + @media(min-width: @screen-lg-desktop) { + border-bottom: none; + } + } + + .pkp_search { + margin: 0 -@base; + padding: @triple @base; + text-align: center; + + button { + &:extend( .cmp_button ); + width: 100%; + margin-top: @base; + + + @media(min-width: @screen-phone) { + width: auto; + margin-top: 0; + } + } + + input[type="text"] { + &:extend(.pkp_form input[type="text"]); + } + + .search_controls { + display: none; + } + + @media(min-width: @screen-phone) { + margin: 0 -@double; + padding: @triple; + } + + @media(min-width: @screen-desktop) { + margin: 0 -@triple; + } + } +} diff --git a/templates/frontend/pages/searchResults.tpl b/templates/frontend/pages/searchResults.tpl index b13c9b5ce1a..d842b2c21b6 100644 --- a/templates/frontend/pages/searchResults.tpl +++ b/templates/frontend/pages/searchResults.tpl @@ -10,32 +10,47 @@ * @uses $publishedMonographs array List of published monographs * @uses $searchQuery string The search query, if one was just made *} -{include file="common/frontend/header.tpl" pageTitle="search.searchResults"} +{include file="common/frontend/header.tpl" pageTitle="common.search"} -
+