Add tooltips, pointer style, and change CE class name
This commit is contained in:
parent
e8d3e81d68
commit
8ceafac46f
3 changed files with 26 additions and 5 deletions
12
style.css
12
style.css
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue