Commit Graph

338 Commits

Author SHA1 Message Date
Andrew Ozz 7c30ff0dcb Accessibility shortcuts: new looks and fix for the WebKit focus bug, props lessbloat, fixes #21471
git-svn-id: https://develop.svn.wordpress.org/trunk@22249 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-16 21:26:59 +00:00
Andrew Ozz 27fdffa9db Improve the layout and accessibility of the admin menu: simplify the HTML structure, move the submenus off the viewport (still visible for screen readers) instead of hiding them with display: none, make it possible to unfold the menu on small/narrow screens, see #21349
git-svn-id: https://develop.svn.wordpress.org/trunk@21574 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-21 22:46:30 +00:00
Andrew Ozz d3a4604335 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: https://develop.svn.wordpress.org/trunk@21435 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-05 21:37:57 +00:00
Andrew Ozz bf65e730f6 Add "Skip to content" link to all screens in the admin, fixes #21361
git-svn-id: https://develop.svn.wordpress.org/trunk@21305 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-23 22:00:06 +00:00
Andrew Nacin 7996c82427 Theme Customizer: Block non-existent or non-allowed themes, unless the non-allowed theme is the active theme. Support a user having edit_theme_options xor switch_themes. fixes #20852.
git-svn-id: https://develop.svn.wordpress.org/trunk@21010 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-06 20:34:24 +00:00
Daryl Koopersmith e0fc4ce778 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: https://develop.svn.wordpress.org/trunk@20918 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-25 22:26:00 +00:00
Daryl Koopersmith b1a672cdfa Theme Customizer: Add CORS checks to the initial check for customize support. Prevents flash of customize links on large pages. see #20582, #19910.
Add wp_customize_support_script(), to quickly alter the body class based on whether customize is supported.


git-svn-id: https://develop.svn.wordpress.org/trunk@20893 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-25 00:15:12 +00:00
Ryan Boren 8ff3ad7903 Don't concatenate. see #19910
git-svn-id: https://develop.svn.wordpress.org/trunk@20845 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-22 20:34:45 +00:00
Daryl Koopersmith d314192cfb Theme Customizer: Remove !important declarations from hide-if-customize and hide-if-no-customize classes. Use a default no-customize-support class on the body so we can use an element's original display property when visible. fixes #20565, see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20759 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-09 21:47:15 +00:00
Daryl Koopersmith b22764aa86 Theme Customizer: If the customize loader is enqueued, then add the 'customize-support' class early. This prevents a flash of unstyled content. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20479 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-16 14:59:09 +00:00
Andrew Ozz bce0d37a67 Introduce wp_is_mobile() and use it instead of $is_iphone global, see #20014
git-svn-id: https://develop.svn.wordpress.org/trunk@20417 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-10 01:19:30 +00:00
Andrew Nacin 0c751dd7a3 Use relative paths for admin-ajax.php to avoid cross-domain issues with IDN domains in IE and Opera. props SergeyBiryukov, fixes #18952.
git-svn-id: https://develop.svn.wordpress.org/trunk@19871 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-08 16:12:11 +00:00
Andrew Nacin da65af69e2 Initial import of localized CSS, for Chinese and Hebrew. see #19603.
git-svn-id: https://develop.svn.wordpress.org/trunk@19825 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-04 00:54:42 +00:00
Andrew Nacin 6073a8dce1 Call set_current_screen() again in admin-header.php in case a plugin includes admin-header.php before admin.php completes. Rare and silly, but seen in the wild. props ryan, see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@19522 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 03:37:22 +00:00
Andrew Nacin 74567278af Revert other stuffs from [19374].
git-svn-id: https://develop.svn.wordpress.org/trunk@19376 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-21 15:43:57 +00:00
Andrew Nacin 7c181a42bf Set $parent_file for post-new.php when show_in_menu is a file. Provides for correct top-level highlighting. $submenu_file remains set to expect a post-new.php menu. see #19125.
git-svn-id: https://develop.svn.wordpress.org/trunk@19374 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-21 15:35:57 +00:00
Andrew Nacin 53d65cdd7c WP_Screen->post_type is always set. see #19131.
git-svn-id: https://develop.svn.wordpress.org/trunk@19324 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-17 19:50:14 +00:00
Andrew Nacin c107d9ffed Don't use $user_identity global. props duck_. fixes #19146.
git-svn-id: https://develop.svn.wordpress.org/trunk@19284 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-14 21:35:44 +00:00
Andrew Ozz d1b8509e83 Use IE conditionals when adding the ie8 class, introduce _wp_admin_html_begin(), props scribu, fixes #18966
git-svn-id: https://develop.svn.wordpress.org/trunk@18982 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-17 20:57:32 +00:00
Andrew Ozz 573a1813dc RTL, IE7 and IE7 RTL fixes, add class="ie8" to the html tag, see #18314
git-svn-id: https://develop.svn.wordpress.org/trunk@18975 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-15 07:33:01 +00:00
Andrew Ozz 7ac7aeae29 Clean up unused bits from responsive admin, fix the JS on dashboard, see #18863
git-svn-id: https://develop.svn.wordpress.org/trunk@18900 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-06 08:43:01 +00:00
Daryl Koopersmith a5acbaa574 Make screen options a help tab. Move screen option functions into WP_Screen. see #18690, #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@18853 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-01 00:24:44 +00:00
Daryl Koopersmith 0b3d90ee53 Introduce help tabs and WP_Screen. props mbijon, goldenapples, natebedortha, ryan. see #18690.
git-svn-id: https://develop.svn.wordpress.org/trunk@18779 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-26 21:03:38 +00:00
Daryl Koopersmith 1db2584cd2 Remove expanded class from flyout menus. see #18382.
git-svn-id: https://develop.svn.wordpress.org/trunk@18754 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-22 20:24:12 +00:00
Andrew Ozz ecb902c53d Fix inconsistent css handling of .wide-screen, see #18198
git-svn-id: https://develop.svn.wordpress.org/trunk@18743 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-21 21:44:44 +00:00
Andrew Ozz f465d0e766 Responsive admin improvements for the dashboard, new/write screens and links screens, see #18198
git-svn-id: https://develop.svn.wordpress.org/trunk@18736 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-21 06:16:24 +00:00
Daryl Koopersmith e1038932b9 Admin bar UX improvements. First pass, see #18197
git-svn-id: https://develop.svn.wordpress.org/trunk@18683 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-16 05:01:54 +00:00
Peter Westwood 234c53c0c1 Reorder the titles in the Network Admin and Global Dashboard to put the locations first. Fixes #18304 props duck_
git-svn-id: https://develop.svn.wordpress.org/trunk@18675 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-15 09:26:07 +00:00
Andrew Ozz 13c777eb39 Auto-column switching for the dashboard (js based), see #18198
git-svn-id: https://develop.svn.wordpress.org/trunk@18667 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-14 07:02:46 +00:00
Daryl Koopersmith 43d6595503 Switch admin menus to flyouts from dropdowns. First pass, see #18382.
git-svn-id: https://develop.svn.wordpress.org/trunk@18621 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-30 01:12:26 +00:00
Ryan Boren 20c9fd7c21 Handle locales that use a comma as a separator when generating version classes. Props olivM. fixes #18460
git-svn-id: https://develop.svn.wordpress.org/trunk@18608 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-26 19:00:07 +00:00
Andrew Ozz 77892dfba6 Improve auto column switching for post.php, see #18198
git-svn-id: https://develop.svn.wordpress.org/trunk@18607 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-25 22:55:39 +00:00
Andrew Ozz dde77fd41b Merge most admin css files, first run, see #18314
git-svn-id: https://develop.svn.wordpress.org/trunk@18577 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-21 03:46:43 +00:00
Andrew Nacin d90d462e6b Globalize variables used in admin-header in case it is used in a function. props SergeyBiryukov, fixes #16143.
git-svn-id: https://develop.svn.wordpress.org/trunk@18526 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-10 19:54:59 +00:00
Andrew Ozz 461ceba60d Editor API enhancement, first run (still needs some work), see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@18498 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-03 10:19:00 +00:00
Andrew Ozz 9bcfc3da39 <!DOCTYPE html> for all, fixes #18202
git-svn-id: https://develop.svn.wordpress.org/trunk@18460 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-22 00:25:41 +00:00
Andrew Ozz c2c5456fd1 Fix unfolding of the admin menu when no JS, fixes #17897
git-svn-id: https://develop.svn.wordpress.org/trunk@18349 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-27 20:40:04 +00:00
Ryan Boren ab5bd75114 Add Howdy back to the admin_user_info_links filtered array. Props trepmal. fixes #17740
git-svn-id: https://develop.svn.wordpress.org/trunk@18232 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 16:40:42 +00:00
Ryan Boren f786d16ed3 Add rtl class to the admin body if is_rtl(). RTL fixes for twentyeleven theme-options.php. Props rasheed. fixes #17603
git-svn-id: https://develop.svn.wordpress.org/trunk@18125 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-02 22:19:58 +00:00
Andrew Nacin c220a69d42 Add admin body classes for the WP branch, WP version, and current admin color. props andy, fixes #17496.
git-svn-id: https://develop.svn.wordpress.org/trunk@17957 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-18 18:11:48 +00:00
Daryl Koopersmith 391ef54a19 Improve 'howdy' dropdown styles, add 'your profile' item and no-js. see #17324.
git-svn-id: https://develop.svn.wordpress.org/trunk@17853 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-11 07:05:47 +00:00
Daryl Koopersmith 54934479f2 Improve 'howdy user' dropdown trigger, delay, and animation. see #17324.
git-svn-id: https://develop.svn.wordpress.org/trunk@17844 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-09 17:48:14 +00:00
Daryl Koopersmith 5622362093 Move 'Search Engines Blocked' to 'Right Now' from admin header. see #17324.
git-svn-id: https://develop.svn.wordpress.org/trunk@17829 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-06 23:42:37 +00:00
Daryl Koopersmith a786996aa5 Add user actions dropdown to admin header. see #17324.
git-svn-id: https://develop.svn.wordpress.org/trunk@17827 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-06 23:06:24 +00:00
Mark Jaquith e897910b75 Big UI style update. props koopersmith. see #17324
git-svn-id: https://develop.svn.wordpress.org/trunk@17800 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-04 20:15:05 +00:00
Andrew Ozz 07a62334de Distraction Free Writing mode, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17695 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-25 01:01:34 +00:00
Andrew Nacin 34412cc70d Update indicator for the Network Admin link. fixes #16063.
git-svn-id: https://develop.svn.wordpress.org/trunk@17217 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-04 08:36:06 +00:00
Andrew Nacin fbf16b3825 Revert [16292], admin_notices for non-network non-user only. all_admin_notices for all. fixes #14696.
git-svn-id: https://develop.svn.wordpress.org/trunk@17016 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 03:46:47 +00:00
Ryan Boren 6dc2d07bc4 Pink trailing whites.
git-svn-id: https://develop.svn.wordpress.org/trunk@16900 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-13 21:21:50 +00:00
Ryan Boren 1bbc935dec Lose last-blog-admin-visited. Figure out a better way in 3.2
git-svn-id: https://develop.svn.wordpress.org/trunk@16859 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-10 17:25:04 +00:00