Commit Graph

583 Commits

Author SHA1 Message Date
Andrew Ozz 3d907b582a Fix pending comments/plugins count bubbles, fixes #25918
git-svn-id: https://develop.svn.wordpress.org/trunk@26447 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-28 01:29:14 +00:00
Matt Thomas 15728818b0 Add spacing between elements, correct vertical alignment in Add New Category form. Fixes #26291, props mattheu.
git-svn-id: https://develop.svn.wordpress.org/trunk@26443 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-27 23:06:09 +00:00
Matt Thomas af4c711238 Prevent submenu flyouts from appearing below elements in the main column. Fixes #26280.
git-svn-id: https://develop.svn.wordpress.org/trunk@26442 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-27 23:01:53 +00:00
Andrew Ozz fb115b009e Widgets: fix no-js and accessibility modes, props shaunandrews, fixes #26165.
git-svn-id: https://develop.svn.wordpress.org/trunk@26439 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-27 22:16:27 +00:00
Matt Thomas 902a3571b6 Fix the alignment of checkboxes in menu location settings, and add responsive adjustments for those checkboxes. Fixes #26259, props mattheu.
git-svn-id: https://develop.svn.wordpress.org/trunk@26438 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-27 20:19:56 +00:00
Matt Thomas e31bda9bf4 Set the font size for all text within .form-table to 14px. Fixes #26271.
git-svn-id: https://develop.svn.wordpress.org/trunk@26437 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-27 20:11:43 +00:00
Matt Thomas ae0d35a7ed Give th.th-full font-weight: 400 so its label doesn't get emboldened. Fixes #26272.
git-svn-id: https://develop.svn.wordpress.org/trunk@26436 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-27 19:56:05 +00:00
Matt Thomas 4be0cfa019 Design fixes to the color picker:
* Apply top: 0 to .wp-color-result (open and closed).
* Reduce text size in hex-value field.
* Move hex-value-field styles to color-picker.css.

Fixes #26289, props mattheu.



git-svn-id: https://develop.svn.wordpress.org/trunk@26435 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-27 19:50:48 +00:00
Matt Thomas 8b21aa420c Style the hr element in the admin. Fixes #23856.
git-svn-id: https://develop.svn.wordpress.org/trunk@26434 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-27 19:36:36 +00:00
Matt Thomas e029951d27 Press This fixes:
* Override responsive styles for the Press This window
* Remove the old header logo in Press This
* Add the new Dashicon WP logo

See #25858.



git-svn-id: https://develop.svn.wordpress.org/trunk@26433 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-27 19:15:29 +00:00
Andrew Ozz 33abd3765e Widgets: prevent the sidebars from getting too wide, add a little more space between Available Widgets and the sidebars, props shaunandrews, see #25821.
git-svn-id: https://develop.svn.wordpress.org/trunk@26432 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-27 17:44:26 +00:00
Andrew Ozz 5ec7a534a9 Dashboard: set containment for postboxes to "document" and give empty sortables some min-height so postboxes can be dropped there. Props lessbloat, fixes #26026.
git-svn-id: https://develop.svn.wordpress.org/trunk@26429 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-27 02:02:19 +00:00
Andrew Ozz 3b2dc8f443 Heartbeat: introduce "suspend" functionality and enable it after 20 min. of inactivity, see #25073.
git-svn-id: https://develop.svn.wordpress.org/trunk@26428 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-27 01:55:59 +00:00
Andrew Ozz c83ea1d936 Widgets: remove leftover debug bits and fix jshint warnings in widgets.js, see #25952.
git-svn-id: https://develop.svn.wordpress.org/trunk@26427 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-27 01:41:27 +00:00
Andrew Ozz f4264f9446 Widgets: drop onto closed sidebars.
- Make dropping a widget easier by preventing the source sidebar from resizing while the widget is being dragged.
- Move widgets dropped on closed sidebars to the top. UI Sortable places them randomly near the bottom.
- Fix possible regression in wp_list_widget_controls(), add an optional argument to output the sidebar name inside the sortable container.
- Updated styles for sidebar description and widget-hover class.
Part props shaunandrews, fixes #25952.

git-svn-id: https://develop.svn.wordpress.org/trunk@26426 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-27 01:29:49 +00:00
Sergey Biryukov 60a28aa61a Fix the ability to save changes made to an image.
props markoheijnen.
fixes #26000.

