diff --git a/app/assets/sass/temporary.scss b/app/assets/sass/temporary.scss index 40bf178..1f17034 100644 --- a/app/assets/sass/temporary.scss +++ b/app/assets/sass/temporary.scss @@ -190,3 +190,9 @@ bansho-host-services-list .subcomponent__live { } + +// AngularJS + +just-gage tspan { + font: 500 1em "Roboto", sans-serif !important; +} diff --git a/app/components/ng-justgage/ng-justgage.js b/app/components/ng-justgage/ng-justgage.js index b8bf364..122e94b 100644 --- a/app/components/ng-justgage/ng-justgage.js +++ b/app/components/ng-justgage/ng-justgage.js @@ -24,6 +24,13 @@ angular.module("ngJustGage", []) min: scope.min, max: scope.max, title: scope.title, + gaugeWidthScale: 0.2, + levelColors: ["#E84C3D", "#E84C3D", "#E84C3D", "#E84C3D", "#E84C3D", + "#E84C3D", "#E84C3D", "#E84C3D", "#E84C3D", "#E84C3D", + "#F9A13B", "#F9A13B", "#F9A13B", "#F9A13B", "#F9A13B", + "#F9A13B", "#F9A13B", "#F9A13B", "#F9A13B", + "#81A854"], + levelColorsGradient: false, value: scope.value, donut: true, symbol: '%'