diff --git a/src/pyDataVizDay.py b/src/pyDataVizDay.py index c460835..25fe267 100644 --- a/src/pyDataVizDay.py +++ b/src/pyDataVizDay.py @@ -182,8 +182,8 @@ class score_timeseries(Resource): ['x'] + df.DATE.astype(str).values.tolist()], # ['x'] + df.index.values.tolist()], 'colors':{ - 'IMDB Score': '#B80000', - 'gross': '#fd8d3c', + 'IMDB Score': '#0071A7', + 'gross': '#4D9913', 'x': '#08414C' }} return jsonify(score_timeseries) diff --git a/src/static/css/custom.css b/src/static/css/custom.css index 54df319..65e373b 100644 --- a/src/static/css/custom.css +++ b/src/static/css/custom.css @@ -4,7 +4,14 @@ body{ } .kpi { /* color: #B80000; */ - font-weight:10; + font-weight:4; + font-size:16px; +} +.kpi-value { + /* color: #B80000; */ + font-weight:8; + font-size:18px; + padding: 10px 20px 10px 0px; } .chosen{ @@ -47,12 +54,40 @@ body{ .title{ font-size:22px; - color:#B80000; + color:#0071A7; font: bold; } +.sentiment-chart-title{ + color:#0071A7; + /*text-align: center;*/ +} +.word-cloud-title{ + color:#0071A7; + /*text-align: center;*/ +} + .sentiment-chart{ -text-align: center; -vertical-align: middle; -line-height: 200px; -} \ No newline at end of file + text-align:center; + vertical-align: middle; + line-height: 150px; + height:300px; + background-color:grey; + li +} + +#myNavbar{ +/* background-color:#0071A7; +} + +#navbar{ + background-color:#0071A7; +} + +#navbar-header{ + background-color:#0071A7; +} + +.active{ + background-color:#0071A7; +}*/ \ No newline at end of file diff --git a/src/static/js/enthusiast.js b/src/static/js/enthusiast.js index 376034f..f861b50 100644 --- a/src/static/js/enthusiast.js +++ b/src/static/js/enthusiast.js @@ -27,7 +27,7 @@ var data = { ], 'colors': { 'IMDB Score': '#B80000', - 'gross': '#fd8d3c', + 'gross': '#0071A7', 'x': '#08414C' } }, @@ -92,7 +92,7 @@ word_coud_settings = { width: 500, height: 350, classPattern: null, - colors: ['#bd0026', '#e31a1c', '#800026', '#fc4e2a', '#fd8d3c', '#feb24c', '#fed976'],// '#ffeda0', '#ffffcc'], + colors: ['#0071A7', '#000E29', '#24A854',],// '#ffeda0', '#ffffcc'], fontSize: { from: 0.1, to: 0.02 diff --git a/src/templates/enthusiast.html b/src/templates/enthusiast.html index cb35387..d102c2b 100644 --- a/src/templates/enthusiast.html +++ b/src/templates/enthusiast.html @@ -18,23 +18,33 @@ {% block body %} {{ super ()}} - {{ form | safe }} -