Commit Graph

473 Commits

Author SHA1 Message Date
Andrew Nacin
cd47e0519e Use inline-block for wrapping filter links. props ocean90, SergeyBiryukov. fixes #21985.
git-svn-id: http://core.svn.wordpress.org/trunk@22404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-06 22:29:48 +00:00
Andrew Nacin
abe7ee8ec8 Keyboard accessibility for the theme customizer. props lessbloat, jorbin, JustinSainton. fixes #21283.
git-svn-id: http://core.svn.wordpress.org/trunk@22400 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-06 14:47:25 +00:00
Andrew Nacin
80405f9935 For postboxes, only show arrows/handles on hover when JS is enabled. props TobiasBg. fixes #21611.
git-svn-id: http://core.svn.wordpress.org/trunk@22391 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-06 00:05:47 +00:00
Andrew Ozz
f26bbc0dd7 Fix border at the bottom of active tabs in postboxes, fixes #17699
git-svn-id: http://core.svn.wordpress.org/trunk@22389 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-05 23:38:16 +00:00
Ryan Boren
6757005b59 Welcome screen refresh. Now with icons. Props lessbloat, empireoflight. fixes #21368
git-svn-id: http://core.svn.wordpress.org/trunk@22379 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-05 21:12:46 +00:00
Andrew Nacin
458b031392 HiDPI Press This bookmarklet image. props empireoflight. see #21019.
git-svn-id: http://core.svn.wordpress.org/trunk@22377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-05 20:32:50 +00:00
Ryan Boren
ad724f3b7b Attachment editor improvements. Put the non-editable metadata into the submit/publish box.
Props helenyhou
see #21391


git-svn-id: http://core.svn.wordpress.org/trunk@22364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-05 14:04:22 +00:00
Andrew Ozz
1e72313ec2 Min-height on the permalink wrapper prevents the editor jumping down when starting new post, props SergeyBiryukov, see #22298
git-svn-id: http://core.svn.wordpress.org/trunk@22329 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-30 18:16:54 +00:00
Andrew Ozz
8d1d30ed75 Fix the permalink covering the insert media button when wrapped, props SergeyBiryukov, fixes #22298
git-svn-id: http://core.svn.wordpress.org/trunk@22328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-30 17:43:08 +00:00
Andrew Ozz
efbc9d2336 Buttons:
- Update the install/initial configuration/repair screens buttons, props DrewAPicture
- Fix the welcome screen buttons and fine-tune the buttons css, props lessbloat

fixes #21598


git-svn-id: http://core.svn.wordpress.org/trunk@22314 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-26 19:40:39 +00:00
Ryan Boren
a0e6687f56 Add min-height to hierarchical taxonomy meta box. Props SergeyBiryukov. fixes #15925
git-svn-id: http://core.svn.wordpress.org/trunk@22290 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-24 14:08:33 +00:00
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