From 8584be092441b6d16460f8e95c82d5f4fa228a0f Mon Sep 17 00:00:00 2001 From: ivan Date: Sun, 15 Jan 2017 20:10:02 -0300 Subject: [PATCH] Max Red - Changed colors [skip ci] --- client/src/app-components/stats-chart.js | 10 +++++----- client/src/app-components/stats.js | 3 --- client/src/app-components/stats.scss | 1 + 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/client/src/app-components/stats-chart.js b/client/src/app-components/stats-chart.js index 9b0d9111..f50d2d71 100644 --- a/client/src/app-components/stats-chart.js +++ b/client/src/app-components/stats-chart.js @@ -28,11 +28,11 @@ class StatsChart extends React.Component { let labels = this.getLabels(); let color = { - 'CLOSE': 'rgba(150, 20, 20, 0.8)', - 'CREATE_TICKET': 'rgba(20, 150, 20, 0.8)', - 'SIGNUP': 'rgba(20, 20, 150, 0.8)', - 'COMMENT': 'rgba(20, 200, 200, 0.8)', - 'ASSIGN': 'rgba(200, 200, 20, 0.8)' + 'CLOSE': 'rgba(150, 20, 20, 0.6)', + 'CREATE_TICKET': 'rgba(20, 150, 20, 0.6)', + 'SIGNUP': 'rgba(20, 20, 150, 0.6)', + 'COMMENT': 'rgba(20, 200, 200, 0.6)', + 'ASSIGN': 'rgba(20, 150, 20, 0.6)' }; let datasets = []; diff --git a/client/src/app-components/stats.js b/client/src/app-components/stats.js index c112cd7f..e0b84f42 100644 --- a/client/src/app-components/stats.js +++ b/client/src/app-components/stats.js @@ -146,9 +146,6 @@ class Stats extends React.Component { API.call({ path: '/system/get-stats', data: this.getApiCallData(periodName) - /*data: { - period: periodName - }*/ }).then(this.onRetrieveSuccess.bind(this, period)); } diff --git a/client/src/app-components/stats.scss b/client/src/app-components/stats.scss index f7539577..c1557e9e 100644 --- a/client/src/app-components/stats.scss +++ b/client/src/app-components/stats.scss @@ -9,6 +9,7 @@ &__toggle-list { margin-bottom: 20px; + user-select: none; &-item {