1
0
Fork 0

Fix/dropdown (#129)

* chore(website): fix https (#124)

* docs(website): add HTTPS to examples (#126)

* chore(release): v2.1.1

<a name="2.1.1"></a>

* chore(release): v2.1.2

<a name="2.1.2"></a>

* fix(doc): Fix dropdown style and redirection bug
This commit is contained in:
Lucas Bonomi 2016-07-26 13:38:57 +02:00 committed by Sylvain Utard
parent 60db4ed729
commit de685238cf
8 changed files with 47 additions and 10 deletions

View file

@ -1,3 +1,15 @@
<a name="2.1.2"></a>
## [2.1.2](https://github.com/algolia/docsearch/compare/v2.1.1...v2.1.2) (2016-07-22)
<a name="2.1.1"></a>
## [2.1.1](https://github.com/algolia/docsearch/compare/v2.1.0...v2.1.1) (2016-07-22)
<a name="2.1.0"></a>
# [2.1.0](https://github.com/algolia/docsearch/compare/v2.0.7...v2.1.0) (2016-07-07)

View file

@ -66,8 +66,8 @@ Once we've crawled your documentation website we'll send you the credentials you
need to add the following code snippet to your website:
```html
<link rel="stylesheet" href="//cdn.jsdelivr.net/docsearch.js/2/docsearch.min.css" />
<script type="text/javascript" src="//cdn.jsdelivr.net/docsearch.js/2/docsearch.min.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/docsearch.js/2/docsearch.min.css" />
<script type="text/javascript" src="https://cdn.jsdelivr.net/docsearch.js/2/docsearch.min.js"></script>
<script type="text/javascript">
docsearch({
apiKey: '<API_KEY>',

View file

@ -11,9 +11,9 @@
</div>
<div class='ac-footer-container ac-footer-brand'>
<p>This project is part of</p>
<img class='ac-footer-brand-icon' src='http://res.cloudinary.com/hilnmyskv/image/upload/logo-community.svg'>
<img class='ac-footer-brand-icon' src='https://res.cloudinary.com/hilnmyskv/image/upload/logo-community.svg'>
<figure>
<img class='ac-footer-brand-logo' src='http://res.cloudinary.com/hilnmyskv/image/upload/v1463417234/algolia-community_n6tixd.svg'>
<img class='ac-footer-brand-logo' src='https://res.cloudinary.com/hilnmyskv/image/upload/v1463417234/algolia-community_n6tixd.svg'>
<figcaption>Algolia Community</figcaption>
</figure>
<a class='ac-footer-btn ac-footer-btn-cta' href='https://community.algolia.com/'>See More</a>

View file

@ -4,4 +4,29 @@
@include searchbox($searchbox-config...);
@include dropdown($dropdown-config...);
@include dropdown($dropdown-config...);
.ds-dropdown-menu {
background: #fff;
border-radius: 4px;
min-width: 420px;
padding: 0 8px;
margin-top: 16px;
box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.2), 0 2px 3px 0 rgba(0, 0, 0, 0.1);
&:before {
left: 48px;
display: block;
position: absolute;
content: '';
width: 14px;
height: 14px;
background: #FFFFFF;
z-index: 1000;
top: -7px;
border-top: 1px solid #D9D9D9;
border-right: 1px solid #D9D9D9;
transform: rotate(-45deg);
border-radius: 2px;
}
}

View file

@ -23,7 +23,7 @@ $dropdown-config: (
layout-alignment: right,
layout-width: 800,
background-color: #fff,
border-radius: 4,
border-radius: 40,
border-width: 1,
border-color: #d9d9d9,
box-shadow: light,

View file

@ -26,8 +26,8 @@ Once we've crawled your documentation website we'll send you the credentials you
need to add the following code snippet to your website:
```html
<link rel="stylesheet" href="//cdn.jsdelivr.net/docsearch.js/2/docsearch.min.css" />
<script type="text/javascript" src="//cdn.jsdelivr.net/docsearch.js/2/docsearch.min.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/docsearch.js/2/docsearch.min.css" />
<script type="text/javascript" src="https://cdn.jsdelivr.net/docsearch.js/2/docsearch.min.js"></script>
<script type="text/javascript">
docsearch({
apiKey: '<API_KEY>',

View file

@ -1,6 +1,6 @@
{
"name": "docsearch.js",
"version": "2.1.0",
"version": "2.1.2",
"description": "Add an autocomplete dropdown to your documentation",
"main": "dist/npm/index.js",
"scripts": {

View file

@ -1 +1 @@
export default '2.1.0';
export default '2.1.2';