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

WordPress Trac wp-trac at lists.automattic.com
Sat Sep 8 20:00:22 UTC 2012


#21598: Update default button styles in core
-------------------------------------+------------------
 Reporter:  lessbloat                |       Owner:
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  3.5
Component:  UI                       |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |
-------------------------------------+------------------

Comment (by TobiasBg):

 The new {{{get_submit_button()}}} does not seem to transform
 {{{$type='secondary'}}} to a CSS class {{{.button-secondary}}}. Is that on
 purpose?

 Also: What's the idea of adding all of those {{{.XYZ.focus}}} and
 {{{.XYZ.hover}}} selectors? I can see a use case for {{{.XYZ.active}}} in
 button groups (though that would also need extra CSS), but what the use
 case for {{{.focus}}}, {{{.hover}}} and {{{.active}}} here? Why are
 {{{:focus}}}/{{{:hover}}}/{{{:active}}} not enough?

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


More information about the wp-trac mailing list