-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
20 changed files
with
13,089 additions
and
71 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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
.pb-content { | ||
.bidder-filter { | ||
padding: 10px 15px; | ||
border: 1px solid #b3c1cc; | ||
background-color: rgba(236, 243, 245, 0.35); | ||
|
||
&:focus { | ||
outline: none; | ||
} | ||
} | ||
|
||
.c-bidder-list-group { | ||
h4 { | ||
color: #797f90; | ||
font-size: 19px; | ||
font-weight: 700; | ||
} | ||
} | ||
|
||
.c-bidder-list { | ||
padding-left: 0; | ||
columns: 2; | ||
|
||
li { | ||
padding-bottom: 5px; | ||
|
||
&::before { | ||
content: none !important; | ||
} | ||
} | ||
|
||
a { | ||
text-decoration: none; | ||
} | ||
} | ||
} |
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,17 @@ | ||
.download-form { | ||
margin-bottom: 20px; | ||
|
||
> .row { | ||
flex-flow: column; | ||
} | ||
|
||
.adapters { | ||
display: flex; | ||
flex-flow: row wrap; | ||
} | ||
} | ||
|
||
.download-form__modal, | ||
.modal-backdrop.fade { | ||
opacity: 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
.algolia-autocomplete { | ||
.algolia-docsearch-suggestion--category-header { | ||
display: none !important; | ||
} | ||
} |
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,27 @@ | ||
@import '../../node_modules/awesomplete/awesomplete.base.css'; | ||
|
||
.awesomplete { | ||
> ul { | ||
background: #333; | ||
padding: 0 !important; | ||
|
||
> li { | ||
padding: 10px 15px; | ||
border-bottom: 1px solid #707070; | ||
color: #efefef; | ||
font-size: 17px; | ||
|
||
&:last-child { | ||
border-bottom: 0; | ||
} | ||
|
||
&[aria-selected="true"] { | ||
background-color: #ff6f00; | ||
} | ||
|
||
&::before { | ||
content: none !important; | ||
} | ||
} | ||
} | ||
} |
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
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,23 @@ | ||
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> | ||
<script type="text/javascript"> docsearch({ | ||
apiKey: 'e9e0827a8769cc3797d1d75add431a5c', | ||
indexName: 'prebid', | ||
inputSelector: '#site-search', | ||
algoliaOptions: { | ||
// 'facetFilters': ["tags:$TAGS"] | ||
hitsPerPage: 30, | ||
}, | ||
transformData: function(hits) { | ||
var returned_hits = { }; | ||
hits.forEach( function(hit) { | ||
var url = new URL(hit.url); | ||
var key = url.origin + url.pathname; | ||
if ( !returned_hits[key] ) { | ||
returned_hits[key] = hit; | ||
} | ||
} ); | ||
return Object.values(returned_hits); | ||
}, | ||
debug: false // Set debug to true if you want to inspect the dropdown | ||
}); | ||
</script> |
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 |
---|---|---|
|
@@ -30,3 +30,4 @@ | |
</script> | ||
|
||
<script src="{{site.baseurl}}/assets/js/prism.js"></script> | ||
{% include body-end.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
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 |
---|---|---|
|
@@ -165,5 +165,5 @@ <h5>Follow Us</h5> | |
|
||
|
||
</div> <!-- pb-homepage --> | ||
|
||
{% include body-end.html %} | ||
</body> |
Large diffs are not rendered by default.
Oops, something went wrong.
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,21 @@ | ||
var input = document.getElementById('bidder-filter'); | ||
new Awesomplete(input, { | ||
list: BidderList, | ||
replace: function(item) { | ||
this.input.value = item.label; | ||
}, | ||
sort: function(a, b) { | ||
var name_a = a.label.toUpperCase(); | ||
var name_b = b.label.toUpperCase(); | ||
if ( name_a < name_b ) { | ||
return -1; | ||
} | ||
if ( name_b < name_a ) { | ||
return 1; | ||
} | ||
return 0; | ||
} | ||
}); | ||
input.addEventListener('awesomplete-select', function(event) { | ||
document.location = document.location.origin + event.text.value; | ||
}); |
Oops, something went wrong.