[wp-trac] [WordPress Trac] #21598: Update default button styles in core

WordPress Trac noreply at wordpress.org
Fri Oct 26 18:10:02 UTC 2012


#21598: Update default button styles in core
---------------------------------------+-----------------------
 Reporter:  lessbloat                  |       Owner:  azaozz
     Type:  task (blessed)             |      Status:  reopened
 Priority:  normal                     |   Milestone:  3.5
Component:  UI                         |     Version:
 Severity:  normal                     |  Resolution:
 Keywords:  needs-testing needs-patch  |
---------------------------------------+-----------------------

Comment (by DrewAPicture):

 Buttons in the "error" pages use printed styles coming from markup
 generated by `_default_wp_die_handler()` but are assigned classes like
 .button and/or .button-large in the file generating the error.

 We need to locate all files that generate error pages with buttons and
 apply the .button-large class. 'Create a configuration file' in wp-load
 and 'Repair database' et al in repair.php are covered in
 [attachment:21598-21c.diff].

 Adversely, in setup-config.php and install.php we can rely on admin
 stylesheets.

 Something to keep in mind is that until now all of the aforementioned
 buttons had a font-size 14px which differs from the updated styles at
 12px. Using a body class was
 [https://irclogs.wordpress.org/chanlog.php?channel=wordpress-
 ui&day=2012-10-26&sort=asc#m66013 suggested in IRC] and it would make it
 possible to further condense some styles without having to resort to
 thinks like !important.

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


More information about the wp-trac mailing list