Adding last sync tooltip

This commit is contained in:
Félix Aime
2021-06-11 15:45:57 +02:00
parent b8bed722dc
commit 601450d9fd
3 changed files with 35 additions and 10 deletions

View File

@ -678,8 +678,9 @@ h4, h5 {
color: #FFF;
font-size: 11px;
border-radius: 3px;
padding:3px;
padding:3px 6px 3px 6px;
text-transform: uppercase;
cursor: help;
}
.misp-online {
@ -687,8 +688,9 @@ h4, h5 {
color: #FFF;
font-size: 11px;
border-radius: 3px;
padding:3px;
padding:3px 6px 3px 6px;
text-transform: uppercase;
cursor: help;
}
.misp-name {
font-size: 1rem;
@ -752,4 +754,27 @@ h4, h5 {
margin-left: -.8rem;
margin-top: -.8rem;
width: 1.6rem;
}
.tooltip::after{
background:rgba(48,55,66,.95);
border-radius:3px;
bottom:100%;
color:#fff;
content:attr(data-tooltip);
display:block;
font-size: 11px;
text-transform: capitalize;
left:50%;
max-width:320px;
opacity:0;
overflow:hidden;
padding:3px 6px 3px 6px;
pointer-events:none;
position:absolute;
text-overflow:ellipsis;
transform:translate(-50%,.4rem);
transition:opacity .2s,transform .2s;
white-space:pre;
z-index:300
}