git-svn-id: https://develop.svn.wordpress.org/trunk@26425 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 23:30:59 +00:00
Matt Thomas c294a6bd3e Correct the alignment of sortable list table headers. Fixes #26131, props jeremyfelt.
git-svn-id: https://develop.svn.wordpress.org/trunk@26424 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 22:54:20 +00:00
Matt Thomas d797d9955e Prevent horizontal scrolling when the responsive sidebar is open, pushing the main column off to the right. See #25858.
git-svn-id: https://develop.svn.wordpress.org/trunk@26423 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 22:43:39 +00:00
Matt Thomas 8a8f55024a Match current theme background and add theme hover state color to the highlight color in color schemes. Fixes #25967, props ryelle.
git-svn-id: https://develop.svn.wordpress.org/trunk@26422 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 22:35:38 +00:00
Andrew Ozz 4ccea9a8f6 Remove cloning of the search box with JS and move it to the bottom of the screen with CSS instead, see #26086
git-svn-id: https://develop.svn.wordpress.org/trunk@26421 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 22:18:14 +00:00
Matt Thomas eb4dccce32 Unify the style of button-small everywhere we use it, and make sure the edit slug input lines up with its button and label. Fixes #26261, props mattheu.
git-svn-id: https://develop.svn.wordpress.org/trunk@26420 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 22:09:28 +00:00
Matt Thomas 03f2da69e2 Remove gradients and text-shadow from ui-slider-handle and restyle it to mimic buttons. Match the background color to the chosen color scheme's -color. See #25858.
git-svn-id: https://develop.svn.wordpress.org/trunk@26417 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 21:37:20 +00:00
Matt Thomas 7e7d1b5690 Hide registered and users columns in Sites table on small screens to prevent columms from becoming too narrow. Fixes #25973, props johnbillion.
git-svn-id: https://develop.svn.wordpress.org/trunk@26416 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 19:36:14 +00:00
Matt Thomas 866af8ad2c Match the background color of the responsive toggle button active state to -submenu-background, so it matches color schemes. See #25858.
git-svn-id: https://develop.svn.wordpress.org/trunk@26415 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 19:16:19 +00:00
Matt Thomas b0d441f5e4 Eliminate the transition animation on the responsive sidebar; set the responsive sidebar to display: none by default so it doesn't appear momentarily when loading the page. Fixes #25969.
git-svn-id: https://develop.svn.wordpress.org/trunk@26414 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 19:05:41 +00:00
Matt Thomas 22509e807b Reintroduce a drop zone indicator in empty sidebars on the Widgets page. Fixes #26168, props shaunandrews.
git-svn-id: https://develop.svn.wordpress.org/trunk@26413 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 18:19:17 +00:00
Matt Thomas 32973b914f Adjust the mceResize handle so it matches the handle on the plain text editor. See #26241.
git-svn-id: https://develop.svn.wordpress.org/trunk@26412 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 17:52:09 +00:00
Matt Thomas 47772b85ca Better alignment of Visual and Text tabs with editor, better alignment of word count container with editor, eliminate gap between tabs and editor on Press This. Fixes #26238, props mattheu.
git-svn-id: https://develop.svn.wordpress.org/trunk@26411 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 17:47:08 +00:00
Matt Thomas 46a4342c67 Restore the bottom border to .wp-editor-container so it's not missing when the editor appears outside the main editor container. Fixes #26241, props mattheu.
git-svn-id: https://develop.svn.wordpress.org/trunk@26410 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 17:41:59 +00:00
Matt Thomas 68f7b803bc Keep the resize handle from jumping around when switching between the Visual and Text editors. Fixes #26246, props mattheu.
git-svn-id: https://develop.svn.wordpress.org/trunk@26408 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 17:28:53 +00:00
Matt Thomas ec10ecbebf Improvements to hover and focus states on the adminbar:
* Add a clear hover state for top-level links in the adminbar.
* Add :focus styles to the adminbar for keyboard accessibility.
* Ensure that the username link in the profile submenu gets a :hover style.
* Add adminbar hover styles to color schemes.
* Set -webkit-font-smoothing to subpixel-antialiased on the adminbar so that Safari doesn't switch to standard antialiasing on mouseover.

Fixes #26152, props ryelle.



git-svn-id: https://develop.svn.wordpress.org/trunk@26407 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 17:18:00 +00:00
Sergey Biryukov 42da7f3053 Rename mp6_color_scheme JS global to wp_color_scheme.
props kovshenin.
see #26263.

git-svn-id: https://develop.svn.wordpress.org/trunk@26406 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 13:57:58 +00:00
Sergey Biryukov 316a125c4c Apply paragraph description class on wp-admin/network.php for consistency.
props Hanni.
fixes #26264.

git-svn-id: https://develop.svn.wordpress.org/trunk@26405 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 13:22:47 +00:00
Andrew Ozz 0329fb83e3 Clean up the sticky menu and responsive tweaks JS:
- More descriptive names.
- Share cached jQuery elements.
- Fix re-enabling of touch events on the admin menu.
- Fix disabling/enabling of UI Sortable.
Props tollmanz, props sanchothefat, see #26086, fixes #26088.

