diff --git a/app/assets/stylesheets/dashboard.scss b/app/assets/stylesheets/dashboard.scss index ad967f21..ca1d2739 100644 --- a/app/assets/stylesheets/dashboard.scss +++ b/app/assets/stylesheets/dashboard.scss @@ -72,26 +72,14 @@ stroke: $black; } -.harvey-ball--ideal { +.harvey-ball--approval, .harvey-ball--ideal { fill: $purple; } -.harvey-ball--approval { - fill: $purple; -} - -.harvey-ball--growth { - fill: $gold; -} - -.harvey-ball--watch { +.harvey-ball--warning, .harvey-ball--watch, .harvey-ball--growth { fill: $gold; } -.harvey-ball--warning { - fill: $white; -} - .harvey-ball--insufficient_data { stroke: $gray-2; fill: $gray-3; diff --git a/app/presenters/subcategory_card_presenter.rb b/app/presenters/subcategory_card_presenter.rb index b97f39bb..bc7458ba 100644 --- a/app/presenters/subcategory_card_presenter.rb +++ b/app/presenters/subcategory_card_presenter.rb @@ -8,15 +8,7 @@ class SubcategoryCardPresenter end def harvey_ball_icon - icons_by_zone_type = { - ideal: "full-circle", - approval: "three-quarter-circle", - growth: "half-circle", - watch: "one-quarter-circle", - warning: "full-circle", - insufficient_data: "full-circle" - } - icons_by_zone_type[zone.type] + "#{zone.type}-harvey-ball" end def color diff --git a/app/views/dashboard/_quality_framework_indicators.erb b/app/views/dashboard/_quality_framework_indicators.erb index 8d592470..7ddfebb1 100644 --- a/app/views/dashboard/_quality_framework_indicators.erb +++ b/app/views/dashboard/_quality_framework_indicators.erb @@ -1,7 +1,7 @@