Skip to content

Commit

Permalink
Improve CSS to Race view.
Browse files Browse the repository at this point in the history
  • Loading branch information
SRJ9 committed Jul 21, 2017
1 parent 5512c04 commit 00bfc4a
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 15 deletions.
12 changes: 6 additions & 6 deletions driver27/static/driver27/css/style.css

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

2 changes: 1 addition & 1 deletion driver27/static/driver27/css/style.css.map

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

13 changes: 6 additions & 7 deletions driver27/static/driver27/css/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,17 @@
background-color: orange;
}

.finish_1 {
background-color: gold !important;
.race_result.finish_1 {
background-color: gold;
font-size: 1.8em;
}

.finish_2 {
background-color: silver !important;
.race_result.finish_2 {
background-color: silver;
font-size: 1.6em;
}

.finish_3 {
background-color: #CD7F32 !important;
.race_result.finish_3 {
background-color: #CD7F32;
font-size: 1.3em;
}

Expand Down
2 changes: 1 addition & 1 deletion driver27/templates/driver27/race/race-view.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<th>&nbsp;</th>
</tr>
{% for result in results %}
<tr class="finish_{{ result.finish }} {% if result.points %}points{% endif %}">
<tr class="race_result finish_{{ result.finish }} {% if result.points %}points{% endif %}">
<td>
{% if result.retired or not result.finish %}
<span class="result retired">Retired</span>
Expand Down

0 comments on commit 00bfc4a

Please sign in to comment.