git-svn-id: https://develop.svn.wordpress.org/trunk@26402 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 08:56:11 +00:00
Drew Jaynes 7c6dfbf0f8 Inline documentation for hooks in wp-admin/includes/class-wp-list-table.php.
Props miyauchi, kpdesign.
Fixes 25848.


git-svn-id: https://develop.svn.wordpress.org/trunk@26401 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 08:11:33 +00:00
Drew Jaynes 0cf54f5344 Inline documentation for hooks in wp-admin/post.php.
Props nukaga, kpdesign.
Fixes #25846.


git-svn-id: https://develop.svn.wordpress.org/trunk@26399 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 07:43:02 +00:00
Helen Hou-Sandi 3d89ca8f6b Add some deleted images to the `$_old_files` array. see [26391], [26395], #26232, #26178.
git-svn-id: https://develop.svn.wordpress.org/trunk@26397 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 05:41:10 +00:00
Matt Thomas ad57f2b7db Remove the new thickbox styles from wp-admin.css. See #26178
git-svn-id: https://develop.svn.wordpress.org/trunk@26396 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 05:34:56 +00:00
Helen Hou-Sandi 2fbde17aba Don't show the Activity widget on the Network Admin Dashboard. props ocean90. fixes #26184.
git-svn-id: https://develop.svn.wordpress.org/trunk@26394 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 05:28:46 +00:00
Matt Thomas c32b78bac1 Make ratings stars 20px to match dashicons native size so they're crisp on all screens. See #26170, props melchoyce.
git-svn-id: https://develop.svn.wordpress.org/trunk@26393 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 05:11:46 +00:00
Helen Hou-Sandi 88bd8b4d87 Dashboard columns:
* Improve responsive breakpoints for.
* Remove obsolete network admin option.
* Remove unnecessary JS.

props SergeyBiryukov, kraftbj, lessbloat. fixes #26074.


git-svn-id: https://develop.svn.wordpress.org/trunk@26392 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 05:08:37 +00:00
Helen Hou-Sandi 3d55dbb82f Dashboard JS cleanup. props kadamwhite, helen. see #25824.
git-svn-id: https://develop.svn.wordpress.org/trunk@26390 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 04:37:27 +00:00
Matt Thomas 1668b4ab1b Remove button-secondary class from Collapse link in theme installer; unify Collapse button styles in theme installer and Customize screen; add a border around the Collapse icon so it remains visible on dark backgrounds; move the color styles to colors-fresh. Fixes #26230.
git-svn-id: https://develop.svn.wordpress.org/trunk@26389 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 04:13:10 +00:00
Matt Thomas 1af7b4fed0 Add #adminmenu to this background color rule so it remains visible on mobile when the sidebar is longer than the main column, like on media-new.php. See #25858.
git-svn-id: https://develop.svn.wordpress.org/trunk@26387 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 03:50:26 +00:00
Matt Thomas 10990e9a37 Move responsive button styles from wp-admin.css to buttons.css. Fixes #25968, props melchoyce.
git-svn-id: https://develop.svn.wordpress.org/trunk@26386 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 03:35:41 +00:00
Matt Thomas d1e69984c7 Style the color picker button to match the new standard button style. Adjust font size and height of 'Default' button to match color picker button. Fixes #26179.
git-svn-id: https://develop.svn.wordpress.org/trunk@26385 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 03:27:09 +00:00
Matt Thomas 557ecd7b6d Make sure that select elements vertically align properly with other text. Fixes #26136, props jeremyfelt.
git-svn-id: https://develop.svn.wordpress.org/trunk@26384 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 03:02:38 +00:00
Matt Thomas 27d2677273 Combine these selectors which both target the 'Menu Structure' heading on Edit Menus. Use .menu-edit instead of #post-body to ensure this margin applies only to the Edit Menus page. Fixes #26228.
git-svn-id: https://develop.svn.wordpress.org/trunk@26383 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 02:53:42 +00:00
Matt Thomas 183ac18d83 Allow #wpwrap to scroll horizontally if needed, and hide overflow only on specific elements that need it. See #26169.
git-svn-id: https://develop.svn.wordpress.org/trunk@26382 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 02:41:35 +00:00
Dion Hulse 696014fff5 Replace the Star ratings in the dashboard with dashicons ratings.
This also moves the ratings to only displaying full, half, or empty stars (ie. 3.0, 3.5, 4.0, no 3.7 ratings - which are rounded).
Fixes #26170


git-svn-id: https://develop.svn.wordpress.org/trunk@26380 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 02:24:25 +00:00