mirror of
https://github.com/documize/community.git
synced 2025-08-09 07:25:23 +02:00
Merge branch 'master' into github-extension
This commit is contained in:
commit
d39872f67d
3 changed files with 36 additions and 15 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;
|
||||
|
|
|
@ -6,13 +6,13 @@
|
|||
<i class="material-icons">apps</i>
|
||||
</div>
|
||||
{{else}}
|
||||
{{#link-to 'application' title=session.appMeta.title}}
|
||||
<div class="header-button">
|
||||
{{#link-to 'application'}}
|
||||
<div class="header-button" title=session.appMeta.title>
|
||||
<i class="material-icons">apps</i>
|
||||
</div>
|
||||
{{/link-to}}
|
||||
{{/if}}
|
||||
{{#link-to 'application' class="title"}}
|
||||
{{#link-to 'application'}}
|
||||
<div>{{session.appMeta.title}}</div>
|
||||
{{/link-to}}
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue