Commit Graph

462 Commits

Author SHA1 Message Date
Andrew Ozz
8c4d96b05a Buttons: slightly bolder :focus styles, make the "Log In" button '.button-large', props lessbloat, see #21598
git-svn-id: http://core.svn.wordpress.org/trunk@22288 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-24 01:27:56 +00:00
Ryan Boren
3e1d0c6e16 Update autocomplete CSS to make nice with jQuery UI 1.9. Give ui-helper-hidden-accessible the same treatment as screen-reader-text. Props helenyhou. fixes #22166
git-svn-id: http://core.svn.wordpress.org/trunk@22285 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-23 19:55:35 +00:00
Andrew Nacin
4ddd44f32a Remove unnecessary styling of an option element's padding. props SergeyBiryukov. fixes #22020.
git-svn-id: http://core.svn.wordpress.org/trunk@22282 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-23 14:36:55 +00:00
Andrew Nacin
97d8d5aab2 Remove unused delete style. props SergeyBiryukov. fixes #21196.
git-svn-id: http://core.svn.wordpress.org/trunk@22281 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-23 14:30:40 +00:00
Andrew Nacin
a9de20d2dc Make some space for the Permalink preview to appear on post-new.php. props johnbillion, lessbloat. fixes #22184.
git-svn-id: http://core.svn.wordpress.org/trunk@22279 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-23 14:28:01 +00:00
Andrew Ozz
5b8108a3fd Improve visible focus in the admin, props lessbloat, fixes #21324
git-svn-id: http://core.svn.wordpress.org/trunk@22268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-22 19:51:51 +00:00
Andrew Ozz
2098a9d6f6 Adminmenu: fix folded height and shadow inconsistencies, props webord, fixes #21998
git-svn-id: http://core.svn.wordpress.org/trunk@22263 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-19 21:32:34 +00:00
Andrew Ozz
e8b10439bb Accessibility shortcuts: new looks and fix for the WebKit focus bug, props lessbloat, fixes #21471
git-svn-id: http://core.svn.wordpress.org/trunk@22249 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-16 21:26:59 +00:00
Daryl Koopersmith
5fee0949ac Revise and combine button selectors.
* Simplifies button selectors. Maintains backwards compatibility for several classes and makes creating new button styles considerably easier.
* Adds buttons documentation.
* Raw input submit/reset/button types now use default browser styles (instead of half-styled borders that did not look like buttons).
* Moves basic button color standardization to the beginning of wp-admin.

see #21598, #22197.



git-svn-id: http://core.svn.wordpress.org/trunk@22239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-15 21:25:25 +00:00
Daryl Koopersmith
e65187ada5 Make <button> elements inherit font settings. fixes #22201, see #21598.
git-svn-id: http://core.svn.wordpress.org/trunk@22237 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-15 19:14:58 +00:00
Daryl Koopersmith
e9503f9086 Consolidate buttons CSS into a single file.
Adds `wp-includes/css/buttons.css` to consolidate buttons files and make them available in a modular fashion. Buttons are included automatically with the `colors` styles, and can be included independently by running:

	`wp_enqueue_style('buttons');`

fixes #22197, see #21598.


git-svn-id: http://core.svn.wordpress.org/trunk@22236 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-15 14:55:29 +00:00
Andrew Nacin
4d1bc9bb6d Retina/span spinner cleanup. Restores CSS classes no longer used by core. props lessbloat. fixes #21456.
git-svn-id: http://core.svn.wordpress.org/trunk@22167 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-10 20:34:19 +00:00
Andrew Nacin
1d4cc1c9f0 Fix the Press This bookmarklet's active style. props ocean90, fixes #21850.
git-svn-id: http://core.svn.wordpress.org/trunk@22165 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-10 13:52:01 +00:00
Andrew Nacin
44dff206e4 Make sure the default webkit validation tooltips are not hidden in the Screen Options tab. prop SergeyBiryukov, fixes #21904.
git-svn-id: http://core.svn.wordpress.org/trunk@22148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-09 22:07:18 +00:00
Andrew Nacin
467cbd9d66 Restore a CSS declaration accidentally changed in [22019]. props ocean90, fixes #22036.
git-svn-id: http://core.svn.wordpress.org/trunk@22147 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-09 19:08:43 +00:00
Andrew Nacin
f27e7f051f Align QuickPress fields. props lessbloat. fixes #21754.
git-svn-id: http://core.svn.wordpress.org/trunk@22146 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-09 19:07:09 +00:00
Ryan Boren
90288a07b7 Better UI for doing "Page on Front".
Props SergeyBiryukov, lessbloat, nacin.

see #16379


git-svn-id: http://core.svn.wordpress.org/trunk@22127 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-06 15:19:29 +00:00
Daryl Koopersmith
a918ec9135 Refine button styles, notably the gray buttons.
* Crisper edges, fewer outer shadows.
* Higher contrast borders on the gray buttons.
* Separates `button-large` from `button-primary`, and removes the `regular` override class.

props hugobaeta, helenyhou, lessbloat. see #21598.


git-svn-id: http://core.svn.wordpress.org/trunk@22099 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-02 23:38:21 +00:00
Daryl Koopersmith
0c42e6121a Add QuickPress support for new media workflow.
* Adds the code required to include the new media scripts, styles, and settings to `media_button()`.
* Improves script dependencies, namely making `media-upload` require `media-views`.
* Some CSS tweaks for the making the new button work well with QuickPress.

see #21390, fixes #22021.


git-svn-id: http://core.svn.wordpress.org/trunk@22072 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-27 20:04:34 +00:00
Andrew Ozz
b28a6c066d Consolidated patch for retina support, props taylorde, props empireoflight, fixes #21019
git-svn-id: http://core.svn.wordpress.org/trunk@22031 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-27 02:12:54 +00:00
Andrew Ozz
eee7b5a005 Too much z-index on the admin submenus, see #21368
git-svn-id: http://core.svn.wordpress.org/trunk@22028 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-27 01:09:38 +00:00
Andrew Ozz
3c6ef163d6 Fix background on split buttons, remove redundant !important, remove spacers, a little css cleanup, see #18141
git-svn-id: http://core.svn.wordpress.org/trunk@22025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-27 00:41:49 +00:00
Andrew Nacin
1acd8b556f New HiDPI spinner. Uses clean <span class="spinner"></span> markup.
Be on the lookout for weirdness.
props lessbloat. see #21456.



git-svn-id: http://core.svn.wordpress.org/trunk@22019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-26 19:57:44 +00:00
Andrew Nacin
51ad055a68 New design and content for the welcome panel. First pass.
props lessbloat, helenyhou, georgestephanis, sabreuse, ryelle.
see #21368.



git-svn-id: http://core.svn.wordpress.org/trunk@22018 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-26 19:44:43 +00:00
Andrew Ozz
563c7caac5 Main editor: maintain the height when switching Visual to Text and back, save the height when resizing as user state, output the height in the textarea tag when loading, (thanks @nacin for the help), fixes #21718
git-svn-id: http://core.svn.wordpress.org/trunk@22007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-26 03:30:21 +00:00
Andrew Nacin
a0b9992a84 Avoid wrapping for individual .subsubsub view names, rather than the entire list of views, in case there are many. props deltafactory, fixes #21985.
git-svn-id: http://core.svn.wordpress.org/trunk@21987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-24 21:30:17 +00:00
Andrew Ozz
4655e6db0b Fix bottom margin in postboxes, props SergeyBiryukov, fixes #21952
git-svn-id: http://core.svn.wordpress.org/trunk@21983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-24 21:11:45 +00:00
Andrew Nacin
53fcdeaf09 Remove extra bottom padding from meta boxes on the Menus screen. props SergeyBiryukov, fixes #21952.
git-svn-id: http://core.svn.wordpress.org/trunk@21973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-24 16:33:16 +00:00
Andrew Nacin
f45dcfa7bd Use max-height rather than height for the hierarchical taxonomy admin metabox. props SergeyBiryukov, husobj. fixes #15925.
git-svn-id: http://core.svn.wordpress.org/trunk@21971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-24 16:27:17 +00:00
Andrew Nacin
76bc5c7c21 Better alignment in the ustom fields metabox. props SergeyBiryukov, ocean90, fixes #21847.
git-svn-id: http://core.svn.wordpress.org/trunk@21955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-23 17:42:46 +00:00
Andrew Nacin
33af30eb7f Use the regular post type UI for editing single media items (attachments).
* Attachments now go through post.php, edit_post(), the like, and have show_ui set to true.
 * Taxonomies attached to the media library now appear in the admin menu (if show_ui).
 * Editing, cropping, uploading, etc. is still very rough, but mostly functional.

API-wise:
 * New function: get_taxonomies_for_attachments(). Like get_taxonomies(), for taxonomies specifically registered against attachments.
 * Brings taxonomy support from the posts list table to the media list table. Expect them to converge soon.
 * wp_insert_attachment() now handles taxonomies like wp_insert_post(). Also expect them to converge soon.
 * New edit_form_after_title hook.

props helenyhou, ocean90. see #21391.



git-svn-id: http://core.svn.wordpress.org/trunk@21948 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-21 22:52:54 +00:00
Andrew Nacin
c1b0670c2d Updates and fixes to the new button styles. By default, buttons are now the same size as they were in 3.4. Then there is a smaller button (designed for minor elements) and a larger button (designed for things like Publish and Save Changes). Better focus styles. props lessbloat. see #21598.
git-svn-id: http://core.svn.wordpress.org/trunk@21944 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-21 19:34:23 +00:00
Andrew Nacin
ef6148ba7e Flexible widths for select boxes above list tables. For posts, that means bulk actions and date/category filters. Opens up more room (can prevent wrapping) and allows for longer localized strings. props SergeyBiryukov, fixes #21752.
git-svn-id: http://core.svn.wordpress.org/trunk@21916 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-19 15:44:01 +00:00
Andrew Nacin
cfdab676fa Replace QuickPress labels with gray prompt texts. Stylish, but also done for localization purposes (string lengths). props ocean90. fixes #21754.
git-svn-id: http://core.svn.wordpress.org/trunk@21894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-18 18:45:44 +00:00
Andrew Nacin
290d479e79 Rename div#footer to div#wpfooter in the admin. Namespace one of our major elements and avoid clashing with widgets with the id of 'footer'. props andrewryno, koopersmith. see #14466.
git-svn-id: http://core.svn.wordpress.org/trunk@21878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-16 23:03:35 +00:00
Andrew Nacin
c3181600ea Fix Press This bookmarklet focus and active styles. props SergeyBiryukov, fixes #21850.
git-svn-id: http://core.svn.wordpress.org/trunk@21832 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-13 17:04:08 +00:00
Daryl Koopersmith
67894a3407 New button styles.
Using the new buttons:

* Button classes are now stackable.
* All buttons should use a base class of "button".
* Buttons default to the gray style (formerly "button-secondary"). Buttons can add a style by adding additional classes. To make a primary button, add the "button-primary" class.
* Buttons can be rendered in various sizes. In addition to the default size, you can add "button-large", "button-small", or "button-tiny".

For backwards compatibility reasons, "button-primary" and "button-secondary" both work as standalone classes.

get_submit_button() has been adjusted to handle shorthand button classes (i.e. button classes can be passed without the "button-" prefix).

props lessbloat, helenyhou, trepmal, nacin. see #21598.



git-svn-id: http://core.svn.wordpress.org/trunk@21789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-08 04:58:34 +00:00
Andrew Nacin
aa543734b8 Fix adding and updating from the Custom Fields meta box. Broken in [21205]. props SergeyBiryukov. see #21829 for trunk.
git-svn-id: http://core.svn.wordpress.org/trunk@21781 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-07 15:49:20 +00:00
Daryl Koopersmith
12c21bf931 First pass at integrating featured images with the new media workflow.
Updates the featured image when the publish/update button is clicked (rather than instantly). Uses the existing post_thumbnail_meta_box() function. Does not remove the old featured image meta box JS, ajax handler, or CSS.

see #21776, #21390.


git-svn-id: http://core.svn.wordpress.org/trunk@21770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-06 08:49:35 +00:00
Andrew Ozz
a2580a80d1 Fix min row height in .widefat, see #21324
git-svn-id: http://core.svn.wordpress.org/trunk@21671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-30 18:47:22 +00:00
Andrew Ozz
3980c183a1 More visible :focus style for form elements, props lessbloat, see #21324
git-svn-id: http://core.svn.wordpress.org/trunk@21641 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-28 05:48:58 +00:00
Andrew Ozz
b2e4e665be Fix admin menu glitch with pending count bubbles, props SergeyBiryukov, fixes #20502
git-svn-id: http://core.svn.wordpress.org/trunk@21631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-27 22:39:01 +00:00
Andrew Nacin
2710bcade1 Switch to .min for compressed JS and CSS files.
* This moves our "development" versions from .dev.js to .js (same for css).
 * The compressed version then moves from .js to .min.js (same for css).

By switching to the standard .min convention, it sets expectations for developers,
and works nicely with existing tools such as ack.

fixes #21633.



git-svn-id: http://core.svn.wordpress.org/trunk@21592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-23 00:04:18 +00:00
Bot (Assets)
975b727abd Compress scripts/styles: 3.5-alpha-21589.
git-svn-id: http://core.svn.wordpress.org/trunk@21589 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-22 20:58:31 +00:00
Bot (Assets)
245cb4acba Compress scripts/styles: 3.5-alpha-21587.
git-svn-id: http://core.svn.wordpress.org/trunk@21587 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-22 18:58:32 +00:00
Bot (Assets)
4f587a0515 Compress scripts/styles: 3.5-alpha-21583.
git-svn-id: http://core.svn.wordpress.org/trunk@21583 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-22 16:58:25 +00:00
Bot (Assets)
9bd7b4811b Compress scripts/styles: 3.5-alpha-21575.
git-svn-id: http://core.svn.wordpress.org/trunk@21575 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-21 22:58:27 +00:00
Bot (Assets)
4313374dad Compress scripts/styles: 3.5-alpha-21548.
git-svn-id: http://core.svn.wordpress.org/trunk@21548 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-19 18:58:22 +00:00
Bot (Assets)
b104249ef2 Compress scripts/styles: 3.5-alpha-21530.
git-svn-id: http://core.svn.wordpress.org/trunk@21530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-15 18:58:27 +00:00
Bot (Assets)
29621a23ad Compress scripts/styles: 3.5-alpha-21514.
git-svn-id: http://core.svn.wordpress.org/trunk@21514 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-14 20:58:23 +00:00