platform/static/assets/scss/volt/components/_tooltip.scss
Administrator 9e7fc7b4c1 initial
2023-09-23 16:13:11 +03:00

43 lines
800 B
SCSS

// Wrapper for the tooltip content
.tooltip-inner {
@include box-shadow($box-shadow);
}
.chartist-tooltip {
position: absolute;
display: inline-block;
opacity: 0;
min-width: 5em;
padding: .5em;
background: $gray-100;
border: 1px solid $gray-100;
border-radius: $border-radius;
color: $dark;
font-weight: $font-weight-bold;
text-align: center;
pointer-events: none;
z-index: 1;
transition: $transition-base;
}
.chartist-tooltip:before {
content: "";
position: absolute;
top: 100%;
left: 50%;
width: 0;
height: 0;
margin-left: -15px;
border: 15px solid transparent;
border-top-color: $gray-100;
}
.chartist-tooltip.tooltip-show {
opacity: 1;
}
.ct-area, .ct-line {
pointer-events: none;
}