@@ -33,63 +33,23 @@ canvas {
3333 font-weight : $font-weight-bold ;
3434 }
3535
36- // .tooltip-body {}
3736 .tooltip-body-item {
3837 display : flex ;
3938 align-items : center ;
4039 font-size : $font-size-sm ;
4140 white-space : nowrap ;
4241 }
4342
43+ .tooltip-body-item-color {
44+ display : inline-block ;
45+ width : $font-size-base ;
46+ height : $font-size-base ;
47+ margin-right : $font-size-base ;
48+ }
49+
4450 .tooltip-body-item-value {
4551 padding-left : $spacer ;
4652 margin-left : auto ;
4753 font-weight : $font-weight-bold ;
4854 }
4955}
50-
51- .chartjs-tooltip-key {
52- display : inline-block ;
53- width : $font-size-base ;
54- height : $font-size-base ;
55- margin-right : $font-size-base ;
56- }
57- // .chartjs-tooltip {
58- // position: absolute;
59- // z-index: $zindex-sticky + 1;
60- // display: flex;
61- // flex-direction: column;
62- // padding: ($spacer * .25) ($spacer * .5);
63- // color: $text-muted;
64- // pointer-events: none;
65- // background: #fff;
66- // border: 1px solid $border-color;
67- // opacity: 0;
68- // transition: all .1s ease;
69- // transform: translate(-50%, 0);
70- // @include border-radius($border-radius);
71- //
72- // .tooltip-header {
73- // margin-bottom: ($spacer * .5);
74- // }
75- //
76- // .tooltip-header-item {
77- // font-size: $font-size-sm;
78- // font-weight: $font-weight-bold;
79- // }
80- //
81- // // .tooltip-body {}
82- // .tooltip-body-item {
83- // display: flex;
84- // align-items: center;
85- // font-size: $font-size-sm;
86- // white-space: nowrap;
87- // }
88- // }
89- //
90- // .chartjs-tooltip-key {
91- // display: inline-block;
92- // width: $font-size-base;
93- // height: $font-size-base;
94- // margin-right: $font-size-base;
95- // }
0 commit comments