adding search bar to appz
This commit is contained in:
@@ -50,11 +50,22 @@ class Home extends Shadow {
|
||||
|
||||
a("/signout", "Sign Out")
|
||||
.position("fixed")
|
||||
.top("2em")
|
||||
.top("3em")
|
||||
.right("2em")
|
||||
.background("var(--tan)")
|
||||
.color("var(--red)")
|
||||
.background("transparent")
|
||||
.border("1px solid var(--tan)")
|
||||
.color("var(--tan)")
|
||||
.borderRadius(5, px)
|
||||
.onHover(function (hovering) {
|
||||
console.log('hovering', hovering, this)
|
||||
if(hovering) {
|
||||
this.style.background = "var(--tan)"
|
||||
this.style.color = "black"
|
||||
} else {
|
||||
this.style.background = ""
|
||||
this.style.color = "var(--tan)"
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user