You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
200 lines
3.9 KiB
200 lines
3.9 KiB
/*collection/search header (def viewmode)*/ |
|
.node--view-mode-full .node__content { |
|
display: flex; |
|
align-items: center; |
|
gap: 1em; |
|
padding-block-end: 0; |
|
flex-direction: column; |
|
.image img { |
|
width: 200px; |
|
max-width: 200px; |
|
border: 1px solid #ccc; |
|
padding: 4px; |
|
border-radius: 4px; |
|
} |
|
.info { |
|
.field { |
|
margin-bottom: 0; |
|
line-height: 1.8; |
|
} |
|
} |
|
} |
|
/* search block layout */ |
|
.search-result-block { |
|
margin-bottom: 1em; |
|
padding-bottom: 1em; |
|
} |
|
.node--view-mode-search-index { |
|
/* layout */ |
|
display: flex; |
|
align-items: center; |
|
|
|
flex-direction: column; |
|
gap: 2em; |
|
|
|
header { |
|
order: 2; |
|
} |
|
|
|
.node__content { |
|
order: 1; |
|
padding: 0; |
|
} |
|
/*image*/ |
|
.field--name-did-image img { |
|
width: 200px; |
|
max-width: 200px; |
|
border: 1px solid #ccc; |
|
padding: 4px; |
|
border-radius: 4px; |
|
} |
|
/* title/link */ |
|
.node__title { |
|
margin: 0; |
|
font-size: 1.5em; |
|
line-height: 1.5; |
|
a { |
|
color: blue; |
|
color: #093a6c; |
|
/* text-decoration: underline; */ |
|
} |
|
} |
|
|
|
/* need to remove these fields */ |
|
.field--name-field-description, |
|
.field--name-field-extent, |
|
.field--name-field-edtf-date-created, |
|
.field--name-field-resource-type, |
|
.field--name-field-member-of { |
|
/* display: none; */ |
|
} |
|
} |
|
|
|
@media (min-width: 600px) { |
|
.node--view-mode-search-index, |
|
.node--view-mode-full .node__content { |
|
flex-direction: row; |
|
} |
|
} |
|
nav.pager { |
|
display: flex; |
|
justify-content: space-around; |
|
} |
|
@media (min-width: 600px) { |
|
.has-viewer .info { |
|
.field__label { |
|
width: 200px; |
|
} |
|
.field--name-field-abstract, |
|
.field--name-field-description, |
|
.field--name-field-description-long { |
|
.field__item { |
|
display: table-cell; |
|
} |
|
} |
|
} |
|
} |
|
|
|
.has-viewer { |
|
.collection-search-view, |
|
.field--name-did-image { |
|
display: none; |
|
} |
|
} |
|
/* ======================== */ |
|
.path-frontpage { |
|
div#block-mirador-block { |
|
display: none; |
|
} |
|
div#block-oliveskln-views-block-solr-search-content-block-1 { |
|
/* display: none; */ |
|
} |
|
} |
|
div#block-mirador-block { |
|
/* display: none; */ |
|
} |
|
div#block-oliveskln-content { |
|
/* grid-column: 2/5; */ |
|
} |
|
div#block-oliveskln-views-block-solr-search-content-block-1 { |
|
/* grid-column: 5/14; */ |
|
} |
|
.header-nav { |
|
.form--inline .form-actions { |
|
margin: 0; |
|
} |
|
.js-form-item.form-item.js-form-type-textfield.form-item-search-api-fulltext.js-form-item-search-api-fulltext { |
|
/* display: none; */ |
|
} |
|
|
|
.js-form-item.form-item.js-form-type-select.form-item-items-per-page.js-form-item-items-per-page { |
|
display: none; |
|
} |
|
|
|
.js-form-item.form-item.js-form-type-select.form-item-sort-order.js-form-item-sort-order { |
|
display: none; |
|
} |
|
|
|
.js-form-item.form-item.js-form-type-select.form-item-sort-by.js-form-item-sort-by { |
|
display: none; |
|
} |
|
|
|
form#views-exposed-form-solr-search-content-page-1 { |
|
display: flex; |
|
align-items: center; |
|
div#edit-actions { |
|
margin: 0; |
|
} |
|
} |
|
|
|
form#views-exposed-form-solr-search-content-page-1 { |
|
} |
|
} |
|
.view-solr-search-content .view-filters { |
|
border-top: 1px solid #ccc; |
|
border-bottom: 1px solid #ccc; |
|
padding: 1em; |
|
display: flex; |
|
justify-content: flex-end; |
|
background: #f6f7f8; |
|
} |
|
|
|
.view-solr-search-content .view-header { |
|
margin: 0; |
|
} |
|
.region--content-above form#views-exposed-form-solr-search-content-page-1 { |
|
display: flex; |
|
/* justify-content: flex-end; */ |
|
align-items: center; |
|
|
|
.form-item-search-api-fulltext { |
|
display: none; |
|
} |
|
} |
|
|
|
div#block-oliveskln-exposedformsolr-search-contentpage-1-2 { |
|
display: flex; |
|
justify-content: flex-end; |
|
border-top: 1px solid #ccc; |
|
border-bottom: 1px solid #ccc; |
|
margin-bottom: 1em; |
|
padding-bottom: 1em; |
|
|
|
.form-item { |
|
margin-left: 1em; |
|
} |
|
} |
|
|
|
input#edit-submit-solr-search-content--3 { |
|
margin: 0; |
|
} |
|
|
|
.view.view-solr-search-content .views-row { |
|
border-bottom: 1px solid #ccc; |
|
} |
|
nav#block-oliveskln-dummymenu { |
|
display: none; |
|
} |
|
iframe.pdf { |
|
border: 1px solid #ccc; |
|
}
|
|
|