NIHVIVO-2710: improved type facet on the search results page
This commit is contained in:
parent
6f58b677cb
commit
e970abcae9
2 changed files with 46 additions and 4 deletions
|
@ -74,3 +74,41 @@
|
||||||
height:620px;
|
height:620px;
|
||||||
overflow:visible;
|
overflow:visible;
|
||||||
}
|
}
|
||||||
|
/* <------ SEARCH RESULTS PAGE*/
|
||||||
|
.searchTOC {
|
||||||
|
margin-bottom: 1.5em;
|
||||||
|
float:right;
|
||||||
|
margin-right:35px;
|
||||||
|
margin-left:45px;
|
||||||
|
width:182px;
|
||||||
|
text-align:center;
|
||||||
|
/* border: 1px solid #dde4e3;*/
|
||||||
|
padding-top:4px;
|
||||||
|
color: #fff;
|
||||||
|
background: #5e6363;
|
||||||
|
}
|
||||||
|
.searchTOC span {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
.searchTOC ul {
|
||||||
|
width: 160px;
|
||||||
|
border: 1px solid #dde4e3;
|
||||||
|
background: #f1f2ee;
|
||||||
|
padding: 0 10px 0px 10px;
|
||||||
|
margin-top: 4px;
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
.searchTOC ul li {
|
||||||
|
display: block;
|
||||||
|
border-bottom: 1px solid #dde4e3;
|
||||||
|
font-size: 14px;
|
||||||
|
height: 35px;
|
||||||
|
line-height: 35px;
|
||||||
|
}
|
||||||
|
.searchTOC ul li:last-child {
|
||||||
|
border-bottom: none
|
||||||
|
}
|
||||||
|
.searchTOC ul a {
|
||||||
|
display: block;
|
||||||
|
padding-left: 15px;
|
||||||
|
}
|
|
@ -13,19 +13,23 @@
|
||||||
<#-- Refinement links -->
|
<#-- Refinement links -->
|
||||||
<#if classGroupLinks?has_content>
|
<#if classGroupLinks?has_content>
|
||||||
<div class="searchTOC">
|
<div class="searchTOC">
|
||||||
<span class="jumpText">Show only results of this <b>type</b>:</span>
|
<span>Display only</span>
|
||||||
|
<ul>
|
||||||
<#list classGroupLinks as link>
|
<#list classGroupLinks as link>
|
||||||
<a href="${link.url}">${link.text}</a>
|
<li><a href="${link.url}">${link.text}</a></li>
|
||||||
</#list>
|
</#list>
|
||||||
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</#if>
|
</#if>
|
||||||
|
|
||||||
<#if classLinks?has_content>
|
<#if classLinks?has_content>
|
||||||
<div class="searchTOC">
|
<div class="searchTOC">
|
||||||
<span class="jumpText">Show only results of this <b>subtype</b>:</span>
|
<span>Limit ${classGroupName} to</span>
|
||||||
|
<ul>
|
||||||
<#list classLinks as link>
|
<#list classLinks as link>
|
||||||
<a href="${link.url}">${link.text}</a>
|
<li><a href="${link.url}">${link.text}</a></li>
|
||||||
</#list>
|
</#list>
|
||||||
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</#if>
|
</#if>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue