/** * @file styles/pages/search.less * * Copyright (c) 2014-2017 Simon Fraser University * Copyright (c) 2003-2017 John Willinsky * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING. * * @brief Styles applying to the search form and results page * @link templates/frontend/pages/search.tpl */ .page_search { .search_input { .query { width: 100%; max-width: 100%; height: (@double * 2) - 2; // account for border; font-size: @font-lead; line-height: (@double * 2) - 2; // account for border; } } .search_advanced { .pkp_helpers_clear; border: @bg-border; padding: 0 @double @double; legend { padding: @base @double; margin: 0; font-weight: @normal; color: @text-light; } } .date_range { float: left; width: 50%; .from { margin-bottom: @double; } [name*="Year"] { width: 6em; } [name*="Day"] { width: 4em; } [name*="Month"] { width: 10em; } } .author { width: 50%: float: right; } .submit { text-align: right; button { &:extend(.cmp_button all); .cmp_button_icon(@fa-var-search); .cmp_button_icon_left(@fa-var-search); &:after { right: auto; left: 0; } } } .search_results { margin: (@double * 2) 0; .obj_article_summary { padding: @double 0; } } }