Commit Graph

682 Commits

Author SHA1 Message Date
Andrew Nacin
791e807f08 More dash updates.
* Shuffle around some pixels.
 * Rename some things that weren't caught in [26220].
 * Revert default-widgets.php change from [26144].
props lessbloat.
see #25824.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 22:23:09 +00:00
Matt Thomas
7b06d5b0a9 Move media uploader responsive styles from wp-admin.css to media-views.css; clean up duplicated media queries. See #25977.
Built from https://develop.svn.wordpress.org/trunk@26229


git-svn-id: http://core.svn.wordpress.org/trunk@26136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 21:47:09 +00:00
Matt Thomas
114d47cf18 Make the Install Plugins search results page responsive, so the table doesn't overflow the viewport. Props joen, fixes #25976.
Built from https://develop.svn.wordpress.org/trunk@26223


git-svn-id: http://core.svn.wordpress.org/trunk@26130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 20:59:11 +00:00
Andrew Nacin
963b2aa574 Merge wp_dashboard_recent_quickdrafts() into wp_dashboard_quick_press(). see #25824.
Built from https://develop.svn.wordpress.org/trunk@26221


git-svn-id: http://core.svn.wordpress.org/trunk@26129 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 20:40:15 +00:00
Andrew Nacin
2cc8ed1594 Dash cleanup.
* Use wp_add_dashboard_widget() rather than add_meta_box().
 * Use original functions like wp_dashboard_primary(), wp_dashboard_right_now(), wp_dashboard_quick_press() (where possible).
 * Only include plugins section of the news widget when appropriate, which necessitates the set_current_screen() via the ajax action.
 * Remove some debug cruft that was preventing caching and invalidation.
 * Simplify lots of things where possible.
see #25824.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26128 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 20:15:10 +00:00
Matt Thomas
a9bab73408 Improvements to the media uploader at responsive sizes:
* Change load order so larger breakpoint loads before smaller breakpoint.
* Use absolute positioning rather than floats, to fix some overflow issues.
* Remove the max-height media query so desktop browsers benefit from the responsive styles.
* Reset text inputs to 16px so iOS doesn't force zoom.
* Adjust the position of the close button so it doesn't overlap the Create Gallery link.

See #25977. Props joen.


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


git-svn-id: http://core.svn.wordpress.org/trunk@26127 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 19:54:10 +00:00
Helen Hou-Sandí
a9c3558df2 We only need to declare Open Sans once in wp-admin.css. See #25858.
Built from https://develop.svn.wordpress.org/trunk@26185


git-svn-id: http://core.svn.wordpress.org/trunk@26094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 00:15:11 +00:00
Helen Hou-Sandí
70330d468c Remove now-unused #adminmenushadow. see #25858.
Built from https://develop.svn.wordpress.org/trunk@26182


git-svn-id: http://core.svn.wordpress.org/trunk@26091 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 23:49:10 +00:00
Matt Thomas
a71ffcfd24 Move the color rule for adminbar icons to a less-specific selector so that color schemes correctly affect icon color in the toolbar.
Built from https://develop.svn.wordpress.org/trunk@26180


git-svn-id: http://core.svn.wordpress.org/trunk@26089 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 23:30:10 +00:00
Matt Thomas
922227d137 Reduce responsive menu transition animation from .2s to .05s to reduce lag. See #25969.
Built from https://develop.svn.wordpress.org/trunk@26179


git-svn-id: http://core.svn.wordpress.org/trunk@26088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 23:13:10 +00:00
Matt Thomas
8235710c41 In multisite, set storage space labels to nowrap to prevent unnecessary line breaks. Fixes #25919, props SergeyBiryukov.
Built from https://develop.svn.wordpress.org/trunk@26178


git-svn-id: http://core.svn.wordpress.org/trunk@26087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 22:48:10 +00:00
Matt Thomas
10878d8422 Move the responsive padding for html.wp-toolbar to wp-admin.css since it affects the page content, not the toolbar.
Built from https://develop.svn.wordpress.org/trunk@26177


git-svn-id: http://core.svn.wordpress.org/trunk@26086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 22:43:10 +00:00
Matt Thomas
ce8be8ec8b Move #wpadminbar responsive styles from wp-admin.css to admin-bar.css. Remove unneeded font overrides and !importants where possible. Make sure the site menu item uses the globe icon consistently instead of switching to the home icon <782px. Fixes #25971.
Built from https://develop.svn.wordpress.org/trunk@26176


git-svn-id: http://core.svn.wordpress.org/trunk@26085 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 22:37:09 +00:00
Andrew Nacin
b70b7a0ee1 More specific CSS for the dashboard activity widget.
props iammattthomas.
see #26028.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26084 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 22:11:10 +00:00
Matt Thomas
a41f3f9bb3 Make the menu location screen full-width at responsive sizes. Fixes #25975, props johnbillion.
Built from https://develop.svn.wordpress.org/trunk@26173


git-svn-id: http://core.svn.wordpress.org/trunk@26082 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 20:43:11 +00:00
Matt Thomas
959adbf9f4 In bulk editing mode, make all columns full-width and increase the font size when at responsive sizes. Fixes #25978, props johnbillion.
Built from https://develop.svn.wordpress.org/trunk@26172


git-svn-id: http://core.svn.wordpress.org/trunk@26081 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 20:41:10 +00:00
Helen Hou-Sandí
7598382a67 Remove old control/accordion section title gradients that were still appearing in the customizer and reinstate a divider between the customizer sidebar and the preview. props ryelle, helen. see #25858.
Built from https://develop.svn.wordpress.org/trunk@26165


git-svn-id: http://core.svn.wordpress.org/trunk@26076 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 16:42:10 +00:00
Andrew Nacin
809b335f7a Merge the new dashboard design into core.
Merges https://github.com/growthdesigner/wp-dash.

props lessbloat, joen, helen, dbernar1, kraftbj, ryelle, tillkruess, grapplerulrich, markjaquith.
see #25824.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26055 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 22:09:10 +00:00
Matt Thomas
87ce6cc5c3 Bring in the widgets component of MP6. See #25858.
* A cleaner UI, with a simpler design for available and inactive widgets, and more emphasis on your sidebars.
* Available widgets and sidebars expand to two columns at larger screen sizes making it easier to manage sites with lots of sidebars.
* New dropzone indicator for empty sidebars.

Props shaunandrews, joen, iammattthomas.


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


git-svn-id: http://core.svn.wordpress.org/trunk@26051 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 20:06:06 +00:00
Helen Hou-Sandí
603c1aff6d Merge the color schemes component from MP6. Introduces Light, Blue, and Midnight.
Color scheme selection on your own profile page gives you a preview and autosaves the selection.

Also introduces the usage of a preprocessor for core files, namely Sass. For 3.8, we will not expand its implementation past the color schemes. This does require Ruby as well as Sass 3.3.0+ due to the usage of the sourcemap option.

Note that only the default color scheme is available when running out of src. Use build to test the rest as well as the color picker.

props ryelle, melchoyce, tillkruess, drw158, littlethingsstudio, helen. see #25858, #22862.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26048 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 19:38:38 +00:00
Matt Thomas
2adf09fea9 Bring in the responsive component of MP6. See #25858.
* Makes the admin fully responsive down to 320px wide.
* Adds a touch-optimized main menu that can be opened and closed from the toolbar.
* Size and positioning adjustments to icons, buttons, and text elements for better touch usability.

A few changes since MP6:

* Removed jQuery mobile. This script was used to add swipe controls to open/close the sidebar menu. This feature was apparently buggy and due to the pending demise of jQuery mobile, it was removed.
* Removed use of Backbone.js. Adding Backbone.js to this script would add a dependency of Backbone.js for all of the admin. Additionally, it was used to add a menu item. Instead of doing that, it was added via the admin menu API. This also fixes a bad delay in the item showing in the menu.
* CSS layout is standardized. Comments have also been cleaned up.
* Jetpack and Akismet code is removed.
* RTL CSS is removed.
* JS passes hinting other than one small issue that will likely be removed when parts of the code are reviewed.

A number of areas for improvement remain; we're tracking these issues in the comments of #25858.

Props to tollmanz, tillkruess, helen, dd32, and apeatling.


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


git-svn-id: http://core.svn.wordpress.org/trunk@26046 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 18:00:10 +00:00
Helen Hou-Sandí
dcb1701e51 Merge the sticky menu component from MP6. The admin menu is now fixed if the viewport is large enough. props tollmanz, tillkruess, dd32. see #25858.
Built from https://develop.svn.wordpress.org/trunk@26125


git-svn-id: http://core.svn.wordpress.org/trunk@26037 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 04:30:10 +00:00
Andrew Nacin
1e30be32c4 Use CSSJanus via a Grunt task to generate right-to-left CSS.
RTL files are now created on build for core CSS files. These files replace the LTR file completely, rather than being in addition to the existing LTR file.

Benefits:
 * For the user: less CSS is served in RTL, less HTTP requests on the frontend, and less work for the browser.
 * For the core developer: Let the tools do the work.

Notes for core development:
 * The file generation task is `grunt rtl`.
 * `grunt watch` now handles generating RTL files in /build when a CSS file in /src is saved.
 * /src is now locked to LTR. RTL testing must occur via /build. When attempting to run an RTL text direction with /src, an admin notice will display.

Expect RTL bugs. Please report them.

props yoavf.
see #24977.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-12 21:19:15 +00:00
Sergey Biryukov
6484ca83a5 Make suggest script visible in the customizer.
props celloexpressions for initial patch.
see #25867.
Built from https://develop.svn.wordpress.org/trunk@26085


git-svn-id: http://core.svn.wordpress.org/trunk@26005 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-11 17:39:09 +00:00
Andrew Ozz
92cd3c5ba7 Widgets screen: adjust the placeholder to match the new widget "handle" height, and the spinner's margins so the sidebar titles don't "jump" when it is shown. See #25821, see #25858.
Built from https://develop.svn.wordpress.org/trunk@26078


git-svn-id: http://core.svn.wordpress.org/trunk@25998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-10 18:33:10 +00:00
Dion Hulse
8d92d7d529 Add a white WordPress logo for use on the about pages. See #25858
Built from https://develop.svn.wordpress.org/trunk@26077


git-svn-id: http://core.svn.wordpress.org/trunk@25997 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-10 06:12:09 +00:00
Matt Thomas
f4c0bce32c Fixing a typo, see #25858. Props designsimply.
Built from https://develop.svn.wordpress.org/trunk@26076


git-svn-id: http://core.svn.wordpress.org/trunk@25996 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-10 03:53:10 +00:00
Helen Hou-Sandí
69d432410a Say hello to a fresh new look for the WordPress admin.
Still to come: more color schemes, a responsive component, and more.

see #25858.
props iammattthomas, tillkruess, EmpireOfLight, melchoyce, ryelle, joen, mitchoyoshitaka, sirbrillig, andypeatling, isaackeyet, Otto42, dd32, matt, helen.

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


git-svn-id: http://core.svn.wordpress.org/trunk@25992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-10 00:27:10 +00:00
Andrew Ozz
753e745796 Merge the Widgets Area Chooser feature plugin. First run, see #25821
Built from https://develop.svn.wordpress.org/trunk@26054


git-svn-id: http://core.svn.wordpress.org/trunk@25979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-08 23:05:10 +00:00
Andrew Nacin
d0cfa40983 Add jshintrc to qunit.
props jorbin.
see #25187.

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


git-svn-id: http://core.svn.wordpress.org/trunk@25925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-30 14:39:10 +00:00
Dominik Schilling
af695281d6 Vendor-prefixes for [25845]. props jorbin. see #25603.
Built from https://develop.svn.wordpress.org/trunk@25849


git-svn-id: http://core.svn.wordpress.org/trunk@25849 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:56:37 +00:00
Andrew Nacin
112a790734 Since we're dealing with a huge password meter, don't bold half of the result strings unnecessarily. see #25603.
Built from https://develop.svn.wordpress.org/trunk@25847


git-svn-id: http://core.svn.wordpress.org/trunk@25847 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:56:20 +00:00
Andrew Nacin
123bb3d4f2 About page: Use box-sizing: border-box on the password meter so pixels line up.
Also eliminates a duplicate width: 100% property.

fixes #25603.

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


git-svn-id: http://core.svn.wordpress.org/trunk@25845 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:56:03 +00:00
Dominik Schilling
60ac479b9c CSS cleanup for the about page.
Also fixes for IE and support for RTL.

see #25603.
Built from https://develop.svn.wordpress.org/trunk@25844


git-svn-id: http://core.svn.wordpress.org/trunk@25844 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:55:55 +00:00
Andrew Nacin
b0eab438ad Remove rarr from about page text. Use a subtle background instead.
props markjaquith.
see #25603.

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


git-svn-id: http://core.svn.wordpress.org/trunk@25840 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:55:20 +00:00
Andrew Nacin
b13c7791a9 Awesome about page design for WordPress 3.7.
The page includes a giant password meter that serves as both an animated example and a working demo. How cool is that?

props jorbin, melchoyce.
see #25603.

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


git-svn-id: http://core.svn.wordpress.org/trunk@25839 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:55:12 +00:00
Andrew Nacin
8ae8e01b67 Remove the old wp_auto_updates_maybe_update cron event. Schedule the new wp_maybe_auto_update event at 7 a.m. and 7 p.m. in the site's timezone.
see #27704.

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


git-svn-id: http://core.svn.wordpress.org/trunk@25825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:53:14 +00:00
Dominik Schilling
3d8706e96a Vendor-prefixes for [25845]. props jorbin. see #25603.
Built from https://develop.svn.wordpress.org/trunk@25849


git-svn-id: http://core.svn.wordpress.org/trunk@25761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-18 19:25:10 +00:00
Andrew Nacin
b301bb108e Since we're dealing with a huge password meter, don't bold half of the result strings unnecessarily. see #25603.
Built from https://develop.svn.wordpress.org/trunk@25847


git-svn-id: http://core.svn.wordpress.org/trunk@25759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-18 18:36:10 +00:00
Andrew Nacin
ed5f85cdc8 About page: Use box-sizing: border-box on the password meter so pixels line up.
Also eliminates a duplicate width: 100% property.

fixes #25603.

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


git-svn-id: http://core.svn.wordpress.org/trunk@25757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-18 17:47:10 +00:00
Dominik Schilling
3cb61fd4a5 CSS cleanup for the about page.
Also fixes for IE and support for RTL.

see #25603.
Built from https://develop.svn.wordpress.org/trunk@25844


git-svn-id: http://core.svn.wordpress.org/trunk@25756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-18 17:36:09 +00:00
Andrew Nacin
6342b01d3d Remove rarr from about page text. Use a subtle background instead.
props markjaquith.
see #25603.

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


git-svn-id: http://core.svn.wordpress.org/trunk@25752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-18 08:42:10 +00:00
Andrew Nacin
328a847bc1 Awesome about page design for WordPress 3.7.
The page includes a giant password meter that serves as both an animated example and a working demo. How cool is that?

props jorbin, melchoyce.
see #25603.

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


git-svn-id: http://core.svn.wordpress.org/trunk@25751 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-18 08:11:09 +00:00
Dion Hulse
1c8e79353a Language Packs: Many many fixes such as:
- Add a "Update Translations" stand-alone button to the updates page
- Shift Language feedback to before update process completion action links & limit the verbosity of output (name + success/errors)
- Simplify/combine the language update descriptive string to only include a plugin/theme name
- Properly handle cache clearing after language updates to prevent langs being repeditively updated
- Display a "All items up to date" string when there's nothing to do
- Reduce the 'Connection Information' from a <h2> to a <h3> to remove duplicate h2's and screen icons from update screens
- Fix the Direct filesystem method not being used for Language updates because WP_LANG_DIR doesn't exist (check it's parent for writable instead)
See #18200, #22704


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


git-svn-id: http://core.svn.wordpress.org/trunk@25718 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-16 04:15:09 +00:00
Dominik Schilling
f3faba9b95 Fix typo in wp-admin.css. props wycks. fixes #25589.
Built from https://develop.svn.wordpress.org/trunk@25771


git-svn-id: http://core.svn.wordpress.org/trunk@25684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-14 16:14:13 +00:00
Andrew Ozz
debbfea3bf Upgrade TinyMCE to 3.5.9. Fix the css for the original 'fullscreen' plugin (not enabled by default).
Fixes #25561, fixes #25281.

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


git-svn-id: http://core.svn.wordpress.org/trunk@25674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-10 21:50:09 +00:00
Dominik Schilling
26e6703de7 Post UI: Increase the trigger width for switching from two columns to one.
props melchoyce, vinod dalvi.
fixes #23904.
Built from https://develop.svn.wordpress.org/trunk@25688


git-svn-id: http://core.svn.wordpress.org/trunk@25604 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-03 09:37:09 +00:00
Helen Hou-Sandí
9796e54574 Saner CSS for row actions - now we can just target .row-actions instead of both .row-actions and .row-actions-visible. CSS for .row-actions-visible remains for now due to usage in plugins. Visibility is controlled by toggling a .visible class. fixes #25403.
Built from https://develop.svn.wordpress.org/trunk@25592


git-svn-id: http://core.svn.wordpress.org/trunk@25509 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-24 01:54:09 +00:00
Sergey Biryukov
68ebb31a97 Set min-height for menu item title. props garyc40. fixes #16787.
Built from https://develop.svn.wordpress.org/trunk@25211


git-svn-id: http://core.svn.wordpress.org/trunk@25183 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-02 17:35:10 +00:00
Helen Hou-Sandí
d203c9f6bb Better align the x icons with tag names. props TobiasBg. fixes #25050.
Built from https://develop.svn.wordpress.org/trunk@25029


git-svn-id: http://core.svn.wordpress.org/trunk@25016 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-15 19:59:09 +00:00