mirror of
https://github.com/ae-utbm/sith.git
synced 2025-05-28 21:26:54 +00:00
26 lines
460 B
SCSS
26 lines
460 B
SCSS
@import "colors";
|
|
|
|
.tooltip {
|
|
@include shadow;
|
|
z-index: 1;
|
|
pointer-events: none;
|
|
background-color: #333;
|
|
color: #fff;
|
|
border: 0.5px solid hsl(0, 0%, 50%);
|
|
border-radius: 5px;
|
|
padding: 5px 10px;
|
|
position: absolute;
|
|
white-space: nowrap;
|
|
opacity: 0;
|
|
transition: opacity 500ms ease-out;
|
|
position: absolute;
|
|
width: max-content;
|
|
|
|
left: 0;
|
|
top: 0;
|
|
}
|
|
|
|
.tooltip[tooltip-status=open] {
|
|
opacity: 1;
|
|
transition: opacity 500ms ease-in;
|
|
} |