2013-03-15, 05:27:10
The only thing I know that for sure might be an issue is footer styles might be inherited, since the js moved it from footer to body. JS also adds the margins to push the content down.
It has its own reset css, but it cannot cover every possibly thing a theme might have styled.
Code:
$('body').append($('#sa_toolbar')); // prevents inheriting styles from #footer
$('ul#pill').hide(); // hide backend header
if ( $('#sa_toolbar').length > 0 ) {
$('body').addClass('gs-toolbar'); // for special theme styling when toolbar is present, body.gs-toolbar elements{}
// add margin to body to push down content
bodytop = $('body').csspixels('margin-top');
$('body').css('margin-top', (bodytop+28)+'px'); //todo: make the height dynamic based on navbar css
It has its own reset css, but it cannot cover every possibly thing a theme might have styled.