From f375f936d896a0959958bf98c6f67e5f5716cbc6 Mon Sep 17 00:00:00 2001 From: nixa <4dmitr@gmail.com> Date: Wed, 11 May 2016 12:19:13 +0300 Subject: [PATCH] chartist styles fixes --- .../components/chartistJs/chartistJs.html | 8 ++++---- .../components/chartistJs/chartistJs.scss | 18 ++++++++++++++++++ 2 files changed, 22 insertions(+), 4 deletions(-) diff --git a/src/app/pages/charts/components/chartistJs/chartistJs.html b/src/app/pages/charts/components/chartistJs/chartistJs.html index 66700208..761032e2 100644 --- a/src/app/pages/charts/components/chartistJs/chartistJs.html +++ b/src/app/pages/charts/components/chartistJs/chartistJs.html @@ -1,7 +1,7 @@ -
+
- +
Simple line chart
Line chart with area
@@ -12,7 +12,7 @@
- +
Simple bar chart
Multi-line labels bar chart
@@ -25,7 +25,7 @@
- +
Simple Pie
diff --git a/src/app/pages/charts/components/chartistJs/chartistJs.scss b/src/app/pages/charts/components/chartistJs/chartistJs.scss index 64279db1..1ae4d625 100644 --- a/src/app/pages/charts/components/chartistJs/chartistJs.scss +++ b/src/app/pages/charts/components/chartistJs/chartistJs.scss @@ -1,5 +1,19 @@ @import "../../../../theme/sass/conf/conf"; +.chartist h5 { + font-weight: $font-normal; +} + +.ct-area { + fill-opacity: .5; +} + +.ct-label{ + color: $default; + opacity: 0.9; + fill: rgba(255,255,255,.9); +} + .ct-chart .ct-label{ font-size: 1em; } @@ -54,3 +68,7 @@ fill: $info; } } + +.stacked-bar .ct-bar{ + stroke-width: 30px; +}