Commit Graph

20 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
Andrew Nacin 2710bcade1 Switch to .min for compressed JS and CSS files.
* This moves our "development" versions from .dev.js to .js (same for css).
 * The compressed version then moves from .js to .min.js (same for css).

By switching to the standard .min convention, it sets expectations for developers,
and works nicely with existing tools such as ack.

fixes #21633.



git-svn-id: http://core.svn.wordpress.org/trunk@21592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-23 00:04:18 +00:00
nacin bd5d732b05 Compress CSS/JS using the latest version of YUI Compressor, 2.4.7. Removes final semicolon in a CSS declaration block. Previously, committers used 2.4.2. see #19592.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19803 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-01 14:37:52 +00:00
azaozz 2dd43e3337 Remove old styling for rtl progress bar, see #19042
git-svn-id: http://svn.automattic.com/wordpress/trunk@19360 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-19 21:50:33 +00:00
azaozz eeec5eeda1 RTL fixes for 3.3, props yoavf SergeyBiryukov rosshanney, see #19042 fixes #18000, fixes #17988, fixes #19006
git-svn-id: http://svn.automattic.com/wordpress/trunk@19080 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-28 22:14:59 +00:00
azaozz fea5c38ef4 Add filter so the users can select custom image sizes added by themes and plugins, props alexkingorg, fixes #18520
git-svn-id: http://svn.automattic.com/wordpress/trunk@18802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-28 17:27:48 +00:00
dd32 d8a6868d99 Flip the Gallery header sort buttons to the left for RTL. Props yoavf. Fixes #17790
git-svn-id: http://svn.automattic.com/wordpress/trunk@18309 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-14 13:40:38 +00:00
dd32 9903d372b6 Fix Gallery re-ordering draggable handle area in RTL. Props yoavf. Fixes #17791
git-svn-id: http://svn.automattic.com/wordpress/trunk@18307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-14 12:39:11 +00:00
nacin 8f2a759d3c Minify remaining RTL css files, and ie.css. See #12292.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13238 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-19 23:55:09 +00:00
azaozz a55fd568d4 Trash undo for the uploader, props caesarsgrunt, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@12130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-30 07:09:55 +00:00
azaozz cff6cd66cd CSS tweaks for the uploader and Media Library, props hailin, fixes #10110
git-svn-id: http://svn.automattic.com/wordpress/trunk@11557 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-13 05:03:43 +00:00
ryan e89192b1a8 Strip trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@10150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 18:03:31 +00:00
ryan 21510085f9 RTL updates from kashani. see #8047
git-svn-id: http://svn.automattic.com/wordpress/trunk@10040 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-04 19:13:22 +00:00
ryan b7aa9493d5 RTL updates from kashani. see #8047
git-svn-id: http://svn.automattic.com/wordpress/trunk@10027 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-03 21:00:23 +00:00
azaozz 543be53ab0 RTL updates from kashani, see #8047
git-svn-id: http://svn.automattic.com/wordpress/trunk@9820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-20 21:21:54 +00:00
azaozz a1c1da11f8 RTL CSS for 2.7, props mani_monaj, see #8047
git-svn-id: http://svn.automattic.com/wordpress/trunk@9505 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-04 02:50:16 +00:00
azaozz 9f72344f5a Some CSS cleanup, props Simek, see #7967
git-svn-id: http://svn.automattic.com/wordpress/trunk@9370 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-27 20:55:25 +00:00
ryan f41858edcf RTL CSS updates from Navid Kashani, RanYanivHartstein, mani_monaj, and the WP Persian team. see #7498. Partial patch for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8632 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-12 23:19:07 +00:00
ryan 35b18e5034 Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@8600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-09 05:36:14 +00:00
ryan 31e258ae64 RTL CSS from Mani. fixes #6296
git-svn-id: http://svn.automattic.com/wordpress/trunk@7398 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-19 16:08:03 +00:00