Moved search bar to top, and styled
Also add opencase_search as dependency to opencase because the css for it is in opencase/css (hopefully all this css can go into an opencase theme one day)
This commit is contained in:
parent
4b14537dc4
commit
0efab1af06
@ -16,3 +16,16 @@ body {
|
||||
.js-form-item.form-item.js-form-type-checkbox.form-type-checkbox.js-form-item-new-revision.form-item-new-revision {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Style the search box in header bar. */
|
||||
#block-exposedformactor-searchpage-1 {
|
||||
top: -20px;
|
||||
}
|
||||
|
||||
#block-exposedformactor-searchpage-1 #edit-actions {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
#block-exposedformactor-searchpage-1 .form-text {
|
||||
width: 200px;
|
||||
}
|
||||
|
@ -9,7 +9,7 @@ dependencies:
|
||||
- bartik
|
||||
id: exposedformactor_searchpage_1
|
||||
theme: bartik
|
||||
region: sidebar_first
|
||||
region: header
|
||||
weight: -9
|
||||
provider: null
|
||||
plugin: 'views_exposed_filter_block:actor_search-page_1'
|
||||
|
@ -554,7 +554,7 @@ display:
|
||||
expose:
|
||||
operator_id: search_api_fulltext_op
|
||||
label: 'Search by Name'
|
||||
description: 'Type at least 3 letters of a first or last name and press enter.'
|
||||
description: 'Type at least 3 letters and press enter.'
|
||||
use_operator: false
|
||||
operator: search_api_fulltext_op
|
||||
identifier: search_api_fulltext
|
||||
|
@ -5,5 +5,6 @@ core: 8.x
|
||||
package: 'OpenCase'
|
||||
dependencies:
|
||||
- opencase_entities
|
||||
- opencase_search
|
||||
libraries:
|
||||
- opencase/opencase-lib
|
||||
|
Reference in New Issue
Block a user