[wp-trac] [WordPress Trac] #18909: Bundled jQuery UI should have CSS
WordPress Trac
wp-trac at lists.automattic.com
Fri Jun 22 12:17:00 UTC 2012
#18909: Bundled jQuery UI should have CSS
-----------------------------------+-----------------------------
Reporter: helenyhou | Owner:
Type: enhancement | Status: assigned
Priority: normal | Milestone: Future Release
Component: UI | Version: 3.3
Severity: normal | Resolution:
Keywords: ui-feedback has-patch |
-----------------------------------+-----------------------------
Comment (by stephenh1988):
I've forked this on GitHub (https://github.com/stephenh1988/wp-admin-
jquery-ui). I have given links the #21759b ('WordPress blue') colour, and
for hover #d54e21 ('WordPress orange'). The same for the links. I think
this matches (for instance) the category metabox well: I've tried to match
the WordPress schema of blue-link, organge-hover.
I've included screenshots in the Git repository. Let me know if its worth
a pull request :).
From reading the IRC discussion it seems the main issue is that since
admin doesn't use jquery-ui styling a jquery-ui stylesheet would, in
effect, be maintained independently and without a core example with which
to test bugs/patches against. As helenyhou points out - her plug-in could
be the basis for that. But would there be plans for core to start using
the jquery-ui styles?
In any case, it seems to me it would be easier (not necessarily easy :) )
to include the jquery-ui stylesheet as part of the admin stylesheet (which
would presumably means splitting up colour-specific and structure-specific
parts of the jquery ui stylesheet) - rather than having multiple files.
(On a side note, `wp_add_inline_style` will prove very useful to
developers wanting to add some extra styling for unofficial jQuery-UI
plugin's that require it).
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18909#comment:60>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list