Commit Graph

11961 Commits

Author SHA1 Message Date
Andrew Ozz
1858b65dbb Widgets: fix no-js and accessibility modes, props shaunandrews, fixes #26165.
Built from https://develop.svn.wordpress.org/trunk@26439


git-svn-id: http://core.svn.wordpress.org/trunk@26337 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 22:17:10 +00:00
Matt Thomas
3d43a7933b Fix the alignment of checkboxes in menu location settings, and add responsive adjustments for those checkboxes. Fixes #26259, props mattheu.
Built from https://develop.svn.wordpress.org/trunk@26438


git-svn-id: http://core.svn.wordpress.org/trunk@26336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 20:20:10 +00:00
Matt Thomas
a3261ab61a Set the font size for all text within .form-table to 14px. Fixes #26271.
Built from https://develop.svn.wordpress.org/trunk@26437


git-svn-id: http://core.svn.wordpress.org/trunk@26335 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 20:12:11 +00:00
Matt Thomas
06f391665e Give th.th-full font-weight: 400 so its label doesn't get emboldened. Fixes #26272.
Built from https://develop.svn.wordpress.org/trunk@26436


git-svn-id: http://core.svn.wordpress.org/trunk@26334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 19:57:10 +00:00
Matt Thomas
acdc440547 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.


Built from https://develop.svn.wordpress.org/trunk@26435


git-svn-id: http://core.svn.wordpress.org/trunk@26333 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 19:51:11 +00:00
Matt Thomas
6f6c835c6c Style the hr element in the admin. Fixes #23856.
Built from https://develop.svn.wordpress.org/trunk@26434


git-svn-id: http://core.svn.wordpress.org/trunk@26332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 19:37:09 +00:00
Matt Thomas
01fdd027f0 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.


Built from https://develop.svn.wordpress.org/trunk@26433


git-svn-id: http://core.svn.wordpress.org/trunk@26331 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 19:16:10 +00:00
Andrew Ozz
f752cc6658 Widgets: prevent the sidebars from getting too wide, add a little more space between Available Widgets and the sidebars, props shaunandrews, see #25821.
Built from https://develop.svn.wordpress.org/trunk@26432


git-svn-id: http://core.svn.wordpress.org/trunk@26330 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 17:45:09 +00:00
Andrew Ozz
e5b13dfdf3 Dashboard: set containment for postboxes to "document" and give empty sortables some min-height so postboxes can be dropped there. Props lessbloat, fixes #26026.
Built from https://develop.svn.wordpress.org/trunk@26429


git-svn-id: http://core.svn.wordpress.org/trunk@26329 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 02:03:10 +00:00
Andrew Ozz
162037903d Heartbeat: introduce "suspend" functionality and enable it after 20 min. of inactivity, see #25073.
Built from https://develop.svn.wordpress.org/trunk@26428


git-svn-id: http://core.svn.wordpress.org/trunk@26328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 01:56:10 +00:00
Andrew Ozz
29af7b55f3 Widgets: remove leftover debug bits and fix jshint warnings in widgets.js, see #25952.
Built from https://develop.svn.wordpress.org/trunk@26427


git-svn-id: http://core.svn.wordpress.org/trunk@26327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 01:42:09 +00:00
Andrew Ozz
f46e743343 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.
Built from https://develop.svn.wordpress.org/trunk@26426


git-svn-id: http://core.svn.wordpress.org/trunk@26326 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 01:30:10 +00:00
Sergey Biryukov
49a0254863 Fix the ability to save changes made to an image.
props markoheijnen.
fixes #26000.
Built from https://develop.svn.wordpress.org/trunk@26425


git-svn-id: http://core.svn.wordpress.org/trunk@26325 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 23:31:10 +00:00
Matt Thomas
2205a0885a Correct the alignment of sortable list table headers. Fixes #26131, props jeremyfelt.
Built from https://develop.svn.wordpress.org/trunk@26424


git-svn-id: http://core.svn.wordpress.org/trunk@26324 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 22:55:11 +00:00
Matt Thomas
bc4a8f6494 Prevent horizontal scrolling when the responsive sidebar is open, pushing the main column off to the right. See #25858.
Built from https://develop.svn.wordpress.org/trunk@26423


git-svn-id: http://core.svn.wordpress.org/trunk@26323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 22:44:10 +00:00
Matt Thomas
5a3717d526 Match current theme background and add theme hover state color to the highlight color in color schemes. Fixes #25967, props ryelle.
Built from https://develop.svn.wordpress.org/trunk@26422


git-svn-id: http://core.svn.wordpress.org/trunk@26322 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 22:36:11 +00:00
Andrew Ozz
758a07bfd3 Remove cloning of the search box with JS and move it to the bottom of the screen with CSS instead, see #26086
Built from https://develop.svn.wordpress.org/trunk@26421


git-svn-id: http://core.svn.wordpress.org/trunk@26321 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 22:19:14 +00:00
Matt Thomas
2fdde46bd8 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.
Built from https://develop.svn.wordpress.org/trunk@26420


git-svn-id: http://core.svn.wordpress.org/trunk@26320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 22:10:09 +00:00
Matt Thomas
f11e29b4ef 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.
Built from https://develop.svn.wordpress.org/trunk@26417


git-svn-id: http://core.svn.wordpress.org/trunk@26317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 21:38:10 +00:00
Matt Thomas
36b2183f03 Hide registered and users columns in Sites table on small screens to prevent columms from becoming too narrow. Fixes #25973, props johnbillion.
Built from https://develop.svn.wordpress.org/trunk@26416


git-svn-id: http://core.svn.wordpress.org/trunk@26316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 19:37:09 +00:00
Matt Thomas
e682d6ba29 Match the background color of the responsive toggle button active state to -submenu-background, so it matches color schemes. See #25858.
Built from https://develop.svn.wordpress.org/trunk@26415


git-svn-id: http://core.svn.wordpress.org/trunk@26315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 19:17:10 +00:00
Matt Thomas
126f6cec39 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.
Built from https://develop.svn.wordpress.org/trunk@26414


git-svn-id: http://core.svn.wordpress.org/trunk@26314 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 19:06:11 +00:00
Matt Thomas
d4eff70d07 Reintroduce a drop zone indicator in empty sidebars on the Widgets page. Fixes #26168, props shaunandrews.
Built from https://develop.svn.wordpress.org/trunk@26413


git-svn-id: http://core.svn.wordpress.org/trunk@26313 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 18:20:10 +00:00
Matt Thomas
24d4ba3ac4 Adjust the mceResize handle so it matches the handle on the plain text editor. See #26241.
Built from https://develop.svn.wordpress.org/trunk@26412


git-svn-id: http://core.svn.wordpress.org/trunk@26312 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 17:53:10 +00:00
Matt Thomas
6a61711d24 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.
Built from https://develop.svn.wordpress.org/trunk@26411


git-svn-id: http://core.svn.wordpress.org/trunk@26311 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 17:48:09 +00:00
Matt Thomas
47b5c62d3e 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.
Built from https://develop.svn.wordpress.org/trunk@26410


git-svn-id: http://core.svn.wordpress.org/trunk@26310 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 17:42:10 +00:00
Matt Thomas
f02c3f3037 Keep the resize handle from jumping around when switching between the Visual and Text editors. Fixes #26246, props mattheu.
Built from https://develop.svn.wordpress.org/trunk@26408


git-svn-id: http://core.svn.wordpress.org/trunk@26308 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 17:29:09 +00:00
Matt Thomas
268c0dd8d8 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.


Built from https://develop.svn.wordpress.org/trunk@26407


git-svn-id: http://core.svn.wordpress.org/trunk@26307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 17:18:11 +00:00
Sergey Biryukov
f0a4d5a991 Rename mp6_color_scheme JS global to wp_color_scheme.
props kovshenin.
see #26263.
Built from https://develop.svn.wordpress.org/trunk@26406


git-svn-id: http://core.svn.wordpress.org/trunk@26306 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 13:58:10 +00:00
Sergey Biryukov
e93a99f1b5 Apply paragraph description class on wp-admin/network.php for consistency.
props Hanni.
fixes #26264.
Built from https://develop.svn.wordpress.org/trunk@26405


git-svn-id: http://core.svn.wordpress.org/trunk@26305 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 13:23:09 +00:00
Andrew Ozz
b8984636c2 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.
Built from https://develop.svn.wordpress.org/trunk@26402


git-svn-id: http://core.svn.wordpress.org/trunk@26302 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 08:57:10 +00:00
Drew Jaynes
73f42e01a2 Inline documentation for hooks in wp-admin/includes/class-wp-list-table.php.
Props miyauchi, kpdesign.
Fixes 25848.

Built from https://develop.svn.wordpress.org/trunk@26401


git-svn-id: http://core.svn.wordpress.org/trunk@26301 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 08:12:09 +00:00
Drew Jaynes
89211ee8d6 Inline documentation for hooks in wp-admin/post.php.
Props nukaga, kpdesign.
Fixes #25846.

Built from https://develop.svn.wordpress.org/trunk@26399


git-svn-id: http://core.svn.wordpress.org/trunk@26299 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 07:44:10 +00:00
Helen Hou-Sandí
e6a98258be Add some deleted images to the $_old_files array. see [26391], [26395], #26232, #26178.
Built from https://develop.svn.wordpress.org/trunk@26397


git-svn-id: http://core.svn.wordpress.org/trunk@26297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 05:42:09 +00:00
Matt Thomas
2d2d9c083e Remove the new thickbox styles from wp-admin.css. See #26178
Built from https://develop.svn.wordpress.org/trunk@26396


