v0 ninegate
Some checks failed
Cadoles/nineskeletor/pipeline/head There was a failure building this commit

This commit is contained in:
2023-01-10 11:13:28 +01:00
parent cedd6bfcec
commit 88cfeae266
273 changed files with 7828 additions and 16 deletions

View File

@ -30,9 +30,35 @@ $(document).ready(function() {
$("#"+$(this).data("modalid")).modal("show");
});
// Item
$( ".item" ).hover(function() {
$(this).find(".item-action a").show();
});
$( ".item" ).mouseleave(function() {
$(this).find(".item-action a").hide();
});
$( ".item-info" ).click(function() {
parent=$(this).parent().parent().parent().parent().parent();
if(parent.find(".item-description").hasClass("hide")) {
parent.find(".item-description").removeClass("hide");
parent.addClass("w-100");
parent.css("justify-content","flex-start");
}
else {
parent.find(".item-description").addClass("hide");
parent.removeClass("w-100");
if(parent.hasClass("item-large"))
parent.css("justify-content","flex-start");
else
parent.css("justify-content","center");
}
});
// Resize
resize();
// Focus
$("#page").focus();
@ -43,6 +69,7 @@ $( window ).resize(function() {
});
function resize() {
if($("#header").is(":visible")){
$(".navbar-logo").hide();