diff --git a/app/assets/stylesheets/dashboard.scss b/app/assets/stylesheets/dashboard.scss index 2dcb863a..946215c6 100644 --- a/app/assets/stylesheets/dashboard.scss +++ b/app/assets/stylesheets/dashboard.scss @@ -4,3 +4,7 @@ @extend .font-bitter; @extend .weight-700; } + +.graph-footer { + font-family: 'Cabin', sans-serif; +} diff --git a/app/views/dashboard/_measure_bar_graph.erb b/app/views/dashboard/_measure_bar_graph.erb index 540366f7..99dcff45 100644 --- a/app/views/dashboard/_measure_bar_graph.erb +++ b/app/views/dashboard/_measure_bar_graph.erb @@ -1,12 +1,31 @@
<% heading_gutter = 30 %> + <% footer_gutter = 50 %> <% measure_row_height = 40 %> - <% graph_height = measure_graph_row_presenters.length * measure_row_height + heading_gutter %> + <% graph_height = measure_graph_row_presenters.length * measure_row_height + heading_gutter + footer_gutter %> + <% graph_background_height = graph_height - footer_gutter %> <% measure_row_bar_height = 20 %> <% label_padding_right = 24 %> + xmlns="http://www.w3.org/2000/svg"> - + + + + + + + + + + + + + + + + + > text-anchor="middle" dominant-baseline="middle">Warning text-anchor="middle" dominant-baseline="middle">Watch @@ -16,11 +35,11 @@ - fill-opacity="0.2" /> - fill-opacity="0.2" /> - fill-opacity="0.2" /> - fill-opacity="0.2" /> - fill-opacity="0.2" /> + opacity="0.2" filter="url(#inset-shadow)"/> + opacity="0.2" filter="url(#inset-shadow)"/> + opacity="0.2" filter="url(#inset-shadow)"/> + opacity="0.2" filter="url(#inset-shadow)"/> + opacity="0.2" filter="url(#inset-shadow)"/> @@ -39,5 +58,9 @@ <% end %> + + + >Benchmark +