Commit 3eea9f1e authored by Gradl, Tobias's avatar Gradl, Tobias
Browse files

1311: Refactor search javascript

Task-Url: https://pm.winseda.de/issues/1311
parent c990a107
......@@ -193,9 +193,12 @@
#search-results-container #search-results .tab-pane .search-result-tab-heading {
font-style: italic; }
#search-results-container #search-results .tab-pane .search-results-resources-show-more {
text-align: center; }
#search-results-container #search-results .tab-pane .search-results-item {
margin: 12px 12px 24px 12px; }
#search-results-container #search-results .tab-pane .search-results-item .search-result-image-container {
flex: 0 0 145px;
position: relative;
padding: 5px;
border: 1px solid #dee2e6;
......@@ -243,54 +246,56 @@
box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
color: white;
font-style: italic; }
#search-results-container #search-results .tab-pane .search-results-item .search-results-resource-item .search-result-score {
float: right;
font-size: 90%; }
#search-results-container #search-results .tab-pane .search-results-item .search-results-resource-item .search-result-datasource {
margin-bottom: 0; }
#search-results-container #search-results .tab-pane .search-results-item .search-results-resource-item .search-result-title {
margin-bottom: 8px; }
#search-results-container #search-results .tab-pane .search-results-item .search-results-resource-item ul.search-result-links {
list-style: none;
padding: 0;
margin-bottom: 8px; }
#search-results-container #search-results .tab-pane .search-results-item .search-results-resource-item ul.search-result-links li {
overflow-wrap: break-word;
word-wrap: break-word;
word-break: break-word; }
#search-results-container #search-results .tab-pane .search-results-item .search-results-resource-item div.search-result-highlights {
margin-bottom: 8px;
font-size: 85%; }
#search-results-container #search-results .tab-pane .search-results-item .search-results-resource-item div.search-result-highlights > div {
#search-results-container #search-results .tab-pane .search-results-item .search-results-resource-item {
justify-content: center; }
#search-results-container #search-results .tab-pane .search-results-item .search-results-resource-item .search-result-score {
float: right;
font-size: 90%; }
#search-results-container #search-results .tab-pane .search-results-item .search-results-resource-item .search-result-datasource {
margin-bottom: 0; }
#search-results-container #search-results .tab-pane .search-results-item .search-results-resource-item .search-result-title {
margin-bottom: 8px; }
#search-results-container #search-results .tab-pane .search-results-item .search-results-resource-item ul.search-result-links {
list-style: none;
padding: 0;
margin-bottom: 8px; }
#search-results-container #search-results .tab-pane .search-results-item .search-results-resource-item ul.search-result-links li {
overflow-wrap: break-word;
word-wrap: break-word;
word-break: break-word; }
#search-results-container #search-results .tab-pane .search-results-item .search-results-resource-item div.search-result-highlights {
margin-bottom: 8px;
font-size: 85%; }
#search-results-container #search-results .tab-pane .search-results-item .search-results-resource-item div.search-result-highlights > div {
overflow-wrap: break-word;
word-wrap: break-word;
word-break: break-word;
margin: 8px;
font-style: italic; }
#search-results-container #search-results .tab-pane .search-results-item .search-results-resource-item div.search-result-highlights > div span.result-highlight-field {
font-style: normal; }
#search-results-container #search-results .tab-pane .search-results-item .search-results-resource-item div.search-result-highlights > div span.result-highlight {
font-weight: bold;
color: #035151; }
#search-results-container #search-results .tab-pane .search-results-item .search-results-resource-item .search-result-objects > span {
display: inline-block;
padding: 0 0.25rem 0.25rem 0.25rem;
cursor: pointer; }
#search-results-container #search-results .tab-pane .search-results-item .search-results-resource-item .search-result-objects > span i.fa {
margin-right: 5px; }
#search-results-container #search-results .tab-pane .search-results-item .search-results-resource-item .search-result-panel {
border: 1px solid #dee2e6;
margin-top: 6px;
margin-bottom: 12px;
padding-left: 12px;
padding-right: 12px;
overflow-wrap: break-word;
word-wrap: break-word;
word-break: break-word;
margin: 8px;
font-style: italic; }
#search-results-container #search-results .tab-pane .search-results-item .search-results-resource-item div.search-result-highlights > div span.result-highlight-field {
font-style: normal; }
#search-results-container #search-results .tab-pane .search-results-item .search-results-resource-item div.search-result-highlights > div span.result-highlight {
font-weight: bold;
color: #035151; }
#search-results-container #search-results .tab-pane .search-results-item .search-results-resource-item .search-result-objects > span {
display: inline-block;
padding: 0 0.25rem 0.25rem 0.25rem;
cursor: pointer; }
#search-results-container #search-results .tab-pane .search-results-item .search-results-resource-item .search-result-objects > span i.fa {
margin-right: 5px; }
#search-results-container #search-results .tab-pane .search-results-item .search-results-resource-item .search-result-panel {
border: 1px solid #dee2e6;
margin-top: 6px;
margin-bottom: 12px;
padding-left: 12px;
padding-right: 12px;
overflow-wrap: break-word;
word-wrap: break-word; }
#search-results-container #search-results .tab-pane .search-results-item .search-results-resource-item .search-result-panel .btn {
padding-left: 0; }
#search-results-container #search-results .tab-pane .search-results-item .search-results-resource-item .search-result-panel .collapse ul {
padding-left: 1.25rem;
border-bottom: 0; }
word-wrap: break-word; }
#search-results-container #search-results .tab-pane .search-results-item .search-results-resource-item .search-result-panel .btn {
padding-left: 0; }
#search-results-container #search-results .tab-pane .search-results-item .search-results-resource-item .search-result-panel .collapse ul {
padding-left: 1.25rem;
border-bottom: 0; }
#search-results-container #search-results .tab-pane .result-collection {
margin-bottom: 24px; }
......@@ -380,9 +385,13 @@
#search-available-collections {
margin-bottom: 0; }
#search-available-collections li {
display: block; }
display: block;
padding: 0; }
#search-available-collections li::before {
display: none; }
#search-available-collections li .search-available-collection-doccount {
font-weight: bold;
font-size: 125%; }
.slider {
width: 95%; }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment