Commit Graph

517 Commits

Author SHA1 Message Date
Andrew Nacin 7fc8feabae Fix the sprite positioning for HiDPI sorting arrows.
props lessbloat.
see #23071.
for trunk.



git-svn-id: https://develop.svn.wordpress.org/trunk@23245 602fd350-edb4-49c9-b593-d223f7449a82
2013-01-02 23:51:09 +00:00
Helen Hou-Sandi 021167d954 Allow non-hierarchical taxonomy labels in Bulk Edit to span the available width. Props SergeyBiryukov, tar.gz. fixes #22703.
git-svn-id: https://develop.svn.wordpress.org/trunk@23198 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-23 16:30:12 +00:00
Helen Hou-Sandi 6c094b35ce Nav menu item selection lists no longer need to be specifically de-whitespaced to match hierarchical taxonomy metaboxes. props corvannoorloos. See #22954 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@23185 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-19 19:43:22 +00:00
Helen Hou-Sandi a194505ae7 Align the "Available Themes" header with the search form. props wycks. fixes #22928.
git-svn-id: https://develop.svn.wordpress.org/trunk@23184 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-18 19:45:49 +00:00
Andrew Nacin 04cb50e1ce Remove 'Insert Multiple Images' from the about page as it is now completely invisible in the UI. Requiring shift-click but not mentioning it is a bad omen. props helenyhou. fixes #22455.
git-svn-id: https://develop.svn.wordpress.org/trunk@23126 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-07 20:58:34 +00:00
Mark Jaquith e0f5f47c57 Add the ability to click "Edit" and kick out to the advanced image editor from within the Media modal. New window, with "Refresh" offered on your return. fixes #22743. props koopersmith, nacin, helenyhou.
git-svn-id: https://develop.svn.wordpress.org/trunk@23095 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-06 05:52:19 +00:00
Andrew Nacin 1cc12103f5 Restore the Description field to the media UI in 3.5.
We tried in vain -- a noble but ultimately failed effort -- to reduce the number of fields for attachments from four (title, caption, alt, description) to one (caption for images, title otherwise). Alternative text needed to stay for accessibility reasons, of course.

Eventually title returned due to heavy plugin reliance. Description is too used by too many plugins (often times incorrectly -- the caption is more likely the proper field), hence its less-than-triumphant return today.

Version 3.5 has tried to streamline media in a number of ways. Removing fields may have been too much at once, as it forced not only a user interface change, but a paradigm change as well.

Finally, on upload we populate the description field with IPTC/EXIF captions, rather than the caption field. See #22768, this should be fixed. For now, Description stays.

