[wp-trac] [WordPress Trac] #26170: Replace PNG-based ratings stars with dashicons

WordPress Trac noreply at wordpress.org
Fri Nov 22 19:07:52 UTC 2013


#26170: Replace PNG-based ratings stars with dashicons
----------------------------+--------------------
 Reporter:  iammattthomas   |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  3.8
Component:  Administration  |     Version:  trunk
 Severity:  normal          |  Resolution:
 Keywords:  ui-focus        |
----------------------------+--------------------

Comment (by iammattthomas):

 The way the ratings stars are implemented don't allow a simple swap-out of
 Dashicons for PNGs. Since a solution will require more code-fu than I've
 got, I've just mocked up how I imagine stars working with Dashicons and
 the $highlight-color from color schemes.

 * Unfilled stars use dashicons-star-empty, glyph \f154. Color is # 777
 gray.
 * Filled stars use dashicons-star-filled, glyph \f155. Color is
 $highlight-color, # 1e8cbe by default.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/26170#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list