Skip to content

Commit

Permalink
Search box rendering issue in Firefox and IE (Fixes akka#21779) (akka…
Browse files Browse the repository at this point in the history
  • Loading branch information
richardimaoka authored and ktoso committed Nov 2, 2016
1 parent 9cb7839 commit 56a3718
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 35 deletions.
43 changes: 21 additions & 22 deletions akka-docs/_sphinx/themes/akka/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -98,35 +98,34 @@
{%- endblock %}
<div class="main">
<div class="container">
<div class="page-title">{{ title }}</div>
<div class="page-title">{{ title }} - Version {{ release|e }}</div>
<div class="pdf-link"><a href="{{ pathto('AkkaScala.pdf', 1) }}" title="Akka Scala Documentation"><img src="{{ pathto('_static/pdf-scala-icon.png', 1) }}" style="height: 40px;" /></a></div>
<div class="pdf-link"><a href="{{ pathto('AkkaJava.pdf', 1) }}" title="Akka Java Documentation"><img src="{{ pathto('_static/pdf-java-icon.png', 1) }}" style="height: 40px;" /></a></div>
</div>
<div class="main-container">
<div class="container">
<div class="row">
<div class="span12">
<ul class="breadcrumb">
<li>
{%- if next %}
<span class="divider">|</span> <a href="{{ next.link|e }}">{{ next.title }}</a> <span class="divider">»</span>
{%- endif %}
</li>
<li>
<a href="{{ pathto('java.html', 1) }}">Java Contents</a> <span class="divider">|</span> <a href="{{ pathto('scala.html', 1) }}">Scala Contents</a>
</li>
<li>
{%- if prev %}
<span class="divider">«</span> <a href="{{ prev.link|e }}">{{ prev.title }}</a> <span class="divider">|</span>
{%- endif %}
</li>
<li style="float: left">
Version {{ release|e }}
</li>
<li style="float: left">
<input type="search" id="search" class="form-control" />
</li>
</ul>
<div class="breadcrumb">
<div style="position: relative">
<input type="search" id="search" class="form-control" style="position: relative" placeholder="Search in the doc" />
</div>
<div>
<div>
{%- if prev %}
<span class="divider">«</span> <a href="{{ prev.link|e }}">{{ prev.title }}</a> <span class="divider">|</span>
{%- endif %}
</div>
<div>
<a href="{{ pathto('java.html', 1) }}">Java Contents</a> <span class="divider">|</span> <a href="{{ pathto('scala.html', 1) }}">Scala Contents</a>
</div>
<div>
{%- if next %}
<span class="divider">|</span> <a href="{{ next.link|e }}">{{ next.title }}</a> <span class="divider">»</span>
{%- endif %}
</div>
</div>
</div>
</div>
</div>
<div class="row">
Expand Down
17 changes: 5 additions & 12 deletions akka-docs/_sphinx/themes/akka/static/docs.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ a:hover { color: #15A9CE; text-decoration: underline; }
.page-title { position: relative; top: 24px; font-family: 'Source Sans Pro', sans-serif; font-size: 24px; font-weight: 400; color: rgba(255, 255, 255, 1); width: 840px;}
.main-container { background: #ffffff; min-height: 600px; padding-top: 20px; margin-top: 28px; }
.pdf-link { float: right; height: 40px; margin-bottom: -15px; margin-top: -5px; }
.breadcrumb { height: 18px; }
.breadcrumb li { float: right; }
.breadcrumb li a { color: #447281; }
.breadcrumb li a:hover { color: #15A9CE; text-decoration: none; }
.breadcrumb li:last-child { float: left; font-weight: bold; }
.breadcrumb { height: 18px; display: flex; justify-content: space-between; }
.breadcrumb div { display: flex; }
.breadcrumb div a { color: #447281; }
.breadcrumb div a:hover { color: #15A9CE; text-decoration: none; }
.breadcrumb input { top: -5px; }
.contents-title { font-weight: bold; font-size: 18px; line-height: 27px; margin-bottom: 6px; color: #0d2428; text-shadow:0 1px 0 #f0fafc; }
div#toc { margin-left: -16px; }
div#toc ul { list-style: none; margin: 0 0 5px 16px; }
Expand Down Expand Up @@ -226,13 +226,6 @@ p.caption { width: 80%; text-align: justify; font-size: 0.95em; font-style: ital
text-decoration: none;
}

.algolia-autocomplete {
display: block;
width: 100%;
height: 100%;
top: -5px;
left: 10px;
}
.algolia-docsearch-footer {
width: 100px;
height: 20px;
Expand Down
2 changes: 1 addition & 1 deletion akka-docs/_sphinx/themes/akka/static/style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 56a3718

Please sign in to comment.