Make the star icon yellow

This commit is contained in:
Oliver Walters 2019-05-05 11:21:08 +10:00
parent fc5fd5e477
commit aaff92ff9c
2 changed files with 5 additions and 1 deletions

View File

@ -29,7 +29,7 @@
<div class='btn-group'>
{% include "qr_button.html" %}
<button type='button' class='btn btn-default btn-glyph' id='toggle-starred' title='Star this part'>
<span id='part-star-icon' class='glyphicon {% if starred %}glyphicon-star{% else %}glyphicon-star-empty{% endif %}'/>
<span id='part-star-icon' class='starred-part glyphicon {% if starred %}glyphicon-star{% else %}glyphicon-star-empty{% endif %}'/>
</button>
</div>
</p>

View File

@ -6,6 +6,10 @@
font-size: 20px;
}
.starred-part {
color: #ffcc00;
}
.btn-glyph {
padding-left: 6px;
padding-right: 6px;