home hover improvements, docs
This commit is contained in:
@@ -479,11 +479,12 @@
|
||||
cMetadata.children(".categories, .postedon").addClass("transparent")
|
||||
|
||||
//animate border
|
||||
cMetadata.stop().animate({ height: "25rem" }, _ => {
|
||||
cMetadata.stop().animate({ height: "25rem" },400, _ => {
|
||||
//hide metadata
|
||||
cMetadata.children(".categories, .postedon").hide().removeClass("transparent")
|
||||
cMetadata.children(".alcim, .bevezeto").show().removeClass("transparent")
|
||||
})
|
||||
|
||||
|
||||
}, function () {
|
||||
let cc = $(this)
|
||||
@@ -502,7 +503,7 @@
|
||||
cMetadata.children(".alcim, .bevezeto").addClass("transparent")
|
||||
|
||||
//animate height change
|
||||
cMetadata.stop().animate({ height: "10rem" }, _ => {
|
||||
cMetadata.stop().animate({ height: "10rem" },400, _ => {
|
||||
//hide and show metadata
|
||||
cMetadata.children(".alcim, .bevezeto").hide().removeClass("transparent")
|
||||
cMetadata.children(".categories, .postedon").removeClass("transparent").show()
|
||||
|
||||
Reference in New Issue
Block a user