Add support for non-list tooltips in charts

This commit is contained in:
Michael Lange
2018-09-07 09:57:54 -07:00
parent 5b927d3654
commit dc63be2a8f

View File

@@ -53,40 +53,47 @@
ol {
list-style: none;
}
li {
display: flex;
flex-flow: row;
flex-wrap: nowrap;
justify-content: space-between;
padding: 0.25rem 0.5rem;
ol > li,
p {
display: flex;
flex-flow: row;
flex-wrap: nowrap;
justify-content: space-between;
padding: 0.25rem 0.5rem;
span {
display: inline-block;
span {
display: inline-block;
}
.label {
font-weight: $weight-bold;
color: $black;
margin: 0;
&.is-empty {
color: rgba($grey, 0.6);
}
}
}
ol > li {
.label {
color: rgba($black, 0.6);
}
&.active {
color: $black;
background: $white-ter;
.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;
}
+ li {
border-top: 1px solid $grey-light;
}
}
}