[wp-trac] [WordPress Trac] #27400: Widget Customizer: Add widget reordering icons to Dashicons

WordPress Trac noreply at wordpress.org
Thu Mar 13 16:07:00 UTC 2014


#27400: Widget Customizer: Add widget reordering icons to Dashicons
--------------------------+-----------------------------
 Reporter:  westonruter   |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Widgets       |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:  ui            |
--------------------------+-----------------------------
 The Widget Customizer plugin used Genericons for the keyboard-accessible
 widget reordering buttons:

 [[Image(https://f.cloud.github.com/assets/134745/1756800/d153b620-6677-11e3-8473-8e70fe445784.png)]]

 As noted in the plugin's CSS, these need to be moved into Dashicons:
 https://github.com/x-team/wp-widget-
 customizer/blob/59836a7c6fa672e864286403653a094773450b2f/widget-
 customizer.css#L1-L25

 The CSS selectors using these font icons are:
 https://core.trac.wordpress.org/browser/trunk/src/wp-admin/css/customize-
 widgets.css?rev=27419#L84


 {{{

 .customize-control-widget_form.expanded a.widget-action:after {
         content: "\f142";
 }

 .customize-control-widget_form.wide-widget-control a.widget-action:after {
         content: "\f139";
 }

 .customize-control-widget_form.wide-widget-control.expanded a.widget-
 action:after {
         content: "\f141";
 }
 }}}

 Originally introduced by @michael-arestad in https://github.com/x-team/wp-
 widget-customizer/pull/75

--
Ticket URL: <https://core.trac.wordpress.org/ticket/27400>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list