From 798bd9d6c93a14c748ed57b4db1dc2228ab63603 Mon Sep 17 00:00:00 2001 From: Sami Mokaddem Date: Mon, 6 Nov 2017 16:09:29 +0100 Subject: [PATCH] Changed UI color style --- static/css/ranking.css | 5 +++++ static/js/contrib.js | 8 ++++---- templates/contrib.html | 12 ++++++------ 3 files changed, 15 insertions(+), 10 deletions(-) diff --git a/static/css/ranking.css b/static/css/ranking.css index e63626d..209bb2f 100644 --- a/static/css/ranking.css +++ b/static/css/ranking.css @@ -3,6 +3,11 @@ height: auto; } +.infoBlue { + background-color: #719bc0 !important; + color: white; +} + .centerInBtn { float: left; text-align: center; diff --git a/static/js/contrib.js b/static/js/contrib.js index cf3a655..6e12052 100644 --- a/static/js/contrib.js +++ b/static/js/contrib.js @@ -269,19 +269,19 @@ function updateProgressHeader(org) { // update color in other dataTables datatableTop.rows().every( function() { var row = this.node(); - if(this.data()[3] == data.org) { row.classList.add('info'); } else { row.classList.remove('info'); } + if(this.data()[3] == data.org) { row.classList.add('infoBlue'); } else { row.classList.remove('info'); } }); datatableFame.rows().every( function() { var row = this.node(); - if(this.data()[3] == data.org) { row.classList.add('info'); } else { row.classList.remove('info'); } + if(this.data()[3] == data.org) { row.classList.add('infoBlue'); } else { row.classList.remove('info'); } }); datatableCateg.rows().every( function() { var row = this.node(); - if(this.data()[3] == data.org) { row.classList.add('info'); } else { row.classList.remove('info'); } + if(this.data()[3] == data.org) { row.classList.add('infoBlue'); } else { row.classList.remove('info'); } }); datatableLast.rows().every( function() { var row = this.node(); - if(this.data()[3] == data.org) { row.classList.add('info'); } else { row.classList.remove('info'); } + if(this.data()[3] == data.org) { row.classList.add('infoBlue'); } else { row.classList.remove('info'); } }); }); } diff --git a/templates/contrib.html b/templates/contrib.html index c1f8dee..ac85920 100644 --- a/templates/contrib.html +++ b/templates/contrib.html @@ -62,7 +62,7 @@ - +
@@ -99,7 +99,7 @@
- Contributor Ranking + Contributor Ranking
@@ -126,7 +126,7 @@
- Last contributors (24h) + Last contributors (24h)
@@ -153,7 +153,7 @@
- Contributors and Categories + Contributors and Categories
@@ -188,7 +188,7 @@
- Hall Of Fame + Hall Of Fame
@@ -213,7 +213,7 @@
- Top 5 Contributor overtime + Top 5 Contributor overtime