Add tooltips, pointer style, and change CE class name

This commit is contained in:
lolabird 2023-12-28 11:22:22 -07:00
commit 8ceafac46f
3 changed files with 26 additions and 5 deletions

View file

@ -56,7 +56,9 @@ button {
width: 100px;
font-size: 50px;
border-color: #eee;
border-radius: 5px;
box-shadow: 1px 2px 10px 1px #222;
cursor: pointer;
}
button:hover {
@ -69,6 +71,16 @@ button:active, .active {
box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3);
}
.tooltip .tooltiptext {
visibility: hidden;
position: absolute;
z-index: 1;
}
.tooltip:hover .tooltiptext, .tooltip:focus .tooltiptext {
visibility: visible;
opacity: 1;
}
.num, .plus-minus {
background: #d9e1f2;
}