added user tooltip

This commit is contained in:
t.ruspekhofer 2022-03-16 22:55:21 +01:00
parent 408f09f650
commit 0131f7c499
2 changed files with 47 additions and 8 deletions

View file

@ -0,0 +1,35 @@

.nametooltip {
position: relative;
display: inline-block;
border-bottom: 1px dotted black;
}
.nametooltip .tooltiptext {
visibility: hidden;
width: 120px;
background-color: black;
color: #fff;
text-align: center;
border-radius: 6px;
padding: 5px 0;
position: absolute;
z-index: 1;
top: -5px;
right: 110%;
}
.nametooltip .tooltiptext::after {
content: "";
position: absolute;
top: 50%;
left: 100%;
margin-top: -5px;
border-width: 5px;
border-style: solid;
border-color: transparent transparent transparent black;
}
.nametooltip:hover .tooltiptext {
visibility: visible;
}