More encompassing Spotify status indicator

This commit is contained in:
James Barnsley
2017-09-11 08:24:48 +12:00
parent 46e436b666
commit f625bfd3ca
5 changed files with 64 additions and 57 deletions

View File

@ -339,48 +339,6 @@ footer {
}
}
.has-tooltip {
position: relative;
.tooltip {
@include animate();
opacity: 0;
position: absolute;
pointer-events: none;
background: $overlay_dark;
display: block;
max-width: 200px;
padding: 5px;
color: $white;
font-size: 11px;
line-height: 11px;
top: -24px;
left: 1px;
z-index: 97;
border-radius: 3px;
&::before {
content: '';
display: block;
width: 6px;
height: 6px;
background: $overlay_dark;
-ms-transform: rotate(45deg);
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
position: absolute;
bottom: -3px;
left: 9px;
}
}
&:hover {
.tooltip {
opacity: 1;
top: -22px;
}
}
}
@include responsive( $bp_medium ){