forked from superdesk/newsroom-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
117 additions
and
147 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,3 +22,4 @@ | |
@import './user-profile'; | ||
@import './full-page-layout'; | ||
@import './vendor'; | ||
@import './tips-content'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
.tips-content { | ||
@extend .advanced-search__content; | ||
|
||
>div { | ||
@extend .advanced-search__content-block; | ||
@extend .advanced-search__content-block--no-background; | ||
} | ||
|
||
h3 { | ||
margin: 0; | ||
} | ||
|
||
p { | ||
@extend .advanced-search__content-block-text; | ||
} | ||
|
||
code { | ||
color: var(--color-text); | ||
font-family: monospace; | ||
font-size: 15px; | ||
background-color: hsla(0, 0%, 0%, 0.06); | ||
padding: 2px 6px; | ||
border-radius: 3px; | ||
} | ||
|
||
pre { | ||
@extend .advanced-search__content-description-text; | ||
} | ||
|
||
em { | ||
color: #00658A; | ||
} | ||
|
||
hr { | ||
@extend .dashed; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,63 +1,49 @@ | ||
<div class="advanced-search__content"> | ||
<div class="advanced-search__content-block advanced-search__content-block--no-background"> | ||
<p class="advanced-search__content-block-text advanced-search__content-block-text--bold"> | ||
Use our Advanced Search to get more targeted search results without the need to learn how to write a Boolean search query | ||
</p> | ||
<div class="tips-content"> | ||
<div> | ||
<p><b>Use our Advanced Search to get more targeted search results without the need to learn how to write a Boolean search query</b></p> | ||
</div> | ||
<div class="advanced-search__content-block advanced-search__content-block--no-background"> | ||
<p class="advanced-search__content-block-text advanced-search__content-block-text--bold">All of these:</p> | ||
<div> | ||
<p><b>All of these:</b></p> | ||
<ul> | ||
<li>This is the classic <span class="green">"AND"</span> operator</li> | ||
<li>This is the classic <em>"AND"</em> operator</li> | ||
<li>Every word you include must be present in the results</li> | ||
<li>This is a more restrictive search type</li> | ||
</ul> | ||
<p class="advanced-search__content-description-text"> | ||
Example: Apples Pear = Apples <span class="green">AND</span> Pear | ||
</p> | ||
<pre>Example: Apples Pear = Apples <em>AND</em> Pear</pre> | ||
</div> | ||
<hr class="dashed" /> | ||
<div class="advanced-search__content-block advanced-search__content-block--no-background"> | ||
<p class="advanced-search__content-block-text advanced-search__content-block-text--bold">Any of these:</p> | ||
<hr /> | ||
<div> | ||
<p><b>Any of these:</b></p> | ||
<ul> | ||
<li>This is the classic <span class="blue">"OR"</span> operator</li> | ||
<li>This is the classic <em>"OR"</em> operator</li> | ||
<li>Not every word you include needs to be present in the results</li> | ||
<li>This is the broadest search type</li> | ||
</ul> | ||
<p class="advanced-search__content-description-text"> | ||
Example: Apples Pear = Apples <span class="blue">OR</span> Pear | ||
</p> | ||
<pre>Example: Apples Pear = Apples <em>OR</em> Pear</pre> | ||
</div> | ||
<hr class="dashed" /> | ||
<div class="advanced-search__content-block advanced-search__content-block--no-background"> | ||
<p class="advanced-search__content-block-text advanced-search__content-block-text--bold">None of these:</p> | ||
<hr /> | ||
<div> | ||
<p><b>None of these:</b></p> | ||
<ul> | ||
<li>This is the classic <span class="red">"NOT"</span> operator</li> | ||
<li>This is the classic <em>"NOT"</em> operator</li> | ||
<li>Every word you include must not be present in the results</li> | ||
<li>This is the most restrictive search type</li> | ||
<li>Use this in combination with other keywords and other search input fields to narrow search results</li> | ||
</ul> | ||
<p class="advanced-search__content-description-text"> | ||
Example: Apples Pear = <span class="red">NOT</span> Apples <span class="red">NOT</span> Pear | ||
</p> | ||
<pre>Example: Apples Pear = <em>NOT</em> Apples <em>NOT</em> Pear</pre> | ||
</div> | ||
<hr class="dashed" /> | ||
<div class="advanced-search__content-block advanced-search__content-block--no-background"> | ||
<p class="advanced-search__content-block-text advanced-search__content-block-text--bold"> | ||
Wildcards, Quotation Marks, and proximity search are accepted in the three search input fields on the Advanced Search form, if desired: | ||
</p> | ||
<hr /> | ||
<div> | ||
<p><b>Wildcards, Quotation Marks, and proximity search are accepted in the three search input fields on the Advanced Search form, if desired:</b></p> | ||
<ul> | ||
<li>Use Wildcard operator <span class="advanced-search__content-block-text--mono">?</span> to replace a single character or <span class="advanced-search__content-block-text--mono">*</span> to replace zero or more characters</li> | ||
<li>Use Quotation Marks <span class="advanced-search__content-block-text--mono">“”</span> to search for an exact phrase</li> | ||
<li>Use <span class="advanced-search__content-block-text--mono">~</span> to find the matches within n words of each other</li> | ||
<li>Use Wildcard operator <code>?</code> to replace a single character or <code>*</code> to replace zero or more characters</li> | ||
<li>Use Quotation Marks <code>“”</code> to search for an exact phrase</li> | ||
<li>Use <code>~</code> to find the matches within n words of each other</li> | ||
</ul> | ||
</div> | ||
<hr class="dashed" /> | ||
<div class="advanced-search__content-block advanced-search__content-block--no-background"> | ||
<p class="advanced-search__content-block-text advanced-search__content-block-text--bold"> | ||
By default, Advanced Search searches for results in the most important fields. | ||
</p> | ||
<p class="advanced-search__content-block-text"> | ||
You can select/deselect these options on the Advanced Search form | ||
</p> | ||
<hr /> | ||
<div> | ||
<p><b>By default, Advanced Search searches for results in the most important fields.</b></p> | ||
<p>You can select/deselect these options on the Advanced Search form</p> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters