-
Notifications
You must be signed in to change notification settings - Fork 1
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
9 changed files
with
225 additions
and
17 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
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
1 change: 1 addition & 0 deletions
1
local_packages/football/Resources/Private/Scss/Elements/_import.scss
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,2 +1,3 @@ | ||
@import "cta"; | ||
@import "footer-menu"; | ||
@import "search"; |
70 changes: 70 additions & 0 deletions
70
local_packages/football/Resources/Private/Scss/Elements/search.scss
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,70 @@ | ||
.tx-indexedsearch-form { | ||
width: 25%; | ||
} | ||
|
||
.tx-indexedsearch-info-sword { | ||
padding: 16px 0; | ||
|
||
.tx-indexedsearch-info-sword-word { | ||
font-weight: bold; | ||
} | ||
} | ||
|
||
.tx-indexedsearch-results { | ||
margin-top: 20px; | ||
|
||
.tx-indexedsearch-res { | ||
padding: 16px 0; | ||
border-top: 1px solid $color__light-gray; | ||
|
||
.tx-indexedsearch-title { | ||
a { | ||
color: #FF3232; | ||
text-decoration: none; | ||
} | ||
} | ||
|
||
.tx-indexedsearch-description { | ||
margin-bottom: 0; | ||
} | ||
} | ||
} | ||
|
||
.tx-indexedsearch-browsebox { | ||
margin-top: 20px; | ||
|
||
ul { | ||
list-style: none; | ||
padding: 0; | ||
display: flex; | ||
|
||
li { | ||
display: flex; | ||
width: 30px; | ||
height: 30px; | ||
border: 1px solid $color__light-gray; | ||
margin-right: 15px; | ||
|
||
&:hover, | ||
&.active{ | ||
border-color: $color__primary--dark-blue; | ||
} | ||
|
||
a { | ||
display: flex; | ||
-ms-flex-pack: center; | ||
justify-content: center; | ||
-ms-flex-align: center; | ||
align-items: center; | ||
width: 30px; | ||
height: 30px; | ||
text-decoration: none; | ||
color: $color__text__default; | ||
} | ||
|
||
&.tx-indexedsearch-browselist-next{ | ||
border: 0; | ||
} | ||
} | ||
} | ||
} |
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
37 changes: 37 additions & 0 deletions
37
...kages/football/Resources/Private/Templates/Plugins/IndexedSearch/Partials/Pagination.html
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 @@ | ||
<html | ||
xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" | ||
data-namespace-typo3-fluid="true" | ||
> | ||
|
||
<f:if condition="{pagination}"> | ||
<ul> | ||
<f:if condition="{pagination.previousPageNumber}"> | ||
<li class="tx-indexedsearch-browselist-next"> | ||
<a href="#" class="tx-indexedsearch-page-selector" data-prefix="tx_indexedsearch" data-pointer="{pagination.previousPageNumber - 1}" data-free-index-uid="{freeIndexUid}"> | ||
< | ||
</a> | ||
</li> | ||
</f:if> | ||
|
||
<f:for each="{pagination.allPageNumbers}" as="pageNumber"> | ||
<f:if condition="{pageNumber} == {searchParams.pointer + 1}"> | ||
<f:then> | ||
<li class="active"><a href="#" class="tx-indexedsearch-page-selector" data-prefix="tx_indexedsearch" data-pointer="{pageNumber - 1}" data-free-index-uid="{freeIndexUid}" aria-current="page">{pageNumber}</a></li> | ||
</f:then> | ||
<f:else> | ||
<li><a href="#" class="tx-indexedsearch-page-selector" data-prefix="tx_indexedsearch" data-pointer="{pageNumber - 1}" data-free-index-uid="{freeIndexUid}">{pageNumber}</a></li> | ||
</f:else> | ||
</f:if> | ||
</f:for> | ||
|
||
<f:if condition="{pagination.nextPageNumber}"> | ||
<li class="tx-indexedsearch-browselist-next"> | ||
<a href="#" class="tx-indexedsearch-page-selector" data-prefix="tx_indexedsearch" data-pointer="{pagination.nextPageNumber - 1}" data-free-index-uid="{freeIndexUid}"> | ||
> | ||
</a> | ||
</li> | ||
</f:if> | ||
</ul> | ||
</f:if> | ||
|
||
</html> |
24 changes: 24 additions & 0 deletions
24
...ges/football/Resources/Private/Templates/Plugins/IndexedSearch/Partials/Searchresult.html
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,24 @@ | ||
<html | ||
xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" | ||
xmlns:is="http://typo3.org/ns/TYPO3/CMS/IndexedSearch/ViewHelpers" | ||
data-namespace-typo3-fluid="true"> | ||
<div class="tx-indexedsearch-res"> | ||
<h4> | ||
<f:if condition="{settings.displayResultNumber}"><span class="tx-indexedsearch-result-number">{row.result_number}</span></f:if> | ||
<span class="tx-indexedsearch-title">{row.title -> f:format.raw()}</span> | ||
</h4> | ||
<f:if condition="{row.headerOnly} == 0"> | ||
<p class="tx-indexedsearch-description">{row.description -> f:format.raw()}</p> | ||
</f:if> | ||
<f:if condition="{row.headerOnly} == 1"> | ||
<p class="tx-indexedsearch-description">{row.description -> f:format.raw()}</p> | ||
</f:if> | ||
<f:if condition="{row.subresults}"> | ||
<p class="tx-indexedsearch-list"> | ||
<f:for each="{row.subresults.items}" as="subrow"> | ||
<f:render partial="Searchresult" arguments="{row: subrow}" /> | ||
</f:for> | ||
</p> | ||
</f:if> | ||
</div> | ||
</html> |
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