Commit Graph

189 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Andrew Nacin
9841710058 Add screenshots and video to about page. props markjaquith. fixes #24832. for trunk.
git-svn-id: http://core.svn.wordpress.org/trunk@24926 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-31 17:56:24 +00:00
Mark Jaquith
70491482c6 Fix the positioning of the post lock icon/layout in RTL mode.
Fixes #24850 for trunk. Props ocean90, rasheed.

git-svn-id: http://core.svn.wordpress.org/trunk@24808 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-28 19:01:37 +00:00
Mark Jaquith
2077ce4a3d Revisions: RTL for [24761].
Props ocean90. See #24804.

git-svn-id: http://core.svn.wordpress.org/trunk@24769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-22 21:09:55 +00:00
Mark Jaquith
991bab45a7 Revisions: tweak how tickmarks are rendered, to play nice with browsers who always round subpixel values down (Safari, Opera).
Also, some IE tweaks.

Fixes #24736. Props adamsilverstein, markjaquith, ocean90.

git-svn-id: http://core.svn.wordpress.org/trunk@24768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-22 21:09:49 +00:00
Mark Jaquith
13c63d211a Revisions: Pinned controls, layout tweaks, copy tweaks, misc.
* When you scroll down the diff view, the controls will pin to the top.
* The revisions meta view was cleaned up. Copy changes.
* Loading indicator in the center of the screen (so it follows as you scroll).
* Tooltips "flip" when you cross the center line, so that they don't hit the container edge and wrap for later revisions.
* The "Restore" button's inactive state is handled on render, instead of after.
* Make sure we always have a current revision, even if the timestamp doesn't work out on the most recent one.

See #24804. Props markjaquith, nacin, ocean90, aaroncampbell.

git-svn-id: http://core.svn.wordpress.org/trunk@24761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-22 05:05:45 +00:00
Mark Jaquith
65b08eeece Revisions: Re-work how tick marks and tooltips are aligned. IE fixes.
* Pixel-based alignment of tooltips.
* Bottom-based alignment, so arrow lines up using CSS only.
* Better RTL styles (mostly mirror-imaged).
* Better RTL calculations in `revisions.js` (less logic).
* Better IE support.

See #24736. Props markjaquith, adamsilverstein, ocean90.

git-svn-id: http://core.svn.wordpress.org/trunk@24751 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-19 13:49:15 +00:00
Dominik Schilling
b14c5a94f8 Missing RTL for [24566]. see #24546.
git-svn-id: http://core.svn.wordpress.org/trunk@24703 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-13 16:54:45 +00:00
Mark Jaquith
c48efb30d4 Revisions: RTL tooltip fixes. Plus a fix for switching to compare-two mode while looking at the first revision.
Also, a meta box avatar RTL alignment fix. props DrewAPicture.

Fixes #24739.

git-svn-id: http://core.svn.wordpress.org/trunk@24698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-13 02:49:53 +00:00
Helen Hou-Sandí
0da48b8335 Tweaks to the accordion:
* Enqueues JS in `do_accordion_sections()`.
* Top and bottom rounded corners for the nav menu accordion.
* Better RTL and no-JS.

props lessbloat, DrewAPicture, aaroncampbell, helen. fixes #23449.


git-svn-id: http://core.svn.wordpress.org/trunk@24680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-12 18:16:29 +00:00
Andrew Nacin
939ba6619a Some RTL changes for the plugin information box.
props JDTrower, SergeyBiryukov, ocean90, ramiy.
fixes #22897.



git-svn-id: http://core.svn.wordpress.org/trunk@24633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-10 05:01:33 +00:00
Mark Jaquith
8035bd88ad Revisions: Get rid of an unneccessary ID. IDs are a bad idea.
See #24425.

git-svn-id: http://core.svn.wordpress.org/trunk@24629 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-10 04:37:50 +00:00
Mark Jaquith
561db4a6da Tick marks are back for revisions
* Simple tick marks
* Tooltips snap to tick marks
* Tooltips arrow reverses side for LTR/RTL
* Fix for routing issue where just the hash is changed in the URL bar relating to compare two mode

see #24425. props adamsilverstein, ocean90.

git-svn-id: http://core.svn.wordpress.org/trunk@24595 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-08 21:37:03 +00:00
Dominik Schilling
b95c432870 Revisions: CSS cleanup, see #24425.
git-svn-id: http://core.svn.wordpress.org/trunk@24574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-05 22:15:37 +00:00
Dominik Schilling
f6ca108240 Revisions UI update:
* Restore Compare two mode
* Restore tooltips
* RTL support
* First pass for URL routing and history

props adamsilverstein, see #24425.

git-svn-id: http://core.svn.wordpress.org/trunk@24549 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-03 20:27:19 +00:00
Helen Hou-Sandí
bd231c209f Add post format icons to the radio chooser. This also trims empty margins from the sprites to make them usable in RTL and make positioning numbers more sane. props ryelle, kovshenin for the initial patch. fixes #24519.
git-svn-id: http://core.svn.wordpress.org/trunk@24429 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-07 17:15:53 +00:00
Helen Hou-Sandí
b9c5b62965 Change the post format icons sprite to be vertical rather than horizontal in order to allow it to be used for wider items such as labels. RTL tweak for the icon in the posts list table. See #16047, #24519.
git-svn-id: http://core.svn.wordpress.org/trunk@24426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-07 15:11:42 +00:00
Helen Hou-Sandí
99c0762fca Remove obsolete CSS related to post formats UI. See #24452, #24502.
git-svn-id: http://core.svn.wordpress.org/trunk@24418 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-06 15:40:17 +00:00
Dominik Schilling
6ad78a3d4d Some more RTL improvements for permalink settings. props SergeyBiryukov. fixes #16834.
git-svn-id: http://core.svn.wordpress.org/trunk@24315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-22 17:58:10 +00:00
Dominik Schilling
580e1729c1 Improve the permalink settings UI for RTL.
props yoavf, SergeyBiryukov, DrewAPicture. fixes #16834.

git-svn-id: http://core.svn.wordpress.org/trunk@24283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-17 17:55:39 +00:00
Dominik Schilling
4a65006b22 Customizer: Fix 'Collapse' button in RTL. props SergeyBiryukov. see [22977]. fixes #23846.
git-svn-id: http://core.svn.wordpress.org/trunk@24277 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-16 15:01:11 +00:00
Dominik Schilling
6d0173ba11 RTL support for the new post Format UI. see #24326.
git-svn-id: http://core.svn.wordpress.org/trunk@24258 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-14 19:01:57 +00:00
Dominik Schilling
91880a5459 RTL: Fix some issues on nav menu screen. see #24326.
git-svn-id: http://core.svn.wordpress.org/trunk@24256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-14 18:26:41 +00:00
Dominik Schilling
62b1b71b02 Revisions UI: Redesigned slider handlers.
Also:
* Fix diff header styling in grey admin theme
* Prevent an overlap of the compare two checkbox on smaller screens

props melchoyce, DrewAPicture, adamsilverstein. fixes #24276.

git-svn-id: http://core.svn.wordpress.org/trunk@24219 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-09 10:07:26 +00:00
Dominik Schilling
cbec9880a7 Revisions UI: RTL support. (And inline docs.)
props DrewAPicture, adamsilverstein. fixes #23897.

git-svn-id: http://core.svn.wordpress.org/trunk@24205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-08 21:22:01 +00:00
Andrew Nacin
b11654ce74 Revert [23871] - Customize should be added to the menu, but not hacked in as first. see #21413.
git-svn-id: http://core.svn.wordpress.org/trunk@24048 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-22 19:33:39 +00:00
Mark Jaquith
56d5d62a19 New Post Format UI chooser treatment in response to testing.
* Bigger icons
* Format description under each
* UI hides after choice
* Saving without choosing implies "Standard"
* Helpful text, with "Change format" link

see #24046. props lessbloat, wonderboymusic.

git-svn-id: http://core.svn.wordpress.org/trunk@24006 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-17 04:08:46 +00:00
Mark Jaquith
8c4aeb9188 Add "Customize" as first item under Appearance menu.
fixes #21413. props ryanhellyer, obenland, DrewAPicture

git-svn-id: http://core.svn.wordpress.org/trunk@23871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-29 20:39:54 +00:00
Mark Jaquith
c93e0231af Post Format UI.
* Icons
* Selection
* Prompt text
* Special fields
* Styling
* Sparkles

This is going to need testing, polish, and love.

see #19570. props melchoyce, helen, wonderboymusic, lessbloat, rachelbaker, aaroncampbell, DrewAPicture, ryelle.

git-svn-id: http://core.svn.wordpress.org/trunk@23843 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-29 03:35:41 +00:00
Mark Jaquith
19810a259c Move nav menus to a tabbed interface, so that users with a lot of locations can do bulk assignment.
props DrewAPicture, lessbloat. fixes #23770

git-svn-id: http://core.svn.wordpress.org/trunk@23810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-27 11:46:08 +00:00
Mark Jaquith
271030746c RTL for Nav Menu tweaks. see #23641. see #23645. props lessbloat
git-svn-id: http://core.svn.wordpress.org/trunk@23808 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-27 08:53:26 +00:00
Ryan Boren
43273611b8 RTL for Nav Menu tweaks. see #23641. see #23645. props DrewAPicture
git-svn-id: http://core.svn.wordpress.org/trunk@23748 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-19 03:16:24 +00:00
Mark Jaquith
dded305ec0 RTL for Nav Menu tweaks. see #23641. fixes #23645. props DrewAPicture.
git-svn-id: http://core.svn.wordpress.org/trunk@23623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-06 19:37:25 +00:00
Mark Jaquith
52c46736df Improve the UX of the Nav Menus screen. Kill the tabs, and change to a
dropdown, unless you have zero or one menus (which is the most common),
in which case you jump right into editing your sole menu.

Do assignment to location using checkboxes in the main menu editing
section instead of the backwards menu => location assignment in a
random meta box.

More to come, but this gets us started.

props lessbloat, DrewAPicture, jkudish. see #23119

git-svn-id: http://core.svn.wordpress.org/trunk@23441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-16 04:53:59 +00:00
Mark Jaquith
88f17f77c4 Refactor the Customizer accordion so that it can be used in other locations.
fixes #23449. props lessbloat, aaroncampbell

git-svn-id: http://core.svn.wordpress.org/trunk@23417 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-14 22:58:04 +00:00
Helen Hou-Sandí
28f6c5bcf4 Remove the long-broken and questionably useful [more]/[less] toggle for hierarchical taxonomies in Quick/Bulk Edit. Nobody seems to have noticed in the nearly 3 years it's been broken. fixes #23006
git-svn-id: http://core.svn.wordpress.org/trunk@23354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-28 22:36:15 +00:00
Andrew Nacin
a052c19497 Missing RTL for [21944]. props helenyhou. fixes #22707.
git-svn-id: http://core.svn.wordpress.org/trunk@23014 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-12-04 05:06:24 +00:00
Andrew Nacin
9a1ef788ce RTL fixes for the tags meta box and two search inputs. props SergeyBiryukov. fixes #22707.
git-svn-id: http://core.svn.wordpress.org/trunk@23004 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-12-04 00:47:54 +00:00
Andrew Nacin
7322ea40d6 Reorganize and polish the About WordPress 3.5 screen. Offer strings for translation.
props lessbloat, helenyhou, markjaquith, nacin.
fixes #22455.



git-svn-id: http://core.svn.wordpress.org/trunk@22903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-28 21:00:09 +00:00
Andrew Nacin
67530d0154 Fix action link styling in IE7 and IE8. props SergeyBiryukov. fixes #22467.
git-svn-id: http://core.svn.wordpress.org/trunk@22799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-21 22:34:08 +00:00
Andrew Nacin
55a6c62e76 Support attachment_fields_to_save and attachment_fields_to_edit for attachments going through post.php. see #22186. see #21391.
git-svn-id: http://core.svn.wordpress.org/trunk@22783 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-21 18:53:00 +00:00
Andrew Nacin
e276fc44be Have media-new.php return simple rows of basic attachment data, with an 'Edit' link next to each taking them to post.php (in a new window). Not ideal, but this is largely a fallback screen at this point.
This is bolted on to existing code, the vast majority of which is destined to be ripped out in 3.6 once things settle.

see #22083.



git-svn-id: http://core.svn.wordpress.org/trunk@22755 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-21 13:05:44 +00:00
Andrew Nacin
3da5e3a7fc Fix up the 'Attach' dialog on upload.php.
We are de-emphasising attaching (see [22630]) but this is existing
core functionality and will remain for now. This commit just cleans
it up a bit so as to be less embarrassing.

props lessbloat, helenyhou.
fixes #20164.



git-svn-id: http://core.svn.wordpress.org/trunk@22723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-20 18:50:15 +00:00
Andrew Nacin
7e0061375a No-JS fixes.
* Hide QuickPress.
 * Hide the gap between the title and content editor.
 * Hide 'select all' checkboxes in list tables.
 * Hide a non-functioning link in the custom fields metabox.
 * Hide non-functioning buttons in the featured image box (same as in 3.4).
 * RTL and miscellany.

props TobiasBg, lessbloat, ocean90. fixes #22456.



git-svn-id: http://core.svn.wordpress.org/trunk@22719 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-20 18:20:14 +00:00
Andrew Nacin
97032e08aa Revert page on front changes. Reverts [22127] [22129] [22135] [22136]. see #16379.
git-svn-id: http://core.svn.wordpress.org/trunk@22653 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-19 01:28:32 +00:00