2017-09-19 14:47:10 +00:00
|
|
|
.chart {
|
|
|
|
position: relative;
|
|
|
|
|
2017-10-03 17:57:13 +00:00
|
|
|
.chart-tooltip {
|
2017-09-19 14:47:10 +00:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
display: none;
|
|
|
|
background: $white;
|
|
|
|
color: rgba($black, 0.6);
|
|
|
|
border: 1px solid $grey;
|
|
|
|
min-width: 150px;
|
|
|
|
margin-top: -10px;
|
|
|
|
transform: translate(-50%, -100%);
|
|
|
|
transition: 0.2s top ease-out, 0.2s left ease-out;
|
|
|
|
pointer-events: none;
|
|
|
|
z-index: $z-tooltip;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
pointer-events: none;
|
|
|
|
display: inline-block;
|
2018-01-11 19:37:54 +00:00
|
|
|
content: '';
|
2017-09-19 14:47:10 +00:00
|
|
|
width: 0;
|
|
|
|
height: 0;
|
|
|
|
border-top: 7px solid $grey;
|
|
|
|
border-right: 7px solid transparent;
|
|
|
|
border-left: 7px solid transparent;
|
|
|
|
position: absolute;
|
|
|
|
transform: translateX(-7px);
|
|
|
|
left: 50%;
|
|
|
|
bottom: -8px;
|
2017-10-03 17:57:13 +00:00
|
|
|
z-index: $z-tooltip;
|
2017-09-19 14:47:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
pointer-events: none;
|
|
|
|
display: inline-block;
|
2018-01-11 19:37:54 +00:00
|
|
|
content: '';
|
2017-09-19 14:47:10 +00:00
|
|
|
width: 0;
|
|
|
|
height: 0;
|
|
|
|
border-top: 6px solid $white;
|
|
|
|
border-right: 6px solid transparent;
|
|
|
|
border-left: 6px solid transparent;
|
|
|
|
position: absolute;
|
|
|
|
transform: translateX(-6px);
|
|
|
|
left: 50%;
|
|
|
|
bottom: -6px;
|
2017-10-03 17:57:13 +00:00
|
|
|
z-index: $z-tooltip;
|
2017-09-19 14:47:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
ol {
|
|
|
|
list-style: none;
|
|
|
|
|
|
|
|
li {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row;
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
justify-content: space-between;
|
|
|
|
padding: 0.25rem 0.5rem;
|
|
|
|
|
|
|
|
span {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.label {
|
|
|
|
font-weight: $weight-bold;
|
|
|
|
color: rgba($black, 0.6);
|
|
|
|
margin: 0;
|
|
|
|
|
|
|
|
&.is-empty {
|
|
|
|
color: rgba($grey, 0.6);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
color: $black;
|
|
|
|
background: $white-ter;
|
|
|
|
|
|
|
|
.label {
|
|
|
|
color: $black;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
+ li {
|
|
|
|
border-top: 1px solid $grey-light;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|