added installer download option

- new download card
- added buttons for each release file
- improved general responsiveness
This commit is contained in:
Hendrik authored and Florian Küpper committed 2017-09-01 20:12:58 +02:00
1 parent d026cff3e6
commit f40e3ed4ea
9 files changed
+1136 -1919

No files matched your search

+38 -1
View File
@@ -2,6 +2,43 @@
//Use .swipebox class
(function($) {
$('.swipebox').swipebox();
$(".swipebox").swipebox();
})(jQuery);
//Download Cards
function showCard(card) {
card.addClass("animated flipInY").removeClass("flipOutY hidden");
}
function hideCard(card) {
card.addClass("flipOutY").removeClass("flipInY");
}
// Nightlies
$(".dark-bg .btnDownload").click(function() {
showCard($(".dark-bg .card-overlay"));
});
$(".dark-bg .card-overlay .close-icon").click(function () {
hideCard($(".dark-bg .card-overlay"));
});
// Pre Release
$(".red-bg .btnDownload").click(function() {
showCard($(".red-bg .card-overlay"));
});
$(".red-bg .card-overlay .close-icon").click(function () {
hideCard($(".red-bg .card-overlay"));
});
// Stable
$(".blue-bg .btnDownload").click(function() {
showCard($(".blue-bg .card-overlay"));
});
$(".blue-bg .card-overlay .close-icon").click(function () {
hideCard($(".blue-bg .card-overlay"));
});