Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions dev/dest/js/ghostion.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ window.Modernizr=function(a,b,c){function d(a){t.cssText=a}function e(a,b){retur
for(; lastTime < vendors.length && !requestAnimationFrame; lastTime++) {
requestAnimationFrame = window[ vendors[lastTime] + "RequestAnimationFrame" ];
cancelAnimationFrame = cancelAnimationFrame ||
window[ vendors[lastTime] + "CancelAnimationFrame" ] ||
window[ vendors[lastTime] + "CancelAnimationFrame" ] ||
window[ vendors[lastTime] + "CancelRequestAnimationFrame" ];
}

Expand Down Expand Up @@ -167,7 +167,7 @@ window.Modernizr=function(a,b,c){function d(a){t.cssText=a}function e(a,b){retur
window.cancelAnimationFrame = function(id) {
clearTimeout(id);
};

}

}( jQuery ));
Expand Down Expand Up @@ -350,7 +350,7 @@ window.Modernizr=function(a,b,c){function d(a){t.cssText=a}function e(a,b){retur
} else {
var query = Foundation.media_queries[media];
if(query !== undefined) {
Foundation.stylesheet.insertRule('@media ' +
Foundation.stylesheet.insertRule('@media ' +
Foundation.media_queries[media] + '{ ' + rule + ' }');
}
}
Expand Down Expand Up @@ -906,8 +906,8 @@ window.Modernizr=function(a,b,c){function d(a){t.cssText=a}function e(a,b){retur
touch_close_text: 'Tap To Close',
disable_for_touch: false,
tip_template : function (selector, content) {
return '<span data-selector="' + selector + '" class="'
+ Foundation.libs.tooltip.settings.tooltip_class.substring(1)
return '<span data-selector="' + selector + '" class="'
+ Foundation.libs.tooltip.settings.tooltip_class.substring(1)
+ '">' + content + '<span class="nub"></span></span>';
}
},
Expand All @@ -924,7 +924,7 @@ window.Modernizr=function(a,b,c){function d(a){t.cssText=a}function e(a,b){retur
if (Modernizr.touch) {
$(this.scope)
.off('.tooltip')
.on('click.fndtn.tooltip touchstart.fndtn.tooltip touchend.fndtn.tooltip',
.on('click.fndtn.tooltip touchstart.fndtn.tooltip touchend.fndtn.tooltip',
'[data-tooltip]', function (e) {
var settings = $.extend({}, self.settings, self.data_options($(this)));
if (!settings.disable_for_touch) {
Expand All @@ -933,15 +933,15 @@ window.Modernizr=function(a,b,c){function d(a){t.cssText=a}function e(a,b){retur
self.showOrCreateTip($(this));
}
})
.on('click.fndtn.tooltip touchstart.fndtn.tooltip touchend.fndtn.tooltip',
.on('click.fndtn.tooltip touchstart.fndtn.tooltip touchend.fndtn.tooltip',
this.settings.tooltip_class, function (e) {
e.preventDefault();
$(this).fadeOut(150);
});
} else {
$(this.scope)
.off('.tooltip')
.on('mouseenter.fndtn.tooltip mouseleave.fndtn.tooltip',
.on('mouseenter.fndtn.tooltip mouseleave.fndtn.tooltip',
'[data-tooltip]', function (e) {
var $this = $(this);

Expand Down Expand Up @@ -1008,7 +1008,7 @@ window.Modernizr=function(a,b,c){function d(a){t.cssText=a}function e(a,b){retur
nub = tip.children('.nub');
nubHeight = nub.outerHeight();
nubWidth = nub.outerHeight();

tip.css({'width' : (width) ? width : 'auto'});

objPos = function (obj, top, right, bottom, left, width) {
Expand Down Expand Up @@ -3500,4 +3500,4 @@ hljs.registerLanguage("makefile", function (a) {
$(".at_search_input").ghostHunter({results: ".at_search_results", onKeyUp: true, info_template: "<span class='at_search_clear_toggle'>&#215;</span> <span class='at_search_results_amount'>Number of posts found: {{amount}}</span><span class='clearfix'></span>", result_template : "<span><a href='{{link}}'><span class='at_search_results_title'>{{title}}</span></a></span>"});
$("#at_search").on('click', '.at_search_clear_toggle', function(e) {e.preventDefault();$(".at_search_input").val('');$(".at_search_results").removeClass("at_search_active");});
});
}(jQuery));
}(jQuery));
2 changes: 1 addition & 1 deletion dev/src/js/disqus.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ atPost.loadDisqus = function() {
dsq.async = true;
dsq.src = '//' + ghostionConfig.disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
};
};
2 changes: 1 addition & 1 deletion dev/src/js/ghosthunter.js

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

2 changes: 1 addition & 1 deletion dev/src/js/google_analytics.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', ghostionConfig.google_analytics_tracking_id, ghostionConfig.site_url);
ga('send', 'pageview');
ga('send', 'pageview');
2 changes: 1 addition & 1 deletion dev/src/js/google_fonts.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ WebFontConfig = {
wf.async = 'true';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(wf, s);
})();
})();
2 changes: 1 addition & 1 deletion dev/src/js/highlight.js
Original file line number Diff line number Diff line change
Expand Up @@ -2172,4 +2172,4 @@ hljs.registerLanguage("makefile", function (a) {
c: [a.QSM, b]
}]
}
});
});
4 changes: 2 additions & 2 deletions dev/src/js/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
$(document).ready(function(){
$(".at_block").fitVids();
$("pre code").each(function(i, e) {hljs.highlightBlock(e)});
$("#at_body").wrap( "<div class='off-canvas-wrap'><div class='inner-wrap'></div></div>" ).append("<a class='at_off_canvas_toggle left-off-canvas-toggle'><span class='fa fa-bars'></span></a><a class='exit-off-canvas'></a>");
$("#at_body").wrap( "<div class='off-canvas-wrap'><div class='inner-wrap'></div></div>" ).append("<a class='at_off_canvas_toggle left-off-canvas-toggle' href='#'><span class='fa fa-bars'></span></a><a class='exit-off-canvas'></a>");
$(".at_search_input").ghostHunter({results: ".at_search_results", onKeyUp: true, info_template: "<span class='at_search_clear_toggle'>&#215;</span> <span class='at_search_results_amount'>Number of posts found: {{amount}}</span><span class='clearfix'></span>", result_template : "<span><a href='{{link}}'><span class='at_search_results_title'>{{title}}</span></a></span>"});
$("#at_search").on('click', '.at_search_clear_toggle', function(e) {e.preventDefault();$(".at_search_input").val('');$(".at_search_results").removeClass("at_search_active");});
});
}(jQuery));
}(jQuery));
2 changes: 1 addition & 1 deletion dev/src/scss/ghostion.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@
//*-----------------------------------------
@import "theme/style";
@import "theme/ghost";
@import "theme/widgets";
@import "theme/widgets";
2 changes: 1 addition & 1 deletion dev/src/scss/theme/_ghost.scss
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,4 @@
padding: 5px;
border-radius: 100%;
}
}
}
2 changes: 1 addition & 1 deletion dev/src/scss/theme/_style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -256,4 +256,4 @@ ul.off-canvas-list {
> .nub {
border-color: transparent transparent rgba(0, 0, 0, 0.8);
}
}
}
2 changes: 1 addition & 1 deletion dev/src/scss/theme/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ $featured_label_color: #F4C445;
//*-----------------------------------------
$base_font_family: "Open Sans", sans-serif;
$base_font_size: 16px;
$base_line_height: 1.6;
$base_line_height: 1.6;
2 changes: 1 addition & 1 deletion dev/src/scss/theme/_widgets.scss
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,4 @@
position: absolute;
top: 0;
width: 100%;
}
}
2 changes: 1 addition & 1 deletion ghostion.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ done
if ["$1" == ""]; then
echo "$(tput setaf 1)[AxianTheme] Please pass the available parameters$(tput sgr 0)\n"
usage
fi
fi
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,4 @@ gulp.task('develop', function() {
// Main Task: Release
gulp.task('release', ['zip'], function() {
gulp.start('move_zip', 'clean_tmp');
});
});
2 changes: 1 addition & 1 deletion packages/theme/default.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@
</script>
<script src="/assets/js/ghostion.min.js"></script>
</body>
</html>
</html>
4 changes: 2 additions & 2 deletions packages/theme/partials/all_page/at_off_canvas.hbs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="left-off-canvas-menu">
<aside class="left-off-canvas-menu">
<ul class="off-canvas-list">
<li><label>Main Menu</label></li>
<li><a class="at_menu_item" href="{{@blog.url}}"><span class="fa fa-home"></span> Home</a></li>
Expand All @@ -8,4 +8,4 @@
<li><a class="at_menu_item" href="{{@blog.url}}/faq"><span class="fa fa-question-circle"></span> FAQ</a></li>
<li><a class="at_menu_item" href="https://github.com/axiantheme/ghostion/archive/master.zip"><span class="fa fa-cloud-download"></span> Download</a></li>
</ul>
</div>
</aside>