2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-30 12:36:45 +00:00

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'> <div class='btn-group'>
{% include "qr_button.html" %} {% include "qr_button.html" %}
<button type='button' class='btn btn-default btn-glyph' id='toggle-starred' title='Star this part'> <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> </button>
</div> </div>
</p> </p>

View File

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