change about button styling when it's clicked

This commit is contained in:
Cristina Cochior 2020-10-29 14:28:28 +01:00
parent 036d9d3be5
commit 9922b7c30a
2 changed files with 4 additions and 0 deletions

View File

@ -459,6 +459,7 @@ button {
border: 0; border: 0;
padding: 0; padding: 0;
z-index: 2; z-index: 2;
background: #f0f0f0;
} }
button:hover { button:hover {

View File

@ -293,11 +293,13 @@ var flag = true;
$("#insert").css("display","block"); $("#insert").css("display","block");
$("#intro").css("display","block"); $("#intro").css("display","block");
$("#howto").css("display","block"); $("#howto").css("display","block");
$("#about").css("background","#ec4e1e");
introflag = false; introflag = false;
} else { } else {
$("#insert").css("display","none"); $("#insert").css("display","none");
$("#intro").css("display","none"); $("#intro").css("display","none");
$("#howto").css("display","none"); $("#howto").css("display","none");
$("#about").css("background","#f0f0f0");
introflag = true; introflag = true;
} }
}); });
@ -305,6 +307,7 @@ var flag = true;
$("#insert").css("display","none"); $("#insert").css("display","none");
$("#intro").css("display","none"); $("#intro").css("display","none");
$("#howto").css("display","none"); $("#howto").css("display","none");
$("#about").css("background","#f0f0f0");
introflag = true; introflag = true;
}); });