koel/resources/assets/sass/partials/_tooltip.scss

37 lines
647 B
SCSS

.tooltip {
opacity: 0;
color: rgba(255, 255, 255, .8);
width: max-content;
position: absolute;
top: 0;
left: 0;
background: #111;
padding: 5px 12px;
border-radius: 4px;
pointer-events: none;
filter: drop-shadow(0px 1px 1px rgba(0, 0, 0, .3));
z-index: 9999;
&.show {
opacity: 1;
transition: opacity .5s ease-in-out;
transition-delay: .3s;
}
&-arrow {
position: absolute;
background: #111;
width: 8px;
height: 8px;
transform: rotate(45deg);
}
@media (hover: none) {
display: none !important;
}
@media screen and (max-width: 768px) {
display: none !important;
}
}