git-svn-id: http://core.svn.wordpress.org/trunk@26296 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 05:35:10 +00:00
Helen Hou-Sandí
236f388d6d Don't show the Activity widget on the Network Admin Dashboard. props ocean90. fixes #26184.
Built from https://develop.svn.wordpress.org/trunk@26394


git-svn-id: http://core.svn.wordpress.org/trunk@26294 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 05:29:10 +00:00
Matt Thomas
e34a91cb56 Make ratings stars 20px to match dashicons native size so they're crisp on all screens. See #26170, props melchoyce.
Built from https://develop.svn.wordpress.org/trunk@26393


git-svn-id: http://core.svn.wordpress.org/trunk@26293 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 05:12:09 +00:00
Helen Hou-Sandí
2c9af1367e Dashboard columns:
* Improve responsive breakpoints for.
* Remove obsolete network admin option.
* Remove unnecessary JS.

props SergeyBiryukov, kraftbj, lessbloat. fixes #26074.

Built from https://develop.svn.wordpress.org/trunk@26392


git-svn-id: http://core.svn.wordpress.org/trunk@26292 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 05:09:10 +00:00
Helen Hou-Sandí
e911c4272a Dashboard JS cleanup. props kadamwhite, helen. see #25824.
Built from https://develop.svn.wordpress.org/trunk@26390


git-svn-id: http://core.svn.wordpress.org/trunk@26290 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 04:38:09 +00:00
Matt Thomas
1163eaeb7c 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.
Built from https://develop.svn.wordpress.org/trunk@26389


git-svn-id: http://core.svn.wordpress.org/trunk@26289 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 04:14:09 +00:00
Matt Thomas
0e99fe6bb5 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.
Built from https://develop.svn.wordpress.org/trunk@26387


git-svn-id: http://core.svn.wordpress.org/trunk@26287 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 03:51:09 +00:00
Matt Thomas
e86c507db0 Move responsive button styles from wp-admin.css to buttons.css. Fixes #25968, props melchoyce.
Built from https://develop.svn.wordpress.org/trunk@26386


git-svn-id: http://core.svn.wordpress.org/trunk@26286 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 03:36:09 +00:00
Matt Thomas
9f529e99e3 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.
Built from https://develop.svn.wordpress.org/trunk@26385


git-svn-id: http://core.svn.wordpress.org/trunk@26285 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 03:28:09 +00:00
Matt Thomas
10dc5dc6a1 Make sure that select elements vertically align properly with other text. Fixes #26136, props jeremyfelt.
Built from https://develop.svn.wordpress.org/trunk@26384


git-svn-id: http://core.svn.wordpress.org/trunk@26284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 03:03:09 +00:00
Matt Thomas
eaa3690f2c 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.
Built from https://develop.svn.wordpress.org/trunk@26383


git-svn-id: http://core.svn.wordpress.org/trunk@26283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 02:54:09 +00:00
Matt Thomas
435c690d8f Allow #wpwrap to scroll horizontally if needed, and hide overflow only on specific elements that need it. See #26169.
Built from https://develop.svn.wordpress.org/trunk@26382


git-svn-id: http://core.svn.wordpress.org/trunk@26282 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 02:42:10 +00:00
Dion Hulse
89dfee993d 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

Built from https://develop.svn.wordpress.org/trunk@26380


git-svn-id: http://core.svn.wordpress.org/trunk@26280 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 02:25:21 +00:00
Matt Thomas
43ef093ce1 Add padding to #wpbody at viewports < 600px so that content isn't overlapped by the absolute-positioned adminbar. See #25858.
Built from https://develop.svn.wordpress.org/trunk@26379


git-svn-id: http://core.svn.wordpress.org/trunk@26279 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 02:05:10 +00:00
Dion Hulse
a0f43f5cbf Style Concatenation: Fix loading of dashicons non-woff files when concatenation is in use. Fixes #26250
Built from https://develop.svn.wordpress.org/trunk@26374


git-svn-id: http://core.svn.wordpress.org/trunk@26274 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 01:47:10 +00:00
Matt Thomas
e54ee86aaa Make the responsive layout behave better when the user zooms the page:
* Change the smartphone media query from 480 to 600px so it captures large screen phones in landscape mode.
* Set #wpadminbar to position: absolute at smartphone sizes so it scrolls with the page, freeing up the viewport.
* Remove the transition states on #adminmenu for better performance on mobile devices
* Make the responsive sidebar scroll with the page instead of using a fixed position
* Remove the -webkit-overflow-scrolling rule that was disabling scroll-to-top when tapping the iOS status bar.
* Remove unnecessary zoom declaration from -ms-viewport.

See #25858.


Built from https://develop.svn.wordpress.org/trunk@26373


git-svn-id: http://core.svn.wordpress.org/trunk@26273 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 01:38:10 +00:00