Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 6 additions & 10 deletions src/css/plot_styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ div.d3chart.WaffleChart {
}

div.d3chart .axis {
font-size: 1.6em;
font-size: 0.9em;
}

/* axis color */
Expand Down Expand Up @@ -321,20 +321,16 @@ div.d3chart svg .Cement[class*='Integrated facility'] {
fill: #c1b358;
}

div.d3chart svg .Steel[class*='Ac-Electric Arc Furnace'] {
fill: #a63d57;
div.d3chart svg .Steel[class*='Electric Arc Furnace'] {
fill: #dbb1bb;
}
Comment on lines +324 to 326
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NB (and not so related to this PR):
We should probably add logging in case the technology types input to the dashboard are not considered in plot_styles.css. I don't have a better way of doing this in mind, but can imagine that it might lead to some odd bugs in case data isn't as expected, and at the very least we should make it easy for ourselves to debug

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can probably just make that comment into a new issue.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added an issue


div.d3chart svg .Steel[class*='Bof Shop'] {
div.d3chart svg .Steel[class*='Open Hearth Furnace'] {
fill: #c98a9a;
}

div.d3chart svg .Steel[class*='Dc-Electric Arc Furnace'] {
fill: #b76378;
}

div.d3chart svg .Steel[class*='Open Hearth Meltshop'] {
fill: #dbb1bb;
div.d3chart svg .Steel[class*='Basic Oxygen Furnace'] {
fill: #a63d57;
}

div.d3chart svg .Shipping[class*='A Grade'] {
Expand Down
Loading
Loading