[wp-trac] [WordPress Trac] #22197: Consolidate buttons CSS into a single file

WordPress Trac wp-trac at lists.automattic.com
Mon Oct 15 14:13:00 UTC 2012


#22197: Consolidate buttons CSS into a single file
-------------------------+----------------------------
 Reporter:  koopersmith  |       Type:  task (blessed)
   Status:  new          |   Priority:  normal
Milestone:  3.5          |  Component:  UI
  Version:  trunk        |   Severity:  normal
 Keywords:               |
-------------------------+----------------------------
 The button updates added in #21598 have made the code quite modular, but
 it is currently split between `wp-admin.css` and the two colors files
 (which have identical copies of the bulk of the buttons CSS). This is not
 particularly maintainable, and makes it impossible to use the buttons
 outside the context of the admin.

 Given our plans for #21813, we'll need to reuse this CSS inside TinyMCE,
 and redeclaring the same code for the third time just seems silly.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22197>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list