Add tooltip about highlight feature

This commit is contained in:
Ajay Ramachandran
2021-08-20 03:54:49 -04:00
parent b3336a218e
commit d089e43b8a
7 changed files with 131 additions and 4 deletions

View File

@@ -518,4 +518,25 @@ input::-webkit-inner-spin-button {
bottom: 0px;
display: block;
margin: auto;
}
.sponsorBlockTooltip {
position: absolute;
background-color: rgba(28, 28, 28, 0.7);
border-radius: 5px;
padding: 10px;
max-width: 300px;
white-space: normal;
line-height: 1.5em;
}
.sponsorBlockTooltip::after {
content: " ";
position: absolute;
top: 100%;
left: 15%;
margin-left: -15px;
border-width: 15px;
border-style: solid;
border-color: rgba(28, 28, 28, 0.7) transparent transparent transparent;
}