This commit also restores 'Title' attribute editing to the main tab of the Edit Image dialog. The "Title" field no longer populates title attributes for <img> tags by design (for accessibility and other purposes, see #18984). So, here is a more obvious 'workaround' for the tooltip community.

Finally, this:
 * Cleans up the post.php attachment editor, including by showing a prettier form of the mime type.
 * Enables plugins to specifically hide attachment_fields_to_edit from either post.php (where you can create meta boxes) or the modal (which you may not want to clutter), for compatibility reasons.
 * Hides the 'Describe this file...' placeholder when a field is read-only in the modal.

props nacin, helenyhou.
fixes #22759.



git-svn-id: https://develop.svn.wordpress.org/trunk@23083 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-06 00:41:06 +00:00
Andrew Nacin 57cda41fdf RTL fixes for the tags meta box and two search inputs. props SergeyBiryukov. fixes #22707.
git-svn-id: https://develop.svn.wordpress.org/trunk@23004 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-04 00:47:54 +00:00
Andrew Nacin a347195dca In Firefox, style placeholder text a dark gray since the browser doesn't do it for us. props helenyhou, fixes #22689.
git-svn-id: https://develop.svn.wordpress.org/trunk@22986 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-03 05:17:23 +00:00
Andrew Nacin b32e926551 Customizer: Ensure that the 'Collapse' button is styled properly (overridding the admin button style). props helenyhou. fixes #22684.
git-svn-id: https://develop.svn.wordpress.org/trunk@22977 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-03 00:42:11 +00:00
Ryan Boren c53137f535 Scope button classes so they can be used on the frontend without interfering with theme styles.
Props helenyhou, koopersmith
fixes #22644


git-svn-id: https://develop.svn.wordpress.org/trunk@22948 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-30 13:40:59 +00:00
Andrew Nacin cb529c080a Adjust size of the 'Clear List' list table button. Fix placement of other buttons next to bulk actions. props johnbillion, SergeyBiryukov, fixes #22621.
git-svn-id: https://develop.svn.wordpress.org/trunk@22906 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-28 22:20:45 +00:00
Andrew Nacin fdfa14f185 Reorganize and polish the About WordPress 3.5 screen. Offer strings for translation.
props lessbloat, helenyhou, markjaquith, nacin.
fixes #22455.



git-svn-id: https://develop.svn.wordpress.org/trunk@22903 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-28 21:00:09 +00:00
Ryan Boren b750487b07 Fix dragging in IE10 on touch devices.
Props georgestephanis, koopersmith
fixes #22583


git-svn-id: https://develop.svn.wordpress.org/trunk@22866 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-27 15:00:00 +00:00
Andrew Nacin 76b8bb8450 Media: Remove vestige CSS that prevents thumbnails from always showing on media-new.php. props duck_. fixes #22547.
git-svn-id: https://develop.svn.wordpress.org/trunk@22837 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-26 03:37:25 +00:00
Andrew Nacin 8865ae9b81 About page for WordPress 3.5, first pass. Not yet offered for translation. props lessbloat, johnbillion. see #22455.
git-svn-id: https://develop.svn.wordpress.org/trunk@22814 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-22 09:16:26 +00:00
Andrew Nacin 7d73996c18 Fix action link styling in IE7 and IE8. props SergeyBiryukov. fixes #22467.
git-svn-id: https://develop.svn.wordpress.org/trunk@22799 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-21 22:34:08 +00:00
Andrew Nacin e4759d815d Support attachment_fields_to_save and attachment_fields_to_edit for attachments going through post.php. see #22186. see #21391.
git-svn-id: https://develop.svn.wordpress.org/trunk@22783 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-21 18:53:00 +00:00
Andrew Nacin 9d2cc09ce1 Have media-new.php return simple rows of basic attachment data, with an 'Edit' link next to each taking them to post.php (in a new window). Not ideal, but this is largely a fallback screen at this point.
This is bolted on to existing code, the vast majority of which is destined to be ripped out in 3.6 once things settle.

see #22083.



git-svn-id: https://develop.svn.wordpress.org/trunk@22755 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-21 13:05:44 +00:00
Andrew Nacin acf2af8cb7 Customizer: Let return/enter fire click events for dropdowns and links. Remove errant focus event. Re-add box shadow and border for the overlay header. props lessbloat. see #21283.
git-svn-id: https://develop.svn.wordpress.org/trunk@22731 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-20 21:25:54 +00:00
Andrew Ozz b254457b19 Skip To links: visually hide by only setting top: -1000em; (this should make them work well in all screen readers), fixes #21312
git-svn-id: https://develop.svn.wordpress.org/trunk@22730 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-20 21:14:49 +00:00
Andrew Nacin 6b22cbcbc7 Use standard link colors with the skip links. see #21310.
git-svn-id: https://develop.svn.wordpress.org/trunk@22727 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-20 20:25:54 +00:00
Andrew Ozz a1bb1de73f Skip links: simplified look with more contrast, props sabreuse, fixes #21310
git-svn-id: https://develop.svn.wordpress.org/trunk@22726 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-20 19:58:47 +00:00
Andrew Nacin 0a830bf46b Fix up the 'Attach' dialog on upload.php.
We are de-emphasising attaching (see [22630]) but this is existing
core functionality and will remain for now. This commit just cleans
it up a bit so as to be less embarrassing.

props lessbloat, helenyhou.
fixes #20164.



git-svn-id: https://develop.svn.wordpress.org/trunk@22723 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-20 18:50:15 +00:00
Andrew Nacin a5a14e4e7e No-JS fixes.
* Hide QuickPress.
 * Hide the gap between the title and content editor.
 * Hide 'select all' checkboxes in list tables.
 * Hide a non-functioning link in the custom fields metabox.
 * Hide non-functioning buttons in the featured image box (same as in 3.4).
 * RTL and miscellany.

props TobiasBg, lessbloat, ocean90. fixes #22456.



git-svn-id: https://develop.svn.wordpress.org/trunk@22719 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-20 18:20:14 +00:00
Andrew Nacin 092d919033 Welcome panel IE fixes. props SergeyBiryukov, see #19687.
git-svn-id: https://develop.svn.wordpress.org/trunk@22696 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-20 01:56:45 +00:00
Andrew Nacin 1a979e637a IE sanity for the welcome panel. props lessbloat, JustinSainton. fixes #19687.
git-svn-id: https://develop.svn.wordpress.org/trunk@22680 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-19 09:53:31 +00:00
Andrew Nacin 34985fbc7a Revert page on front changes. Reverts [22127] [22129] [22135] [22136]. see #16379.
git-svn-id: https://develop.svn.wordpress.org/trunk@22653 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-19 01:28:32 +00:00
Andrew Nacin d25a4e9795 Blue admin color scheme fixes. Fix admin menu styling. props melchoyce, helenyhou. fixes #22248.
git-svn-id: https://develop.svn.wordpress.org/trunk@22647 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-18 23:49:54 +00:00
Andrew Nacin 7122ba3414 Fix QuickPress submission spinner. props ocean90. fixes #22496.
git-svn-id: https://develop.svn.wordpress.org/trunk@22646 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-18 23:46:01 +00:00
Andrew Ozz 805c464c27 RTL fixes and improvements: add-media, image-editor, the spinners, the featured image button, some css cleanup, props ocean90, maor, SergeyBiryukov, ramiy, see #22453
git-svn-id: https://develop.svn.wordpress.org/trunk@22640 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-18 16:19:37 +00:00
Andrew Ozz abae868449 Welcome screen: clean up the css, improve the html, add RTL styles, props helenyhou TobiasBg ocean90, fixes #21368, see #22453
git-svn-id: https://develop.svn.wordpress.org/trunk@22638 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-17 21:51:39 +00:00
Ryan Boren 6d8bce688f Pinking shears
git-svn-id: https://develop.svn.wordpress.org/trunk@22634 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-17 15:11:29 +00:00
Andrew Nacin fe14a22e31 Introduce a new, cross-browser HiDPI CSS @media rule to be used everywhere.
{{{
@media print,
  (-o-min-device-pixel-ratio: 5/4),
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 120dpi) {
}}}

Serve HiDPI graphics for printing, regardless of screen resolution.

Specify Opera's vendor-prefixed device pixel ratio property, for Opera desktop.

Specify a minimum Webkit device pixel ratio of 1.25 instead of 1.5, to serve
2x images to Android devices that are between 1 and 1.5x (like the Nexus 7).
Firefox and Opera will respond to 1.5x on these devices, but Chrome will not.

Specify min-resolution, which covers Firefox 19. Opera on Android also supports
min-resolution, but Opera Mini does not support dppx, so the dpi unit is used.

props iammattthomas for the exhaustive research.
props lessbloat for patching.

fixes #22238.



git-svn-id: https://develop.svn.wordpress.org/trunk@22629 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-17 06:50:08 +00:00
Andrew Nacin 436f8a519e Fix the padding of the waiting spinner when replying to comments. props lessbloat, SergeyBiryukov. fixes #22449.
git-svn-id: https://develop.svn.wordpress.org/trunk@22627 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-17 06:39:50 +00:00
Andrew Nacin 3d75ef25d8 For postboxes, only show arrows/handles on hover when JS is enabled (for HiDPI). props TobiasBg. fixes #21611.
git-svn-id: https://develop.svn.wordpress.org/trunk@22582 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-14 22:22:55 +00:00
Andrew Ozz c2a28243f6 Admin menu: sync the .folded and @media .auto-fold styles, fixes #21998
git-svn-id: https://develop.svn.wordpress.org/trunk@22536 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-10 19:41:12 +00:00
Andrew Nacin c4556dce6b HiDPI rating stars. props chexee. see #21019.
git-svn-id: https://develop.svn.wordpress.org/trunk@22479 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-09 01:34:48 +00:00
Andrew Nacin 86baff4ce7 Add some ru_RU-specific CSS to the customizer to prevent the spinner from being bumped to the next line. props SergeyBiryukov, see #21890.
git-svn-id: https://develop.svn.wordpress.org/trunk@22474 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-08 22:01:06 +00:00
Andrew Ozz f909a703b0 Editor: fix position of the resize handle in Text mode in RTL (also some minor css cleanup), see #21718
git-svn-id: https://develop.svn.wordpress.org/trunk@22458 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-07 23:33:21 +00:00
Andrew Nacin 5ad3756ce6 Minor UI tweaks to Press This. props lessbloat. fixes #21997.
git-svn-id: https://develop.svn.wordpress.org/trunk@22455 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-07 22:58:30 +00:00
Andrew Nacin 3f01c9132d Try to avoid overflow of the page template dropdown with long template names. props SergeyBiryukov, ocean90. fixes #21956.
git-svn-id: https://develop.svn.wordpress.org/trunk@22443 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-07 21:34:45 +00:00
Andrew Ozz 0493132497 More retina backgrounds and bits, props saracannon, empireoflight and lessbloat, see #21019
git-svn-id: https://develop.svn.wordpress.org/trunk@22439 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-07 20:54:08 +00:00
Andrew Nacin 2dc1a1d97f Align the check column on the Updates screen. props ocean90. fixes #22339.
git-svn-id: https://develop.svn.wordpress.org/trunk@22432 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-07 19:57:55 +00:00
Andrew Nacin 866259c3d6 Use inline-block for wrapping filter links. props ocean90, SergeyBiryukov. fixes #21985.
git-svn-id: https://develop.svn.wordpress.org/trunk@22404 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-06 22:29:48 +00:00
Andrew Nacin 67ac51fe73 Keyboard accessibility for the theme customizer. props lessbloat, jorbin, JustinSainton. fixes #21283.
git-svn-id: https://develop.svn.wordpress.org/trunk@22400 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-06 14:47:25 +00:00
Andrew Nacin 1d1313833d For postboxes, only show arrows/handles on hover when JS is enabled. props TobiasBg. fixes #21611.
git-svn-id: https://develop.svn.wordpress.org/trunk@22391 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-06 00:05:47 +00:00
Andrew Ozz b709af4d63 Fix border at the bottom of active tabs in postboxes, fixes #17699
git-svn-id: https://develop.svn.wordpress.org/trunk@22389 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-05 23:38:16 +00:00
Ryan Boren 6fd9916a18 Welcome screen refresh. Now with icons. Props lessbloat, empireoflight. fixes #21368
git-svn-id: https://develop.svn.wordpress.org/trunk@22379 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-05 21:12:46 +00:00
Andrew Nacin f1af48e6dc HiDPI Press This bookmarklet image. props empireoflight. see #21019.
git-svn-id: https://develop.svn.wordpress.org/trunk@22377 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-05 20:32:50 +00:00