Commit 0d1d7d82 authored by amarcic's avatar amarcic
Browse files

highlight css: adjusted so highlight classes for different elements can be defined

parent 5f8b2db2
......@@ -81,7 +81,7 @@ export const Histogram = (props) => {
enter.append("rect")).attr("class", value =>
value.values.some( id =>
input.highlightedObjects.indexOf(id) > -1 )
? "bar highlighted"
? "bar highlight"
: "bar")
//.attr("y", value => y(value.values.length))
.attr("y", height*-1)
......
......@@ -181,7 +181,7 @@ export const TimelineChart = (props) => {
value.items.map( item =>
item.id ).some( id =>
input.highlightedObjects.indexOf(id) >-1 )
? "bar highlighted"
? "bar highlight"
: "bar")
.attr("fill", value => colorScale(value.items.length))
/*.attr("stroke", value => highlighted.objects.some( id =>
......
......@@ -20,7 +20,7 @@
background-color: #1c9489 !important;
color: #fff !important;
}
.highlighted {
.highlight.bar {
stroke: pink;
stroke-width: 2;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment