fade-in tooltips, like uBO

pull/2/head
xofe 7 years ago
parent e6a0379e54
commit d4c0c1747b

@ -55,6 +55,10 @@ body[dir="rtl"] {
position: relative;
cursor: pointer;
}
*[data-i18n-tip]:after {
content: "";
opacity: 0;
}
*[data-i18n-tip]:hover:after {
background-color: #fffffa;
border: 1px solid gray;
@ -65,10 +69,14 @@ body[dir="rtl"] {
font: 12px sans-serif;
line-height: 140%;
min-width: 25vw;
opacity: 1;
padding: 4px 6px;
pointer-events: none;
position: absolute;
text-align: start;
top: 110%;
-webkit-transition: opacity 0.15s 0.5s;
transition: opacity 0.15s 0.5s;
white-space: pre-line;
z-index: 20;
}

Loading…
Cancel
Save