mirror of
https://github.com/documize/community.git
synced 2025-08-09 07:25:23 +02:00
Update search page
This commit is contained in:
parent
ef4726141d
commit
3b8301312b
2 changed files with 33 additions and 12 deletions
|
@ -2,17 +2,21 @@
|
|||
|
||||
{{layout/zone-navigation}}
|
||||
|
||||
{{#layout/zone-header title=session.appMeta.title message=session.appMeta.message}}
|
||||
{{layout/button-home}}
|
||||
{{/layout/zone-header}}
|
||||
|
||||
<div class="page-search">
|
||||
<div class="input-control">
|
||||
<label>Search</label>
|
||||
<div class="tip">#tags, keywords, "some phrase", keyword AND keyword, keyword OR keyword</div>
|
||||
{{focus-input class="input" type="text" value=filter placeholder='start typing...'}}
|
||||
|
||||
<div id="zone-header" class="zone-header">
|
||||
<div class="input-control pull-left width-60">
|
||||
<label>Search</label>
|
||||
{{focus-input class="input" type="text" value=filter placeholder='#tags, keywords, "some phrase", keyword AND keyword, keyword OR keyword'}}
|
||||
</div>
|
||||
<div class="actions pull-right hidden-xs hidden-sm">
|
||||
{{layout/button-home}}
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
|
||||
{{search/search-results results=results}}
|
||||
|
||||
</div>
|
||||
|
||||
{{/layout/zone-container}}
|
||||
|
|
|
@ -1,8 +1,26 @@
|
|||
.page-search {
|
||||
margin: 50px 100px;
|
||||
|
||||
> .zone-header {
|
||||
background-color: $color-header;
|
||||
padding: 0 40px 0 40px;
|
||||
}
|
||||
|
||||
.input-control {
|
||||
padding: 20px 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.input-control input {
|
||||
background-color: $color-header;
|
||||
}
|
||||
|
||||
.input-control input:focus {
|
||||
|
||||
}
|
||||
|
||||
.search-results {
|
||||
margin: 50px 0;
|
||||
padding: 0 40px 0 40px;
|
||||
|
||||
.heading {
|
||||
font-size: 1.2rem;
|
||||
|
@ -16,6 +34,8 @@
|
|||
> .item {
|
||||
cursor: pointer;
|
||||
margin: 0 30px 30px 0;
|
||||
padding-bottom: 40px;
|
||||
border-bottom: 1px solid #e1e1e1;
|
||||
|
||||
> .link {
|
||||
text-decoration: none;
|
||||
|
@ -40,18 +60,15 @@
|
|||
> .excerpt {
|
||||
margin-top: 1rem;
|
||||
font-size: 0.9rem;
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
> .chips {
|
||||
margin-top: 1rem;
|
||||
margin-left: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
> .references {
|
||||
margin-top: 1rem;
|
||||
margin-left: 20px;
|
||||
|
||||
> .label {
|
||||
font-size: 0.9rem;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue