Commit Graph

520 Commits

Author SHA1 Message Date
Daryl Koopersmith 6670666b27 Media CSS: Remove inner shadow when attachment is selected. see #21390.
git-svn-id: http://core.svn.wordpress.org/trunk@22336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-30 23:16:28 +00:00
Daryl Koopersmith 640edbdfbc Media JS: Improve handling of single attachments in selections.
* Adds `wp.media.model.Selection.single()` to specify a single item used in a multi-item selection.
* Fixes a bug where the `details` class would not be removed when "Clear Selection" was clicked.

see #21390.


git-svn-id: http://core.svn.wordpress.org/trunk@22335 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-30 23:15:16 +00:00
Bot (Assets) b502e1e0c2 Compress scripts/styles: 3.5-beta2-22334.
git-svn-id: http://core.svn.wordpress.org/trunk@22334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-30 22:58:31 +00:00
Daryl Koopersmith 097cb6117d Improve selection UI/behavior in the media modal.
* Moves handling which models are in the selection into the `Library` state.
* Adds highlight for the last-selected view in a multi-view state.
* A view must be the last-selected view before it can be deselected.

see #21390.


git-svn-id: http://core.svn.wordpress.org/trunk@22332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-30 21:09:45 +00:00
Bot (Assets) 2e1aaeb2c5 Compress scripts/styles: 3.5-beta2-22326.
git-svn-id: http://core.svn.wordpress.org/trunk@22326 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-29 22:58:31 +00:00
Daryl Koopersmith 01f3ca5a6c Improve attachment detailed preview styling. see #21390.
git-svn-id: http://core.svn.wordpress.org/trunk@22325 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-29 18:16:12 +00:00
Daryl Koopersmith c0bc7a7903 Add dynamic attachment view sizing. Removes the attachment view zooming in the process. see #21390.
git-svn-id: http://core.svn.wordpress.org/trunk@22324 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-29 18:05:03 +00:00
Daryl Koopersmith 16c1011cdb Add attachment details to the media sidebar.
* Also moves most of the `Frame` view's `createSelection` method to a real `Selection` model (which inherits from the `Attachments` model).
* Properly assigns the library within the `Gallery` state, allowing for the `Gallery` state to inherit from the `Library` state.

see #21390.


git-svn-id: http://core.svn.wordpress.org/trunk@22323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-29 15:13:02 +00:00
Daryl Koopersmith aa52a02dd1 Add inline uploader UI to media modal sidebar. see #21390.
git-svn-id: http://core.svn.wordpress.org/trunk@22322 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-29 07:38:13 +00:00
Daryl Koopersmith f7c1aaf26d Add a sidebar to the media modal.
* Adds `wp.media.view.Sidebar`, to aid in rendering the sidebar.
* Removes the `directions` from the `Attachments` view and shifts search into a separate view (`wp.mce.view.Search`) that can be relocated at will. This also serves to simplify the `Attachments` view by removing the nested `list` and `$list` parameters.
* Show the toolbar on the featured image workflow, effectively requiring confirmation before closing the dialog.

see #21390, #21776, #21808.


git-svn-id: http://core.svn.wordpress.org/trunk@22321 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-29 06:56:23 +00:00
Daryl Koopersmith 53ccb09bce Give media a heart transplant.
Revises the concept of the media controller and workspace views (i.e. two central points of control) to be more granular. The main media object is now the `Frame`, which is a hybrid view and state machine.

The state machine is a collection of states, which are just generic instances of `Backbone.Model`. This circumvents the problem of juggling global parameters when changing states. Each state contains its own event loop. All events are also forwarded to the frame itself (as is the case in all model/collection relationships).

The frame view contains several regions, each of which can be overridden without harming or re-rendering the other regions. These work well when used in conjunction with the state machine events.

