add custom chartjs tooltip
This commit is contained in:
@@ -1,3 +1,27 @@
|
||||
// Chart.js styles
|
||||
#chartjs-tooltip {
|
||||
/* max z-index value */
|
||||
z-index: 2147483647;
|
||||
opacity: 0;
|
||||
position: absolute;
|
||||
background: rgba(0, 0, 0, .7);
|
||||
color: white;
|
||||
border-radius: 3px;
|
||||
-webkit-transition: opacity .3s ease;
|
||||
transition: opacity .3s ease;
|
||||
pointer-events: none;
|
||||
-webkit-transform: translate(-50%, 0);
|
||||
transform: translate(-50%, 0);
|
||||
}
|
||||
|
||||
.chartjs-tooltip-key {
|
||||
display: inline-block;
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
|
||||
// Custom Theming for Angular Material
|
||||
// For more information: https://material.angular.io/guide/theming
|
||||
@import '~@angular/material/theming';
|
||||
|
||||
Reference in New Issue
Block a user