Andrew Nacin
fe14a22e31
Introduce a new, cross-browser HiDPI CSS @media rule to be used everywhere.
...
{{{
@media print,
(-o-min-device-pixel-ratio: 5/4),
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {
}}}
Serve HiDPI graphics for printing, regardless of screen resolution.
Specify Opera's vendor-prefixed device pixel ratio property, for Opera desktop.
Specify a minimum Webkit device pixel ratio of 1.25 instead of 1.5, to serve
2x images to Android devices that are between 1 and 1.5x (like the Nexus 7).
Firefox and Opera will respond to 1.5x on these devices, but Chrome will not.
Specify min-resolution, which covers Firefox 19. Opera on Android also supports
min-resolution, but Opera Mini does not support dppx, so the dpi unit is used.
props iammattthomas for the exhaustive research.
props lessbloat for patching.
fixes #22238 .
git-svn-id: https://develop.svn.wordpress.org/trunk@22629 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-17 06:50:08 +00:00
Andrew Nacin
eea42ad4c0
Remove unused delete style. props SergeyBiryukov. fixes #21196 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22281 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-23 14:30:40 +00:00
Andrew Ozz
421a70cb77
Consolidated patch for retina support, props taylorde, props empireoflight, fixes #21019
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22031 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-27 02:12:54 +00:00
Andrew Nacin
db981a3b27
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: https://develop.svn.wordpress.org/trunk@21592 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-23 00:04:18 +00:00
Andrew Nacin
2e0818c264
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: https://develop.svn.wordpress.org/trunk@19803 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-01 14:37:52 +00:00
Andrew Ozz
448af8627c
Uploader: fix progress bar JS and update the style (light blue bars), see #18206
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19247 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-10 20:33:26 +00:00
Andrew Ozz
947ba8f62c
Fix uploader "file size exceeded" error message, fix displaying uploaded queue errors, see #18206
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19100 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-01 11:56:20 +00:00
Andrew Nacin
5efcc6e8fc
Compress and bump media.css. see #17578 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18832 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 06:23:46 +00:00
Andrew Ozz
bbd210992d
Add filter so the users can select custom image sizes added by themes and plugins, props alexkingorg, fixes #18520
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18802 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-28 17:27:48 +00:00
Andrew Ozz
945d4500b4
Add TinyMCE command to handle opening of the upload/insert popup, fix the shortcut "Alt+Shift+M", fix the "image" button in DFW, fixes #17992 , fixes #18697 , see $17144
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18710 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-19 00:47:23 +00:00
Andrew Ozz
d20435eb03
Improve handling of plupload init and add a filter, stop including cookies in the init (not needed with plupload), see #18206
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18674 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-15 05:30:58 +00:00
Ryan Boren
f8c336ca41
Use browser default sans-serif instead of Arial or Helvetica. Props iammattthomas. fixes #18020 for trunk
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18406 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-07 18:03:30 +00:00
Andrew Ozz
0f691b3af3
Add JS detection to wp_iframe output, remove "display:none" from the Flash uploader button, props jacobwg, fixes #17473
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17971 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-19 16:12:13 +00:00
Ryan Boren
a73eee9c84
Revert [17327] and [15858]. Props markmcwilliams, JohnONolan, et al. see #16298 #8352
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17347 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-22 03:25:29 +00:00
Andrew Nacin
0aba879b95
Remove Lucida Grande from the sans serif font stack. fixes #8352 , props iammattthomas.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15858 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 10:30:28 +00:00
Mark Jaquith
bb442c8899
Add missing border to media upload frame. fixes #13430 . props ocean90
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14739 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-19 07:03:24 +00:00
Mark Jaquith
cb34d30d8e
Update media upload window tabs CSS to support wrapping of tabs when they exceed the available width. props edward mindreantre. fixes #10242
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14661 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 10:21:10 +00:00
Andrew Ozz
e15e8b710d
Don't pre-fill empty image alt when inserting into a post.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12161 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-10 00:09:40 +00:00
Andrew Ozz
54c1db8dd0
Trash undo for the uploader, props caesarsgrunt, see #4529
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12130 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-30 07:09:55 +00:00
Andrew Ozz
104abc4a7b
When inserting the embed shortcode in TinyMCE replace it with a placeholder image, update the 'wordpress', 'wpeditimage' and 'wpgallery' TinyMCE plugins, fix the audio and video "From URL" tabs in the uploader popup to accept only URLs for embedding, see #10337
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12098 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-24 11:43:42 +00:00
Mark Jaquith
de9c049065
Save some clicks and optimize for the Upload, Set as thumbnail flow. props scribu. see #10928
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12081 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-21 07:27:33 +00:00
Mark Jaquith
ab98fc356b
First pass on canonical post thumbanils. Admin-side GUI only. Theme functions to follow. see #10928
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12007 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-07 22:18:09 +00:00
Andrew Ozz
5e878a916d
Image Editor improvements, see #10528
...
git-svn-id: https://develop.svn.wordpress.org/trunk@11965 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-24 01:54:07 +00:00
Ryan Boren
02e169ce23
Minify admin CSS. see #10664
...
git-svn-id: https://develop.svn.wordpress.org/trunk@11857 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-20 21:12:33 +00:00
Andrew Ozz
5b48b21e5f
CSS tweaks for the uploader and Media Library, props hailin, fixes #10110
...
git-svn-id: https://develop.svn.wordpress.org/trunk@11557 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-13 05:03:43 +00:00
Andrew Ozz
02930f69d6
Show "Delete" in Media -> Add New, props mgriepentrog, fixes #7879
...
git-svn-id: https://develop.svn.wordpress.org/trunk@11421 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-21 01:42:40 +00:00
Andrew Ozz
6adf190b8f
Update SWFUpload to 2.2.0.1, see #9413
...
git-svn-id: https://develop.svn.wordpress.org/trunk@11372 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-17 12:29:58 +00:00
Andrew Ozz
e57d0ac693
Add toggle all button to the Gallery tab in the uploader
...
git-svn-id: https://develop.svn.wordpress.org/trunk@10837 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-25 17:20:03 +00:00
Andrew Ozz
09961ff3ac
Add sort order for the gallery in the uploader
...
git-svn-id: https://develop.svn.wordpress.org/trunk@10793 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-16 13:05:09 +00:00
Andrew Ozz
7f01549cb2
Fix dismiss button is too large in IE7, fixes #8293
...
git-svn-id: https://develop.svn.wordpress.org/trunk@10156 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-09 21:49:18 +00:00
Andrew Ozz
8b5af977f6
Fix styles for upload error
...
git-svn-id: https://develop.svn.wordpress.org/trunk@10144 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-09 13:12:40 +00:00
Andrew Ozz
960a370431
Fix for flash uploader not displaying progress or completed uploads, props abackstrom, fixes #8372
...
git-svn-id: https://develop.svn.wordpress.org/trunk@9931 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-27 21:24:37 +00:00
Andrew Ozz
ab624e98db
Visual UI fixes from iammattthomas, fixes #8387
...
git-svn-id: https://develop.svn.wordpress.org/trunk@9918 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-27 11:53:32 +00:00
Andrew Ozz
bcfde60872
Move Gallery Settings to the Gallery tab in the uploader, split the Upload tab in "From Computer" and "From URL" tabs
...
git-svn-id: https://develop.svn.wordpress.org/trunk@9894 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-26 02:27:37 +00:00
Andrew Ozz
55281f0d8e
Visual design fixes from iammattthomas, fixes #8313
...
git-svn-id: https://develop.svn.wordpress.org/trunk@9842 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-22 08:03:25 +00:00
Andrew Ozz
a697919990
TinyMCE 3.2.1
...
git-svn-id: https://develop.svn.wordpress.org/trunk@9674 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-14 02:35:02 +00:00
Andrew Ozz
1ef94e3195
media.css and rtl.css cleanup, props Simek, fixes #7967
...
git-svn-id: https://develop.svn.wordpress.org/trunk@9383 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-28 10:13:24 +00:00
Andrew Ozz
820ccbb545
Some CSS cleanup, props Simek, see #7967
...
git-svn-id: https://develop.svn.wordpress.org/trunk@9370 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-27 20:55:25 +00:00
Ryan Boren
da4e0eca48
Separate Large and Full image sizes. Props tellyworth. fixes #7151
...
git-svn-id: https://develop.svn.wordpress.org/trunk@8612 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-11 03:54:26 +00:00
Ryan Boren
261e73a0ff
Media Uploader improvements from azaozz: Improves the insert external image dialog, redirects to the gallery tab after "Save all changes" is clicked, shows the "Order" fields on the closed tabs, where they are easier to use, and only in the Gallery. see #7274
...
git-svn-id: https://develop.svn.wordpress.org/trunk@8304 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-10 03:49:52 +00:00
Ryan Boren
8925593aea
Few css fixes for the media uploader, confirm delete of attachments from the library tab. Props azaozz. fixes #7033
...
git-svn-id: https://develop.svn.wordpress.org/trunk@7988 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-24 17:03:51 +00:00
Ryan Boren
3431e2820a
Add sorting to gallery. Props AaronCampbell. fixes #6988
...
git-svn-id: https://develop.svn.wordpress.org/trunk@7974 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-21 18:29:46 +00:00
Ryan Boren
2335a57b06
thickbox and media upload fixes from azaozz. fixes #6843
...
git-svn-id: https://develop.svn.wordpress.org/trunk@7862 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-30 20:21:09 +00:00
Ryan Boren
2dc11fe349
Fix IE6 overlap and remove unnecessary markup. Props tellyworth. fixes #6661 for trunk
...
git-svn-id: https://develop.svn.wordpress.org/trunk@7677 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 20:48:11 +00:00
Ryan Boren
e203f8dad1
Validation fixes for uploader. Props sambauers. fixes #6659 for trunk
...
git-svn-id: https://develop.svn.wordpress.org/trunk@7654 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 16:33:37 +00:00
Peter Westwood
4196a8a505
Rearrange the media uploader view so the filename is visible. Fixes #6517 for trunk props andy.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@7584 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-01 21:12:35 +00:00
Ryan Boren
8ef66725bd
Uploader CSS tweaks from tellyworth. fixes #6367
...
git-svn-id: https://develop.svn.wordpress.org/trunk@7495 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-24 02:53:15 +00:00
Ryan Boren
837bf2bd84
Fix warning in media.php. Show sidemenu. Props andy. fixes #6206
...
git-svn-id: https://develop.svn.wordpress.org/trunk@7346 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-17 18:28:43 +00:00
Ryan Boren
df8228fa6c
Attachment editing from mdawaffe. fixes #6181
...
git-svn-id: https://develop.svn.wordpress.org/trunk@7262 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-12 05:50:07 +00:00
Matt Mullenweg
044224a2a4
Abstract colors from layout CSS. Pass 1.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@7178 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-07 01:17:21 +00:00