This removes the upload sidebar (don't worry, visible upload UI will return). Drag and drop uploading still works. The ability to upload has been abstracted into its own view (instead of being attached to the central workspace view).

Editing galleries is temporarily broken — the gallery creation and editing experiences will be unified in a future patch.

Adds events to detect dragging changes in `wp.Uploader` and adds methods to detect and leverage browser support for CSS3 transitions.

see #21390, #21809.


git-svn-id: http://core.svn.wordpress.org/trunk@22320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-28 23:29:17 +00:00
Bot (Assets) 4681d3b3e3 Compress scripts/styles: 3.5-beta2-22315.
git-svn-id: http://core.svn.wordpress.org/trunk@22315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-26 22:58:34 +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
Bot (Assets) c7f18926e6 Compress scripts/styles: 3.5-beta2-22292.
git-svn-id: http://core.svn.wordpress.org/trunk@22292 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-24 22:58:36 +00:00
Andrew Ozz 239650f87a Fix the buttons in IE, make them better in IE7, remove the default padding in Firefox, make all .button <a> and <input> look the same, fixes #21598
git-svn-id: http://core.svn.wordpress.org/trunk@22289 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-24 01:33:59 +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
Bot (Assets) 852f080ef2 Compress scripts/styles: 3.5-beta2-22287.
git-svn-id: http://core.svn.wordpress.org/trunk@22287 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-23 22:58:40 +00:00
Andrew Nacin 62156e8ad3 Reset box-sizing to toolbar CSS to avoid conflicts with themes. props betzster, fixes #21863.
git-svn-id: http://core.svn.wordpress.org/trunk@22280 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-23 14:30:03 +00:00
Bot (Assets) 3cc79b6461 Compress scripts/styles: 3.5-beta2-22269.
git-svn-id: http://core.svn.wordpress.org/trunk@22269 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-22 22:58:34 +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
Bot (Assets) 19d83ff7e8 Compress scripts/styles: 3.5-beta2-22252. TinyMCE updated.
git-svn-id: http://core.svn.wordpress.org/trunk@22252 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-16 22:58:39 +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 74cea87b2c Add attachment display settings to the media modal.
* Add a media view for button groups.
* Add button dropdown containers.
* Add a dropdown property to the button media model.

fixes #22206, #21814, see #21390, #21813, #21598.


git-svn-id: http://core.svn.wordpress.org/trunk@22247 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-16 19:25:17 +00:00
Daryl Koopersmith 439b77aab9 Add a down arrow button. see #21598, #21390, #21813.
git-svn-id: http://core.svn.wordpress.org/trunk@22245 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-16 15:42:34 +00:00
Daryl Koopersmith 597cd8620d Add button groups. see #21598, #21390.
git-svn-id: http://core.svn.wordpress.org/trunk@22242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-16 13:34:01 +00:00
Bot (Assets) 52a91255a5 Compress scripts/styles: 3.5-beta2-22241.
git-svn-id: http://core.svn.wordpress.org/trunk@22241 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-15 22:58:34 +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 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
Bot (Assets) 28cddba189 Compress scripts/styles: 3.5-beta1-22204.
git-svn-id: http://core.svn.wordpress.org/trunk@22204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-11 22:58:47 +00:00
Daryl Koopersmith 6a8cccc226 Media Modal: Improve attachment remove button styles. see #21390.
git-svn-id: http://core.svn.wordpress.org/trunk@22184 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-11 04:11:47 +00:00
Daryl Koopersmith 583b13ab04 Media Modal: Remove the outline from the modal's close button. props lessbloat, see #21390.
git-svn-id: http://core.svn.wordpress.org/trunk@22180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-11 02:54:19 +00:00
Daryl Koopersmith 24748a6d16 Media Modal: Increase delay of attachment zoom. see #21390.
git-svn-id: http://core.svn.wordpress.org/trunk@22179 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-11 01:28:41 +00:00
Daryl Koopersmith e5285ef380 Media Modal: Reduce height on the attachment captions from three lines to two. see #21390, #21807.
git-svn-id: http://core.svn.wordpress.org/trunk@22178 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-11 00:55:38 +00:00
Daryl Koopersmith 70bc71402b Media Modal: Remove unused CSS. see #21390.
git-svn-id: http://core.svn.wordpress.org/trunk@22177 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-11 00:37:23 +00:00
Daryl Koopersmith 22ad35710b Media Modal: Show progress bars for uploading images, and adjust progress bar styles to compensate for the darker attachment background. see #21390.
git-svn-id: http://core.svn.wordpress.org/trunk@22176 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-11 00:36:42 +00:00
Daryl Koopersmith 1daa774b27 Caption editing in the media modal library.
* Adds a `describe` option to the workflow controller to support inline caption editing.
* For images, descriptions are mapped to the `caption` attribute.
* For other media items, descriptions are mapped to the `title` attribute.
* Descriptions are saved when the textarea's `change` event fires (i.e. when the textarea is blurred).

fixes #21807, see #21390.


git-svn-id: http://core.svn.wordpress.org/trunk@22173 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-10 23:32:48 +00:00
Bot (Assets) d71143817e Compress scripts/styles: 3.5-beta1-22172.
git-svn-id: http://core.svn.wordpress.org/trunk@22172 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-10 22:58:38 +00:00
Daryl Koopersmith 38b0a99f26 Show filenames for non-image attachments in the new media modal.
Also passes all attachment model attributes to the attachment view template by default (instead of selecting specific values).

see #21390, #21836.


git-svn-id: http://core.svn.wordpress.org/trunk@22159 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-10 09:55:47 +00:00
Daryl Koopersmith 2a3859aced Media JS: Improve markup and CSS of the modal view's title.
Also improves the accuracy of closing the modal when the backdrop is clicked (which became error-prone around the title bar in [22144]).

see #21390.


git-svn-id: http://core.svn.wordpress.org/trunk@22158 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-10 09:40:22 +00:00
Bot (Assets) 4efe0b5efa Compress scripts/styles: 3.5-beta1-22150.
git-svn-id: http://core.svn.wordpress.org/trunk@22150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-09 22:58:33 +00:00
Daryl Koopersmith 8efdcc915a Media modal search box style updates. props helenyhou, see #21390.
git-svn-id: http://core.svn.wordpress.org/trunk@22145 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-09 03:14:18 +00:00
Daryl Koopersmith fed20bc298 Improve media modal title bar styling. props helenyhou, see #21390.
git-svn-id: http://core.svn.wordpress.org/trunk@22144 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-09 02:56:39 +00:00
Daryl Koopersmith 7788ddab90 Increase the delay on the attachment zooming in the media modal. see #21390.
git-svn-id: http://core.svn.wordpress.org/trunk@22142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-09 01:57:34 +00:00
Daryl Koopersmith dcf8cc17cb Change the cursor to a pointer when hovering above an attachment in the media modal. see #21390.
git-svn-id: http://core.svn.wordpress.org/trunk@22141 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-09 01:17:35 +00:00
Daryl Koopersmith aa19c0d66c Better thumbnail previews in the image editor.
* Images are auto-cropped, then fit to the preview on hover (with a slight delay). This is an experiment; we'll see how it turns out.
* Various style changes.

see #21390.


git-svn-id: http://core.svn.wordpress.org/trunk@22137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-08 23:20:04 +00:00
Bot (Assets) 06d16327f5 Compress scripts/styles: 3.5-beta1-22128.
git-svn-id: http://core.svn.wordpress.org/trunk@22128 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-07 02:27:48 +00:00
Daryl Koopersmith 4220ed466a On the gallery creation screen, only display the remove icon on hover.
git-svn-id: http://core.svn.wordpress.org/trunk@22125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-05 22:14:00 +00:00
Andrew Ozz 5c0c0a199f Fix typo in wp-pointer.css, props TobiasBg, fixes #21019
git-svn-id: http://core.svn.wordpress.org/trunk@22078 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-28 00:38:07 +00:00
Andrew Ozz d62abf57d6 Fix "add media" icon in DFW for IE < 9, restore media-button.png, add media-button-2x.png and make them background images, see #21019
git-svn-id: http://core.svn.wordpress.org/trunk@22077 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-28 00:33:40 +00:00
Bot (Assets) 8c36f67e11 Compress scripts/styles: 3.5-alpha-22071.
git-svn-id: http://core.svn.wordpress.org/trunk@22071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-27 19:21:47 +00:00
Daryl Koopersmith 3cf9d9d905 Add quick insert buttons to attachment views in the library and remove buttons to attachment views in the gallery editor. see #21390, #21809.
git-svn-id: http://core.svn.wordpress.org/trunk@22053 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-27 07:45:26 +00:00
Daryl Koopersmith e14d191fb6 Media JS: Use a custom Attachment views for both the media library and gallery screens.
To do so, the Attachment view code had to be shifted above the Workspace view code to ensure the subview is defined (preventing errors).

Also corrects an error in `wp.media.view.Attachments.add` where it was still using the default Attachment view.

see #21390, #21809.


git-svn-id: http://core.svn.wordpress.org/trunk@22046 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-27 06:53:54 +00:00
Daryl Koopersmith eec758fd26 BUTTON.
Add a "Beta Media" button to the post editor. Currently, it is only capable of inserting images. Other attachment types and galleries need not apply... yet.

* Added `wp.media.string.image( attachment, props )` for generating an image as a string from an attachment and relevant attachment display properties.
* Properly localized the gallery workflow.
* Added `Workflow.update()`, which closes the modal, triggers an `update` event, and resets the selection.
* Added `wp.mce.media` to manage the various media workflows for editors.

see #21813, #21814, #21390.


git-svn-id: http://core.svn.wordpress.org/trunk@22036 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-27 04:09:43 +00:00
Andrew Ozz a43feb2b4d Fix image button in DFW, props ocean90, see #21019
git-svn-id: http://core.svn.wordpress.org/trunk@22032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-27 02:17:04 +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 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
Bot (Assets) baaf5c4cf8 Compress scripts/styles: 3.5-alpha-22024.
git-svn-id: http://core.svn.wordpress.org/trunk@22024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-26 22:58:46 +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 ad572d63a1 A calmer, less distracting style for the TinyMCE toolbar.
props helenyhou, lessbloat, trepmal, fadingdust.
fixes #18141.



git-svn-id: http://core.svn.wordpress.org/trunk@22016 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-26 18:24:02 +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
Bot (Assets) fabcc374fd Compress scripts/styles: 3.5-alpha-21920.
git-svn-id: http://core.svn.wordpress.org/trunk@21920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-19 18:59:36 +00:00
Daryl Koopersmith f7ae81b15d Rename the attachment-thumbnail class in the media modal Attachment view to prevent conflicts with wp_get_attachment_image(). see #21390.
git-svn-id: http://core.svn.wordpress.org/trunk@21909 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-19 01:10:17 +00:00
Daryl Koopersmith 1851f98eb9 Correct alignment of new buttons in media modal. see #21390.
git-svn-id: http://core.svn.wordpress.org/trunk@21907 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-19 00:48:41 +00:00
Daryl Koopersmith 3ec7265074 The first inklings of a gallery management screen.
* Adds `view.Workspace.Library` and `view.Workspace.Gallery` as extensions of `view.Workspace` to implement the individual screens
* Shifts the toolbar logic that was library-specific from the generic `Workspace` view to `Workspace.Library`.
* Adds a toolbar to the `Gallery` view.
* 'Create a gallery' and 'Return to media library' buttons toggle between the two views.
* 'Insert gallery into post' closes the modal, but does not actually perform its namesake action.
* Note that elements can still be deselected in the gallery view. This will be fixed in a future commit.

Improvements to avoid over-eager event unbinding:
* `Modal` views now properly detach their contents before replacing them with a new element.
* Likewise, `Workspace` views detach their main content blocks when re-rendering the view.

To test the gallery workflow (which is incomplete), run the following in your browser's console:

	`wp.media({ multiple: true });`

see #21809, #21390.


git-svn-id: http://core.svn.wordpress.org/trunk@21906 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-19 00:34:00 +00:00
Bot (Assets) 4a8bb5e3f8 Compress scripts/styles: 3.5-alpha-21879. TinyMCE updated.
git-svn-id: http://core.svn.wordpress.org/trunk@21879 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-17 00:59:40 +00:00
Daryl Koopersmith 5b525c0281 Make browser text-selections ignore attachment views. see #21390.
git-svn-id: http://core.svn.wordpress.org/trunk@21786 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-07 22:15:52 +00:00
Daryl Koopersmith 43fc38330a Adds UI for media modal toolbars, buttons, and the selected item(s) status.
Currently uses actions for inserting media into a post as an example (hence the raw text). To test a workflow that supports multiple selection, run the following in your browser's JavaScript console:

	wp.media({ multiple: true });

see #21390, #21808.



git-svn-id: http://core.svn.wordpress.org/trunk@21769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-06 07:46:15 +00:00
Bot (Assets) 064a570aa7 Compress scripts/styles: 3.5-alpha-21684.
git-svn-id: http://core.svn.wordpress.org/trunk@21684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-31 06:59:25 +00:00
Daryl Koopersmith c217397faa Add new media workflow scripts, styles, and templates.
Please note that this commit does not integrate media into the existing UI. If you would like to see the new UI, navigate to the post editor and run the following in your browser's Javascript console:

	new wp.media.controller.Workflow().render().modal.open();


The Javascript is broken up into two files, with the slugs media-models and media-views.

* media-models: The models are UI agnostic, and can be used independent of the views. If you'd like to create custom UIs, this is the script for you.

* media-views: This is the Media Experience. The views (and controllers) depend on the models (which are listed as a dependency and will automatically be included thanks to wp_enqueue_script). The views also require the media templates, media-view styles, and the plupload bridge settings. Perhaps we should create a function to include the whole shebang, but in the meantime...

To include media-views in the admin, run the following PHP in or after 'admin_enqueue_scripts':

	wp_enqueue_script( 'media-views' );
	wp_enqueue_style( 'media-views' );
	wp_plupload_default_settings();
	add_action( 'admin_footer', 'wp_print_media_templates' );

see #21390.



git-svn-id: http://core.svn.wordpress.org/trunk@21683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-31 04:54:23 +00:00
Bot (Assets) e286612fda Compress scripts/styles: 3.5-alpha-21678.
git-svn-id: http://core.svn.wordpress.org/trunk@21678 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-30 21:59:32 +00:00
Andrew Ozz f44e60e0fa Update the query strings to refresh the toolbar sprites, props ocean90, see #20033
git-svn-id: http://core.svn.wordpress.org/trunk@21677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-30 21:46:37 +00:00
Bot (Assets) e0835b5fc4 Compress scripts/styles: 3.5-alpha-21663.
git-svn-id: http://core.svn.wordpress.org/trunk@21663 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-30 04:09:57 +00:00
Andrew Nacin 5f8add5ad2 Fix typo in CSS. props SergeyBiryukov. fixes #20587.
git-svn-id: http://core.svn.wordpress.org/trunk@21661 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-30 03:04:10 +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 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
bumpbot cbacfc849c Compress scripts/styles: 3.5-alpha-21460.
git-svn-id: http://core.svn.wordpress.org/trunk@21460 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-06 18:58:29 +00:00
azaozz 853df37fe8 Replace last remaining gradients with css, standardize the gradient css cascade, props ocean90, fixes #16461
git-svn-id: http://core.svn.wordpress.org/trunk@21459 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-06 17:21:41 +00:00
bumpbot f8ce3f7163 Compress scripts/styles: 3.5-alpha-21453.
git-svn-id: http://core.svn.wordpress.org/trunk@21453 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-06 00:58:32 +00:00
azaozz 4ef4df2f3e Accessibility: add off-screen Log Out link in the toolbar, tweak the class names of the accessible links in #adminbar, see #21312
git-svn-id: http://core.svn.wordpress.org/trunk@21452 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-06 00:34:44 +00:00
bumpbot fc62ad5e57 Compress scripts/styles: 3.5-alpha-21443.
git-svn-id: http://core.svn.wordpress.org/trunk@21443 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-05 22:58:29 +00:00
azaozz 83d04bb82a CSS cleanup: take out -moz-box-shadow, fixes #21482
git-svn-id: http://core.svn.wordpress.org/trunk@21439 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-05 22:41:49 +00:00
azaozz c368f0e6a1 Accessibility: fix the Skip to content link, show it on :focus, improve the styling of the skip links when shown, see #21310, see #21471
git-svn-id: http://core.svn.wordpress.org/trunk@21435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-05 21:37:57 +00:00
bumpbot bb04145462 Compress scripts/styles: 3.5-alpha-21429.
git-svn-id: http://core.svn.wordpress.org/trunk@21429 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-05 20:58:19 +00:00
azaozz 30dd9b1aa6 Accessibility: add text to the updates link in the toolbar, props SergeyBiryukov, fixes #21333
git-svn-id: http://core.svn.wordpress.org/trunk@21425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-05 19:10:11 +00:00
bumpbot e2c2d70548 Compress scripts/styles: 3.5-alpha-21424.
git-svn-id: http://core.svn.wordpress.org/trunk@21424 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-05 18:58:19 +00:00
azaozz 6bf5d66d5b Add "Skip to toolbar" accessibility shortcut, see #21471
git-svn-id: http://core.svn.wordpress.org/trunk@21423 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-05 18:41:52 +00:00
bumpbot 0d4970e928 Compress scripts/styles: 3.5-alpha-21338.
git-svn-id: http://core.svn.wordpress.org/trunk@21339 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 18:58:20 +00:00
azaozz dcf3b84ebb Reset text-indent on the toolbar, props mfields, fixes #21362
git-svn-id: http://core.svn.wordpress.org/trunk@21335 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 18:38:16 +00:00
bumpbot 6c82674ea0 Compress scripts/styles: 3.5-alpha-21321.
git-svn-id: http://core.svn.wordpress.org/trunk@21321 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 06:58:20 +00:00
azaozz 883114f813 RTL css for the spinner in internal linking, see #21351
git-svn-id: http://core.svn.wordpress.org/trunk@21320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 05:15:26 +00:00
bumpbot 63df9ad5e0 Compress scripts/styles: 3.5-alpha-21309.
git-svn-id: http://core.svn.wordpress.org/trunk@21309 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-23 22:58:26 +00:00
azaozz 4a9e3f4297 Fix internal linking search spinner position, fixes #21351
git-svn-id: http://core.svn.wordpress.org/trunk@21306 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-23 22:18:28 +00:00
bumpbot fc0ac0c0a9 Compress scripts/styles: 3.5-alpha-21297.
git-svn-id: http://core.svn.wordpress.org/trunk@21297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-21 00:58:19 +00:00
azaozz 4293682480 Add query args to refresh the sprite images, see #21019
git-svn-id: http://core.svn.wordpress.org/trunk@21296 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-20 23:38:23 +00:00
azaozz af65e282d2 Retina: fix the icon positions in the original editor buttons sprite, reset the css tweaks and adjust the positions in the 2x sprite, see #21019
git-svn-id: http://core.svn.wordpress.org/trunk@21295 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-20 23:07:48 +00:00
bumpbot 0230a753ec Compress scripts/styles: 3.5-alpha-21229. TinyMCE updated.
git-svn-id: http://core.svn.wordpress.org/trunk@21229 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-07 16:58:20 +00:00
azaozz 54294ad174 Update TinyMCE to 3.5.4.1, fixes #21173
git-svn-id: http://core.svn.wordpress.org/trunk@21228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-07 16:22:53 +00:00
bumpbot f6669710e0 Compress scripts/styles: 3.5-alpha-21103.
git-svn-id: http://core.svn.wordpress.org/trunk@21103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-22 00:58:22 +00:00
azaozz 1f68942126 Add 2x TinyMCE icons, props empireoflight, see #21019 for trunk
git-svn-id: http://core.svn.wordpress.org/trunk@21101 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-22 00:31:18 +00:00
nacin 1d9c8f9aed Move customize-controls RTL CSS to wp-admin. see #20785.
git-svn-id: http://core.svn.wordpress.org/trunk@20963 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-30 21:12:36 +00:00
nacin b698913b10 Move customize-controls CSS and JS to wp-admin. fixes #20785.
git-svn-id: http://core.svn.wordpress.org/trunk@20960 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-30 20:11:04 +00:00
bumpbot 59eeca6e71 Compress scripts/styles: 3.4-RC1-20956.
git-svn-id: http://core.svn.wordpress.org/trunk@20956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-30 16:58:19 +00:00
nacin df1a904b9a Theme Customizer: Add the theme name to the 'You are previewing' string in the left pane, using a placeholder. props SergeyBiryukov, xibe. fixes #20782.
git-svn-id: http://core.svn.wordpress.org/trunk@20955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-30 16:57:44 +00:00
bumpbot 77cd1c3682 Compress scripts/styles: 3.4-RC1-20950.
git-svn-id: http://core.svn.wordpress.org/trunk@20950 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-28 20:58:19 +00:00
markjaquith 0b0ba9bc54 RTL font updates for the Theme Customizer. props yoavf. fixes #20585
git-svn-id: http://core.svn.wordpress.org/trunk@20949 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-28 20:00:15 +00:00
bumpbot c8485f2a1b Compress scripts/styles: 3.4-beta4-20941.
git-svn-id: http://core.svn.wordpress.org/trunk@20941 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-26 20:58:28 +00:00
koopersmith c2c3f2ba7f Theme Customizer: Don't expand theme title if there are no details to show. props nacin, fixes #20757, see #19910.
git-svn-id: http://core.svn.wordpress.org/trunk@20940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-26 20:47:55 +00:00
bumpbot cc8f2c1e2d Compress scripts/styles: 3.4-beta4-20939.
git-svn-id: http://core.svn.wordpress.org/trunk@20939 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-26 19:58:26 +00:00
koopersmith 187cdaf4cd Theme Customizer: Color picker RTL fixes. props ocean90, see #20448.
git-svn-id: http://core.svn.wordpress.org/trunk@20938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-26 19:02:09 +00:00
bumpbot 78f3c9a8e6 Compress scripts/styles: 3.4-beta4-20937.
git-svn-id: http://core.svn.wordpress.org/trunk@20937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-26 18:58:28 +00:00
koopersmith 0df3218cc2 Theme Customizer: Ensure that JS color controls always use real color values, even if the server-side value is a hex value without a hash. fixes #20448, see #19910.
Adds WP_Customize_Setting->sanitize_js_callback and 'customize_sanitize_js_$settingID' filter, to filter values before they're passed to JS using WP_Customize_Setting->js_value().

Adds support for regular hex colors to the color picker.

Changes color methods:
* sanitize_hex_color() accepts 3 and 6 digit hex colors (with hashes) and the empty string.
* sanitize_hex_color_no_hash() accepts 3 and 6 digit hex colors (without hashes) and the empty string.
* maybe_hash_hex_color() ensures that a hex color has a hash, and otherwise leaves the value untouched.


git-svn-id: http://core.svn.wordpress.org/trunk@20936 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-26 18:44:31 +00:00
bumpbot 0b1958f333 Compress scripts/styles: 3.4-beta4-20935.
git-svn-id: http://core.svn.wordpress.org/trunk@20935 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-26 15:58:30 +00:00
nacin 8766391117 Theme Customizer: More RTL. props ocean90. fixes #20585.
git-svn-id: http://core.svn.wordpress.org/trunk@20932 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-26 15:22:02 +00:00
bumpbot 71b00f37aa Compress scripts/styles: 3.4-beta4-20929.
git-svn-id: http://core.svn.wordpress.org/trunk@20929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-26 05:58:26 +00:00
koopersmith 20f804ab8f Theme Customizer: Fix IE8 drag/drop uploader incompatibility. see #20582, #19910.
Bind drag/drop support checks to individual plupload instances.
Add drag-over classes to wp.Uploader and corresponding styles to customize image controls.


git-svn-id: http://core.svn.wordpress.org/trunk@20928 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-26 05:55:40 +00:00
bumpbot 366ca788d5 Compress scripts/styles: 3.4-beta4-20921.
git-svn-id: http://core.svn.wordpress.org/trunk@20921 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-25 22:58:24 +00:00
koopersmith 2d51b1376e Theme Customizer: Fix width for image picker thumbnails in IE8. props SergeyBiryukov, see #20582.
git-svn-id: http://core.svn.wordpress.org/trunk@20920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-25 22:52:05 +00:00
koopersmith 69c970a4a1 Hide 'Customize' toolbar item when customizer is not supported. fixes #20751, see #19910.
Removes script queue check for 'customize-loader' from wp_customize_support_script(), because we may want to check for customize-support on a page without the loader.


git-svn-id: http://core.svn.wordpress.org/trunk@20918 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-25 22:26:00 +00:00
bumpbot 62608b9370 Compress scripts/styles: 3.4-beta4-20865.
git-svn-id: http://core.svn.wordpress.org/trunk@20865 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 03:58:23 +00:00
koopersmith 4973f92107 Theme Customizer: Change 'Return to...' link to 'Cancel' and move 'Save' button to header. props helenyhou, fixes #20692, see #19910.
git-svn-id: http://core.svn.wordpress.org/trunk@20864 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 03:29:51 +00:00
bumpbot 95ecb49c92 Compress scripts/styles: 3.4-beta4-20825.
git-svn-id: http://core.svn.wordpress.org/trunk@20825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-17 21:58:27 +00:00
koopersmith 4e5c3519ea Theme Customizer: RTL fixes. props ocean90, fixes #20585, see #19910.
git-svn-id: http://core.svn.wordpress.org/trunk@20824 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-17 21:37:00 +00:00
bumpbot 3c413b1904 Compress scripts/styles: 3.4-beta4-20823.
git-svn-id: http://core.svn.wordpress.org/trunk@20823 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-17 17:22:40 +00:00
koopersmith 67e4ef9102 Theme Customizer: Sidebar RTL fixes. see #19910.
git-svn-id: http://core.svn.wordpress.org/trunk@20822 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-17 17:08:20 +00:00
bumpbot 125c5610af Compress scripts/styles: 3.4-beta4-20821.
git-svn-id: http://core.svn.wordpress.org/trunk@20821 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-17 15:58:23 +00:00
koopersmith d28902a112 Theme Customizer: Ensure image control tabs are full-width to prevent floating bugs. see #19910.
git-svn-id: http://core.svn.wordpress.org/trunk@20820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-17 15:56:18 +00:00
bumpbot 9047cffc73 Compress scripts/styles: 3.4-beta4-20815.
git-svn-id: http://core.svn.wordpress.org/trunk@20815 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-16 23:58:26 +00:00
azaozz 0450af0ad5 Retina display icons: add 2x sprite for the toolbar, props chexee, fixes #20293
git-svn-id: http://core.svn.wordpress.org/trunk@20814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-16 23:55:38 +00:00
bumpbot d8b1541f91 Compress scripts/styles: 3.4-beta4-20792.
git-svn-id: http://core.svn.wordpress.org/trunk@20792 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-15 01:58:21 +00:00
koopersmith ae14873b96 Theme Customizer: Prevent sidebar scrollbar from overlapping sidebar header or footer. fixes #20649, #20650, see #19910.
git-svn-id: http://core.svn.wordpress.org/trunk@20791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-15 01:03:31 +00:00
bumpbot 791e0df3dd Compress scripts/styles: 3.4-beta4-20778.
git-svn-id: http://core.svn.wordpress.org/trunk@20778 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-12 00:58:21 +00:00
koopersmith eb44b211af Theme Customizer: Flex-width friendly UI, improved typographical hierarchy. see #19910.
git-svn-id: http://core.svn.wordpress.org/trunk@20777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-12 00:48:20 +00:00
bumpbot e12aedf713 Compress scripts/styles: 3.4-beta4-20762.
git-svn-id: http://core.svn.wordpress.org/trunk@20762 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-10 00:58:25 +00:00
koopersmith 1bac3f30e3 Theme Customizer: Add a fallback UI for browsers that do not support drag and drop upload. see #19910, #20452, #20582.
git-svn-id: http://core.svn.wordpress.org/trunk@20761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-10 00:15:53 +00:00
bumpbot a9263fe649 Compress scripts/styles: 3.4-beta3-20678.
git-svn-id: http://core.svn.wordpress.org/trunk@20678 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-01 22:58:23 +00:00
ryan 52c4490065 RTL style fixes for the Theme Customizer. Props ocean90, helenyhou.
git-svn-id: http://core.svn.wordpress.org/trunk@20674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-01 22:06:53 +00:00
bumpbot 01b652696f Compress scripts/styles: 3.4-beta3-20663.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20663 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-30 21:58:31 +00:00
nacin 842e757fd1 Explicitly set the dimensions of the avatar in the toolbar's profile menu. Avoids issues where overridden avatars could result in images that don't fit. props andrewryno. fixes #19539.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-30 21:38:39 +00:00
bumpbot 24b4c94fcf Compress scripts/styles: 3.4-beta3-20647.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20647 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-30 15:58:21 +00:00
koopersmith 2f2cb0926f Theme Customizer: Migrate to an ajax-based solution for refreshing the preview and saving. see #20507, #19910.
* Use ajax-based saving, add saving indicator.
* Use ajax-based refreshing instead of form targets.
* Instead of using hidden inputs with prefixed names to track the canonical data, use the values stored in wp.customize. Encode the values as JSON before sending to avoid bugs with ids that contain square brackets (PHP mangles POST values with nested brackets).
* Use wp.customize.Previewer solely for the purpose of previewing; move the postMessage connection with the parent frame and other unrelated code snippets into the 'ready' handler.


git-svn-id: http://svn.automattic.com/wordpress/trunk@20645 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-30 15:46:17 +00:00
bumpbot 17ee4064b1 Compress scripts/styles: 3.4-beta3-20644.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20644 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-30 12:58:19 +00:00
nacin b1d8cfb1c6 Fix typo in hex color code. props bananastalktome. fixes #20574.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20643 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-30 12:50:55 +00:00
bumpbot 58ef081f06 Compress scripts/styles: 3.4-beta3-20603.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-25 21:58:24 +00:00
koopersmith a75702bba4 Theme Customizer: Add statuses to the color and image controls. see #19910.
Move the color control from the switch statement to WP_Customize_Color_Control.
Markup improvements.


git-svn-id: http://svn.automattic.com/wordpress/trunk@20598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-25 21:03:29 +00:00
bumpbot ad4bfd0a45 Compress scripts/styles: 3.4-beta2-20548.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20548 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-20 04:58:21 +00:00
koopersmith 3668ad4516 Theme Customizer: Firefox CSS love. props helenyhou, see #19910.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20547 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-20 04:46:02 +00:00
bumpbot ca047faab9 Compress scripts/styles: 3.4-beta2-20546.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-20 02:58:21 +00:00
koopersmith a20bfcd6b1 Theme Customizer: Improve image picker control. see #19910.
Overhauled image pickers:
* Add support for drag and drop uploads to image controls.
* Improve the 'uploaded' tab in image controls: automatically add images uploaded during the current session, hide the tab when no uploaded images exist.
* Move the header image control to the WP_Customize_Header_Image_Control class. Remove wp_customize_print_uploaded_headers() and wp_customize_print_uploaded_headers() functions.
* Abstract the dropdown functionality from the color picker to the .dropdown class.
* In wp.Uploader, unset element keys if passed an empty jQuery collection.



git-svn-id: http://svn.automattic.com/wordpress/trunk@20545 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-20 02:39:55 +00:00
bumpbot f8201ed9e2 Compress scripts/styles: 3.4-beta2-20531.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20531 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-19 06:58:24 +00:00
koopersmith 4900af30f1 Theme Customizer: Box model fixes for image picker thumbnails. see #19910.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-19 06:45:31 +00:00
koopersmith c0cc088cb5 Theme Customizer: Begin improving image picker markup/styles. see #19910.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20527 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-19 06:29:54 +00:00
bumpbot 1aa1918f28 Compress scripts/styles: 3.4-beta2-20512.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-18 18:58:19 +00:00
koopersmith 8acedf47a9 Theme Customizer: Color control hover styles. see #19910.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-18 18:01:20 +00:00
bumpbot 1085d4ecb7 Compress scripts/styles: 3.4-beta2-20505.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20505 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-18 14:58:20 +00:00
koopersmith 5e5a6446d1 Theme Customizer: Improve markup/styles for opened color picker. see #19910.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20504 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-18 14:32:05 +00:00
bumpbot 83f549b02d Compress scripts/styles: 3.4-beta2-20500.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20500 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-17 23:58:21 +00:00
koopersmith 1c19b69eeb Theme Customizer: Improve color picker toggle styles and markup. see #19910.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20497 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-17 22:58:58 +00:00
bumpbot 2884dc969d Compress scripts/styles: 3.4-beta2-20478.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-16 14:58:23 +00:00
koopersmith a5dacf7da5 Theme Customizer: Allow the customize iframe to be accessed directly (with full feature support). see #19910.
* Move the 'Return to Manage Themes' and 'Collapse Sidebar' actions from themes.php to customize-controls.php.
* Create a postMessage connection between themes.php and customize-controls.php.
* Allow the theme customizer to be accessed directly (independent of themes.php and the customize loader).
* Add wp_customize_href() and wp_customize_url().
* Remove wp_customize_loader(). To include the loader, use wp_enqueue_script( 'customize-loader' ).
* The theme customizer now requires postMessage browser support.
* Add .hide-if-customize and .hide-if-no-customize CSS classes.
* Clean up customize-preview.js.

git-svn-id: http://svn.automattic.com/wordpress/trunk@20476 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-16 14:02:28 +00:00
bumpbot ee1bfeb6ab Compress scripts/styles: 3.4-beta2-20457.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-12 21:58:23 +00:00
koopersmith 017c1a2b81 Theme Customizer: RTL styles. props ocean90. see #19910.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20456 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-12 21:53:19 +00:00
bumpbot 5226ec2d04 Compress scripts/styles: 3.4-beta1-20405.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20405 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-08 21:58:20 +00:00
koopersmith 5a8121fc8f Theme Customizer: Add a 'previewing' notice by the theme name. Reduce padding and size on section titles, add a border between section titles and content to better indicate the title as a click target. see #19910.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-08 21:17:46 +00:00
bumpbot e60bdb8dc3 Compress scripts/styles: 3.4-beta1-20394.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20394 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-07 00:58:21 +00:00
koopersmith d1b815f87f Theme Customizer: Remove small screenshot from theme title bar. see #19910.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-07 00:33:36 +00:00
bumpbot 9b3fe2d062 Compress scripts/styles: 3.4-alpha-20291.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20291 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-25 21:58:20 +00:00
koopersmith 4e2cbd6a4d Theme Customizer: Add 'choose image' functionality to image controls. Rough first pass, using header images as an example. see #19910.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20290 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-25 21:18:32 +00:00
nacin cfacacde28 Move editor-buttons.css to editor.css to reflect its current use. see #19843.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-24 13:43:52 +00:00
bumpbot e52ee97665 Compress scripts/styles: 3.4-alpha-20280.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20280 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-24 04:58:29 +00:00
koopersmith 6213bdfa52 Theme Customizer: First pass at image controls. Use header_image as the initial case. Add a 'removed' control param for upload/image controls to map 'removed' to a value other than the empty string. see #19910.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20278 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-24 04:35:13 +00:00
bumpbot 863a39fac1 Compress scripts/styles: 3.4-alpha-20186.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20186 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-15 05:45:23 +00:00
koopersmith 038b97ceb5 Theme Customizer: More sidebar CSS tweaks. Padding and margins. see #19910.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20185 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-15 05:44:37 +00:00
koopersmith 592ed46360 Theme Customizer: Tweak radio control padding. see #19910.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20184 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-15 05:33:41 +00:00
koopersmith 6bda61536e Theme Customizer: Improve sidebar CSS. Display most elements inline, refine padding/line-heights. see #19910.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20181 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-15 05:30:11 +00:00
bumpbot a7de50f6b0 Compress scripts/styles: 3.4-alpha-20167. TinyMCE updated.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20167 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-09 23:30:29 +00:00
azaozz dcb5dc204c Add support for DFW for all instances of the editor, part props sushkov, fixes #19843
git-svn-id: http://svn.automattic.com/wordpress/trunk@20166 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-09 23:23:10 +00:00
bumpbot 3bf6b4ab5a Compress scripts/styles: 3.4-alpha-20165.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20165 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-09 01:45:40 +00:00
azaozz 52f321913a Add new comment from post edit screen, partial props: garyc40, see #15527
git-svn-id: http://svn.automattic.com/wordpress/trunk@20164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-09 01:30:11 +00:00
bumpbot 15d3cc2c9f Compress scripts/styles: 3.4-alpha-20134.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20134 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-07 03:30:21 +00:00
koopersmith d4f20e47b7 Theme Customizer: Move contents of customize.loader.css to wp-admin.css. Make markup/CSS for the full-screen overlay modular. see #19910.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20133 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-07 03:19:35 +00:00
bumpbot 524472fca7 Compress scripts/styles: 3.4-alpha-20131.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20131 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-07 00:00:20 +00:00
koopersmith 28ee213574 Theme Customizer: Color picker markup/CSS improvements. Part 1. see #19910.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-06 23:55:16 +00:00
bumpbot 7615e2d64e Compress scripts/styles: 3.4-alpha-20122.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20122 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-06 02:15:22 +00:00
koopersmith 380985868b Theme Customizer: Add working color pickers. First pass. see #19910.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20120 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-06 02:03:50 +00:00
bumpbot 5d075505be Compress scripts/styles: 3.4-alpha-20111.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-04 05:00:20 +00:00
koopersmith efafcf2fc9 Theme Customizer: Improve markup and CSS for the return/collapse actions and the action bars within the customize controls form. see #19910.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-04 04:57:24 +00:00
bumpbot 8d41e38f7a Compress scripts/styles: 3.4-alpha-20109.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-04 02:45:21 +00:00
koopersmith 125a02a3c5 Theme Customizer: Add mini screenshot and description to theme info section. see #19910.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-04 02:40:18 +00:00
bumpbot d260a2c5fa Compress scripts/styles: 3.4-alpha-20107.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20107 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-04 02:15:20 +00:00
koopersmith 9523a9037c Theme Customizer: Improve form markup. Make the theme title/author a section. Prevent section arrows from blocking clicks. see #19910.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-04 02:06:11 +00:00
bumpbot 2c4438f379 Compress scripts/styles: 3.4-alpha-19996.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19997 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-25 04:16:01 +00:00
koopersmith c832f904ae Introduce new theme customizer to replace theme preview. Rough first pass. props koopersmith, ocean90. see #19910.
Merges in http://plugins.svn.wordpress.org/gandalf/branches/dev/ rev 510148.

git-svn-id: http://svn.automattic.com/wordpress/trunk@19995 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-25 04:12:43 +00:00
nacin bd5d732b05 Compress CSS/JS using the latest version of YUI Compressor, 2.4.7. Removes final semicolon in a CSS declaration block. Previously, committers used 2.4.2. see #19592.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19803 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-01 14:37:52 +00:00
bumpbot b15168c614 Compress scripts/styles: 3.4-alpha-19719.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19719 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-08 23:27:39 +00:00
koopersmith 8a92bb2cea Allow toolbar submenus to expand to the width of the parent item. Props camiloclc, fixes #19139.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19717 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-08 23:15:16 +00:00
ryan e3b46b25d3 Lose EOF ?>. Clean up EOF newlines. fixes #12307
git-svn-id: http://svn.automattic.com/wordpress/trunk@19712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-08 17:01:11 +00:00
bumpbot d50e2a9633 Compress scripts/styles: 3.4-alpha-19704.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-06 18:43:22 +00:00
nacin ef3987f668 Show cursor for the search icon. props jaquers. fixes #19594.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19703 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-06 18:33:40 +00:00
ryan 616c35e71c One newline is enough.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-05 20:10:39 +00:00
ryan c924060858 Remove extraneuos newlines
git-svn-id: http://svn.automattic.com/wordpress/trunk@19623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-21 18:42:11 +00:00
nacin 9a62c5781c Compress scripts/styles: 3.4-alpha-19620
git-svn-id: http://svn.automattic.com/wordpress/trunk@19620 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-21 04:27:29 +00:00
nacin a13cb6e2ba Revert debug in [19618].
git-svn-id: http://svn.automattic.com/wordpress/trunk@19619 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-21 04:24:59 +00:00
nacin 212e7bfc01 '3.4-alpha-19618'
git-svn-id: http://svn.automattic.com/wordpress/trunk@19618 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-21 04:22:21 +00:00
nacin ec305a2ee0 Hover state for the Add New admin bar icon. props johnjamesjacoby. fixes #19475.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-09 19:20:47 +00:00
azaozz 51da683ed1 Toolbar fix bg color in IE8 & 9 folded search box and IE7 search box size, see #19424
git-svn-id: http://svn.automattic.com/wordpress/trunk@19566 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-07 01:18:23 +00:00
azaozz 2896a54e03 Fix position of icons in Opera RTL, see #19424
git-svn-id: http://svn.automattic.com/wordpress/trunk@19561 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-06 22:37:28 +00:00
ryan d295e6e600 Introduce user-actions group and move profile and logout menu items to it and change priority. Props koopersmith. fixes #19425
git-svn-id: http://svn.automattic.com/wordpress/trunk@19559 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-06 03:51:58 +00:00
nacin 086828df52 Copy xit.gif to wp-includes/images for work with pointers CSS. fixes #19441.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19557 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-06 02:39:53 +00:00
ryan 816aaad78a Force display:inline for wpadminbar avatar image to avoid stomping by themes. Props ocean90. fixes #19435
git-svn-id: http://svn.automattic.com/wordpress/trunk@19552 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-05 20:54:55 +00:00
ryan d88fcedd1b Admin bar RTL fixes for icon and search styling. Props koopersmith. fixes #19424
git-svn-id: http://svn.automattic.com/wordpress/trunk@19551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-05 20:51:41 +00:00
ryan 6171f93c83 Remove separator from appearance group. Props koopersmith. fixes #19351
git-svn-id: http://svn.automattic.com/wordpress/trunk@19550 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-05 20:49:51 +00:00
nacin a07b95a5f3 Admin bar styling: Ensure text next to icon stays visible on focus when jQuery is not loaded. props koopersmith, linuxologos, fixes #19410.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19540 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-02 17:15:02 +00:00
koopersmith 39ac39ef2c In toolbar, move search item to the right of the account menu and make it icon-only. fixes #19370, #19406.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19518 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 03:03:12 +00:00
koopersmith 9fdd8c9301 Update icons in toolbar: WP logo, comments, update, add new. props empireoflight, JohnONolan, fixes #19404.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 02:53:44 +00:00
koopersmith 9c4cab4c3b Begin to generalize toolbar icon CSS. see #19404.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19500 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 00:16:17 +00:00
koopersmith 56e0dd7bd2 Prevent misshapen background from appearing when admin-bar user info item is focused. props duck_, fixes #19356.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19480 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-29 18:49:30 +00:00
koopersmith b1b9aaa86c &nbsp; is the new bump.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19431 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 22:21:15 +00:00
koopersmith eecf9dc3c1 Admin Bar: Secondary is so passé. Groups are the new black. fixes #19136.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19429 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 21:46:47 +00:00
koopersmith 689dade993 RTL styles for pointers. props helenyhou, fixes #19335.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19419 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 18:53:11 +00:00
koopersmith e87e9b21e4 Center left/right pointer arrows, so arrows appear correctly cross-browser. see #18693.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19416 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 17:28:16 +00:00
azaozz 9cfbe50743 Admin bar: lighter search icon, props chexee, fixes #19151
git-svn-id: http://svn.automattic.com/wordpress/trunk@19413 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-22 23:36:58 +00:00
azaozz 34d1e6c8f2 Admin bar: add class for IE9 and fix background color in search, props SergeyBiryukov, see #19151
git-svn-id: http://svn.automattic.com/wordpress/trunk@19407 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-22 21:35:08 +00:00
koopersmith 4540a140fa Tighten admin bar submenu shadows. fixes #19186.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19403 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-22 20:52:17 +00:00
azaozz 01942e30b8 Admin bar: min-width same as on admin body, see #81197
git-svn-id: http://svn.automattic.com/wordpress/trunk@19401 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-22 18:46:32 +00:00
koopersmith 6c7924ab87 Center the admin bar search item horizontally. see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19391 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-22 01:00:10 +00:00
azaozz e7ed3a651d Admin bar: re-center the search box, see #81197
git-svn-id: http://svn.automattic.com/wordpress/trunk@19370 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-21 03:34:23 +00:00
azaozz eb5dbde246 Admin bar IE7, iPad and rtl refresh, see #81197
git-svn-id: http://svn.automattic.com/wordpress/trunk@19368 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-21 02:03:02 +00:00
azaozz 42cae425e5 Update admin-bar-sprite, refresh admin-bar-rtl.css, props ocean90, fixes #19289, fixes #19293
git-svn-id: http://svn.automattic.com/wordpress/trunk@19354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-19 18:09:04 +00:00
azaozz 6e1be9f5fb Fix admin bar in iOS5 iPads, props georgestephanis, fixes #18654
git-svn-id: http://svn.automattic.com/wordpress/trunk@19338 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-18 17:16:26 +00:00
koopersmith 924ed5885c Allow linkless items in the admin bar. Improve non-jQuery admin bar tabbing. fixes #19277, #19149, #19164, #15519. see #18197, #19088.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-18 00:12:57 +00:00
koopersmith ee60065e28 Add reset CSS (clear) to the admin bar. props scribu. fixes #19260, see #18179.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-17 16:55:44 +00:00
nacin 8fd2bc97a6 ALIGN ALL THE THINGS. fixes #19242.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19278 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-14 20:40:31 +00:00
nacin 491bb91dd1 Fix admin bar profile dropdown display when avatars are disabled. props deltafactory for initial patch. fixes #18899.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19276 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-14 20:04:59 +00:00
koopersmith 9057e02e72 More admin bar markup improvements. Make primary and secondary submenu groups siblings (and prevent ul nesting issues). see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19270 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-14 11:05:37 +00:00
koopersmith 8740d2c65d New pointer styles. Arrows are currently optimized to point upward. props georgestephanis, chexee. see #18693.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19269 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-14 10:30:14 +00:00
koopersmith f099d03f84 Improve admin bar markup. Un-nest top level secondary menu. Remove unnecessary span. see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-12 00:26:55 +00:00
koopersmith 4de1815c67 Add secondary flag to admin bar. fixes #19136.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19230 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-09 19:12:48 +00:00
koopersmith bd80a28a82 Remove Helvetica Neue from the admin bar font stack. see #19145.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-08 21:12:22 +00:00
azaozz 57340c009e Fix admin bar background gradients, props ocean90, fixes #19163
git-svn-id: http://svn.automattic.com/wordpress/trunk@19220 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-08 20:13:41 +00:00
azaozz b8f091fcbc Fix a:focus styling and backwards tabbing, add tabindex arg for <a>, see #19088
git-svn-id: http://svn.automattic.com/wordpress/trunk@19207 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-07 20:38:38 +00:00
nacin 3a3c7e2334 Remove old vendor prefixes. props andrewryno, ocean90, fixes #18700.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-07 17:32:24 +00:00
koopersmith 4329269b16 Remove dead padding/margin CSS from the admin bar. These previously were used for the now-removed arrows. see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19196 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-07 00:30:49 +00:00
nacin f9b1519cfa Remove commented out code. props ocean90, fixes #19126.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19183 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 21:19:12 +00:00
nacin 18782d3c8c Give selectors their own lines. see #19126.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 05:15:17 +00:00
nacin 630fb847ad Hide right border on final admin bar menu item with :last-child, rather than assuming it is search. props markjaquith, fixes #19126.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19168 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 05:13:18 +00:00
nacin ef7ee3d99c Copy Twenty Eleven's search icon to core for the admin bar. props SergeyBiryukov. fixes #19138.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19167 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 04:49:05 +00:00
azaozz 94ef5dd13f Support for "tabbing" through the admin bar and admin menu, fixes #19088
git-svn-id: http://svn.automattic.com/wordpress/trunk@19162 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 01:13:18 +00:00
duck_ 27b7255c6c Don't override .shortlink-input left/right padding of 1em with CSS shorthand later on. Fixes #19147.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19161 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 20:45:15 +00:00
azaozz 057ceb34de Admin-bar.css refresh, add back IE compat. "return false" so clicking on the search box doesn't scropp the page to the top, props ocean90, fixes #19153, fixes #19151
git-svn-id: http://svn.automattic.com/wordpress/trunk@19160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 19:46:43 +00:00
azaozz 56e8457205 Fix the global :before/:after selectors for Opera, props SergeyBiryukov, see #19137
git-svn-id: http://svn.automattic.com/wordpress/trunk@19157 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 17:35:00 +00:00