Fix API search, links, sidebar style; update panino req version for funcdocs fix
This commit is contained in:
parent
d394552587
commit
8298881fc0
60 changed files with 80 additions and 148 deletions
|
|
@ -481,13 +481,11 @@ ul.tabs .double ul, ul.tabs .triple ul, ul.tabs .quad ul{
|
|||
}
|
||||
|
||||
.content .centerpiece {
|
||||
background: url(../images/sidebar_border.png) repeat-y 180px 0;
|
||||
padding-bottom: 50px;
|
||||
|
||||
}
|
||||
|
||||
header.filler {
|
||||
position: relative;
|
||||
background: #EDF5FA;
|
||||
height: 50px;
|
||||
width: 100%;
|
||||
}
|
||||
|
|
@ -1008,6 +1006,8 @@ height: 100%;
|
|||
{
|
||||
position: relative;
|
||||
min-height: 100%;
|
||||
background: url(../images/sidebar_border.png) repeat-y 400px 0;
|
||||
padding-bottom: 9em;
|
||||
}
|
||||
|
||||
* html #nonFooter
|
||||
|
|
@ -1017,7 +1017,7 @@ height: 100%;
|
|||
|
||||
#wrapper
|
||||
{
|
||||
padding-bottom: 9em;
|
||||
|
||||
}
|
||||
|
||||
#footer
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ $(function () {
|
|||
input.value = "";
|
||||
input.blur();
|
||||
var currentVersion = $('#currentVersion').text();
|
||||
var url = "https://www.google.com/search?q=" + encodeURIComponent("site:nodemanual.org/" + currentVersion + " " + query);
|
||||
var url = "https://www.google.com/search?q=" + encodeURIComponent("site:ace.ajax.org/api" + " " + query);
|
||||
window.open(url);
|
||||
}
|
||||
return false;
|
||||
|
|
@ -60,40 +60,6 @@ $(document).ready(function () {
|
|||
});
|
||||
}
|
||||
|
||||
// force a sticky footer
|
||||
$(window).bind("load", function() {
|
||||
|
||||
var footerHeight = 0,
|
||||
footerTop = 0,
|
||||
$footer = $("#footer");
|
||||
|
||||
positionFooter();
|
||||
|
||||
function positionFooter() {
|
||||
|
||||
footerHeight = $footer.height();
|
||||
footerTop = ($(window).scrollTop()+$(window).height()-footerHeight)+"px";
|
||||
|
||||
if ( ($(document.body).height()+footerHeight) < $(window).height()) {
|
||||
$footer.css({
|
||||
position: "absolute"
|
||||
}).animate({
|
||||
top: footerTop
|
||||
})
|
||||
} else {
|
||||
$footer.css({
|
||||
position: "static"
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
$(window)
|
||||
.scroll(positionFooter)
|
||||
.resize(positionFooter)
|
||||
|
||||
});
|
||||
|
||||
var s, sx;
|
||||
|
||||
// scrolling offset calculation via www.quirksmode.org
|
||||
|
|
|
|||
|
|
@ -48,9 +48,9 @@ mixin navBar
|
|||
|
||||
ul.nav.topLinks
|
||||
li#ace_site
|
||||
a(href='../../index.html') Ace
|
||||
a(href='../index.html') Ace
|
||||
li#ace_api.active
|
||||
a(href='http://ace.ajax.org/api') Ace API Reference
|
||||
a(href='index.html') Ace API Reference
|
||||
form(id='searchbox', action='', class='navbar-search pull-right')
|
||||
input(class='search-query span3', name='query', type='text', placeholder="Search the API", title="Search across all the documentation")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue