Skip to content
This repository has been archived by the owner on Aug 3, 2022. It is now read-only.

Commit

Permalink
[#1025] fix contrast on the explanation of the open data scores range
Browse files Browse the repository at this point in the history
  • Loading branch information
brew committed Apr 20, 2017
1 parent a334930 commit bf86cc1
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 3 deletions.
8 changes: 7 additions & 1 deletion census/static/css/styles.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion census/static/css/styles.css.map

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions census/static/scss/_home.scss
Expand Up @@ -71,6 +71,14 @@
padding: 2px 4px 2px 4px;
border-radius: 4px;
font-style: normal;
background-color: $text-color;
color: #fff;
&.low {
background-color: $brand-danger;
}
&.high {
background-color: $brand-success;
}
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion census/views/includes/dataviews/alt_summary.html
Expand Up @@ -6,6 +6,6 @@
</div>
<div class="explain">
<span>
Here you can see the open data scores for the currently selected dataset(s), from <i style="background-color: #f00;">0</i> to <i style="background-color: rgb(122, 184, 0);">100</i>.
Here you can see the open data scores for the currently selected dataset(s), from <i class="low">0</i> to <i class="high">100</i>.
</span>
</div>

0 comments on commit bf86cc1

Please sign in to comment.