[wp-trac] [WordPress Trac] #37138: Audit usage of the buttons CSS classes
WordPress Trac
noreply at wordpress.org
Wed Sep 7 13:04:59 UTC 2016
#37138: Audit usage of the buttons CSS classes
----------------------------+-----------------------
Reporter: afercia | Owner: afercia
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 4.7
Component: Administration | Version:
Severity: normal | Resolution:
Keywords: ui-feedback | Focuses: ui
----------------------------+-----------------------
Changes (by afercia):
* owner: => afercia
* status: new => assigned
* milestone: Awaiting Review => 4.7
Comment:
One more example is about a few places where `button-large` is used
without the base class `button`. For example, in the edit attachment
screen, the primary button in the publish box uses these classes:
`button-primary button-large`
and they should be
`button button-primary button-large`
Currently, this button has the standard size, with a height of 28px:
[[Image(https://cldup.com/G71KxT5dJ0.png)]]
but it should be a bit bigger, also for consistency with the similar
button in the Post Publish meta box:
[[Image(https://cldup.com/CWPHfK7Ecs.png)]]
The base class `button` is necessary also to properly reset the outline
property, see what happens in Chrome on OS X without the `button` class:
[[Image(https://cldup.com/UhRM1rWYoS.png)]]
and with:
[[Image(https://cldup.com/8Nov6ZLkxs.png)]]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37138#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list