mirror of
https://github.com/koel/koel
synced 2024-12-20 17:43:36 +00:00
36 lines
646 B
SCSS
36 lines
646 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;
|
|
}
|
|
}
|